Archive for the ‘Administration’ Category

Connection test script

|

This is very simple bash script for connection test. Sometimes we need do networking restart if dhcpd server is broken or there is some link problems.

(more…)

Bruteforce protect (iptables)

|

I have posted article about bruteforce blocker, but you can’t use it if you use openssh hide host patch.
Patch rewrite all addresses in logs and then bruteforce blocker is useless.

(more…)

Bruteforce blocker for OpenSSH

|

My friend find little script in perl called bruteforce blocker. It’s daemon which read logs and find login failed records. This script count them and after defined failed logins adds rule to iptables to block IP address.

(more…)

OpenSSH hide host and version patch

|

This is small patch for openssh. It hides version information and hostname of remote clients. Hostname is rewrited to static string you can see via finger, who, w, last, lastb etc.

(more…)