Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv9482
Modified Files:
globals-defines.h globals-report.h globals-structtypes.h
admin.c globals-core.c http.c main.c report.c reportUtils.c
webInterface.c ntop.8
Log Message:
BMS0421
Major reporting etc. cleanup.
1) Reorg the main menus to reflect the addition of major protocols -
FibreChannel and iSCSI.
Welcome to ntop: About | Summary | All protocols | tcp/ip | FibreChanel
| SCSI | All Data | Sent | Received | Admin | (C) 1998-2004 - L. Deri
The All Data, Sent and Received mirror the old cross protocol menus, the
tcp/ip. FibreChannel and SCSI menus are cross-display for the single protocol.
The split between Sent and Received and All on most reports has been moved into
the report itself, like the existing All | Local | Remote split.
2) New debug settings in globals-defines.h, for FC_DEBUG, FINGERPRINT_DEBUG and
URL_DEBUG
3) Lots of CONST_xxxx_HTML cleanup in globals-defines.h
4) Optional flag, --w3c, to tell ntop to generate more standardized html.
This adds things that are required by the standard, such as DOCTYPE and CHARTYPE
headers which are ill-tolerated by older browsers. This switch ends the constant
tug between my adding these and Luca removing them. I've also done a lot of
cleanup of the generated html so many pages now properly validate, even without
the -w3c switch (although you do have to add the DOCTYPE and CHARTYPE headers for
the validation routine).
5) Most of the image tags ntop uses are now in globals-defines.h in case you want
to change the names or the alt tags.
6) the comparisons in http.c are now strncasecmp and strcasecmp so that ntop's URLs
are CASE INDEPENDENT.
7) URLsecurity performs some of the tests on the actual page, not the whole request
(i.e. w/o parameters).
8) The host health flags on the main page are back in sync with the color coding in
the individual entries. I moved rst-rcvd to GREEN (low) from YELLOW (medium)
because it's quite common.
9) When running with the -f flag, ntop reports the input file name, not the up
time (which was absurd since it was computed as now - 1st time stamp in the file.
10) The html files have been updated to report themselves as ntop 3.0 - it's coming,
this is only a little jump of the gun.
11) Work tables created for reporting will detect memory allocation failure and
report to the user and the log.
12) ALL REPORTS should generate their 1st header line before ANYTHING else, so
there should always be SOME output.
-----Burton
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev