Hi,
 
I'm using current CVS (on Fedora Core 2, kernel 2.6.6).
 
1.) In the Netflow plugin setup screen, when I try to enter 
"192.168.1.0/255.255.255.0" or "192.168.1.0/24" nothing changes and the logs tell me:
 
Jun 16 14:52:50 ntop ntop[4596]:  [MSGID8400699] **ERROR** NETFLOW: HTTP request 
netmask parse error (192.168.0.0%2F255.255.255.0)
Jun 16 14:52:54 ntop ntop[4596]:  [MSGID8400699] **ERROR** NETFLOW: HTTP request 
netmask parse error (192.168.0.0%2F24)

2.) After just adding and deleteing some Netflow interfaces (plugin was disabled, I 
added 2 interfaces, deleted them, then added 3, deleted them, then added 1, then 
enabled the plugin), the Switch NIC page shows all added NICs, but doesn't keep track 
of the deleted ones. So there's a big list, with also duplicated items. (This will 
eventually lead to a crash when enabling the capturing for an already deleted iface.)
 
3.) I start ntop, NetFlow is disabled, with no interfaces configured. I configure 1 
NetFlow interface, its is named "NetFlow-device.2" (?). Weird enough, it already 
starts collecting for this interface, even though the plugin is disabled. This show in 
the logs:
 
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID0301309] NETFLOW: knownDevices=2
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID0100239] NETFLOW: createNetFlowDevice(2)
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8717032] Creating dummy interface, 
'NetFlow-device.2'
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID9195289] **WARNING** NETFLOW: initializing 
deviceId=1
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID9185902] Processing Netflow white/black list 
parameter '0'
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID0848671] NETFLOW: White list initialized to ''
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID0848671] NETFLOW: Black list initialized to ''
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8495857] NETFLOW: FILEDESCRIPTORBUG: 
Work-around activated
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID9168735] NETFLOW: FILEDESCRIPTORBUG: Creating 
0, '/tmp/ntop-nf-1-000004723-0'
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8426063] NETFLOW: FILEDESCRIPTORBUG: Created 
file 0 - '/tmp/ntop-nf-1-000004723-0'(17)
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID9168735] NETFLOW: FILEDESCRIPTORBUG: Creating 
1, '/tmp/ntop-nf-1-000004723-1'
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8426063] NETFLOW: FILEDESCRIPTORBUG: Created 
file 1 - '/tmp/ntop-nf-1-000004723-1'(18)
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID9168735] NETFLOW: FILEDESCRIPTORBUG: Creating 
2, '/tmp/ntop-nf-1-000004723-2'
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8426063] NETFLOW: FILEDESCRIPTORBUG: Created 
file 2 - '/tmp/ntop-nf-1-000004723-2'(19)
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8727919] NETFLOW: Created a UDP socket (20)
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID0045729] NETFLOW: Collector listening on port 
2055
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID0184065] THREADMGMT: netFlow 
thread(-229254224) started
Jun 16 15:03:43 ntop ntop[4723]:  [MSGID8591153] NETFLOW: createNetFlowDevice created 
device 1

- Then, I enable the NetFlow plugin, it starts this interface again? These are the 
logs:
 
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID0996095] NETFLOW: initializing '2' devices
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID0100239] NETFLOW: createNetFlowDevice(2)
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8717032] Creating dummy interface, 
'NetFlow-device.2'
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID9195289] **WARNING** NETFLOW: initializing 
deviceId=2
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID9185902] Processing Netflow white/black list 
parameter '0'
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID0848671] NETFLOW: White list initialized to ''
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID0848671] NETFLOW: Black list initialized to ''
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8495857] NETFLOW: FILEDESCRIPTORBUG: 
Work-around activated
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID9168735] NETFLOW: FILEDESCRIPTORBUG: Creating 
0, '/tmp/ntop-nf-2-000004723-0'
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8426063] NETFLOW: FILEDESCRIPTORBUG: Created 
file 0 - '/tmp/ntop-nf-2-000004723-0'(22)
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID9168735] NETFLOW: FILEDESCRIPTORBUG: Creating 
1, '/tmp/ntop-nf-2-000004723-1'
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8426063] NETFLOW: FILEDESCRIPTORBUG: Created 
file 1 - '/tmp/ntop-nf-2-000004723-1'(23)
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID9168735] NETFLOW: FILEDESCRIPTORBUG: Creating 
2, '/tmp/ntop-nf-2-000004723-2'
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8426063] NETFLOW: FILEDESCRIPTORBUG: Created 
file 2 - '/tmp/ntop-nf-2-000004723-2'(24)
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8727919] NETFLOW: Created a UDP socket (25)
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID0045729] NETFLOW: Collector listening on port 
2055
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID0184065] THREADMGMT: netFlow 
thread(-240866384) started
Jun 16 15:05:21 ntop ntop[4723]:  [MSGID8591153] NETFLOW: createNetFlowDevice created 
device 2

TIA,
- Robbert
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to