Skip to content

Commit 33efbe2

Browse files
committed
OTV: Remove protocol decoding
draft-hasmit-otv-04, this Internet-Draft is no longer active. UDP port 8472 is used by Linux as the default port for VXLAN. So update udp.h and print-udp.c with VXLAN_LINUX_PORT. Remove two OTV tests.
1 parent 0bf5fb6 commit 33efbe2

File tree

12 files changed

+7
-104
lines changed

12 files changed

+7
-104
lines changed

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group
8585

8686
DayOfTheWeek, Month DD, YYYY / The Tcpdump Group
8787
Summary for 4.99.6 tcpdump release (so far!)
88+
Remove protocol decoding for:
89+
OTV (draft-hasmit-otv-04, this Internet-Draft is no longer active).
8890
Refine protocol decoding for:
8991
DNS: Use ND_TCHECK_LEN() instead of a custom bounds check.
9092
IPv6: Add a missing comma and remove a colon in the output.
@@ -107,6 +109,7 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group
107109
NTP: Update a field name with the RFC 5905 name (Origin Timestamp).
108110
IPv6 mobility: Modernize packet parsing and make fixes.
109111
IP6OPTS: Modernize packet parsing and make fixes.
112+
VXLAN: Add UDP port 8472 used by Linux as the default port.
110113
User interface:
111114
Add optional unit suffix on -C file size.
112115
Improve the handling of size suffixes for -C.

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,6 @@ set(NETDISSECT_SOURCE_LIST_C
13731373
print-openflow.c
13741374
print-ospf.c
13751375
print-ospf6.c
1376-
print-otv.c
13771376
print-pflog.c
13781377
print-pgm.c
13791378
print-pim.c

Makefile.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ LIBNETDISSECT_SRC=\
189189
print-openflow.c \
190190
print-ospf.c \
191191
print-ospf6.c \
192-
print-otv.c \
193192
print-pflog.c \
194193
print-pgm.c \
195194
print-pim.c \

netdissect.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,6 @@ extern void ospf6_print(netdissect_options *, const u_char *, u_int);
740740
extern int ospf_grace_lsa_print(netdissect_options *, const u_char *, u_int);
741741
extern void ospf_print(netdissect_options *, const u_char *, u_int, const u_char *);
742742
extern int ospf_te_lsa_print(netdissect_options *, const u_char *, u_int);
743-
extern void otv_print(netdissect_options *, const u_char *, u_int);
744743
extern void pgm_print(netdissect_options *, const u_char *, u_int, const u_char *);
745744
extern void pim_print(netdissect_options *, const u_char *, u_int, const u_char *);
746745
extern void pimv1_print(netdissect_options *, const u_char *, u_int);

print-otv.c

Lines changed: 0 additions & 74 deletions
This file was deleted.

print-udp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ udp_print(netdissect_options *ndo, const u_char *bp, u_int length,
649649
lwapp_data_print(ndo, cp, length);
650650
else if (IS_SRC_OR_DST_PORT(SIP_PORT))
651651
sip_print(ndo, cp, length);
652-
else if (IS_SRC_OR_DST_PORT(OTV_PORT))
653-
otv_print(ndo, cp, length);
652+
else if (IS_SRC_OR_DST_PORT(VXLAN_LINUX_PORT))
653+
vxlan_print(ndo, cp, length);
654654
else if (IS_SRC_OR_DST_PORT(VXLAN_PORT))
655655
vxlan_print(ndo, cp, length);
656656
else if (dport == GENEVE_PORT)

tests/TESTLIST

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,6 @@ relts-0x80000000 relts-0x80000000.pcap relts-0x80000000.out -v
668668
# bad packets from Brian Carpenter
669669
ipv6hdr-heapoverflow ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow.out
670670
ipv6hdr-heapoverflow-v ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow-v.out -v
671-
otv-heapoverflow-1 otv-heapoverflow-1.pcap otv-heapoverflow-1.out
672-
otv-heapoverflow-2 otv-heapoverflow-2.pcap otv-heapoverflow-2.out
673671
q933-heapoverflow-2 q933-heapoverflow-2.pcap q933-heapoverflow-2.out
674672
atm-heapoverflow atm-heapoverflow.pcap atm-heapoverflow.out -e
675673
ipv6-next-header-oobr-1 ipv6-next-header-oobr-1.pcap ipv6-next-header-oobr-1.out

tests/otv-heapoverflow-1.out

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/otv-heapoverflow-1.pcap

-878 Bytes
Binary file not shown.

tests/otv-heapoverflow-2.out

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)