summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-02-28 03:45:04 +0000
committerBill Marquette <billm@pfsense.org>2005-02-28 03:45:04 +0000
commite33c869497fa0afd49ecf87a7b89432fd84015cc (patch)
tree70b0e7004d774b1f2d39292f3beacb32a810bfb7 /etc
parentec4940b96817473480dd67941d0012bf9442cda6 (diff)
downloadpfsense-e33c869497fa0afd49ecf87a7b89432fd84015cc.zip
pfsense-e33c869497fa0afd49ecf87a7b89432fd84015cc.tar.gz
We can now put OS filtering in rules
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
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 */
OpenPOWER on IntegriCloud