Re: Fundamentals: what packets are dropped by the kernel?



And why?

The kernel drops packets when the contents appear inappropriate to him.
Of course what is "inappropriate" is in the eye of the beholder, so not
knowing Linus's political preferences, I don't know if it's leaning
towards pro-foxnews or pro-stalin or both.


Stefan


PS: More seriously, the kernel drops packets when it can't keep up.
So the reason is "can't keep up because the streams of packets go
too fast compared to the rate at which the applications can process
them". As for which packets are dropped, I don't know what
heuristic uses Linux to select which ones to drop. I'd expect it
doesn't really choose consciously: when there's no space in the
incoming buffer it just drops the incoming pakets.
.



Relevant Pages

  • [UNIX] Local Netfilter / IPTables IP Queue PID Wrap Flaw
    ... Beyond Security would like to welcome Tiscali World Online ... and a userspace library which allow userspace mediation and modification ... NET_ADMIN capability) to process packets from the kernel. ...
    (Securiteam)
  • Re: Q: locking mechanisms
    ... rcu_read_lockI disable preemption which I thought affects more ... In any kernel in which rcu_read_lockdisables preemption, ... types of PF_CAN sockets, which register for packets of certain CAN ...
    (Linux-Kernel)
  • Router stops routing after changing MAC Address
    ... Hello - This feels like a kernel issue. ... How to change MAC addresses is documented well enough - and it works - ... ip link set eth0 down ... the right side and back with echo request and reply packets. ...
    (Linux-Kernel)
  • Re: Send-Q on UDP socket growing steadily - why?
    ... Send-Q on a moderately active UDP socket keeps growing steadily until it ... The application in question is standard ntpd from Fedora 7, kernel is ... and drops packets. ...
    (Linux-Kernel)
  • Re: My boss want to kill debian, please help !
    ... > Thanks a lot, hmm, i always thought vanilla kernel are best, i will ... which BIOS revision? ... The 3COMs are losing packets (but the machine is rock solid, ... "One disk to rule them all, ...
    (Debian-User)