#
426b943d |
| 01-Dec-2021 |
deraadt <deraadt@openbsd.org> |
we do not need 'struct mbuf; struct rtentry;' to satisfy some ancient unix variant that made a header file mistake. ok jsg
|
#
5157c9d7 |
| 21-Jul-2020 |
kn <kn@openbsd.org> |
Avoid integer underflow due to tiny snaplen
For DLT_NULL and DLT_LOOP interfaces, print-null.c passes `caplen - NULL_HDRLEN' as length to default_print() which takes an unsigned integer, hence if ca
Avoid integer underflow due to tiny snaplen
For DLT_NULL and DLT_LOOP interfaces, print-null.c passes `caplen - NULL_HDRLEN' as length to default_print() which takes an unsigned integer, hence if caplen is smaller than the header itself (four octets), this difference wraps around.
Exit early in such cases and print the expected truncation marker "[|null]" instead.
Feedback OK dlg
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 ...
|
#
dab44731 |
| 05-Nov-2015 |
jca <jca@openbsd.org> |
Account for the header size when dealing with null link layer ifaces.
From Kevin Reay, ok sthen@
|
#
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>.
|
#
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 ...
|
#
b2c15287 |
| 29-Dec-2008 |
michele <michele@openbsd.org> |
Recognize MPLS packets over loopback interfaces.
OK canacar@
|
#
2068f686 |
| 07-Oct-2007 |
deraadt <deraadt@openbsd.org> |
trash $Header goo which is just annoying; 5595
|
#
e7beb4a7 |
| 19-Feb-2002 |
millert <millert@openbsd.org> |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
9513ebe8 |
| 23-Jan-2002 |
mickey <mickey@openbsd.org> |
proper handling for DLT_NULL and DLT_LOOP (header byte swapping); pointed out and tested by Alexander Yurchenko <grange@rt.mipt.ru>
|
#
c4688495 |
| 25-Jun-2001 |
provos <provos@openbsd.org> |
add missing ntohl
|
#
a63c6035 |
| 24-May-2001 |
angelos <angelos@openbsd.org> |
Correctly handle gif(4) interface passing down AF_LINK family frames (which we treat as ethernet frames). itojun@ ok
|
#
cf4e9b47 |
| 03-Oct-2000 |
ho <ho@openbsd.org> |
Add $OpenBSD$. (jakob@ ok)
|
#
edd7aa8f |
| 26-Apr-2000 |
jakob <jakob@openbsd.org> |
INET6 DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
|
#
5205045a |
| 16-Sep-1999 |
brad <brad@openbsd.org> |
bring more inline with tcpdump 3.4
|
#
da08816c |
| 28-Jul-1999 |
jakob <jakob@openbsd.org> |
- Merge some changes from tcpdump 3.4 -a flag; attempt to convert network and broadcast addresses to names Improved signal handling Miscellaneous fixes and typos OSPF MD5 authentication
- Merge some changes from tcpdump 3.4 -a flag; attempt to convert network and broadcast addresses to names Improved signal handling Miscellaneous fixes and typos OSPF MD5 authentication support
- -X flag; emacs-hexl print (including ascii)
- Add ECN bits to TCP and IP headers
- IKE & IPsec (ESP & AH) support
OK deraadt@
show more ...
|
#
643a56f3 |
| 26-Jun-1998 |
deraadt <deraadt@openbsd.org> |
convert DLT_LOOP header to network-order u_int32_t
|
#
89157726 |
| 25-Jul-1997 |
mickey <mickey@openbsd.org> |
#if __STDC__ --> #ifdef __STDC__
|
#
e4a24ee0 |
| 23-Jul-1997 |
denny <denny@openbsd.org> |
Better handling for AppleTalk, and netatalk in particular. Handle native Ethertalk phase 1 & 2 as well as the localtalk encapsulation a la Kinetics FastPath previously handled.
|
#
dc709136 |
| 12-Dec-1996 |
bitblt <bitblt@openbsd.org> |
*** empty log message ***
|
#
c15d59ed |
| 13-Jul-1996 |
mickey <mickey@openbsd.org> |
it is 3.2 now.
|
#
2be5fe52 |
| 10-Jun-1996 |
deraadt <deraadt@openbsd.org> |
sync to latest
|
#
0cd0aa1a |
| 04-Mar-1996 |
mickey <mickey@openbsd.org> |
Updating to the latest LBL release. Sun's SKIP support added.
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|