rate limiting to firewall – sigh

moranThe zoo allows ssh connections but recently fail to ban (my blog) has been rather ‘busy’ with people who think they control it after all the zoo’s master password is banana. You actually cant as i am joking [actually its fiftyshadesofbananas*] but Euripides knew it too about fools – see the about page.

I have had to limit via these iptables rules

-I INPUT -p tcp –dport 22 -i eth0 -m state –state NEW -m recent –set
-I INPUT -p tcp –dport 22 -i eth0 -m state –state NEW -m recent  –update –seconds 60 –hitcount 4 -j DROP

Seem to have restored some sanity.

However why do i have rate limit and firewall.  One of those seems out of touch.  Sure i could turn off ssh but it does get used.

* i am trying to be funny

2 responses

  1. Pingback: shodan.io my next thing to block at the zoo | Bananas in the Falklands

  2. Pingback: really secure ssh | Bananas in the Falklands

by golly but...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s