christos
bab08dd002
don't include <sys/mbuf.h>
2016-01-23 19:08:02 +00:00
christos
714768c886
We stuck the generation number eons ago before the inode, so we broke
...
inode printing in nfs file handles.
2015-12-25 04:50:21 +00:00
nonaka
de17d00067
PR/50248: re-apply src/external/bsd/tcpdump/dist/tcpdump.c rev.1.8.
...
> When running as root and wanting to write a file and not having CAPNG, don't
> drop privs, because we cannot open the file if we drop privs.
2015-09-17 14:03:10 +00:00
christos
412bc8d494
Apply commit fb6e5377f392555b8c725f66b8b701f0061a3695:
...
-Fix/add ND_TCHECK2 tests,
-Fix a buffer overflow,
-Remove a debug printf
2015-04-04 18:53:51 +00:00
christos
ba2ff12108
merge conflicts
2015-03-31 21:59:35 +00:00
christos
3d25ea14d9
Monday March. 11, 2015 guy@alum.mit.edu
...
Summary for 4.7.3 tcpdump release
Capsicum fixes for FreeBSD 10
Monday March. 10, 2015 guy@alum.mit.edu
Summary for 4.7.2 tcpdump release
DCCP: update Packet Types with RFC4340/IANA names
fixes for CVE-2015-0261: IPv6 mobility header check issue
fixes for CVE-2015-2153, 2154, 2155: kday packets
Friday Nov. 12, 2014 guy@alum.mit.edu
Summary for 4.7.0 tcpdump release
changes to hex printing of CDP packets
Fix PPI printing
Radius: update Packet Type Codes and Attribute Types with RFC/IANA names
Add a routine to print "text protocols", and add FTP/HTTP/SMTP/RTSP support.
improvements to telnet printer, even if not -v
omit length for bcp, print-tcp uses it
formatting fixes for a bunch of protocols
new bounds checks for a number of protocols
split netflow 1,6, and 6 dissector up.
added geneve dissector
CVE-2014-9140 PPP dissector fixed.
2015-03-31 21:45:44 +00:00
prlw1
f44489f8dc
MKINET6=no build fixes
...
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
christos
9010cfb72a
kill the dropped privs info message
2014-11-21 13:31:19 +00:00
christos
9a89a9bc17
l in ntohl is not long!
2014-11-20 04:51:18 +00:00
christos
b3a00663c5
merge conflicts
2014-11-20 03:05:03 +00:00
christos
c47fd3787d
Import tcpdump 4.6.2
2014-11-20 01:30:52 +00:00
wiz
b8a1052d67
Add missing TP so that -a is not hidden in the -A description.
...
From Anon Ymous.
2014-08-13 13:53:14 +00:00
christos
21314e18fb
When running as root and wanting to write a file and not having CAPNG, don't
...
drop privs, because we cannot open the file if we drop privs.
2014-05-13 20:29:59 +00:00
christos
870189d292
resolve conflicts.
2013-12-31 17:33:30 +00:00
christos
9d3749d780
update for 4.5.1
2013-12-31 17:33:11 +00:00
christos
026d728553
Import tcpdump 4.5.1
2013-12-31 17:13:59 +00:00
christos
bccafde1a7
remove unused variables
2013-10-20 02:58:34 +00:00
christos
aeccce4edc
fix type punned issue
2013-10-20 02:58:24 +00:00
joerg
3657cb7f1d
Update LLVM/Clang snapshot to r191105. This brings in a better detection
...
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
christos
8846758c2d
remove debugging accidentally committed.
2013-04-13 02:08:59 +00:00
christos
c66d06cb46
move droproot after we have dealt with input and output files.
2013-04-12 23:51:50 +00:00
christos
d5063e771b
- the initgroups function needs to be able to do name to gid translations,
...
so do it before the chroot, otherwise we lose /etc/nsswitch.conf and
/etc/group
- run res_init() so that we prime and initialize the resolver before the
chroot, since our chroot lacks /etc/{{nsswitch,resolve}.conf,hosts}
this is not portable behavior, but it is a lot better than populating
the chroot with crap.
2013-04-07 19:17:11 +00:00
christos
0e9868ba9d
merge conflicts
2013-04-06 19:33:07 +00:00
christos
9546e36db8
import tcpdump 4.3.0
2013-04-06 17:57:45 +00:00
christos
201c7d20ac
PR/45841: Henning Petersen: One sizeof is enough.
2012-01-16 17:34:18 +00:00
christos
a848253371
PR/45747: Henning Petersen: Fix icmp6 verbose printing.
2011-12-27 15:12:45 +00:00
enami
6c9e68ac64
Replace section number with actual one as we did in see also list.
2011-11-17 02:41:55 +00:00
christos
6ee25ca9b9
use cleantags, instead of home grown copy.
2011-10-08 19:28:38 +00:00
christos
9ad467753c
fix strict aliasing issues.
2011-08-17 10:48:02 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
joerg
a216da57a6
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
...
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
martin
518b4814dd
Hint from dsl: make sure to have the /etc/protocols file already open
...
before doing a chroot() if run as root. Easily done by a setprotoent(1)
call. This is a better (less intrusive) fix for PR bin/44721.
2011-04-17 11:45:40 +00:00
jakllsch
9d4594cbe9
Re-add LBL_ALIGN define we used to have pre-src/external.
...
Fixes a tcpdump SIGBUS on ARM.
2011-01-29 23:19:54 +00:00
wiz
1e9e3652c6
Bump date for chroot default.
2010-12-17 10:35:10 +00:00
jruoho
27cfff3b3e
Make tcpdump(8) to drop root privileges and chroot(2) by default.
2010-12-17 09:54:27 +00:00
christos
25abe6c390
tcpdump goes to /usr/sbin
2010-12-05 05:52:46 +00:00
christos
0a6931da37
we only have bin
2010-12-05 05:24:21 +00:00
christos
923cb98430
cleanup old stuff and install in the right place
2010-12-05 05:24:03 +00:00
christos
69e620e14c
build and import glue.
2010-12-05 05:14:00 +00:00
christos
90faadda0b
Makefile overrides
2010-12-05 05:13:45 +00:00
christos
11b3aaa125
apply our changes and add the pfsync stuff.
2010-12-05 05:11:30 +00:00
christos
0f74e101fa
Import tcpdump-4.1.1
2010-12-05 03:14:48 +00:00
christos
8bc69f3e6c
add configure file.
2010-12-05 03:06:08 +00:00