Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > how can I see firewall logging? (using iptables in ClarkConnect / Centos)

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-28-2009   #1 (permalink)
Just Joined!
 
callagga's Avatar
 
Join Date: Jan 2008
Posts: 15
Question how can I see firewall logging? (using iptables in ClarkConnect / Centos)

Hi,

How can I view in real time firewall blocking activity? For example incoming attempts that are being blocked, or outgoing.

Some info:
* I'm using clarkconnect which is based on Centos I think.
* I don't seem to see anything in /var/log/messages to reflect any logging.
* iptables --version ==> iptables v1.3.5
* I looked in /etc/sysconfig/ but did not find any file called iptables


Thanks
callagga is offline  


Reply With Quote
Old 06-29-2009   #2 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
you can use the 'tcpdump' commnad to see all activities. Also if iptables is installed then there must be a file called iptables in /etc/sysconfig/iptables as far as I know. I work on Red Hat but m not sure if this file can be placed in some other location.
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Old 06-30-2009   #3 (permalink)
Just Joined!
 
callagga's Avatar
 
Join Date: Jan 2008
Posts: 15
thanks - actually worked it out on the clark connect forum as they do things a little different - they have a specific config file for iptables so I just had to change this
callagga is offline   Reply With Quote
Old 07-01-2009   #4 (permalink)
Linux Engineer
 
Lazydog's Avatar
 
Join Date: Jun 2004
Location: The Key Stone State
Posts: 1,169
If you are looking to see dropped packests in real time you need to edit your rules to log the drops and then you can monitor the log file as follows
Code:
tail-F /var/log/messages
or what ever the log file is that your firewall is logging to.
__________________

Regards
Robert

Linux
The adventure of a life time.

Linux User #296285
Get Counted
Lazydog is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:55 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2