void printLocalRoutersList(int actualDeviceId) {
char buf[LEN_GENERAL_WORK_BUFFER];
HostTraffic *el, router;
u_int idx, i, j, numEntries=0;
HostSerial routerList[MAX_NUM_ROUTERS];
printHTMLheader("Local Subnet Routers", 0);
if(myGlobals.dontTrustMACaddr) {
printNotAvailable();
return;
}
Which is the -o parameter
void printActiveTCPSessions(int actualDeviceId, int pageNum, HostTraffic
*el) {
int idx, realNumSessions;
char buf[LEN_GENERAL_WORK_BUFFER];
int numSessions, printedSessions;
if(!myGlobals.enableSessionHandling) {
printNotAvailable();
return;
}
Which is the -z parameter
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tony
Hernandez
Sent: Monday, March 24, 2003 1:50 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] ntop v.2.1.90 crashes when clicking the
about->configuration link.
Generated by ntop v.2.1.90 MT (SSL) [i386-unknown-freebsd4.8] (03/24/03
10:52:27 AM build)
Listening on [fxp0] without a kernel (libpcap) filtering expression
Web report active on interface fxp0
Just a heads up for you guyss out there, I have found a wierd issue where
2.1.90 crashes when I click on the about->configuration link. leaves no
debug, just dissappears off the process list.
I also found some issue where with the very same command line that I used to
start 2.1.55 I do not get recently used ports anymore at the bottom of the
stats->hosts-><host_ip> page. It says "Requested data is not available as
due to
the way you started ntop (command line flags)" Strange as tho my command
line did not change any.
the following is my startup script.
#!/bin/shh
#----------------------------------------------------------------------
# The following variables may be changed
#
# Network interface(s) to be monitored;
# may be blank, or comma-separated list
interfaces='fxp0'
# User to run ntop as; leave blank for root
userid='nobody'
# [IP:]port for serving HTTP; set to '0' to disable
http_port='3002'
# [IP:]port for serving HTTPS; set to '0' to disable
# The certificate is /usr/local/share/ntop/ntop-cert.pem
https_port='3003'
# Directory for ntop.access.log
logdir='/var/log'
# Specify any additional arguments here - see ntop(8)
additional_args='-b -n -o -C --reuse-rrd-graphics --throughput-bar-chart -z
-g @/usr/local/etc/rc.d/networks'
#
# End of user-configurable variables
#----------------------------------------------------------------------
args='-d -L'
[ ! -z $interfaces ] && args="$args -i $interfaces"
[ ! -z $http_port ] && args="$args -w $http_port"
[ ! -z $https_port ] && args="$args -W $https_port"
[ ! -z $logdir ] && args="$args -a ${logdir}/ntop.access.log"
[ ! -z $userid ] && args="$args -u $userid"
[ ! -z "$additional_args" ] && args="$args $additional_args"
case "$1" in
start)
[ -d $logdir ] && touch ${logdir}/ntop.access.log \
&& chown $userid ${logdir}/ntop.access.log
[ -d /usr/local/share/ntop ] && cd /usr/local/share/ntop
[ -x /usr/local/bin/ntop ] && /usr/local/bin/ntop $args
;;
stop)
killall ntop >/dev/null 2>&1 && echo -n ' ntop'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
exit 0
should anyone see an obvious error here please let me know. I cant find it
=[
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop