Re: Filtering socklog output revisited
"George Georgalis" <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 30, 2006 at 04:18:13AM +0300, Alex Efros wrote: > >So, if you do something like this in socklog-unix/run file: > > chpst -Unobody socklog unix /dev/log | myfilter > Why not... # cat /var/service/socklog-unix/log/run #!/bin/sh exec chpst -ulog sed -e 's/y.y.y.y/x.x.x.x/g' | svlogd \ main/main main/auth main/cron main/daemon main/debug main/ftp \ main/kern main/local main/mail main/news main/syslog main/user But then the regex of the ip is in the runscript.... maybe that's okay. // George -- George Georgalis, systems architect, administrator <IXOYE><