Bandwidthd PF2.0 Filter
-
I'm trying to get Bandwidthd In PF 2.0 to NOT count local traffic Between the LAN and the OPT1 interface.
I'm using this expression in the filter
"ip and not ((src net 192.168.0.0/24) and (dst net 192.168.0.0/24))"So far it does not work. Http traffic is all counted when lan users connect too a server running HFS http://www.rejetto.com/hfs/
If some one transfers a file through windows networking it counts the traffic as TCP just the same.
I've searched and come up empty.
What I need is a filter to ignore all traffic that goes in and out of (em0) to the Lan Or All traffic in the 192.160.x.x subnets.
Thanks
Allan -
I'm trying to get Bandwidthd In PF 2.0 to NOT count local traffic Between the LAN and the OPT1 interface.
I'm using this expression in the filter
"ip and not ((src net 192.168.0.0/24) and (dst net 192.168.0.0/24))"So far it does not work.
I'm not familiar with the details of filters in bandwidthd but wouldn't you want src net and dst net to be different nets? I would read such a filter as saying "traffic that isn't src net TO src net"
-
I'm not sure at all, Don't seem to have the smarts to figure out filters!!
Tried this one below just a while ago and it seems to filter out HTTP traffic but still counts file transfers in windows networking as TCP traffic."not((src net 192.168.1) and (dst net 192.168.1))"