Package: pmacct
Version: 1.5.0-4
Severity: normal
File: /usr/sbin/pmacctd

Dear Maintainer,

I'm using pmacctd configured as so:

! pmacctd configuration
!
!
!
daemonize: true
pidfile: /var/run/pmacctd.pid
syslog: daemon
!
! interested in in and outbound traffic
aggregate[in]: dst_mac
aggregate[out]: src_mac
! on this interface
interface: eth0
!
plugins: memory[in], memory[out]
plugin_pipe_size: 10240000
plugin_buffer_size: 10240
imt_path[in]: /tmp/eth0-in.pipe
imt_path[out]: /tmp/eth0-out.pipe

When I view the list of entries using "pmacct -p /tmp/eth0-in.pipe -s" I see 
something like:

DST_MAC            PACKETS               BYTES
00:16:3e:48:33:91  370                   27986
00:16:3e:18:49:67  1966                  210362
....

This is as expected.

When I try to query for a single MAC address using "pmacct -p /tmp/eth0-in.pipe 
-c dst_mac -M '00:16:3e:18:49:67'", I get:

DST_MAC            PACKETS               BYTES

For a total of: 0 entries

The MAC address is in the full list - but an exact match fails.

This has already been fixed upstream. See this commit: 
https://github.com/paololucente/pmacct/commit/f8bbe871d0518f6b7b34dda5790d2e735336d02a

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pmacct depends on:
ii  dpkg                 1.17.25
ii  init-system-helpers  1.22
ii  libc6                2.19-18+deb8u1
ii  libgeoip1            1.6.2-4
ii  libjansson4          2.7-1
ii  libmysqlclient18     5.5.44-0+deb8u1
ii  libpcap0.8           1.6.2-2
ii  libpq5               9.4.4-0+deb8u1
ii  librabbitmq1         0.5.2-2
ii  libsqlite3-0         3.8.7.1-1+deb8u1
ii  libstdc++6           4.9.2-10
ii  lsb-base             4.1+Debian13+nmu1
ii  net-tools            1.60-26+b1
ii  psmisc               22.21-2
ii  zlib1g               1:1.2.8.dfsg-2+b1

pmacct recommends no packages.

pmacct suggests no packages.

-- Configuration Files:
/etc/pmacct/pmacctd.conf [Errno 2] No such file or directory: 
u'/etc/pmacct/pmacctd.conf'

-- no debconf information

Reply via email to