OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 13 13:36:56 2023 UTC (14 months, 3 weeks ago) by claudio
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, HEAD
Changes since 1.5: +27 -15 lines
Diff to previous 1.5 (colored)

Fix usbpcap handler to properly detect overflows using TCHECK macros.
OK mpi@ mbuhl@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 23 09:38:26 2020 UTC (4 years, 2 months ago) by patrick
Branch: MAIN
CVS Tags: 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
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Spell "status" correctly.

ok jasper@ mpi@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 24 13:12:14 2020 UTC (4 years, 3 months ago) by jasper
Branch: MAIN
Changes since 1.3: +198 -1 lines
Diff to previous 1.3 (colored)

extend decoding of control transfers:
- print the stage name
- print additional information about the request for Setup packets
- GET_DESCRIPTOR requests are further decoded

tweaks and ok mpi@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 22 14:05:08 2020 UTC (4 years, 3 months ago) by jasper
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

fix a crash when printing the contents of a malformed packet where the packet
length was smaller than the sizeof the usbpcap header. we'd end up passing a
negative value as the length to default_print().

found with afl-fuzz
ok mpi@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 12 20:07:55 2020 UTC (4 years, 3 months ago) by jasper
Branch: MAIN
Changes since 1.1: +11 -9 lines
Diff to previous 1.1 (colored)

- print 'dlen=' to make it more clear what that number indicates
- add missing rcs id
- use 'goto trunc' as is common with other printers

ok mpi@

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 3 13:39:48 2018 UTC (6 years, 4 months ago) by mpi
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

Simple USBPcap parser for tcpdump(8).  Raw dumps can be nicely analysed
in wireshark.

ok deraadt@, dlg@

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.