A new ipfw program that can set and control the new features.
An almost correct usage is printed.
This commit is contained in:
parent
b83e431483
commit
5b0c234e20
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14231
@ -4,4 +4,13 @@ LDADD= -lkvm
|
||||
|
||||
MAN8= ipfw.8
|
||||
|
||||
test: ipfw
|
||||
./ipfw add reject tcp from any to any
|
||||
./ipfw add 11 reject tcp from 1.2.3.4 to 5.6.7.8 established
|
||||
./ipfw add 11 reject tcp from 1.2.3.4 to 5.6.7.8/24 in
|
||||
./ipfw add 11 reject tcp from 1.2.3.4 to 5.6.7.8 in out
|
||||
./ipfw add 11 reject tcp from 1.2.3.4 to 5.6.7.8 frag out
|
||||
./ipfw add 11 reject tcp from 1.2.3.4 to 5.6.7.8 tcpf p,f,!a ipopt !ts
|
||||
./ipfw add 12 count log udp from 1.2.3.4 to 5.6.7.8 123-125,234,245
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
1448
sbin/ipfw/ipfw.c
1448
sbin/ipfw/ipfw.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user