divert(4): do not depend on ipfw(4)
Although originally socket was intended to use with ipfw(4) only, now it also can be used with pf(4). On a kernel without packet filters, it still can be used to inject traffic.
This commit is contained in:
parent
999c9fd733
commit
aa74cc6d6f
@ -4333,7 +4333,7 @@ netinet/in_prot.c optional inet | inet6
|
||||
netinet/in_proto.c optional inet | inet6
|
||||
netinet/in_rmx.c optional inet
|
||||
netinet/in_rss.c optional inet rss
|
||||
netinet/ip_divert.c optional ipdivert ipfirewall
|
||||
netinet/ip_divert.c optional ipdivert inet | ipdivert inet6
|
||||
netinet/ip_ecn.c optional inet | inet6
|
||||
netinet/ip_encap.c optional inet | inet6
|
||||
netinet/ip_fastfwd.c optional inet
|
||||
|
@ -170,7 +170,7 @@ SUBDIR= \
|
||||
${_io} \
|
||||
${_ioat} \
|
||||
${_ipoib} \
|
||||
${_ipdivert} \
|
||||
ipdivert \
|
||||
${_ipfilter} \
|
||||
${_ipfw} \
|
||||
ipfw_nat \
|
||||
@ -465,7 +465,6 @@ _if_stf= if_stf
|
||||
|
||||
.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
|
||||
_if_me= if_me
|
||||
_ipdivert= ipdivert
|
||||
_ipfw= ipfw
|
||||
.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES)
|
||||
_ipfw_nat64= ipfw_nat64
|
||||
|
@ -763,5 +763,4 @@ static moduledata_t ipdivertmod = {
|
||||
};
|
||||
|
||||
DECLARE_MODULE(ipdivert, ipdivertmod, SI_SUB_PROTO_FIREWALL, SI_ORDER_ANY);
|
||||
MODULE_DEPEND(ipdivert, ipfw, 3, 3, 3);
|
||||
MODULE_VERSION(ipdivert, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user