tcpdump mailing list archives

Re: tcpdump 4.0.0rc3 and libpcap 1.0.0rc3 now available


From: Guy Harris <guy () alum mit edu>
Date: Mon, 27 Oct 2008 19:04:51 -0700


On Oct 27, 2008, at 6:52 PM, Ken Bantoft wrote:

I tried a few different boxes, and have the same issue.

Ubuntu 8.x box builds it with no problems,

Debian 3.1 and CentOS 4 fail with the same error Michael gets.

Maybe r1.90 on pcap-linux.c ?

More like one of

        revision 1.156
date: 2008-08-06 01:29:07 -0700; author: guy; state: Exp; lines: +13 -4; commitid: XwUjIqsQYkhIGHdt;
        Check whether the tpacket_auxdata structure has a tp_vlan_tci member
        before using that member.

        Don't define variables if we aren't going to use them.

        If we have an unknown tpacket version (this "can't happen"), return an
        error.

                ...

        ----------------------------
        revision 1.152
date: 2008-08-06 00:45:00 -0700; author: guy; state: Exp; lines: +57 -4; commitid: tsEmmDc65OlArHdt;
        From Patrick McHardy:

        VLAN packets sent over devices supporting VLAN tagging/stripping in
        hardware don't have a VLAN header when they are received on packet
        sockets. The VLAN TCI is available through the PACKET_AUXDATA cmsg,
        reconstruct the entire header when necessary.
        ----------------------------
        revision 1.151
date: 2008-08-06 00:39:44 -0700; author: guy; state: Exp; lines: +17 -8; commitid: FG7UJAXMYlFMpHdt; From Patrick McHardy: Convert pcap-linux to use recvmsg() as preparation
        for using PACKET_AUXDATA cmsgs.

and their 1.0-branch versions, I suspect.

Check whether it builds on those boxes with

        revision 1.158
date: 2008-10-27 17:50:20 -0700; author: guy; state: Exp; lines: +18 -5; commitid: 2cJJR3wBUqsVtkot;
        Don't do all the recvmsg() stuff if we don't have "struct
        tpacket_auxdata".

and its 1.0-branch version.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: