OpenBSD CVS

CVS log for src/usr.sbin/tcpdump/print-wg.c


[BACK] Up to [local] / src / usr.sbin / tcpdump

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 16 12:35:20 2021 UTC (2 years, 8 months ago) by visa
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, HEAD
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

tcpdump: Fix data alignment issue in WireGuard printer

Access 8-byte nonce as unaligned data to avoid a crash on strict
alignment architectures. With IP and UDP, payload alignment is
guaranteed to 4-byte boundary only.

Reported and tested by Peter J. Philipp

OK deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 14 19:34:56 2021 UTC (3 years, 1 month ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

On powerpc64 tcpdump(8) could not parse wireguard packets.
EXTRACT_LE_32BITS() converts the type from little endian to host
endian.  So we need the constants in host endianess.  This fixes
regress/sys/net/wg.
OK deraadt@ sthen@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 20 02:24:24 2020 UTC (3 years, 10 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

Remove unused variable "caplen"

No object change.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 21 07:14:17 2020 UTC (3 years, 11 months ago) by tb
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored)

Add RCS marker

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 21 04:58:52 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.2: +11 -1 lines
Diff to previous 1.2 (colored)

don't claim packets as wg if there's not enough captured bytes to read.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 21 04:54:59 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.1: +27 -11 lines
Diff to previous 1.1 (colored)

cope with a truncated capture of a packet. this avoids reading invalid mem.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 21 04:45:33 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN

add a printer for wireguard messages, but not hooked up just yet.

from Matt Dunwoodie and Jason A. Donenfeld

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.