Re: BitTorrent and iptables (was: Can not read UDF CD)

From: Jan Knutar
Date: Fri Aug 13 2004 - 05:15:17 EST


On Thursday 12 August 2004 23:33, Bill Davidsen wrote:

> I used torrent to pull something the other day, and while I could pull,
> no one could connect to get data from me. I have my iptables set to
> ESTABLISHED,RELATED so iptables may not know about torrent.

You probably need to explicitly ACCEPT incoming to the port that Bittorrent
uses. A tracker module to sniff traffic to known outbound tracker ports, to
detect which port Bittorrent is using, and allow that inbound, seems a little
bit excessive to me, not to mention that people set up trackers on the most
varying range of seemingly random ports :-)

Either way, common sane principles of TCP/IP apply with Bittorrent too,
if both parties are firewalled, you wont transfer any data between eachother.
If one party (out of two) is unfirewalled, data can be transfered both ways
between them, the firewalled party will established connection to the unfirewalled
to get communication going.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/