LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-11-2006, 08:19 PM   #1
neelay1
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
Unhappy kernel drops packets of size less than 48 bytes


Hi all,
I have a Linux 2.4.30 box that drops UDP packets of size less than 48 bytes.
I switched on debugging in the ring_packet.c file and here is what I get-

May 11 18:05:38 tracker kernel: add_skb_to_ring(skb): Filter failed [len=29][tot=22737][insertIdx=566][pkt_type=3][cloned=1]

Which kernel filter is dropping these packets? Is there a command to remove this filter or do I have to change some code?

Any help will be highly appreciated.

Thanks,
Neelay.
 
Old 07-16-2006, 02:56 AM   #2
*Dark Dragon*
Member
 
Registered: Apr 2005
Distribution: Debian Testing + KDE
Posts: 53

Rep: Reputation: 17
I am not very familiar with networking but however I think that I can tell you step-by-step solution for your problem.

First. There is specific option within the kernel. In 2.6.x kernels go to "Networking options" and turn off whole "Network packet filtering (replaces ipchains)" category. In 2.4.x try to find something like this and also turn it off. Then rebuild your kernel.

Second, if this solve your problem, there is really problem with filters. Because this problem arises after every restart, you must examine your start up files (in Debian, for example, you can find them within /etc/rcS.d/ directory). Also you may just leave kernel without filters support.

If this not solve your problem, then try to use 2.6.x kernel if you didn't so already (at least temporally - just for experiment; but I think that move to 2.6.x permanently is good idea in most cases).

Hope this helps...

Last edited by *Dark Dragon*; 07-16-2006 at 03:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI cache line size set incorrectly (32 bytes) by BIOS/FW B1TW1SE Linux - Software 1 08-18-2009 02:43 PM
PCI cache line size set incorrectly (32 bytes) by BIOS/FW B1TW1SE Linux - Newbie 4 03-30-2008 11:25 PM
TX bytes vs. httpd bytes ovrload Linux - Networking 3 10-12-2005 04:19 PM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
ext3. size:26gb,space used-24gb...0 bytes left?? jago25_98 Linux - Software 4 12-09-2003 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration