Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8221 - ntop default interface & .install warning

Attached to Project: Arch Linux
Opened by . (Thralas) - Friday, 05 October 2007, 10:29 GMT
Last edited by Eric Belanger (Snowman) - Monday, 18 August 2008, 01:02 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The ntop package comes with an /etc/conf.d/ntop script; By default it contains:

NTOP_ARGS="-i eth1 -w 3000"

Why is the default eth1? Most users just have a 'single' eth0 interface, so specifying eth0 would make a lot more sense. Alternatively, the -i option could be removed, ntop will then pick the first interface it finds (likely eth0?).

Also, after it's installed you will need to run ntop as root to set an administrator password - starting it using the initscript will yield a [DONE] message, however the ntop daemon will die as there's no admin pass set. Although all this *is* in the manpage, maybe a short notice in an .install script might be a good idea.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 18 August 2008, 01:02 GMT
Reason for closing:  Implemented
Additional comments about closing:  ntop in extra has been updated to the new stable 3.3.7 release so the cvs snapshot is no longer needed. It contains the changes suggested in this bug report.
Comment by Glenn Matthys (RedShift) - Tuesday, 17 June 2008, 14:32 GMT
Status: not implemented in ntop 3.3-3.1 in extra. No package in testing.
Comment by Aaron Griffin (phrakture) - Friday, 20 June 2008, 16:49 GMT
Sorry, my fault. Eric helped me out with some packages and I forgot to search through bugs.
Comment by Eric Belanger (Snowman) - Friday, 20 June 2008, 19:06 GMT
Aaron: I guess you want me to fix it, right? If so, it is OK if I implement everything that is suggested?
Comment by Aaron Griffin (phrakture) - Friday, 20 June 2008, 19:08 GMT
If you want to that's fine - you do way too much as it is, I don't want to tax you anymore 8)

I just assigned it to me and you in case you were interested.
Comment by Eric Belanger (Snowman) - Friday, 20 June 2008, 20:33 GMT
I did checked it out a while back so I'm mildly interested but it'll be a low-priority for me.
Comment by Eric Belanger (Snowman) - Tuesday, 08 July 2008, 00:01 GMT
update:

ntop 3.3.6 doesn't build. Seems to be a perl 5.10 build issue. I haven't found any patches yet. Error:

In file included from /usr/lib/perl5/core_perl/CORE/perl.h:2382,
from perl.c:32:
/usr/lib/perl5/core_perl/CORE/handy.h:85:1: warning: "bool" redefined
In file included from ntop.h:490,
from perl.c:26:
globals-structtypes.h:104:1: warning: this is the location of the previous definition
perl.c:38: warning: no previous prototype for 'handlePerlHTTPRequest'
perl.c: In function 'handlePerlHTTPRequest':
perl.c:45: error: 'argc' undeclared (first use in this function)
perl.c:45: error: (Each undeclared identifier is reported only once
perl.c:45: error: for each function it appears in.)
perl.c:45: error: 'argv' undeclared (first use in this function)
perl.c:45: error: 'env' undeclared (first use in this function)
make[2]: *** [perl.lo] Error 1
Comment by Eric Belanger (Snowman) - Thursday, 31 July 2008, 01:16 GMT
The most recent svn code builds and works correctly AFAICT. Would it be a problem to use this svn snapshot for the package? I could send it in testing first. Important modifications have been done to the perl-related code so creating a patch that would only fix the perl build problem would be some work. I haven't found any patches out there after a quick googling.
Comment by Aaron Griffin (phrakture) - Thursday, 31 July 2008, 15:38 GMT
I don't think a snapshot would bother me too much
Comment by Eric Belanger (Snowman) - Saturday, 02 August 2008, 17:14 GMT
OK then. I'll go with the snapshot. I'll put it in testing this week-end.
Comment by Eric Belanger (Snowman) - Sunday, 03 August 2008, 03:01 GMT
ntop 3.3.6.svn3582-1 is now in testing repo. Please test carefully as it's a svn snapshot and report any success or problems.
Comment by Eric Belanger (Snowman) - Saturday, 16 August 2008, 03:20 GMT
Did anyone tried the package in testing? I'll wait for a few days for input then will move it to extra.

Loading...