check-state does not take extra options.

This commit is contained in:
JohnHay 2021-12-20 08:37:15 +02:00
parent 4f20efd592
commit b1ee4f1d65

View File

@ -178,8 +178,7 @@ class Method(BaseMethod):
if subnets or dnsport:
sysctl_set('net.inet.ip.fw.enable', 1)
ipfw('add', '1', 'check-state', 'ip',
'from', 'any', 'to', 'any')
ipfw('add', '1', 'check-state')
ipfw('add', '1', 'skipto', '2',
'tcp',