Hi All,

I am using PF, version 5.4.0, in inline enforcement and running the service 
"pfbandwidthd". The issue I am facing is that I am getting bandwidth entries 
(inbytes/outbytes) in inline_accounting table containing the inline 
interface-IP (inline device: eth0, IP: 192.168.12.254, Net: 192.168.12.0/24, 
management dev: eth1, IP: 192.168.1.240/24). 

In file "sbin/pfbandwidthd" the Pcap::Compile function applying filter string 
on eth0 as: 

"ether proto \ip and not ( host 127.0.0.1 or host 192.168.12.254 or host 
192.168.12.255 or host 192.168.1.240 or host 192.168.1.255 ) and (net 
192.168.12.0/24)".  

So the script should not get any packet with IP 192.168.12.254 from Pcap, and 
should not insert any entry with IP 192.168.12.254 in the DB table 
inline_accounting. But in mySql DB table "inline_accounting" I can see the 
entries with IP 192.168.12.254 which is my inline interface's IP!!!!


But when I try the same filter with tcpdump on interface eth0 from command line 
I couldn't find and packet capture log. It looks interface/device settings are 
OK.


Could anybody please let me know they are also facing the same issue or my 
understanding is not correct? Do I need to do anything else to fix this?

If you need any more info please let me know.


Thanks in advance.
--Chinmay


------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to