Re: Cannot run BitTorrent client
Rusmir Duško <[email protected]>
| Newsgroups | gmane.network.guarddog |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 15 Jul 2007 12:28:50 -0400 Kevin Williams <[email protected]> wrote: > Thanks a lot, Rusmur, for your response. I really appreciate it. > > > You must give Bittorent Client as to other Programs perhaps more > > Ports. > > > > For Communications a Port, for You, 36487 (TCP and UDP)! > > > > For DHT, not same as above a Port (UDP). > > > > For Tracker, not same as above a Port for HTTP and or HTTPS (UDP). > > > > uTorrent uses only one tcp port for all its work. Yes, it does use a > UDP port for DHT which, I didn't open in the firewall. Thanks very > much for your insight. > > > Don't forget to give same Ports in Yours Hardware Firewall (Router, > > Kabel Modem and so on). Perhaps Hardware Firewall blocks. > > > > I've configured my router to put my laptop in a DMZ allowing all > ports to be allowed and thus the firewall controls the opening of > ports.... That's wrong. You must controll with Guarddog Yours Laptop! All port must be closed and only what You need should be enabled. This is strongly recommended. Also You should enable Hardware Firewall of Yours Router, this is better. Only You should tune twice the Ports, that is not a big Problem and give You the double Security. That's great. > > Try Azureus, is very good Program. > > > > Yes, I agree. But, compared to uTorrent, the memory Azures uses is > too much. I needed a torrent client with a very small memory > footprint and yet be full of features. uTorrent does that job very > well. I can leave uTorrent running in the background and load UT2004 > and play on ! :-) This is something not possible with Azures as it > takes up lotz of resources. You should use Asureus the last Version 2.5.0.4 or 3.0.1.6. Previosly Version have Problems with Memory. I use Azureus_2.5.0.4_linux-x86_64.tar.bz2 because I have AMD 64 CPU. Which Java You use? java -version java version "1.6.0_01" Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_01-b06, mixed mode) > I still one question unanswered: > > > There's one more thing I'm trying to understand. On the Protocols > > > tab, there is a list of protocols and a list of zones. Now, if I > > > select internet zone and check uTorrent to be allowed, what > > > happens here ? Are we talking about IN packets from internet to > > > local or the other way here ? > > > > I would appreciate if it could be answered. Do You mean in Local and Internet Zone /File Transfer/ BitTorrent Peer -> Port 6881-6889 /File Transfer/ BitTorrent Tracker -> Port 6969 If You use higher Ports for Peer (I use between 49152 and 65535) You don't need to enable 6881-6889. The Guarddog should not enable Ports that is't needed. You could try to use a higher Port for Tracker (was 6969) DHT Scrapper (was 6685) too. > > > Lastly, a comment on the guarddog's working. The documentation > > > says, guarddog need not be run each time the system is booted > > > into. But, I didn't see any startup links being created in any of > > > the run levels nor any modifications done to any of the existing > > > scripts. Apologize, if I missed something somewhere. But, after > > > configuring guarddog and rebooting I found that iptables were > > > clear and thus guarddog's iptables were not loaded. To circumvent > > > this problem, I'd to create a link to /etc/rc/firewall in the > > > required runlevels. I think, the documentation should stress this > > > fact. Oh ! BTW I'm using BLFS system. > > That was a comment I made on the documentation lacking the necessity > to configure the system to start the firewall script automatically on > each boot. Nothing critical. > > Thanks again for you help. > > Regards, > > Kevin I hope that I help You a little bit. Sory for my bad English. Regards, Duško > On July 15, 2007 06:39:32 Rusmir Duško wrote: > > On Sat, 14 Jul 2007 22:20:25 -0400 > > > > Kevin Williams <[email protected]> wrote: > > > I have configured guarddog to allow the bittorrent client > > > (uTorrent) to use the port 36487. For that I've created a > > > protocol called 'uTorrent' in the advanced tab with tcp port > > > 36487 and in the Protocols tab I've checked the box for uTorrent > > > both in the local and internet zones. > > > > That's is good. > > > > > This setup seems to work to some extent but at times it doesn't > > > work. The only way to get it to work is to clear the iptables and > > > wait for uTorrent to establish connections and then enable the > > > firewall again. After that uTorrent works but not satisfactorily. > > > In the system log I can see lots of packets being either dropped > > > or aborted. This is true for both IN and OUT packets. > > > > That's normal, if You have activated a Filter, for Azureus > > SafePeer, a very long List of IP Adress is blocked. > > > > > So, the question obviously is how do I set up uTorrent to accept > > > all incoming connections on port 36487 and be able to make > > > outgoing connections on any port and to any ip ? > > > > You must give Bittorent Client as to other Programs perhaps more > > Ports. > > > > For Communications a Port, for You, 36487 (TCP and UDP)! > > > > For DHT, not same as above a Port (UDP). > > > > For Tracker, not same as above a Port for HTTP and or HTTPS (UDP). > > > > Don't forget to give same Ports in Yours Hardware Firewall (Router, > > Kabel Modem and so on). Perhaps Hardware Firewall blocks. > > > > Try Azureus, is very good Program. > > > > > Prior to using guarddog, I'd setup iptables (custom script) the > > > way I wanted to and it was working great. Now, it seems that > > > guarddog's script somehow filters the packets and doesn't let > > > thru' all the packets. > > > > > > There's one more thing I'm trying to understand. On the Protocols > > > tab, there is a list of protocols and a list of zones. Now, if I > > > select internet zone and check uTorrent to be allowed, what > > > happens here ? Are we talking about IN packets from internet to > > > local or the other way here ? > > > > > > Lastly, a comment on the guarddog's working. The documentation > > > says, guarddog need not be run each time the system is booted > > > into. But, I didn't see any startup links being created in any of > > > the run levels nor any modifications done to any of the existing > > > scripts. Apologize, if I missed something somewhere. But, after > > > configuring guarddog and rebooting I found that iptables were > > > clear and thus guarddog's iptables were not loaded. To circumvent > > > this problem, I'd to create a link to /etc/rc/firewall in the > > > required runlevels. I think, the documentation should stress this > > > fact. Oh ! BTW I'm using BLFS system. > > > > Guardog only create a Script > /etc/rc.firewall and start it and > > needed modules. > > > > You must create script Rule (I use Gentoo) > > > > /etc/conf.d/local.start > > > > /etc/rc.firewall > > > > to start Guarddog at each boot. > > > > Also You must mount compiled Kernel Modules for networking with > > modprobe or a Script > > > > /etc/modules.autoload.d/kernel-2.6 > > > > or a other way. > > > > I have say after create a Srcipt with Guarddog > > > > iptables-save > > > > And at each boot my Kernel load needed Modules. > > > > > Thanks for any help, I'd really appreciate it. > > > > > > Kevin > > > > I am glad to help You. > > > > Regards > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Guarddog-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/guarddog-user -- MfG / With best Regards Rusmir Duško Registered Linux user: #130654 http://counter.li.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Guarddog-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/guarddog-user