Hello,

I was wondering about using pf to monitor what is happening on our
network. The idea is to connect a pf machine to the management port on
the switch.

I am building some rules to monitor certain protocols for all IP
adresses connected to our network:

pass in proto tcp from src_ip to dest_server port=protocl label src_ip_protocol

pass in proto tcp from 10.10.1.1 to 10.200.1.1 port=80 label 10_10_1_1_HTTP
pass in proto tcp from 10.10.1.2 to 10.200.1.1 port=80 label 10_10_1_2_HTTP
pass in proto tcp from 10.10.1.3 to 10.200.1.1 port=80 label 10_10_1_3_HTTP
.....

I think I will end up with over 2000 rules. But maybe much more. Is
this something doable with pf or am I totally abusing the labeling
features ?

For me it seems like a quick way to get protocol statistics per
connected ip going towards our servers....... however I have no idea
if it will work with lots of traffic & ips!

I am hoping some of you are doing similar things ?

Reply via email to