« Return to Thread: Multiple modem disconnections when in Ultra-peer mode

Re: Multiple modem disconnections when in Ultra-peer mode

by Christian Biere :: Rate this Message:

Reply to Author | View in Thread

Larry Nieves wrote:
> On Tue, Feb 24, 2009 at 02:32:45PM +0000, Raphael Manfredi wrote:
> > Quoting Larry Nieves <lanieves@...> from ml.softs.gtk-gnutella.users:
> > :I don't think this is a GTKG problem per se, since I've seen similar
> > :behavior when downloading files with Bittorrent, but I thought maybe
> > :some of you could help me pinpoint what's the exact problem. How would I
> > :go about finding whether the ISP is disconnecting me, or is the modem
> > :the one failing? I'm glad with some pointers in the right direction and
> > :I would of course do the necesary reading.

The first thing to consider is checking the configured bandwidth limits in
your applications, especially upload bandwidth. Make sure you haven't
confused "bits per second" with "bytes per second". If your outbound queue
gets too clogged, this can cause monitoring timeouts with DSL over PPPoE
and terminate your connection. So you better configure your applications to
use not more than 80% of your assumed upload bandwidth. You might want to
monitor the actual bandwidth use with netstat (or something like gkrellm).

Keep in mind though that your router might see much more traffic that
never makes it to your laptop.

> > How exactly are you connected to the Internet?  Do you perform NAT?
> >
> > If you do NAT in the DSL modem, it is very probable that the (rather small)
> > NAT tables of the modem are overflowing quickly and that could cause the
> > modem to re-initialize your Internet connection (because it panics, for
> > instance, and reboots internally).

You might want to check its uptime. It's also possible that it gets too
warm or that the memory is defect. If it's acceptable for your purposes
to use ethernet LAN instead of WLAN, try that too.

> I have a laptop running behind the DSL modem, which does the NAT and
> port forwarding.

If you had a "DSL modem", you wouldn't have a problem, but you have a router
(with a modem built-in it seems). You've configured a portforwarding for the
port your gtk-gnutella uses for both TCP and UDP, right? gtk-gnutella does
not support UPnP. If you don't need UPnP otherwise, it's best to disable it.

What you could further try is disabling the firewall on this router assuming the
devices behind don't expose any services that shouldn't be accessible
externally. Most-likely this router has far too little memory to act as
reasonable stateful firewall.

Another thing you could /try/ is disabling UDP for gtk-gnutella /temporarily/.
While it's an extremely bad idea in general, it would help you see whether
this makes a difference for your router. If it helps, this most likely
means the resources of your router are insufficient i.e., the NAT tables
for UDP get too big.

Maybe your router has a DMZ feature which would expose all ports of laptop
and make NAT tracking unnecessary.

--
Christian

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gtk-gnutella-users mailing list
gtk-gnutella-users@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users

 « Return to Thread: Multiple modem disconnections when in Ultra-peer mode