tcpdump crashes in print-cdp.c

2016-03-23 Thread Can Erkin Acar
Here is a new version of the diff that fixes the CDP printer in tcpdump. (https://www.sccs.swarthmore.edu/users/16/mmcconv1/dump/tcpdump-crashes/) With this change the code does not access outside the packet anymore but it would be nice if it could be tested on a network with real CDP (Cisco

Test Request: variable-size DLT headers in libpcap

2010-07-05 Thread Can Erkin Acar
Please test the attached diff with tcpdump and pflogd filter expressions you commonly use to make sure it does not break anything. This is needed for Henning's work on pflog. Instructions: 1. Apply the patch under /usr/src/lib/libpcap, 2. re-build libpcap and install it. 3. restart pflogd The