Find the answer to your Linux question:
Results 1 to 4 of 4
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 146.201.45.100 -p tcp --syn I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2003
    Posts
    41

    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 146.201.45.100 -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
    Location
    Täby, Sweden
    Posts
    7,578
    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
    Location
    London, UK
    Posts
    3,284
    Hiya,

    have a look in /var/log/messages

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

    Jason

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2003
    Posts
    41
    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
  •