[sllug-members]: Apache log analyzer
Ricardo
ricardo.slacker at gmail.com
Tue Feb 24 14:52:24 MST 2009
Seriously, I use awk/perl
for a lot of log analysis (bot visibility, etc).
Turns out perl does an extremely good job
at parsing streams of text, who would have thought? ; )
Make sure to take advantage of the /regex/o flag and don't
slurp.
--Shane Hansen
On Tue, Feb 24, 2009 at 2:38 PM, Knight Walker <kwalker at kobran.org> wrote:
> On Tue, 2009-02-24 at 13:54 -0700, Remo Mattei wrote:
> > That has too many security holes that’s why I stopped using it.
>
> They patched those, but I was also one of the people who fell victim to
> AWstat's security holes, so I have setup my Apache configuration to
> allow access to AWstats only from my own trusted subnets.
>
> Like so:
>
> <Directory "/usr/share/awstats/wwwroot">
> Options None
> AllowOverride None
> Order allow,deny
> Allow from 127.0.0.1 .kobran.org 10.123.123.
> </Directory>
> # Additional Perl modules
> <IfModule mod_env.c>
> SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
> </IfModule>
>
> That, plus SELinux have protected me since then.
>
> -KW
>
> ______________________________________________________________________
> See http://www.sllug.org/ for latest SLLUG news, information, links.
> Join SLLUG and other UT LUG members on irc.FreeNode.net channel #Utah
> sllug-members at sllug.org
> http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sllug.org/pipermail/sllug-members/attachments/20090224/801218ab/attachment.html
More information about the sllug-members
mailing list