Date: Mon, 15 May 2006 10:49:22 -0700 From: Charlie Schluting <manos@cat.pdx.edu> To: Marcus Alves Grando <mnag@FreeBSD.org> Cc: manos@cs.pdx.edu, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/96339: Three updated files for net-mgmt/ourmon. Message-ID: <4468BF22.8080801@cat.pdx.edu> In-Reply-To: <200605130359.k4D3xBU4044915@freefall.freebsd.org> References: <200605130359.k4D3xBU4044915@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040902030206000307050403 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Marcus Alves Grando wrote: > Synopsis: Three updated files for net-mgmt/ourmon. > > State-Changed-From-To: open->feedback > State-Changed-By: mnag > State-Changed-When: Sat May 13 03:59:11 UTC 2006 > State-Changed-Why: > Please, provide "diff -ruN" patch. I can't create one patch based on > your shar. Thanks. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=96339 Marcus, Of course. Sorry. This patch should work. -Charlie --------------040902030206000307050403 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="ourmon.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ourmon.diff" diff -ruN ./Makefile /home/charlie/tmp/ourmon-new/Makefile --- ./Makefile Mon Nov 28 19:19:51 2005 +++ /home/charlie/tmp/ourmon-new/Makefile Mon May 15 10:30:02 2006 @@ -5,24 +5,25 @@ # $FreeBSD: ports/net-mgmt/ourmon/Makefile,v 1.2 2005/11/29 03:19:51 linimon Exp $ PORTNAME= ourmon -PORTVERSION= 2.5 +PORTVERSION= 2.62 CATEGORIES= net-mgmt MASTER_SITES= http://ourmon.cat.pdx.edu/ourmon/ -DISTNAME= ourmon25 +DISTNAME= ourmon262 MAINTAINER= manos@cs.pdx.edu COMMENT= A libpcap-based network monitoring and anomaly detection system BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap LIB_DEPENDS= gd:$(PORTSDIR)/graphics/gd +LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre RUN_DEPENDS= rrdtool:$(PORTSDIR)/net/rrdtool -#IS_INTERACTIVE= yes +IS_INTERACTIVE= yes WRKSRC= ${WRKDIR}/mrourmon -USE_PERL5= yes -NO_INSTALL_MANPAGES= yes -#NO_PACKAGE= yes -NO_BUILD= yes +USE_PERL5= yes +NO_INSTALL_MANPAGES= yes +NO_PACKAGE= yes +NO_BUILD= yes # where to install ourmon and also # where we build the ourmon runtime-script with configure.pl @@ -30,27 +31,27 @@ # make simply states assumptions, unpacks the system, and puts it in PREFIX pre-build: - @${ECHO_MSG} "install dir is PREFIX=\"${PREFIX}/mrourmon\"" - @${ECHO_MSG} "We do not install apache or some other web server for you. - @${ECHO_MSG} "You should know where your apache docs directory is before make install." - @${ECHO_MSG} "You should also know which network interface you want ourmon to use." - @${ECHO_MSG} - @${ECHO_MSG} "Ourmon may be installed on one CPU or two. If you" - @${ECHO_MSG} "are only installing the front-end probe, you do" - @${ECHO_MSG} "not need Apache, hence we do not install it." - @${ECHO_MSG} "If you are installing the back-end graphics engine" - @${ECHO_MSG} "(which needs a web server) do install Apache first, and note" - @${ECHO_MSG} "where the htdocs web directory lives. You will need" - @${ECHO_MSG} "that for ourmon configuration. If you simply" - @${ECHO_MSG} "want to install ourmon with both front-end and back-end" - @${ECHO_MSG} "on one CPU, then install Apache first on that machine." - @${ECHO_MSG} + @${ECHO_MSG} "install dir is PREFIX=\"${PREFIX}/mrourmon\"" + @${ECHO_MSG} "We do not install apache or some other web server for you. + @${ECHO_MSG} "You should know where your apache docs directory is before make install." + @${ECHO_MSG} "You should also know which network interface you want ourmon to use." + @${ECHO_MSG} + @${ECHO_MSG} "Ourmon may be installed on one CPU or two. If you" + @${ECHO_MSG} "are only installing the front-end probe, you do" + @${ECHO_MSG} "not need Apache, hence we do not install it." + @${ECHO_MSG} "If you are installing the back-end graphics engine" + @${ECHO_MSG} "(which needs a web server) do install Apache first, and note" + @${ECHO_MSG} "where the htdocs web directory lives. You will need" + @${ECHO_MSG} "that for ourmon configuration. If you simply" + @${ECHO_MSG} "want to install ourmon with both front-end and back-end" + @${ECHO_MSG} "on one CPU, then install Apache first on that machine." + @${ECHO_MSG} pre-install: .if exists(${PREFIX}/etc/ourmon.conf) - ${MV} ${PREFIX}/etc/ourmon.conf ${PREFIX}/etc/ourmon.conf.old + ${MV} ${PREFIX}/etc/ourmon.conf ${PREFIX}/etc/ourmon.conf.old .endif - $(CP) -R ${WRKSRC} ${PREFIX} + $(CP) -R ${WRKSRC} ${PREFIX} # make install compiles and configures the system installing # all binaries in the local PREFIX/bin as well as asking @@ -58,12 +59,12 @@ # and modify /etc/crontab do-install: - cd ${PREFIX}/mrourmon && ${PERL5} configure.pl ${PREFIX} + cd ${PREFIX}/mrourmon && ${PERL5} configure.pl ${PREFIX} post-install: - @${ECHO_MSG} "Ourmon is installed in ${PREFIX}" - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} + @${ECHO_MSG} "Ourmon is installed in ${PREFIX}" + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} .include <bsd.port.mk> diff -ruN ./distinfo /home/charlie/tmp/ourmon-new/distinfo --- ./distinfo Mon Jan 23 22:38:30 2006 +++ /home/charlie/tmp/ourmon-new/distinfo Mon May 15 10:30:02 2006 @@ -1,3 +1,3 @@ -MD5 (ourmon25.tar.gz) = 23353c42d2432793345b19ac0a77dfdb -SHA256 (ourmon25.tar.gz) = 4a7996bda1fdf1f8f3d76dfec8dfd1a0cf575406b10f0764a435ce5596c53d2d -SIZE (ourmon25.tar.gz) = 330622 +MD5 (ourmon262.tar.gz) = 0290ae98f1fc914edd7d7565d6e896d5 +SHA256 (ourmon262.tar.gz) = 3ca03195eaf71ba863a1418356aa6c730853dd139f8e68c699c44f369a3483ec +SIZE (ourmon262.tar.gz)=334675 diff -ruN ./pkg-descr /home/charlie/tmp/ourmon-new/pkg-descr --- ./pkg-descr Thu Nov 24 15:49:12 2005 +++ /home/charlie/tmp/ourmon-new/pkg-descr Wed Dec 31 16:00:00 1969 @@ -1,16 +0,0 @@ -Ourmon is a network management and anomaly detection system for -performing various SNMP RMON-like network analysis tasks. It uses -the BSD bpf in combination with RRDTOOL as well as various "top -talker" style tuples including: top-N flows which include IP, TCP, -UDP, and ICMP flows, top SYN senders, top TCP/UDP ports, top single -IP src to many IP dst senders, top single IP src to L4 (TCP/UDP), -top ICMP errors which includes UDP creators of ICMP errors and other -tools for both network management and anomaly detection. RRDTOOL -graphs include a year of baselined information. New RRDTOOL graphs -may be designed with user-configured BPF expressions a la tcpdump. -Reports and logging for top talkers are also included. - -WWW: http://ourmon.cat.pdx.edu/ourmon/ - -Created by: Jim Binkley <jrb@cs.pdx.edu> -FreeBSD Port by: Charlie Schluting <manos@cs.pdx.edu> diff -ruN ./pkg-message /home/charlie/tmp/ourmon-new/pkg-message --- ./pkg-message Thu Nov 24 15:49:12 2005 +++ /home/charlie/tmp/ourmon-new/pkg-message Mon May 15 10:30:02 2006 @@ -15,9 +15,11 @@ at /usr/local/mrourmon/etc/ourmon.conf. In particular set the notion of topn_syn home IP in the config file -topn_syn_homeip 10.1.0.0 255.255.0.0 +topn_syn_homeip 10.1.0.0/16 -to your home subnet and netmask. +to your home subnet and netmask. If you are installing +ourmon to watch a host you can put in a slash 32 +address like 10.1.2.3/32 After setting the config file up properly, in order to start the front-end probe process, --------------040902030206000307050403--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4468BF22.8080801>