eth0 -> ppp0 tcp starvation

From: Tony Borras (tonyb@sysdev.org)
Date: 01/01/03


From: Tony Borras <tonyb@sysdev.org>
Date: Tue, 31 Dec 2002 15:44:24 -0800


> On Tue, 31 Dec 2002 15:37:46 -0500, Tony Borras wrote:
>
> > Slackware host on a network where comp1 is connected to comp2 via
eth0.
> > comp2 has the ppp0 connection to my dial-up.
> >
> > If say, I am sucking news articles (slrnpull or leafnode) at comp1
and
> > no other internet activity is happening on comp2 or comp1, my comp1
> > eth0->ppp0 starves. As soon as I do something else on comp2 or comp1

> > that causes ppp0 access, the starved thread resumes...
>
> Strange. What version of slackware and what kernel are you using?
What
> do you use to connect ppp0? I'm assuming you're using a firewall,
have
> you double-checked your rules?
>

Using a base Slak 8.0 which has been upgraded to current.
Currently on 2.4.20, but I think I have always seen this behavior
from eth0. I do not think pppd cares about who its client is (my
firewall does, however).

But then again, if my fetchnews was starved via eth0 and so was
netscape's
subscribe dialog, then if from that same ethernet host behind the
firewall
I ping google (20x), both connections resume???? That would indicate
to me that its not the firewall, but maybe my tcp_xxxx configuration in
/proc/sys/net/ipv4...

pppd startup:
# pppd is slow, so we fork its initialization.
/usr/sbin/pppd /dev/modem 115200 demand persist holdoff 5 idle 3600 \
connect '/usr/sbin/chat -v "" "AT&FE0L3Q0W2X4V1&B1&C1&D2S109=1" \
"OK" ATDT6300006 V42bis ""' defaultroute user xxxxxx

I think it could be the firewall, but more likely something I need to
set in some
echo "xx" > /proc/sys/net/ipv4/tcp_????

Happy new 2003
TonyB

--
http://www.sysdev.org                          WinNT / Linux Device
Drivers
tonyb@sysdev.org                                          System Tools /
Utilities


Relevant Pages

  • Problems with DNS lookup
    ... My problem is that the laptop can not access the internet via the Debian ... Firewall LAN exiting on the Netgear segment. ... Debian Firewall eth0 ... The firewall itself can access all hosts on the 192.168.1.0/24 network via ...
    (Debian-User)
  • Making a router from a Linux machine
    ... I have a Debian Linux on one machine which has 2 Ethernet cards. ... to make this machine to be my firewall. ... "network" of 1 computer. ... Shortly, I need no masquerading, but I need to translate all eth0 ...
    (comp.os.linux.networking)
  • (difficult) pppd and route table
    ... The problem is that pppd make incorrect entry in route table, ... the pppd configuration file is the same on both machines ...
    (comp.os.linux.networking)
  • Networking/Firewall design
    ... Windows 98 Box eth0 192.168.5.4 ... As you can see all my boxes are on the same network 192.168.5.0 ... But I do not have Firewalls or IDS even if the router can do some NAT ... where do I put the firewall and for example Snort? ...
    (comp.os.linux.security)
  • Re: Using Fedora as firewall.
    ... Let me repeat this just in case I wasn't clear: in a firewall running linux ... *>>> give my WinXP box access to the internet I couldn't get it right. ... *>>> When I connect to internet using eth0 everything is fine. ... *>> First you need to solve your networking problems, ...
    (Fedora)

Loading