FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-24-2008, 08:47 PM
"Zach Uram"
 
Default iptables logs?

I am running Debian testing with 2.6.18 kernel and iptables. Does
anyone know how I can have iptables log to a seperate file such as
/var/log/iptables and I want them saved with logrotate. I want to try
out some iptables log analysis programs. Also I am interested in
seeing what rules different people run.

I use this on my remote vps box:
iptables -F -t nat; iptables -X -t nat;
iptables -F -t mangle; iptables -X -t mangle;
iptables -P INPUT ACCEPT; iptables -P OUTPUT ACCEPT

And this on my local box:
iptables -A INPUT -i eth0 -m state --state INVALID,NEW -j DROP

Any thoughts on packet filtering vs stateful inspection?

Zach


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 06:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org