tcpdump mailing list archives
Re: [PATCH] Improvement of behaviour when -s 0 is used
From: Magnus Gille <mgille () edgewaternetworks com>
Date: Mon, 12 Dec 2011 16:57:45 -0800
Sorry Guy, My emails got stuck when the mailing list went down and I didn't get anything so I ended up sending it twice. Thanks for your comments. //Magnus On Sun, Dec 11, 2011 at 2:33 PM, Guy Harris <guy () alum mit edu> wrote:
On Oct 14, 2011, at 2:51 PM, Magnus Gille wrote:I came across an issue with tcpdump where the linux kernel couldn'tallocatememory properly when we ran tcpdump -s 0 on one of our boxes. Tcpdumpsetssnaplen to 65535 if -s 0 is provided and this became a problem for us, to get around this I changed the behaviour to query what the MTU actuallyis. See the responses to the "tcpdump -s 0 improvement" message you sent on 17 October on the same topic (presumably because the 14 October message didn't show up - there was a problem with the tcpdump-workers mailing list, so messages had gotten stuck).I made this patch against git current,This belongs in libpcap, not tcpdump; the Git trunk of libpcap should already be querying the MTU in cases where we can rely on it (currently, only Ethernet, and only if no segmentation/desegmentation offloading is being done). See my response to the 17 October message for reasons why.- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] Improvement of behaviour when -s 0 is used Magnus Gille (Nov 29)
- Re: [PATCH] Improvement of behaviour when -s 0 is used Guy Harris (Dec 11)
- Re: [PATCH] Improvement of behaviour when -s 0 is used Magnus Gille (Dec 12)
- Re: [PATCH] Improvement of behaviour when -s 0 is used Guy Harris (Dec 11)