sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
pfsync: prepare code to accommodate AF_INET6 familyWork is ongoing to add support for pfsync over IPv6. This required somechanges to allow for differentiating between the two families in a morege
pfsync: prepare code to accommodate AF_INET6 familyWork is ongoing to add support for pfsync over IPv6. This required somechanges to allow for differentiating between the two families in a moregeneric way.This patch converts the relevant ioctls to using nvlists, making futureextensions (such as supporting IPv6 addresses) easier.Sponsored by: InnoGames GmbHDifferential Revision: https://reviews.freebsd.org/D36277
show more ...
pflog/pfsync: Fix module build with VIMAGE=yespflog and pfsync's module Makefile fails to include opt_global.h to SRCSleading to build error for VIMAGE case.Reproduced with:cd /usr/src/sys/modu
pflog/pfsync: Fix module build with VIMAGE=yespflog and pfsync's module Makefile fails to include opt_global.h to SRCSleading to build error for VIMAGE case.Reproduced with:cd /usr/src/sys/modules/pflog && make VIMAGE=yesPR: 229404Submitted by: eugen@MFC after: 1 week
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Reviewed by: emaste, hselasky (partial), brooks (brief)Discussed on: arch@Sponsored by: EMC / Isilon Storage DivisionDiff
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Reviewed by: emaste, hselasky (partial), brooks (brief)Discussed on: arch@Sponsored by: EMC / Isilon Storage DivisionDifferential Revision: https://reviews.freebsd.org/D5742
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
Use src.opts.mk in preference to bsd.own.mk except where we need stufffrom the latter.
o Create directory sys/netpfil, where all packet filters should reside, and move there ipfw(4) and pf(4).o Move most modified parts of pf out of contrib.Actual movements:sys/contrib/pf/net/*.
o Create directory sys/netpfil, where all packet filters should reside, and move there ipfw(4) and pf(4).o Move most modified parts of pf out of contrib.Actual movements:sys/contrib/pf/net/*.c -> sys/netpfil/pf/sys/contrib/pf/net/*.h -> sys/net/contrib/pf/pfctl/*.c -> sbin/pfctlcontrib/pf/pfctl/*.h -> sbin/pfctlcontrib/pf/pfctl/pfctl.8 -> sbin/pfctlcontrib/pf/pfctl/*.4 -> share/man/man4contrib/pf/pfctl/*.5 -> share/man/man5sys/netinet/ipfw -> sys/netpfil/ipfwThe arguable movement is pf/net/*.h -> sys/net. There arefuture plans to refactor pf includes, so I decided not tobreak things twice.Not modified bits of pf left in contrib: authpf, ftp-proxy,tftp-proxy, pflogd.The ipfw(4) movement is planned to be merged to stable/9,to make head and stable match.Discussed with: bz, luigi
In FreeBSD we always have bpf(4) API, either real or stub. No needin detecting presense of 'device bpf'.
Update packet filter (pf) code to OpenBSD 4.5.You need to update userland (world and ports) toolsto be in sync with the kernel.Submitted by: mlaierSubmitted by: eri