Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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

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

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

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    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

Posting Permissions

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