History log of /openbsd/usr.sbin/tcpdump/print-nfs.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 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


# 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 ...


# 54098794 15-Jan-2016 mmcc <mmcc@openbsd.org>

Remove preprocessor conditions (checking for ancient OSs) that try to
divine whether a file handle was generated on the current host. More
simplifications to come.

supported by deraadt@


# 6ad041cb 16-Nov-2015 mmcc <mmcc@openbsd.org>

Remove remaining instances of the register keyword.

ok deraadt@


# 1786e3cc 15-Oct-2015 lteo <lteo@openbsd.org>

Fix a crash that occurs when printing the filename in a malformed NFS
request packet.

From Kevin Reay who obtained the fix from the tcpdump.org repo (part of
commit 6191f36146f5d286304e9b6e893477fe5

Fix a crash that occurs when printing the filename in a malformed NFS
request packet.

From Kevin Reay who obtained the fix from the tcpdump.org repo (part of
commit 6191f36146f5d286304e9b6e893477fe509d83ab).

ok canacar@ sthen@

show more ...


# 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>.


# 92579f6f 05-Feb-2014 florian <florian@openbsd.org>

Don't segfault on IPv6 NFS traffic; found the hard why by matthieu@.
Fix inspired by what upstream is doing.
Tested by me and matthieu@.
Input^WHand holding and OK guenther@


# 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 ...


# 27a22134 29-Jun-2007 thib <thib@openbsd.org>

make it easy to spot wich nfs version the traffic is.
input & OK canacar@


# 2075a329 24-May-2005 moritz <moritz@openbsd.org>

more missing bounds checks. ok marius@ deraadt@


# 88f1d369 23-May-2005 moritz <moritz@openbsd.org>

add some missing bounds checks. ok marius@


# 29c46095 16-Sep-2004 markus <markus@openbsd.org>

nfs v3 support from tcpdump.org/netbsd; tests with pedro, marius


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# 9f840a03 07-Nov-2001 deraadt <deraadt@openbsd.org>

simplify buffer handling; ok ho


# e588a12a 05-Dec-2000 jakob <jakob@openbsd.org>

tcpdump incorrectly print port numbers when parsing NFS (PR#1540)
fix submitted by Grigoriy Orlov <gluk@ptci.ru>


# cf4e9b47 03-Oct-2000 ho <ho@openbsd.org>

Add $OpenBSD$. (jakob@ ok)


# 89157726 25-Jul-1997 mickey <mickey@openbsd.org>

#if __STDC__ --> #ifdef __STDC__


# 6329fdcb 30-Jun-1997 deraadt <deraadt@openbsd.org>

signed int fix from leres@ee.lbl.gov


# 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