Public bug reported: Versions: System: Ubuntu 14.04.1 LTS bandwidthd-pgsql: 2.0.1+cvs20090917-7 postgresql: 9.3+154
I can set in bandwidthd.conf listen on one device(like dev eth2), it's ok. But when I set "dev any", there are some error in syslog and the bandwidthd can't record any traffic. The log was something like ... Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 10.44.142.1 with netmask 255.255.255.255 Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 10.34.208.1 with netmask 255.255.255.255 Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 172.16.0.0 with netmask 255.255.0.0 Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 192.168.0.0 with netmask 255.255.0.0 Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 213.46.74.0 with netmask 255.255.254.0 Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 143.62.11.80 with netmask 255.255.255.248 Jan 24 12:52:37 ocelot bandwidthd: Monitoring subnet 221.137.250.144 with netmask 255.255.255.240 Jan 24 12:52:37 ocelot bandwidthd: Opening any Jan 24 12:52:37 ocelot bandwidthd: Packet Encoding: Linux Cooked Socket Jan 24 12:55:57 ocelot bandwidthd: Initializing database info Jan 24 12:55:58 ocelot bandwidthd: Sensor ID: 1 Jan 24 12:55:58 ocelot bandwidthd: Sensor '#010 - E' does not exist in database, skiping link update Jan 24 12:59:18 ocelot bandwidthd: Sensor '#010 - E' does not exist in database, skiping link update Jan 24 13:02:38 ocelot bandwidthd: Sensor '#010 - E' does not exist in database, skiping link update Jan 24 13:02:38 ocelot bandwidthd: Postresql SELECT failed: ERROR: invalid byte sequence for encoding "UTF8": 0xc0 Jan 24 13:02:38 ocelot bandwidthd: Count not update link status ... My bandwidthd.conf is: subnet 10.44.142.1/32 subnet 10.34.208.1/32 subnet 172.16.0.0/12 subnet 192.168.0.0/16 subnet 213.46.74.0/23 subnet 143.62.11.80/29 subnet 221.137.250.144/28 dev "any" pgsql_connect_string "user = bandwidthd password = bbbbbpass dbname = bandwidthd host = localhost" sensor_id "the_sensor" graph false recover_cdf false promiscuous false When I run bandwidthd -l can get: ~# bandwidthd -l Description: (null) Name: "tun0" Description: Linux netfilter log (NFLOG) interface Name: "nflog" Description: Linux netfilter queue (NFQUEUE) interface Name: "nfqueue" Description: (null) Name: "eth2" Description: (null) Name: "eth3" Description: (null) Name: "eth4" Description: (null) Name: "eth6" Description: (null) Name: "eth7" Description: Pseudo-device that captures on all interfaces Name: "any" Description: (null) Name: "lo" ** Affects: bandwidthd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1414391 Title: bandwidthd 2.0.1 can't record traffic when dev set to any on ubuntu 14.04.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bandwidthd/+bug/1414391/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs