On Tue, 26 Aug 2003, Gonzalo Servat wrote:
> On 25/08/2003 10:12 PM +0200, NosPHeratus wrote:
>
> > Hi,
> >
> > In which file can I set my log file ? I would like only log the
> > date/hour, the result (Accept/reject/drop), the origin the
destinaytion,
> > and protocol type and number.
> >
> > Very thanks to help me.
>
> You can log to a particular logfile by using the ULOG method. See:
>
> http://www.gnumonks.org/project/ulogd
>
> && the comments in your shorewall.conf file.
>
And http://shorewall.net/shorewall_logging.html. Although there is no way
to restrict the information logged in each message short of modifying the
kernel source code (or post-process the log with awk or perl).
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net