#
3a50f0a9 |
| 28-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
|
#
2427cdd3 |
| 05-Jan-2022 |
dlg <dlg@openbsd.org> |
fix some -Wunused-but-set-variable stuff.
|
#
f96bb33f |
| 24-Jan-2020 |
procter <procter@openbsd.org> |
- (void)printf() -> printf(); the cast adds clutter for little value. - fprintf(stdout, ...) -> printf() - fputs(x, stdout) -> printf(); for consistency. fputs is twice as fast on atom x5-Z8300@1.44G
- (void)printf() -> printf(); the cast adds clutter for little value. - fprintf(stdout, ...) -> printf() - fputs(x, stdout) -> printf(); for consistency. fputs is twice as fast on atom x5-Z8300@1.44GHz but Amdahl sees a pure printf tcpdump only 2% slower than a pure fputs (for constant strings) tcpdump to /dev/null across a 20MB/~170k packet pcap file.
ok dlg@ for fputs and ok tedu@ krw@ deraadt@ a2k19 for the rest
show more ...
|
#
e654d8cd |
| 22-Oct-2018 |
kn <kn@openbsd.org> |
Remove #ifdef INET6
There's not reason to build without IPv6 support, `-U INET6' builds were broken anyway.
Fix an empty redefine for IPPROTO_IPV6 in print-ip.c while here.
No object change on amd
Remove #ifdef INET6
There's not reason to build without IPv6 support, `-U INET6' builds were broken anyway.
Fix an empty redefine for IPPROTO_IPV6 in print-ip.c while here.
No object change on amd64 and sparc64 with clang, gcc compiles differently but behaviour stays the same.
OK denis deraadt
show more ...
|
#
79e60756 |
| 28-Jul-2016 |
bluhm <bluhm@openbsd.org> |
Use long labs(3) for pointer arithmetic. Found by David Hill with clang.
|
#
62675c53 |
| 07-May-2016 |
jca <jca@openbsd.org> |
Print RA Route Information prefix, preference and lifetime.
ok mpi@
|
#
e18a1580 |
| 06-May-2016 |
jca <jca@openbsd.org> |
In verbose mode, print the router preference contained in RAs.
"pref" keyword taken from tcpdump.org.
ok mpi@ sthen@ deraadt@
|
#
4d3ec930 |
| 15-Mar-2016 |
mmcc <mmcc@openbsd.org> |
o remove legacy code that defines abs(3) if it isn't available
o inline an ugly and potentially risky macro of the form:
#define x if (a) b; else
o fix a >21 y.o. bug resulting from someone wr
o remove legacy code that defines abs(3) if it isn't available
o inline an ugly and potentially risky macro of the form:
#define x if (a) b; else
o fix a >21 y.o. bug resulting from someone writing:
puts("[nothing to parse], stdout");
when they meant:
fputs("[nothing to parse]", stdout);
ok canacar@
show more ...
|
#
6ad041cb |
| 16-Nov-2015 |
mmcc <mmcc@openbsd.org> |
Remove remaining instances of the register keyword.
ok deraadt@
|
#
d5e25cda |
| 02-Nov-2015 |
sthen <sthen@openbsd.org> |
Print RDNSS nameserver addresses, and print option names for some other known options that we don't otherwise decode yet (DNSSL, route information). ok mpi@
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
show more ...
|
#
c8768c64 |
| 14-Aug-2014 |
mpi <mpi@openbsd.org> |
No use for <netinet/in_systm.h> nor <netinet/tcpip.h>.
|
#
127a37bf |
| 20-Jun-2014 |
lteo <lteo@openbsd.org> |
Instead of showing the difference between a bad checksum and a good checksum, make tcpdump (with the -v flag) show the actual bad checksum within the IP/protocol header itself and what the good check
Instead of showing the difference between a bad checksum and a good checksum, make tcpdump (with the -v flag) show the actual bad checksum within the IP/protocol header itself and what the good checksum should be, e.g. "[bad tcp cksum abcd! -> d1e6]"
This change applies to IP, TCP (over IPv4 and IPv6), UDP (over IPv4 and IPv6), ICMP, and ICMPv6. This commit also fixes several inconsistencies in the way bad checksums were displayed for these protocols.
Tested on amd64, i386, and macppc.
ok henning@
show more ...
|
#
cec322b5 |
| 11-Jan-2014 |
lteo <lteo@openbsd.org> |
Let tcpdump detect bad ICMPv6 checksums with the -v flag.
Tested on amd64, i386, loongson, and macppc.
OK florian@
|
#
20a2dfaa |
| 24-Oct-2013 |
deraadt <deraadt@openbsd.org> |
These two programs got fooled by the KAME/NRL split and need type repair. They do not indicate a problem with the reduction of namespace export, but got suckered into the 1999 plan. ok benno
|
#
8f827db3 |
| 17-Sep-2011 |
bluhm <bluhm@openbsd.org> |
Make tcpdump -v print the id and seq of icmp6 echo packets. ok claudio naddy
|
#
f8afd965 |
| 17-Sep-2011 |
naddy <naddy@openbsd.org> |
access a 32-bit field as u_int32_t, not as u_long; ok bluhm@
|
#
acb63ff2 |
| 06-Apr-2010 |
jsg <jsg@openbsd.org> |
Add support for decoding MLDv2 initially from tcpdump.org via FreeBSD, cleaned up to be less gross after some suggestions from stsp.
ok stsp@
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
show more ...
|
#
683da2b4 |
| 25-May-2009 |
sthen <sthen@openbsd.org> |
add a missing check for truncated dport in the returned UDP header for ICMP_UNREACH_PORT. from Peter J. Philipp, ok jsing@. Closes system/6149.
|
#
543299e3 |
| 29-Jan-2009 |
bluhm <bluhm@openbsd.org> |
In tcpdump some printf() had an additional \n at the end. Removing that new line restores the one-line -> one-packet semantics.
ok hshoexer@, henning@, markus@
|
#
a4dec6b7 |
| 28-Nov-2002 |
dhartmei <dhartmei@openbsd.org> |
Check for invalid ICMP6 option length, ok itojun@
|
#
c116ff8c |
| 30-May-2002 |
deraadt <deraadt@openbsd.org> |
typo
|
#
5b24290e |
| 04-Jun-2001 |
pvalchev <pvalchev@openbsd.org> |
Spelling: preffered -> preferred
|
#
edd7aa8f |
| 26-Apr-2000 |
jakob <jakob@openbsd.org> |
INET6 DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
|