1. Looks reasonable - there's the same thing in sFlow too...
(This probably worked before, but the URLsecurity cleanup, where I
translated all the chars in the URL from their %nn form changed what it
should be looking for)
PATCH: BMS0354
2. Intended behavior? Probably not... should be fixed.
3. Fixable
PATCH: BMS0353
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Markus Rehbach
Sent: Tuesday, September 02, 2003 3:14 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] Virtual NetFlow Address resetted / netflow device
doubled / param -P trailing slash
Hi all,
played with the current cvs ntop version. Cool, especially the anomaly list
for the host. In the following three annotations:
1.In the admin/plugins/netflow dialog the 'Virtual NetFlow Interface Network
Address' will be resetted to 192.168.0.0/255.255.255.0 after using the set
button. But a valid IP/mask was entered before.
Error in log:
**ERROR** NETFLOW: HTTP request NetMask Parse
Error(10.20.30.0/255.255.255.0)
Perhaps a solution will be this diff to netflowPlugin.c, but I'm not a
programmer:
< ||(sscanf(value, "%d.%d.%d.%d%%2F%d.%d.%d.%d", &a, &b, &c, &d, &a1,
&b1, &c1, &d1) != 8)) {
---
> ||(sscanf(value, "%d.%d.%d.%d/%d.%d.%d.%d", &a, &b, &c, &d, &a1, &b1,
&c1, &d1) != 8)) {
952c952
< if(sscanf(value, "%d.%d.%d.%d%%2F%d.%d.%d.%d",
---
> if(sscanf(value, "%d.%d.%d.%d/%d.%d.%d.%d",
2. netflow-device are doubled
Start ntop from scratch, then change the local collector udp port in the
configuration dialog of the netflow plugin and enable it. Disable the
plugin,
change to the dialog again (IP is filled with 192.168....) and press the set
buton for this 'Virtual NetFlow Interface'. Switch to 'Switch NIC' and 2
NetFlow devices will be present. Intended behavior?
3. trailing slash in -P parameter
If you start ntop with -P ~markus/ntop/ in the rrdplugin configuration
dialog
you will have the value '/home/markus/ntop//rrd' preset in the 'RRD Files
Path'. But double slashes are not allowed in the URL (set checkbox 'hosts',
press button 'set' and you will be locked out). Cosmetics...
Please complain if there is information missing.
Cheers
Markus
P.S.: I'm not on the developers list, sorry if issues are doubled.
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev