Eric Teuber wrote:
> Peter Lowrie wrote:
>> What a load of drivel. Do this...
>
> I hate replying to people who write bullshit and need more experience
> but Peter you should put a rm /var/log/messages into your crontab!
Hate's a bit of a strong term isn't it?
> Then you will be the most free and secure man in the world.
>
> Eric
>
1st thing. You are not under attack. There's no need to DROP martian IP's
becuase you'll spend the rest of your life just blocking them...There's
nothing to block. Martians are simply DNS relics. As an example do a
tcpdump -i eth0 and have alook at all the "who has, tell..." strings with
IP numbers from here to kingdom-come.
As for your ideas relating to messages, I detect a hint of sarcasm.
Your /var/log dir is going to fill up over time with messages.etc.foo.gz
files as they rollover. It's the old gz files you'd crontab.
As to security. I think shorewall is a jerk-off and iptables is far better.
Before iptabes was chains. Since 1992, when I started using linux, no-one
has hacked through ssh, I've had no viruses, trojans, rootkits but it
doesn't stop persistent hack attempts - especially from Korean
universities. I only block the worst of them...
-A INPUT -s 123.123.123.123/255.255.255.255 -j DROP
for example. Obviously for internet facing connections strong passwords are
a must.
Hope this helps.
--
Regards,
Peter.
http://www.pelicom.net.nz