Reading packets larger than MTU size from netfilter queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to read incoming TCP packets. TCPdump shows that there are packets of size 20-30KB that are arriving.The IP header of these packets has the "Do Not Fragment" flag set to true. 

When I try to read them from the netfilter queue, I am failing. I am using this command: 

"status = recv(nfq_fd(_NFQHandle), buf, sizeof(buf), MSG_WAITALL)." 

Even with MSG_PEEK or MSG_MSG_DONTWAIT, these packets are not being read. I am able to increase the MTU size only upto 9KB. Any packet that is larger than this MTU size is not being read by the recv function.

My question is: Is it possible to read un-fragmented packets that are larger than MTU size using the recv function from the netfilter queue?

Thanks
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux