| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Reviewed by: kp (pflogd changes)
Sponsored by: The FreeBSD Foundation
(cherry picked from commit afdbf109c6a661a729938f68211054a0a50d38ac)
(cherry picked from commit ecb75be376a3e18d3e4836b6ee07015264784694)
(cherry picked from commit f0bcebe67ef6cf9f104535d6cd9f151c1b61dd6a)
(cherry picked from commit 34aa6f2c2db5cc9655f201a1ef01adbb9fb484d5)
|
|
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
(cherry picked from commit dd744a896be358d6f001766188da6aed80e00378)
(cherry picked from commit 270d20ce91c898c532ebaff76bb5b71c8544e928)
(cherry picked from commit 67c802c948abf6955c3d8b53f4a41293a9caea24)
(cherry picked from commit b1538e8fc488409113b833dd1c53aab1057b0568)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this MFC, the stable/13 libpcap was at version 1.9.1, which was
released over five years ago. Several CVEs have been identified in that
version. For a detailed list, see
https://www.tcpdump.org/public-cve-list.txt.
Reviewed by: kp (pf changes)
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 6d1c946e916845d01062e146aad5395410da1e54)
(cherry picked from commit 0c59e0b4e5817f139ce28486085b2f196351c7a3)
(cherry picked from commit 512c553671bef26e93342d4ae1ec5f60d8ae112b)
(cherry picked from commit 6f9cba8f8b5efd16249633e52483ea351876b67b)
(cherry picked from commit 437f05885047c533cadf15b564729cfd0273d2fe)
Commit 437f05885047c533cadf15b564729cfd0273d2fe has been adapted to only
include the changes for the libpcap 1.10.3 update.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix libpcap issue #893: check for invalid IPv4 addresses.
This fixes errors such as:
tcpdump -i lagg0 net 999.999.999.999
This was originally discovered on a Red Hat 7.7 server and verified
to also be a bug on FreeBSD.
Obtained from: https://github.com/the-tcpdump-group/libpcap/commit/ \
07070918d5e81a515315b395f334e52589fe0fb
Fixed by: https://github.com/guyharris
MFC after: 2 weeks
Notes:
svn path=/head/; revision=355990
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Update libpcap from 1.9.0 to 1.9.1.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=355988
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Restore local change to include <net/bpf.h> inside pcap.h.
This fixes ports build problems.
- Update local copy of dlt.h with new DLT types.
- Revert no longer needed <net/bpf.h> includes which were added
as part of r334277.
Suggested by: antoine@, delphij@, np@
MFC after: 3 weeks
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=334418
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Suggested by: antoine@
MFC after: 3 weeks
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=334378
|
|\|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 1 month
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=334277
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
warning: macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]
Submitted by: Aaron Prieger <aprieger@llnw.com>
Reviewed by: dim
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D11166
Notes:
svn path=/head/; revision=320616
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Reported by: Randy Westlund <rwestlun gmail com>
MFC after: 3 days
Notes:
svn path=/head/; revision=316125
|
|\|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 28 days
X-MFC-with: r313695
Notes:
svn path=/head/; revision=313760
|
|\|
| |
| |
| |
| |
| |
| | |
MFC after: 1 month
Notes:
svn path=/head/; revision=313695
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=303734
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=303733
|
| |
| |
| |
| |
| |
| |
| | |
Found with devel/coccinelle.
Notes:
svn path=/head/; revision=297983
|
|\|
| |
| |
| |
| |
| |
| | |
MFC after: 1 month
Notes:
svn path=/head/; revision=276768
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
run directly on netmap ports using netmap:foo or valeXX:YY device names.
Modifications to existing code are small and trivial, the netmap-specific
code is all in a new file.
Please be aware that in netmap mode the physical interface is disconnected from
the host stack, so libpcap will steal the traffic not just make a copy.
For the full version of the code (including linux and autotools support) see
https://code.google.com/p/netmap-libpcap/
MFC after: 3 days
Notes:
svn path=/head/; revision=272659
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.
Reviewed by: adrian, rpaulo
Notes:
svn path=/head/; revision=260444
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
suggested by upstream
https://github.com/the-tcpdump-group/libpcap/issues/327
Quiesce assignment warnings by use of const
Notes:
svn path=/head/; revision=257466
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in net, to avoid compatibility breakage for no sake.
The future plan is to split most of non-kernel parts of
pfvar.h into pf.h, and then make pfvar.h a kernel only
include breaking compatibility.
Discussed with: bz
Notes:
svn path=/head/; revision=257215
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Provide pf_altq.h that has only stuff needed for ALTQ.
- Start pf.h, that would have all constant values and
eventually non-kernel structures.
- Build ALTQ w/o pfvar.h, include if_var.h, that before
came via pollution.
- Build tcpdump w/o pfvar.h.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Notes:
svn path=/head/; revision=257186
|
|\|
| |
| |
| |
| |
| |
| | |
MFC after: 4 weeks
Notes:
svn path=/head/; revision=251129
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: 140349
Submitted by: Alan Amesbury <amesbury@umn.edu> (earlier version)
Reviewed by: delphij
Approved by: sbruno (mentor)
Notes:
svn path=/head/; revision=250693
|
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: Christoph Mallon
MFC after: 3 days
Notes:
svn path=/head/; revision=245952
|
|\|
| |
| |
| |
| |
| |
| | |
MFC after: 4 weeks
Notes:
svn path=/head/; revision=241231
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=240725
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit.
Reported by: buganini via IRC
MFC after: 2 weeks
Notes:
svn path=/head/; revision=235429
|
|\|
| |
| |
| |
| |
| |
| | |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=235426
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In userland, sign extend the offset for JA instructions.
We currently use that to implement "ip6 protochain", and "pc" might be
wider than "pc->k", in which case we need to arrange that "pc->k" be
sign-extended, by casting it to bpf_int32.
PR: kern/157188
Submitted by: plosher
MFC after: 2 weeks
Notes:
svn path=/head/; revision=223616
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
buffers. This fixes a segfault on exit due to calling free on a bogus pointer.
This should be considered a temporary stop gap fix to avoid the crash. The
complete fix re-shuffles the initializations of some of the clean-up pointers.
The details of the fix can be found in the libpcap git repository:
commit bc8209b71e928870b0f172d43b174ab27ba24394
Proded by: kevlo, rpaulo
MFC after: 2 weeks
Submitted by: Anton Yuzhaninov
Notes:
svn path=/head/; revision=222654
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
c65292b04b98d6a76d58c5a54ca8f81463bf24de to support new SIOCGIFDESCR
ioctl interface which was too late for libpcap 1.1.1.
Reported by: brucec
Noticed by: wxs
Notes:
svn path=/head/; revision=219472
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=214521
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=214520
|
|\|
| |
| |
| | |
Notes:
svn path=/head/; revision=214518
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
by OpenBSD), based on comments from many, including rwatson, jhb, brooks
and others.
Sponsored by: iXsystems, Inc.
MFC after: 1 month
Notes:
svn path=/head/; revision=203052
|
| |
| |
| |
| |
| |
| |
| | |
and requires more polishing.
Notes:
svn path=/head/; revision=199231
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 3 months
Notes:
svn path=/head/; revision=199201
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unconstify arguments of bpf_image(), bpf_filter() and bpf_dump(). This
is needed because some ports rely heavely on these arguments (some of
them even roll out their own implemenentations of bpf_dump).
Notes:
svn path=/head/; revision=190944
|
| |
| |
| |
| |
| |
| |
| | |
remaining ports build problems.
Notes:
svn path=/head/; revision=190640
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
merge. Fixes C++ ports using libpcap (nmap, for example).
Submitted by: Daniel Roethlisberger <daniel at roe.ch>
Notes:
svn path=/head/; revision=190591
|
| |
| |
| |
| |
| |
| |
| | |
Approved by: gnn(mentor)
Notes:
svn path=/head/; revision=190377
|
| |
| |
| |
| |
| |
| |
| | |
bpf.h
Notes:
svn path=/head/; revision=190234
|
| |
| |
| |
| |
| |
| |
| | |
another ifdef for zerocopy bpf.
Notes:
svn path=/head/; revision=190230
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=190229
|
|\|
| |
| |
| | |
Notes:
svn path=/head/; revision=190225
|
| |
| |
| |
| | |
Notes:
svn path=/vendor/libpcap/dist/; revision=190153
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=190213
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=190212
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=190210
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to save dumps on enc0
Reviewed by: gnn(mentor)
Obtained from: NETASQ
MFC after: 1 week
Notes:
svn path=/head/; revision=189877
|