| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
parse bpf strings for filter rules in ipf.conf
|
| |
| |
| |
| |
| | |
kernel it is being compiled against and subsequently enable using BPF for
packet matching in ipf rules.
|
| | |
|
| | |
|
| |
| |
| |
| | |
imports.
|
| | |
|
| |
| |
| |
| |
| | |
an interface pointer. This simplifies a couple of uses
and removes some XXX workarounds.
|
| |
| |
| |
| |
| |
| |
| |
| | |
missing and will be implemented in a second step. This is functional as is.
Tested by: freebsd-pf, pfsense.org
Obtained from: OpenBSD
X-MFC after: never (breaks API/ABI)
|
| |
| |
| |
| |
| |
| |
| | |
/usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c: In function `fr_ipid_newfrag':
/usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c:397: warning: cast to pointer from integer of different size
/usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c: In function `fr_ipid_knownfrag':
/usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter/netinet/ip_frag.c:582: warning: cast from pointer to integer of different size
|
| |
| |
| |
| |
| | |
Someday this should be converted to uint64_t and printstate.c changed to
use those horrid PRiud64 things.
|
| |
| |
| |
| | |
with FreeBSD so we shouldn't be trying to include it here.
|
| |
| |
| |
| |
| | |
- Move SIOCPROXY from ip_nat.h to ip_proxy.h and fix ip_proxy.h so that it
can be easily compiled into kdump, et al.
|
| |
| |
| |
| | |
add another special file in the creation of ioctls.c for kdump.
|
| | |
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
destination windows were confused, one instead of other.
This error was masked, because first segment of just
established connection is usually smaller than initially
announced window, and it was successfully passed. First
window reannouncement corrected erroneous 'seqhi' value.
The error showed up when client connected to synproxy
with zero initial window, and reannounced it after
session establishment.
In collaboration with: dhartmei [we came to same patch independtly]
Reviewed by: mlaier
Sponsored by: Rambler
MFC after: 3 days
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
than defaulting the cmode argument to vn_open() to 0. Supply a default
argument of ALQ_DEFAULT_CMODE (0600) in current callers.
Discussed with/pointed out by: hmp
Reveiwed by: jeff, hmp
MFC after: 3 days
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Submitted by: John L. Scarfone via OpenBSD
Reviewed by: mlaier
Obtained from: OpenBSD, rev. 1.483
MFC after: 2 days
|
|\ \ \
| | | |
| | | |
| | | | |
which included commits to RCS files with non-trunk default branches.
|
| / /
| | |
| | |
| | |
| | | |
Demanded by: DES
Encouraged by: scottl
|
| | |
| | |
| | |
| | | |
for being on a CVS vendor branch. The files were moved via a repo-copy.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Noticed by: Coverity Prevent analysis tool
Reviewed by: scottl
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
renamed interfaces.
PR: kern/77645
Reported by: Harald Schmalzbauer <harryNOschmalzbauerSPAMde>
Reviewed by: yongari
MFC after: 3 days
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
was a bad idea, but since it is done like this in the vendor source we keep
it around for older versions. As a safe guard against future misuse we don't
even define CALLOUT_INITIALIZER anymore.
This fixes ALTQ after callout_init_mtx() and takes altq_var.h off the vendor
branch.
Submitted by: Divacky Roman <xdivac02NOstud.fit.vutbrSPAMcz> (w/ changes)
|
| | |
| | |
| | |
| | |
| | |
| | | |
in "pfctl -vvsI" output when pf was statically linked to kernel.
Discussed with: mlaier
|
| | |
| | |
| | |
| | |
| | |
| | | |
untangle struct ifnet and softc/arpcom in the future.
Requested by: brooks
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Add previously removed ISA support.
Submitted by: David S. Madole <david AT madole.net>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
replacement address for an rdr rule. Some rdr rules have no address family
(when the replacement is a table and no other criterion implies one AF).
In this case, pf would fail to select a replacement address and drop the
packet due to translation failure.
Found by: Gustavo A. Baratto
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
like this in init(8), but the code didn't match the documentation.
Submitted by: Juraj Lutter <otis at sk dot FreeBSD dot org>
Agrees: mlaier
|
|\ \ \
| | | |
| | | |
| | | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
dsutils.c. We need to GC the implicitly-returned object.
Submitted by: Robert.Moore at Intel
MFC after: 1 day
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
external source (i.e., _STA). The previous case only handled calls
occurring within AML. This should fix Toshibas, among others. Thanks
to Robert Moore of Intel for the fix.
MFC after: 2 days
|
| | | |
| | | |
| | | |
| | | |
| | | | |
we loop through all the list of NICs (struct ifnet), holding the lock on
it and then do a name lookup with ifunit() whilst holding it.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
up on USE_MUTEX being defined, but this patch
* Remove some code that's in a #ifndef FreeBSD that's no longer used.
|
| | | |
| | | |
| | | |
| | | | |
defined. Revert part of the previous commit to fix this.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
define PFIL_HOOKS anymore.
Submitted by: keramida
|
| | | |
| | | |
| | | |
| | | | |
the the "needs giant" flag to be removed from the driver.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
prevents a possible endless loop in pf_get_sport() with 'static-port'
ICMP state entries use the ICMP ID as port for the unique state key. When
checking for a usable key, construct the key in the same way. Otherwise,
a colliding key might be missed or a state insertion might be refused even
though it could be inserted. The second case triggers the endless loop,
possibly allowing a NATed LAN client to lock up the kernel.
PR: kern/74930
Reported and tested by: Hugo Silva, Srebrenko Sehic
MFC after: 3 days
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
to keep them out of harms way when compiling.
PR: 72783
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
PR: 70038
Submitted by: fming@borderware.com
Reviewed by: darrenr
Obtained from: fming@borderware.com
|