LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-14-2001, 09:54 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
firewall log and just DENY is logged


hello!
how can i make my firewall just log deny events log in the /var/log/firewall ?
 
Old 11-14-2001, 01:49 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uhm, just add a "log" argument with your deny rules. For BSD's ipf its "log", for Linux' ipchains it's "-l". For netfilter/iptables it's, uhm, uhhh..(click)
 
Old 11-16-2001, 09:37 AM   #3
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
Which firewall ?, which Linux distro ?

iptables is:
-j LOG --log-prefix "whatever you want to see in your log under this rule"

/Raz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't log into squirrelmail. error code "You must be logged in to access this page." rioguia Linux - Software 3 11-02-2004 10:47 AM
IIS exploit logged into Apache log, anyone figure out... ziggie216 Linux - Security 3 07-11-2004 02:37 AM
Left mozilla on after I logged off and now it opens every time I log back on... r3dhatter Linux - Newbie 2 06-21-2004 11:06 AM
How do I log in to root once I have logged out of X server? SILVERPENGUIN Mandriva 3 12-07-2003 05:27 PM
logged out, can't log in? GT I.N.C Linux - General 10 10-21-2002 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration