tcpdump mailing list archives

Fwd: : tcpdump 4.xx preperations


From: Ken Bantoft <ken () xelerance com>
Date: Fri, 31 Aug 2007 08:21:02 -0400


I didn't see this actually hit the list, so I'm forwarding it just in case it was missed.

We'll likely target the 1st 4.xx release around the end of September.


Begin forwarded message:


From: Michael Richardson <mcr () sandelman ottawa on ca>
Date: August 29, 2007 8:40:57 AM EDT (CA)
To: tcpdump-workers () lists tcpdump org
Subject: tcpdump 4.xx preperations


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I split the sources in the Makefile.in into a new section,
LIBNETDISSECT_SRC, which makes libnetdissect.a.

Sources in this file should set #define NETDISSECT_REWORKED
before they #include "interface.h". This removes all the compatibility
macros.

All functions that use any of the new macros need to have a local
called "ndo" passed down to them, and should be modified as follows:
       TCHECK(foo)  -> ND_TCHECK(foo)
       TCHECK2(foo,bar)  -> ND_TCHECK2(foo,bar)
       TTEST(var)        -> ND_TTEST(var)
       printf(foo)       -> ND_PRINT((foo))
       vprintf(ap,len)   -> ND_DEFAULTPRINT((ap,len))

       vflag            -> ndo->ndo_vflag
       snapend          -> ndo->ndo_snapend
       (..etc)

I will be working on these slowly in the next week.

I have revised the test cases to be a lot simpler to do new ones,
and to be table driven.
    cd tests
    ./TESTone pattern
    runs on test, (the first one that matches /^pattern/)

    ./TESTrun
    runs them all.

I am proposing that the HEAD of the tree becomes tcpdump 4.xx
(not 4.x.y).  If we need to do 4.xx.yy, it would be for security fixes
*ONLY*.

I am proposing that the next libpcap be called 1.zz, and that libpcap
and tcpdump will not be released on the same schedule, i.e. that xx != zz.

(oh, and there is an ikev2 dissector, but it doesn't decrypt yet. Thanks to Tero Kivinen for his 16MB file of somewhat hostile IKEv2 messages..)

- --
] Bear: "Me, I'm just the shape of a bear." | firewalls [ ] Michael Richardson, Xelerance Corporation, Ottawa, ON | net architect[ ] mcr () xelerance com http://www.sandelman.ottawa.on.ca/mcr/ | device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: