Up to [local] / src / usr.sbin / tcpdump
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 27 17:37:32 2019 UTC (4 years, 6 months ago) by akoshibe
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
HEAD
Changes since 1.11: +38 -88 lines
Diff to previous 1.11 (colored)
OpenFlow 1.3 defines packet header patterns of interest using TLVs (OXMs) that represent various header fields. One place where OXMs are used is in the sef_field action, which contains one OXM representing the header field to set, followed by padding to align the action in the OpenFlow message to 64 bits. Currently, we assume that a set_field action can contain multiple OXMs and that they do not need to be padded. This matches the way we handle OpenFlow messages that contain set_field actions so that we follow the specs. OK ori claudio
Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 28 17:47:15 2016 UTC (7 years, 6 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.10: +3 -7 lines
Diff to previous 1.10 (colored)
ether_ntoa -> etheraddr_string, like elsewhere in tcpdump openflow part tested by rzalamena@, ok deraadt@
Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 25 09:37:21 2016 UTC (7 years, 6 months ago) by rzalamena
Branch: MAIN
Changes since 1.9: +8 -14 lines
Diff to previous 1.9 (colored)
Fix some bad copy paste bits and simplify the ethernet printing function. ok reyk@
Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 22 13:01:32 2016 UTC (7 years, 6 months ago) by rzalamena
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)
Fix OFP spelling for version bitmap define in ofp header and tcpdump, also change the truncation message in hello with the standard one. ok reyk@
Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 20 12:45:26 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.7: +9 -8 lines
Diff to previous 1.7 (colored)
Extend the DLT_OPENFLOW header to include the switch datapath id. OK rzalamena@
Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 18 18:45:27 2016 UTC (7 years, 6 months ago) by rzalamena
Branch: MAIN
Changes since 1.6: +17 -2 lines
Diff to previous 1.6 (colored)
Add support for printing the missing OpenFlow set-queue action.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 18 18:35:20 2016 UTC (7 years, 6 months ago) by rzalamena
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
Don't print the field 'actions' on features reply, because in the new OpenFlow 1.3.5 it is a reserved field that is not being used.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 18 17:39:39 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)
miss_send_len can also be a CONTROLLER_MAXLEN string not just a number. Requested by rzalamena@
Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 18 17:37:03 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.3: +129 -86 lines
Diff to previous 1.3 (colored)
Updates tcpdump's OpenFlow printer to use the string maps from switchd (manually synced). Also make the output a bit more like other printers. OK rzalamena@
Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 16 13:47:27 2016 UTC (7 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.2: +45 -9 lines
Diff to previous 1.2 (colored)
Add new DLT_OPENFLOW link-type to allow using tcpdump to debug switch(4), eg. tcpdump -y openflow -i switch0 Includes a minor bump for libpcap. Feedback and OK rzalamena@
Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 25 08:43:15 2016 UTC (7 years, 7 months ago) by rzalamena
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
Add missing OpenBSD keyword in the first line.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 22 20:55:04 2016 UTC (7 years, 7 months ago) by rzalamena
Branch: MAIN
Teach tcpdump(8) how to read OpenFlow packets. This initial implementation supports the following message types: hello, error, echo request/reply, feature request/reply, set config, packet-in, packet-out, flow removed and flow mod. We currently only support printing this messages for OpenFlow 1.3.5, however it is possible to reuse some functions and get other versions working too. ok deraadt@