Re: [pmacct-discussion] set_label=enp1s0_in filter='inbound' doesn't work, while it works against ppp0

2022-04-22 Thread Ruben
Hi Paolo, Thanks for the response! I did find that the 'inbound' and 'outbound' are actually specific to certain link-layer types, as described on https://www.tcpdump.org/manpages/pcap-filter.7.html: inbound - Packet was received by the host performing the capture rather than being sent by

Re: [pmacct-discussion] set_label=enp1s0_in filter='inbound' doesn't work, while it works against ppp0

2022-04-21 Thread Paolo Lucente
Hi Ruben, Indeed, very strange. And i could easily reproduce the issue on a Linux VM. To be frank i was not even aware of the existence of such inbound vs outbount knob, very convenient indeed. I suspect this is something new that good old bpf_filter() - which accepts filtering instructions,

[pmacct-discussion] set_label=enp1s0_in filter='inbound' doesn't work, while it works against ppp0

2022-04-20 Thread Ruben
Hi, I'm trying to get pmacctd to perform traffic accounting on my home router that's based on a debian machine. I'm running the following configuration: debug: false daemonize: true pidfile: /var/run/pmacctd.pid ! syslog: daemon logfile: /var/log/pmacctd.ppp0.log plugin_pipe_size: 1024