in reply to filter tcpdump packets
The documentation is pretty thin, but looking at the source of NetPacket::TCP, I think you need to call my %opts = $tcp_obj->parse_tcp_options; and then access $opts{mss}. (untested)
I've attempted to work with libpcap in the past myself, using both Perl and Java. Several times I've come away with an icky feeling. That leads me to ask: why do you want to do this with Perl, and not with tshark?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: filter tcpdump packets
by syboar (Novice) on Sep 01, 2014 at 03:12 UTC | |
by Anonymous Monk on Sep 01, 2014 at 11:43 UTC | |
by syboar (Novice) on Sep 01, 2014 at 12:38 UTC | |
|
Re^2: filter tcpdump packets
by syboar (Novice) on Sep 01, 2014 at 22:08 UTC | |
by Anonymous Monk on Sep 02, 2014 at 00:18 UTC | |
by syboar (Novice) on Sep 03, 2014 at 04:10 UTC | |
by Anonymous Monk on Sep 03, 2014 at 11:23 UTC | |
by Anonymous Monk on Sep 03, 2014 at 15:54 UTC | |
by syboar (Novice) on Sep 04, 2014 at 15:18 UTC | |
by syboar (Novice) on Sep 04, 2014 at 15:47 UTC | |
|