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.
- 02-06-2004 #1Just 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.
- 02-06-2004 #2Linux 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?
- 02-06-2004 #3Linux 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
- 02-09-2004 #4Just 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.


Reply With Quote
