diff options
author | Bill Marquette <billm@pfsense.org> | 2005-02-28 03:45:04 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-02-28 03:45:04 +0000 |
commit | e33c869497fa0afd49ecf87a7b89432fd84015cc (patch) | |
tree | 70b0e7004d774b1f2d39292f3beacb32a810bfb7 /etc/inc | |
parent | ec4940b96817473480dd67941d0012bf9442cda6 (diff) | |
download | pfsense-e33c869497fa0afd49ecf87a7b89432fd84015cc.zip pfsense-e33c869497fa0afd49ecf87a7b89432fd84015cc.tar.gz |
We can now put OS filtering in rules
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 1c93b52..af64a05 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1391,6 +1391,10 @@ EOD; $line .= "port {$srcport[0]} >< {$srcport[1]} "; } } + /* OS signatures */ + if ($rule['protocol'] == "tcp" && isset($rule['os'])) + $line .= "os {$rule['os']} "; + } /* destination address */ |