after getting a report from Hetzner this morning that one of my dedicated servers with them was involved in a DDoS attack, I finally got off my lazy ass and finished the firewall setup I had begun earlier, and had given up after locking myself out of my server. this seems to be working well at the moment. I'm seeing a lot of incoming probes from rogue servers which have gone unnoticed until now.
I could have left it in Bash, but didn't know of a clean way to check that
/etc/services contained a particular name, whereas Python offered a lookup
in socket.getservbyname()
.
last updated 2014-02-10 17:59:39. served from tektonic.jcomeau.com