tcpdump mailing list archives

forces (and sctp) patch


From: Michael Richardson <mcr () sandelman ca>
Date: Sun, 10 Jan 2010 14:59:55 -0500

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


Jamal sent me a printer for IETF FORCES packets (over SCTP), which I
committed this afternoon, along with two test inputs. I added a second
test case for the longer input packet with one -v.

You can see the output at:
    http://github.com/mcr/tcpdump/blob/master/tests/forces2.out
and
    http://github.com/mcr/tcpdump/blob/master/tests/forces2v.out

I then added -vvv and -vvvv output.
It would be great to have this for every printer...

I was initially concerned about the output with -v, as it is multiline,
and I think that without -v, one packet should occupy one line.
This makes postprocessing easier, and certainly makes grep easier.
Maybe we need another option, "--human"...

With -v, the ip printer now starts a new line before the protocol.
I am wondering if this was a wise change to have made....  Comments?

- -- 
]       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. 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Finger me for keys

iQEVAwUBS0oxuoCLcPvd0N1lAQLLgwgAjkWLPpwJUSer2A5cLGDmF30lcreFAru6
CURret5Fkb0SDxVmd2b8Ky5SRpNr54W+flE6ZovgeUDwWMaUbc2uvyVMlj8L8+h0
WUkMcxxfwnDQmk1Hkl1sM0hEwp+3bSD5pv/uT+6XO/sR37hDdj8b7qw3Pt/5W4JC
owmk/FzZVv2qkUfxph0srja34NaYKDHO2O1gZ+kAoyXuEtACqpQuoDrByQerlGIf
ho6uiC3YLDBlITPjmYVvio5Ba7f7SmwK2DyT4CEt1YeaxD9IMbzVkmKxa4pJlrhI
LwSELqikWNfWdJq/7ORLxZdEQLdxXECZ1kn3Uc7ToDm/OkAHHemMyw==
=wH4d
-----END PGP SIGNATURE-----
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: