wblock@ said:
neilms said:My question is, do you advise me to still install a firewall on my PCs or is my security enough for a home user?
pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pflog_flags=""
### A macro for the external interface
ext_if = "fxp0"
### Reassemble fragmented packets
scrub in on $ext_if all fragment reassemble
### Default block everything rule
block all
### Pass loopback
set skip on lo0
### Block spoofy d00ds
antispoof for $ext_if inet
block in from no-route to any
block in from urpf-failed to any
block in quick on $ext_if from any to 255.255.255.255
block in log quick on $ext_if from { 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 255.255.255.255/32 } to any
### Block to and from port 0
block quick proto { tcp, udp } from any port = 0 to any
block quick proto { tcp, udp } from any to any port = 0
### Block all IPv6
block in quick inet6 all
block out quick inet6 all
### Block fingerprinting
block in quick on $ext_if proto tcp flags FUP/WEUAPRSF
block in quick on $ext_if proto tcp flags WEUAPRSF/WEUAPRSF
block in quick on $ext_if proto tcp flags SRAFU/WEUAPRSF
block in quick on $ext_if proto tcp flags /WEUAPRSF
block in quick on $ext_if proto tcp flags SR/SR
block in quick on $ext_if proto tcp flags SF/SF
### Keep and modulate state of outbound tcp, udp and icmp traffic
pass out on $ext_if proto { tcp, udp, icmp } from any to any modulate state
# pfctl -s all
No ALTQ support in kernel
ALTQ related functions disabled
FILTER RULES:
scrub in on msk0 all fragment reassemble
block drop all
block drop in quick on msk0 inet from any to 255.255.255.255
block drop in log quick on msk0 inet from 10.0.0.0/8 to any
block drop in log quick on msk0 inet from 172.16.0.0/12 to any
block drop in log quick on msk0 inet from 192.168.0.0/16 to any
block drop in log quick on msk0 inet from 255.255.255.255 to any
block drop in quick on msk0 proto tcp all flags FPU/FSRPAUEW
block drop in quick on msk0 proto tcp all flags FSRPAUEW/FSRPAUEW
block drop in quick on msk0 proto tcp all flags FSRAU/FSRPAUEW
block drop in quick on msk0 proto tcp all flags /FSRPAUEW
block drop in quick on msk0 proto tcp all flags SR/SR
block drop in quick on msk0 proto tcp all flags FS/FS
block drop quick proto tcp from any port = 0 to any
block drop quick proto tcp from any to any port = 0
block drop in quick inet6 all
block drop out quick inet6 all
block drop quick proto udp from any port = 0 to any
block drop quick proto udp from any to any port = 0
pass out on msk0 proto tcp all flags S/SA modulate state
pass out on msk0 proto udp all keep state
pass out on msk0 proto icmp all keep state
INFO:
Status: Enabled for 1 days 07:47:33 Debug: Urgent
State Table Total Rate
current entries 0
searches 462631 4.0/s
inserts 7954 0.1/s
removals 7954 0.1/s
Counters
match 10132 0.1/s
bad-offset 0 0.0/s
fragment 0 0.0/s
short 0 0.0/s
normalize 0 0.0/s
memory 0 0.0/s
bad-timestamp 0 0.0/s
congestion 0 0.0/s
ip-option 0 0.0/s
proto-cksum 0 0.0/s
state-mismatch 0 0.0/s
state-insert 0 0.0/s
state-limit 0 0.0/s
src-limit 0 0.0/s
synproxy 0 0.0/s
TIMEOUTS:
tcp.first 120s
tcp.opening 30s
tcp.established 86400s
tcp.closing 900s
tcp.finwait 45s
tcp.closed 90s
tcp.tsdiff 30s
udp.first 60s
udp.single 30s
udp.multiple 60s
icmp.first 20s
icmp.error 10s
other.first 60s
other.single 30s
other.multiple 60s
frag 30s
interval 10s
adaptive.start 6000 states
adaptive.end 12000 states
src.track 0s
LIMITS:
states hard limit 10000
src-nodes hard limit 10000
frags hard limit 5000
tables hard limit 1000
table-entries hard limit 200000
OS FINGERPRINTS:
700 fingerprints loaded
block drop in quick on msk0 proto tcp all flags FPU/FSRPAUEW [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
block drop in quick on msk0 proto tcp all flags FSRPAUEW/FSRPAUEW [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
block drop in quick on msk0 proto tcp all flags FSRAU/FSRPAUEW [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
block drop in quick on msk0 proto tcp all flags /FSRPAUEW [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
block drop in quick on msk0 proto tcp all flags SR/SR [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
block drop in quick on msk0 proto tcp all flags FS/FS [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]