Problems with Linux TCP/IP stack?

Problems with Linux TCP/IP stack?

Post by Erik Dieh » Sun, 31 Dec 1899 09:00:00



Someone in one of these deeply-nested, flame-and-bile-filled threads
mentioned that the Linux TCP/IP stack "sucked", I believe -- or at least
said it wasn't very good. Someone else asked why, and got no response.

I'd like to pose that second someone's question again -- are there major
flaws/problems with the Linux TCP/IP stack? What, very specifically, are
they? Are they addressed in 2.2? Are there plans to address them in the
near future?

No generic "Linux sUx" or "liNUX rul3zz" answers, please. I'm looking
for an educated opinion.

Erik Diehn

 
 
 

Problems with Linux TCP/IP stack?

Post by W.A. Schee » Sun, 31 Dec 1899 09:00:00


My experience is that Linux's TCP/IP stack works just fine on Single-CPU
systems. It does not appear to be designed to take advantage of multiple
CPUs as well some other OSs (a similar problem with the SCSI
implementation) - hence the results of the Mindcraft benchmark. I believe
this is a byproduct of Linux SMP implementation in general. I don't pretend
to understand this at a programming level, but I think Linus himself alluded
to as much during his LinuxWorld keynote.

It begs a larger question, though... what have you heard or experienced
(about the TCP/IP stack) that might make you think twice about implemeting a
Linux based solution? Let's just pretend for a moment that Linux is never
able to support more than a single CPU or NIC. It is still an ideal (and
preferable) solution in all kinds of cases. ... Just a matter of picking the
screwdriver.

W.A. Scheer

++++++++++++++++++++++


>Someone in one of these deeply-nested, flame-and-bile-filled threads
>mentioned that the Linux TCP/IP stack "sucked", I believe -- or at least
>said it wasn't very good. Someone else asked why, and got no response.

>I'd like to pose that second someone's question again -- are there major
>flaws/problems with the Linux TCP/IP stack? What, very specifically, are
>they? Are they addressed in 2.2? Are there plans to address them in the
>near future?

>No generic "Linux sUx" or "liNUX rul3zz" answers, please. I'm looking
>for an educated opinion.

>Erik Diehn



 
 
 

Problems with Linux TCP/IP stack?

Post by Αναστασ?το? Βασ?λειο » Sun, 31 Dec 1899 09:00:00



> Someone in one of these deeply-nested, flame-and-bile-filled threads
> mentioned that the Linux TCP/IP stack "sucked", I believe -- or at least
> said it wasn't very good. Someone else asked why, and got no response.

> I'd like to pose that second someone's question again -- are there major
> flaws/problems with the Linux TCP/IP stack? What, very specifically, are
> they? Are they addressed in 2.2? Are there plans to address them in the
> near future?

> No generic "Linux sUx" or "liNUX rul3zz" answers, please. I'm looking
> for an educated opinion.

> Erik Diehn


I read in the "local.linux.greek.users" newsgroup that the Linux TCP/IP
stack is single-threaded, while the WinNT one is multi-threaded, that's
why
NT beated Linux in the notorious contest. I also read that a Linux
multi-threaded stack is under construction. Please, don't ask me for
details, I just carbon-copied what other people wrote.
 
 
 

1. Packets from bottom of TCP/IP stack direct to application bypassing stack

Hello Everyone

I am working on a ADSL modem and have the following situation that I
would like to have some advice on.

I need to filter out some packages in the lower level of the network
stack. There are 2 types of packages: [eth | ppp | ip | udp] and [eth
| ip | udp], the data in these packages are the same and they can be
identified with the first 16 bits in the UDP data.

I have manage to catch these packages in the /net/core/dev.c file and
function netif_rx(...) with the 16 bit ID so I have the packages.

Now for my question: How do I in an easy way get these packages
directly to my application without using the network stack. I need
BOTH of these packages to reach there and if I use socket the one with
PPP get thrown away somewhere and that is not so good.

I know this is not a very specific question and a little vague but
some advice and pointers would be appreciated.

Regards
Andreas

2. SGI Security Advisory 19970504-01-PX - IRIX rld security vulnerability

3. linux tcp/ip stack as a module...insmod problems

4. HP4020i CD-Writer & Linux

5. tcp / ip stack and ip forwarding questions

6. Upgraded to RH 4.0 and now FVWM2 is broken

7. TCP/IP stack selection problem

8. All these Howto's, is there a summary??

9. Problems with the TCP/IP stack

10. security problem in tcp/ip stack?

11. Need help convincing my company Linux TCP/IP stack is safe.

12. Linux Firewall and TCP/IP-Stack

13. Linux TCP/IP stack guidance