tcpdump mailing list archives
Re: [PATCH] tcpdump -s 0 improvement
From: Michael Richardson <mcr () sandelman ca>
Date: Mon, 28 Nov 2011 09:58:40 -0500
"Magnus" == Magnus Gille <mgille () edgewaternetworks com> writes:
Magnus> I came across an issue with tcpdump where the linux kernel Magnus> couldn't allocate memory properly when we ran tcpdump -s 0 Magnus> on one of our boxes. Tcpdump sets snaplen to 65535 if -s 0 Magnus> is provided and this became a problem for us, to get around Magnus> this I changed the behaviour to query what the MTU actually Magnus> is. I made this patch against git current, please give me Magnus> comments if you want something changed. I only have access Magnus> to a Linux machine so I've not tested it on any other Magnus> machine. I think that this belongs in libpcap, in pcap-linux.c. -- ] He who is tired of Weird Al is tired of life! | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mcr () sandelman ottawa on ca http://www.sandelman.ottawa.on.ca/ |device driver[ Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE> then sign the petition. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] tcpdump -s 0 improvement Magnus Gille (Nov 27)
- Re: [PATCH] tcpdump -s 0 improvement Guy Harris (Nov 29)
- Re: [PATCH] tcpdump -s 0 improvement Gianluca Varenni (Nov 29)
- Re: [PATCH] tcpdump -s 0 improvement Guy Harris (Nov 29)
- Re: [PATCH] tcpdump -s 0 improvement David Laight (Nov 30)
- Re: [PATCH] tcpdump -s 0 improvement Guy Harris (Nov 30)
- Re: [PATCH] tcpdump -s 0 improvement Michael Richardson (Nov 30)
- Re: [PATCH] tcpdump -s 0 improvement Gianluca Varenni (Nov 30)
- Re: [PATCH] tcpdump -s 0 improvement Guy Harris (Nov 30)
- Re: [PATCH] tcpdump -s 0 improvement David Laight (Dec 01)
- Re: [PATCH] tcpdump -s 0 improvement Gianluca Varenni (Nov 29)
- Re: [PATCH] tcpdump -s 0 improvement Guy Harris (Nov 29)
- Re: [PATCH] tcpdump -s 0 improvement Guy Harris (Nov 30)