From 4f604725d3008cea1f45e7e7b6bc7e18e74a812b Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Thu, 24 Oct 2019 15:50:29 +0000 Subject: [PATCH] OpenFlow: Add a test capture file This capture file triggered a buffer over-read with the 4.9.2 release and was fixed in the 4.9.3 release. The problem was fixed in master branch by commit ad69daa2e4cf9ce6789295bd7f55a55ac4d9d0b2. Update the output of the test accordingly. Partial update from 1ccaff37644f88949c9f45a3781082cdfa720856 in 4.9 branch. --- tests/TESTLIST | 1 + tests/of10_7050sx_bsn-oobr.out | 16 ++++++++++++++++ tests/of10_7050sx_bsn-oobr.pcap | Bin 0 -> 279 bytes 3 files changed, 17 insertions(+) create mode 100644 tests/of10_7050sx_bsn-oobr.out create mode 100644 tests/of10_7050sx_bsn-oobr.pcap diff --git a/tests/TESTLIST b/tests/TESTLIST index 8bf062cf..dc681c13 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -234,6 +234,7 @@ of10_s4810-vvvv of10_s4810.pcap of10_s4810-vvvv.out -vvvv of10_pf5240-vv of10_pf5240.pcap of10_pf5240-vv.out -vv of10_7050q-v of10_7050q.pcapng of10_7050q-v.out -v of10_7050sx_bsn-vv of10_7050sx_bsn.pcap of10_7050sx_bsn-vv.out -vv +of10_7050sx_bsn-oobr of10_7050sx_bsn-oobr.pcap of10_7050sx_bsn-oobr.out -v # GeoNetworking and CALM FAST tests geonet-calm-fast geonet_and_calm_fast.pcap geonet_and_calm_fast.out -vv diff --git a/tests/of10_7050sx_bsn-oobr.out b/tests/of10_7050sx_bsn-oobr.out new file mode 100644 index 00000000..93d897a6 --- /dev/null +++ b/tests/of10_7050sx_bsn-oobr.out @@ -0,0 +1,16 @@ + 1 16:11:54.505352 IP (tos 0x0, ttl 64, id 60713, offset 0, flags [DF], proto TCP (6), length 562) + 109.74.202.168.6653 > 88.150.169.52.4756: Flags [P.], seq 3422281781:3422282291, ack 774258090, win 252, options [nop,nop,TS val 590230876 ecr 50526785], length 510: OpenFlow + version 1.0, type VENDOR, length 24, xid 0x0000001a, vendor 0x005c16c7 (Big Switch Networks) + subtype SET_IP_MASK, index 1, mask 255.0.14.0 + version 1.0, type VENDOR, length 24, xid 0x0000001b, vendor 0x005c16c7 (Big Switch Networks) + subtype SET_IP_MASK, index 2, mask 255.0.28.0 + version 1.0, type VENDOR, length 24, xid 0x0000001c, vendor 0x005c16c7 (Big Switch Networks) + subtype SET_IP_MASK, index 3, mask 255.0.56.0 + version 1.0, type VENDOR, length 24, xid 0x0000001d, vendor 0x005c16c7 (Big Switch Networks) + subtype SET_IP_MASK, index 4, mask 255.0.112.0 + version 1.0, type VENDOR, length 24, xid 0x0000001e, vendor 0x005c16c7 (Big Switch Networks) + subtype SET_IP_MASK, index 5, mask 255.0.224.0 + version 1.0, type VENDOR, length 24, xid 0x0000001f, vendor 0x005c16c7 (Big Switch Networks) + subtype GET_IP_MASK_REQUEST, index 3 + version 1.0, type VENDOR, length 30, xid 0x00000020, vendor 0x005c16c7 (Big Switch Networks) + subtype SHELL_COMMAND, service 0, data 'show cloc' [|openflow] diff --git a/tests/of10_7050sx_bsn-oobr.pcap b/tests/of10_7050sx_bsn-oobr.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a56424876544b657d4e7b542a8edce54cbf63c29 GIT binary patch literal 279 zcmca|c+)~A1{MYcU}0bca=g}_4&m6w&hQ?{c3=X@^34Ch_{nBs%STxb23H0qqqmw4 z3=V99_jA2Yt%#Vm(nRvF(3I1^ADHT?*{*7kVEAMGh=GBTk%LQF&oqXa>6arT3xfpE z7%7GrvEv}~K(_p6;A4P_OT)xLmi=dtfr-n&#F@e37BF#Hm^jGo{}~Ek;&L!?R