[root@redhat6 majordomo-1.94.4]# make install cc -DBIN=\"/usr/local/majordomo-1.94.4\" -DPATH=\"PATH=/bin:/usr/bin:/usr/ucb\" -DHOME=\"HOME=/usr/local/majordomo-1.94.4\" -DSHELL=\"SHELL=/bin/sh\" -DMAJORDO MO_CF=\"MAJORDOMO_CF=/usr/local/majordomo-1.94.4/majordomo.cf\" -DPOSIX_UID=514 -DPOSIX_GID=2 -o wrapper wrapper.c Testing for perl (/usr/bin/perl)... Configuring scripts... ./install.sh -m 751 -O 514 -g 2 . /usr/local/majordomo-1.94.4 ./install.sh -m 755 -O 514 -g 2 . /usr/local/majordomo-1.94.4/bin Copying tools to /usr/local/majordomo-1.94.4/bin Copying Majordomo files to /usr/local/majordomo-1.94.4 Copying archiving and other tools to /usr/local/majordomo-1.94.4/Tools ./install.sh -m 755 -O 514 -g 2 . /usr/local/majordomo-1.94.4/Tools Using majordomo.cf Installing manual pages in /usr/local/majordomo-1.94.4/man To finish the installation, 'su' to root and type: make install-wrapper If not installing the wrapper, type cd /usr/local/majordomo-1.94.4; ./wrapper config-test (no 'su' necessary) to verify the installation. [root@redhat6 majordomo-1.94.4]# make install-wrapper ./install.sh -o root -g 2 \ -m 4755 wrapper /usr/local/majordomo-1.94.4/wrapper To verify that all the permissions and etc are correct, run the command cd /usr/local/majordomo-1.94.4; ./wrapper config-test [root@redhat6 majordomo-1.94.4]# |
[root@redhat6 /tmp]# tar zxvf calamaris-2.8.tar.gz calamaris-2.8/ calamaris-2.8/COPYRIGHT calamaris-2.8/EXAMPLES calamaris-2.8/README calamaris-2.8/calamaris.pl calamaris-2.8/CHANGES [root@redhat6 calamaris-2.8]#cat access.log | ./calamaris.pl -a # Performance in 60 minute steps incomin hit miss direct sibling fetch date request MByte kB/sec kB/sec kB/sec kB/sec kB/sec kB/sec --------------- -------- ------ ------- ------- ------- ------- ------- ------- 28.Jan 101 07:0 1 0 32.70 - 32.70 32.70 - - 28.Jan 101 09:0 155 0 15.31 - 15.31 15.31 - - 28.Jan 101 10:0 50 0 43.04 - 43.04 43.04 - - 28.Jan 101 14:0 1 0 0.35 - - - - - 28.Jan 101 16:0 139 1 13.69 0.79 13.85 13.85 - - 28.Jan 101 17:0 106 0 9.20 - 9.20 9.20 - - 28.Jan 101 19:0 1 0 3.23 - 3.23 3.23 - - 28.Jan 101 22:0 254 0 6.70 - 6.70 6.70 - - 29.Jan 101 00:0 528 0 5.59 - 5.59 5.59 - - 29.Jan 101 01:0 1152 1 8.36 - 8.36 8.36 - - 29.Jan 101 02:0 2 0 7.59 - 7.59 7.59 - - 29.Jan 101 03:0 3 0 30.08 - 30.08 30.08 - - 29.Jan 101 08:0 2 0 42.72 - 42.72 42.72 - - 29.Jan 101 09:0 44 0 27.78 7.86 28.30 28.30 - - 29.Jan 101 10:0 597 0 6.48 21.25 6.45 6.45 - - 29.Jan 101 11:0 199 0 11.98 - 11.98 11.98 - - 29.Jan 101 12:0 94 0 13.93 - 13.93 13.93 - - 29.Jan 101 13:0 38 0 22.68 - 22.68 22.68 - - 29.Jan 101 15:0 61 0 3.15 - 3.15 3.15 - - 29.Jan 101 16:0 238 1 16.04 3.94 16.12 16.12 - - 29.Jan 101 17:0 23 0 12.08 - 12.08 12.08 - - 29.Jan 101 18:0 154 1 24.62 11.57 24.63 24.63 - - --------------- -------- ------ ------- ------- ------- ------- ------- ------- overall 3842 7 10.77 4.74 10.79 10.79 - - calamaris $Revision: 2.8 $, Copyright (C) 1997, 1998 Cord Beermann. Calamaris comes with ABSOLUTELY NO WARRANTY. It is free software, and you are welcome to redistribute it under certain conditions. See source for details. [root@redhat6 calamaris-2.8]#[root@redhat6 calamaris-2.8]#cat access.log | ./calamaris.pl -a -w > squid.html |
[root@redhat6 cache-stats-1.4]# ./proxystats.sh Stopping & restarting Proxy ... Tue Feb 6 18:43:21 JST 2001 Processing /tmp/squid/access.20010206 ... Running /usr/local/apache/htdocs/squid ... ./proxystats.sh: /usr/local/apache/htdocs/squid: is a directory Generating /usr/local/apache/htdocs/squid/20010206.html ... Running proxy-summary.pl ... Parsing /usr/local/apache/htdocs/squid/summary.20010206 ... Parsing /tmp/squid/access.20010206 ... Tue Feb 6 18:43:22 JST 2001 Archiving /tmp/squid/access.20010206 ... gzip: /tmp/squid/access.20010206.gz already exists; do you wish to overwrite (yor n)? y Tue Feb 6 18:43:26 JST 2001 [root@redhat6 cache-stats-1.4]# |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP MESSAGE----- Version: PGPfreeware 6.0.2i qANQR1DBwU4DO4ONjQ9O9xsQB/905UUOYU6uQ0XQJQxJsvU9Sc7Zrl8mB7FcV0bZ NyLHKkUQ+YkVht2ANshPzmq33GqpfC1eR8j2AGuXg6xw+vFJQaln/13lqIggNoPY rXGHYBXI1LDFY7nxt15yTBdV8Itt2/VA250COpnOJvtiXBny+yZWgpPLLeKqUGL8 TrQiA/TbSu8hwrp1ENiusX14ztGSTmjUj36yAb6pQzl3s8rq2wYd1YDMHZfD1fh8 7qYuXzcsB+ZZdbenivwc4nMBdEzP3eu29lhd3WvHjHBw6dvolc4eUXcwX6nmPAHQ uu22sp30g2OoEnoW79DuYRiAr9StVJQl44zHhFzAwxG8EdotCADe4ZVfHjqWES1c 7qeODHxcsGBtgVoS32qiYkSptWHlTaM9oo0xezko/k6JLB6hpg5CGotA9E1eBoIx 9H7KBO1ljwH8G49RdtxU/qvSv2P+KeOIwbDcgPWx9+5XwHar3KEAOJqnBJZUFC+w FIcwALjXkvlyMAkuhm7RTQd5Cu23vdCf5wBomcAPSzBW1E5UQTJjyckY7M8ab73q jo1dEzCIngoISC1v742KaSrYMJ7atVBCG02Th6jrw6yOb26FBgtED2gwQ4WLMKXm lBhy4mphdNFi7qEYc/hxg1SnDh2HVUNl1xoI483Cho4edbuTZYS5GsxNWsK4Gnu5 uDY1/wYgyTMQUdllA1Ko26sy/gKLGN7cY1YrXO5yRtfK+wzFh+7H3w8eYn1LniG1 C1EzKaA4B6p6pVI= =6bzN - -----END PGP MESSAGE----- -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.0.2i iQA/AwUBOpGFRHwJK/8E9u7uEQKSpgCfdZmld5BuA0P7KFXOBiL0l5tUCTAAnj3X TbZnG+mVgEVBUtsXxtR+tIsQ =kBWu -----END PGP SIGNATURE----- |
[root@pokemon /tmp]# rpm -ivh iplog-2_1_1-1d_src.rpm iplog ################################################## [root@pokemon /tmp]# [root@pokemon SOURCES]# tar zxvf iplog-2.1.1.tar.gz iplog-2.1.1/ iplog-2.1.1/ChangeLog iplog-2.1.1/AUTHORS iplog-2.1.1/COPYING iplog-2.1.1/Makefile.am iplog-2.1.1/INSTALL iplog-2.1.1/src/ iplog-2.1.1/src/gnu/ iplog-2.1.1/src/gnu/Makefile.am iplog-2.1.1/src/gnu/Makefile.in iplog-2.1.1/src/gnu/getopt.h iplog-2.1.1/src/Makefile.am iplog-2.1.1/src/Makefile.in iplog-2.1.1/src/getopt.c iplog-2.1.1/src/getopt1.c iplog-2.1.1/src/icmp-compat.h iplog-2.1.1/src/iplog.h iplog-2.1.1/src/iplog_dns.c iplog-2.1.1/src/iplog_dns.h iplog-2.1.1/src/iplog_filter.c iplog-2.1.1/src/iplog_filter.h iplog-2.1.1/src/iplog_icmp.c iplog-2.1.1/src/iplog_icmp.h iplog-2.1.1/src/iplog_ident.c iplog-2.1.1/src/iplog_input.c iplog-2.1.1/src/iplog_input.h iplog-2.1.1/src/iplog_lockfile.c iplog-2.1.1/src/iplog_options.c iplog-2.1.1/src/iplog_options.h iplog-2.1.1/src/iplog_pcap.c iplog-2.1.1/src/iplog_pcap.h iplog-2.1.1/src/iplog_scan.c iplog-2.1.1/src/iplog_scan.h iplog-2.1.1/src/iplog_syslog.c iplog-2.1.1/src/iplog_tcp.c iplog-2.1.1/src/iplog_udp.c iplog-2.1.1/src/iplog_util.c iplog-2.1.1/src/main.c iplog-2.1.1/src/pcap-int.h iplog-2.1.1/src/snprintf.c iplog-2.1.1/Makefile.in iplog-2.1.1/NEWS iplog-2.1.1/README iplog-2.1.1/TODO iplog-2.1.1/acconfig.h iplog-2.1.1/aclocal.m4 iplog-2.1.1/config.guess iplog-2.1.1/config.h.in iplog-2.1.1/config.sub iplog-2.1.1/configure iplog-2.1.1/configure.in iplog-2.1.1/example-iplog.rules iplog-2.1.1/install-sh iplog-2.1.1/iplog.8 iplog-2.1.1/iplog.rules.5 iplog-2.1.1/missing iplog-2.1.1/mkinstalldirs iplog-2.1.1/stamp-h.in [root@redhat6 libpcap-0.6.2]# make gcc -O2 -I. -DHAVE_CONFIG_H -c ./pcap-linux.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./pcap.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./inet.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./gencode.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./optimize.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./nametoaddr.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./etherent.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./savefile.c rm -f bpf_filter.c ln -s ./bpf/net/bpf_filter.c bpf_filter.c gcc -O2 -I. -DHAVE_CONFIG_H -c bpf_filter.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./bpf_image.c gcc -O2 -I. -DHAVE_CONFIG_H -c ./bpf_dump.c flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h gcc -O2 -I. -DHAVE_CONFIG_H -c scanner.c gcc -O2 -I. -DHAVE_CONFIG_H -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c gcc -O2 -I. -DHAVE_CONFIG_H -c version.c ar rc libpcap.a pcap-linux.o pcap.o inet.o gencode.o optimize.o nametoaddr.o eth erent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o versi on.o ranlib libpcap.a [root@redhat6 libpcap-0.6.2]# make install /usr/bin/install -c -m 444 -o bin -g bin libpcap.a /usr/local/lib/libpcap.a ranlib /usr/local/lib/libpcap.a [root@pokemon libpcap-0.4]# [root@redhat6 libpcap-0.6.2]# make install [ -d /usr/local/lib ] || \ (mkdir -p /usr/local/lib; chmod 755 /usr/local/lib) /usr/bin/install -c -m 644 libpcap.a /usr/local/lib/libpcap.a ranlib /usr/local/lib/libpcap.a [ -d /usr/local/include ] || \ (mkdir -p /usr/local/include; chmod 755 /usr/local/include) /usr/bin/install -c -m 644 ./pcap.h /usr/local/include/pcap.h /usr/bin/install -c -m 644 ./pcap-namedb.h \ /usr/local/include/pcap-namedb.h [ -d /usr/local/include/net ] || \ (mkdir -p /usr/local/include/net; chmod 755 /usr/local/include/net) /usr/bin/install -c -m 644 ./bpf/net/bpf.h \ /usr/local/include/net/bpf.h [ -d /usr/local/man/man3 ] || \ (mkdir -p /usr/local/man/man3; chmod 755 /usr/local/man/man3) /usr/bin/install -c -m 644 ./pcap.3 \ /usr/local/man/man3/pcap.3 root@redhat6 iplog-2.1.1]# ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets ${MAKE}... (cached) yes checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking host system type... i586-pc-linux-gnu checking for dprintf... yes checking for vasprintf... yes checking for getopt_long... yes checking for localtime_r... yes checking for inet_aton... yes checking for snprintf... yes checking how to run the C preprocessor... gcc -E checking for paths.h... yes checking for sys/sockio.h... no checking whether udphdr struct has uh_sport member... yes checking for u_int32_t... yes checking for pthread_create in -lpthread... yes checking for pthread_cancel in -lpthread... yes checking for getservbyport_r... yes checking for gethostbyaddr_r... yes checking for getprotobynumber_r... yes checking for pcap_open_live in -lpcap... yes checking if sockaddr struct has sa_len member... no checking for pcap.h... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/gnu/Makefile creating config.h Please remember to use GNU make to build iplog. iplog will not build with BSD (or any other) make. You can get GNU make from any GNU mirror in /pub/gnu/make [root@redhat6 iplog-2.1.1]# make make all-recursive make[1]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1' Making all in src make[2]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' Making all in gnu make[3]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src/gnu' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src/gnu' make[3]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_dns.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_filter.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_icmp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_ident.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_input.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_lockfile.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_options.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_pcap.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_scan.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_syslog.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_tcp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_udp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c iplog_util.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -W -Wall -Wshadow -c snprintf.c gcc -g -O2 -D_REENTRANT -W -Wall -Wshadow -o iplog getopt.o getopt1.o iplog_d ns.o iplog_filter.o iplog_icmp.o iplog_ident.o iplog_input.o iplog_lockfile.o ip log_options.o iplog_pcap.o iplog_scan.o iplog_syslog.o iplog_tcp.o iplog_udp.o i plog_util.o main.o snprintf.o -lpthread -lpcap make[3]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' make[2]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' make[2]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1' make[1]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1' [root@redhat6 iplog-2.1.1]# make install Making install in src make[1]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' Making install in gnu make[2]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src/gnu' make[3]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src/gnu' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src/gnu' make[2]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src/gnu' make[2]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' make[3]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' /bin/sh ../mkinstalldirs /usr/local/sbin /usr/bin/install -c iplog /usr/local/sbin/iplog make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' make[2]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' make[1]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1/src' make[1]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1' make[2]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1' make[2]: Nothing to be done for `install-exec-am'. make install-man5 install-man8 make[3]: Entering directory `/usr/src/redhat/SOURCES/iplog-2.1.1' /bin/sh ./mkinstalldirs /usr/local/man/man5 /usr/bin/install -c -m 644 ./iplog.rules.5 /usr/local/man/man5/iplog.rules.5 /bin/sh ./mkinstalldirs /usr/local/man/man8 /usr/bin/install -c -m 644 ./iplog.8 /usr/local/man/man8/iplog.8 make[3]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1' make[2]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1' make[1]: Leaving directory `/usr/src/redhat/SOURCES/iplog-2.1.1' [root@redhat6 iplog-2.1.1]# ps -ax 18563 ? S 0:00 /usr/local/sbin/iplog 18564 ? S 0:00 /usr/local/sbin/iplog 18565 ? S 0:00 /usr/local/sbin/iplog 18566 ? S 0:00 /usr/local/sbin/iplog |