head 1.10; access; symbols pkgsrc-2021Q4:1.9.0.82 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.80 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.78 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.76 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.74 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.72 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.68 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.48 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.70 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.66 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.64 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.62 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.60 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.58 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.56 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.54 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.52 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.50 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.46 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.44 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.42 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.40 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.38 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.36 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.34 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.32 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.30 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.28 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.26 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.24 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.22 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.20 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.18 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.16 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.14 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.12 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.10 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.8 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.6 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.4 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.2 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.8.0.10 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.8 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.6 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.4 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.2 pkgsrc-2010Q3-base:1.8 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.5.0.34 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.32 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.30 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.28 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.26 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.24 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.22 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.20 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.18 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.16 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.14 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.12 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.10 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.8 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.6 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.4 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.18 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.16 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.14 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.12 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.10 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.4 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.10 date 2022.03.25.11.27.33; author wiz; state dead; branches; next 1.9; commitid g3TieXsnzQ3eDAxD; 1.9 date 2011.10.18.10.33.06; author adam; state Exp; branches; next 1.8; 1.8 date 2010.07.22.21.10.52; author adam; state Exp; branches; next 1.7; 1.7 date 2009.05.25.09.03.15; author adam; state dead; branches; next 1.6; 1.6 date 2009.05.03.15.31.08; author tnn; state Exp; branches; next 1.5; 1.5 date 2005.01.06.11.52.35; author adam; state dead; branches; next 1.4; 1.4 date 2001.01.07.02.25.35; author wiz; state Exp; branches; next 1.3; 1.3 date 2000.09.19.20.00.04; author agc; state dead; branches; next 1.2; 1.2 date 98.10.11.20.27.04; author kim; state Exp; branches; next 1.1; 1.1 date 98.08.07.22.42.30; author kim; state Exp; branches; next ; desc @@ 1.10 log @ntop: remove Successor ntopng is already in pkgsrc. Ok adam@@ @ text @$NetBSD: patch-ac,v 1.9 2011/10/18 10:33:06 adam Exp $ --- initialize.c.orig 2011-03-03 21:00:04.000000000 +0000 +++ initialize.c @@@@ -343,6 +343,7 @@@@ void initCounters(void) { setDomainName(); +#if 0 _in6addr_linklocal_allnodes.s6_addr[0] = 0xff; _in6addr_linklocal_allnodes.s6_addr[1] = 0x02; _in6addr_linklocal_allnodes.s6_addr[2] = 0x00; @@@@ -359,6 +360,7 @@@@ void initCounters(void) { _in6addr_linklocal_allnodes.s6_addr[13] = 0x00; _in6addr_linklocal_allnodes.s6_addr[14] = 0x00; _in6addr_linklocal_allnodes.s6_addr[15] = 0x01; +#endif memset(myGlobals.transTimeHash, 0, sizeof(myGlobals.transTimeHash)); memset(myGlobals.dummyEthAddress, 0, LEN_ETHERNET_ADDRESS); @ 1.9 log @Changes 4.1.0: * Unknown @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Changes 4.0: * Partially rewritten ntop processing engine to address reliability and performance * Several bugs and stability issues fixed * Added better support for IPFIX and NetFlow v9, as well as ntop PEN (Private Enterprise Number) * Added support for Cisco ASA firewalls * Added ntop engine scriptability via the python programming language * Added RRDalarm plugin for generating alerts based on thresholds * Improved google maps integration * Enhanced sFlow support @ text @d3 1 a3 1 --- initialize.c.orig 2010-07-20 20:46:07.000000000 +0000 d5 1 a5 1 @@@@ -365,7 +365,7 @@@@ void initCounters(void) { a8 1 -#ifdef INET6 d13 8 @ 1.7 log @Changes 3.3.10: This release adds MPLS support, a per-interface BPF filter, the ability to export the HTTP GET parameters in QUERY_STRING_UNESCAPED in the Perl plugin, support for extended sFlow samples, a fix for a visualization issue when using VLANs, and an improved Perl plugin. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2009/05/03 15:31:08 tnn Exp $ d3 5 a7 8 http://www.ntop.org/trac/ticket/75 Index: http.c =================================================================== --- http.c (revision 3747) +++ http.c (revision 3748) @@@@ -1341,6 +1341,7 @@@@ void initAccessLog(void) { d9 5 a13 5 if(myGlobals.runningPref.accessLogFile) { + umask(0137); myGlobals.accessLogFd = fopen(myGlobals.runningPref.accessLogFile, "a"); if(myGlobals.accessLogFd == NULL) { traceEvent(CONST_TRACE_ERROR, "Unable to create file %s. Access log is disabled.", @ 1.6 log @patch-ac: Apply upstream SVN revision 3748, which fixes upstream ticket 75: "access logs globally writable in daemonized mode" Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @ntop is a network traffic probe that shows the network usage, similar to what the popular top Unix command does. ntop is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform and on Win32 as well. ntop users can use a web browser (e.g. netscape) to navigate through ntop (that acts as a web server) traffic information and get a dump of the network status. In the latter case, ntop can be seen as a simple RMON-like agent with an embedded web interface. The use of: - a web interface - limited configuration and administration via the web interface - reduced CPU and memory usage (they vary according to network size and traffic) make ntop easy to use and suitable for monitoring various kind of networks. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2001/01/07 02:25:35 wiz Exp $ d3 8 a10 15 --- pbuf.c.orig Mon May 3 17:43:09 1999 +++ pbuf.c @@@@ -843,20 +843,18 @@@@ int checkKeyPressed() { int theChar = getch(); - unsigned char in_char; int rc = 1, numScreens; - if((theChar != EOF) - && ((in_char = (unsigned char)theChar)) != 255) { + if((theChar != EOF) && (theChar != ERR)) { /* char buf[32]; d12 5 a16 10 - sprintf(buf, ">%c-%d<", in_char, in_char); + sprintf(buf, ">%c-%d<", theChar, theChar); mvprintw(0, 40, buf); refresh(); sleep(2); */ - switch(in_char) { + switch(theChar) { case 'q': case 'Q': cleanup(-1); @ 1.4 log @USE_CURSES instead of hardwired dependency on ncurses. Patch by Charles Hannum. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Install the binary for this package as mode 550, and disable the -w option, to avoid any compromises due to reported buffer overflow exploits, reported in ntop<=1.0 remote-root-shell http://www.securityfocus.com/advisories/2520 Also, upgrade to 1.1 on the distribution site, as the old distfile is no longer there, and 1.1 incorporates all the old patches in the pkgsrc version bar one minor one (passing CPPFLAGS into Makefile.in for the build environment). @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 1998/10/11 20:27:04 kim Exp $ d3 3 a5 4 --- interface.h.orig Sun Sep 13 05:00:58 1998 +++ interface.h Sun Oct 11 15:16:33 1998 @@@@ -42,7 +42,9 @@@@ */ d7 4 d12 17 a28 6 +#ifdef HAVE_GNUC_H #include +#endif #ifdef HAVE_OS_PROTO_H #include "os-proto.h" #endif @ 1.2 log @Updated ntop to 1.0 @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Adding ntop, "network top", v0.4 @ text @d3 3 a5 3 --- interface.h.ORIG Fri Jul 31 05:22:13 1998 +++ interface.h Fri Aug 7 16:52:22 1998 @@@@ -26,7 +26,6 @@@@ d9 3 a11 1 -#include @