rejetto forum

Software => Other languages => HFS ~ HTTP File Server => Pусский => Topic started by: Pin240 on December 28, 2014, 07:22:17 PM

Title: HFS + P2P?
Post by: Pin240 on December 28, 2014, 07:22:17 PM
Всем доброе время суток

Давно пользуюсь HFS, но с отсутствием хорошего интернета пропала нормальная возможность использования данной программы. Суть в том что мне приходиться сидеть на 3g-модеме за 2-ым (разных типов) NAT и все порты прикрыты :'(. Но при этом  торрент, i2p  и подобные сети работают хорошо.

Так почему бы не сделать гибрид HFS +BitTorrent Sync


Исходники обеих программ доступны свободно, но я не программист и в этом не шарю но если найдется энтузиаст пусть пишет в skype: Pin242

Возможно будет и денежное вознаграждение за труды :)

И вообще возможно ли это? ;D
Title: Re: HFS + P2P?
Post by: bmartino1 on December 28, 2014, 07:45:10 PM
https://translate.google.com/

Why not run both at the same time?


Unknown why you would want to run a http file server and a torrent hash server... together...

To define this is a http web server duties:

http://technet.microsoft.com/en-us/library/cc770634.aspx
Quote: " lets you share information with users on the Internet, an intranet, or an extranet. "
Link more defining: *What Are Web Servers?

Now that we know what a web server is lets go over Torents:

http://en.wikipedia.org/wiki/BitTorrent
Quote: "is a protocol for the practice of peer-to-peer file sharing"

other than that, i don't know ho you would add the protocal to hfs without runing a torent program alsong side it...
------------------------
Take FHFS, it runs "filezila" alongside it to add the protocol, the same is true with (silent plz) https with "stunnel".

I'm sorry, currently there is no integration or to my knowledge of any P2P integration with HFS. You would have to run HFS and your Torrent program to link and share your files...


Title: Re: HFS + P2P?
Post by: Pin240 on December 29, 2014, 02:46:16 AM
The problem is that HFS does not break through NAT. (We need to think how to do it.

And to work in P2P can make a separate tab for working with key. Another option is a protocol ipv6.

On FHFS no Russian documentation
Title: Re: HFS + P2P?
Post by: LeoNeeson on December 29, 2014, 08:48:31 AM
The problem is that HFS does not break through NAT. (We need to think how to do it.
So, the problem is your ISP gives you a private IP, and not a public IP. In that case, instead of implementing the "torrent protocol", we may need to implement a "NAT Traversal" feature to HFS (I don't know if that is possible).

More info about "NAT Traversal", here:
Quote
http://www.tml.tkk.fi/Studies/T-110.551/2005/papers/hu.pdf
http://en.wikipedia.org/wiki/TCP_hole_punching
http://en.wikipedia.org/wiki/STUN
Title: Re: HFS + P2P?
Post by: Pin240 on December 29, 2014, 06:10:57 PM
Итог: я больше не буду использовать HFS в своих целях и буду искать альтернативу :( до тех пор пока не появиться поддержка ipv6 :-\
Title: Re: HFS + P2P?
Post by: rosner on February 01, 2015, 06:39:41 AM
У сервера есть возможность работать через сервис например один из них NO-IP
(http://firepic.org/images/2015-02/01/b8u80iwi0k0y.png)


Сам я пользователь сети 3G регистрация сервера с моим доменом noip проходит успешно но при открытии ссылки выдает что страница не доступна (http://firepic.org/images/2015-02/01/8qewp1yjp1mn.png) я понимаю что там что то с портами надо разбираться , на сайте noip инфа имеется, пока разбираюсь
Title: Re: HFS + P2P?
Post by: LeoNeeson on March 01, 2015, 09:33:07 PM
rosner: Try to run HFS on port 443 or 80 (not 8080!). The problem is that your ISP is giving you a private IP, and not a public IP. Generally, a private IP comes with closed ports (firewalled). You may try pagekite.net (https://pagekite.net/), which is something perfect for this problem.