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

    IPTables logging?

    Can't figure it out. I'm running Slackware 9 with IPTables.

    I add the following line:
    iptables -A FORWARD -j LOG --log-prefix "[Logged System]" --log-level=info -s -p tcp --syn

    I never see any logs in the /var/log/syslog file. I think syslog is enabled (a far as this Linux newbie can tell), since there are other non-IPTables logs in the file.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    Can you try some less specific rule to see if it's the logging or the rule that's wrong?

  3. #3
    Linux Guru
    Join Date
    Apr 2003
    London, UK

    have a look in /var/log/messages

    If your only logging on "info", it may go there instead.


  4. $spacer_open
  5. #4
    Yep, that's where it was ... /var/log/messages.

    I found it about five minutes after posting the question, and meant to remove the post.

    Thanks for the help.

Posting Permissions

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