Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question how can I see firewall logging? (using iptables in ClarkConnect / Centos)


    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


  2. #2
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Mumbai, India
    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

  3. #3
    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

  4. $spacer_open
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    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
    tail-F /var/log/messages
    or what ever the log file is that your firewall is logging to.


    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts