<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8807634857025743491</id><updated>2011-04-21T10:53:19.603-07:00</updated><title type='text'>Rumblings of an OSS simpleton</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://plunkplunk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://plunkplunk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Plunk</name><uri>http://www.blogger.com/profile/02231620892786998042</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_m2V5jr3z3z4/Rtd9cTBJD1I/AAAAAAAAACA/YWIJ65_tC5U/s1600/avatar.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8807634857025743491.post-1222823898370746682</id><published>2007-09-09T15:52:00.000-07:00</published><updated>2007-09-09T16:08:03.763-07:00</updated><title type='text'>Macbook and iPhone</title><content type='html'>My boss is a huge macnerd. A true member of the HOMO (Honorable Order of Macintosh Operators). It was only a matter of time before I ended up with one.&lt;br /&gt;&lt;br /&gt;After a few days with it, I can say that I'm as comfortable using it for day to day stuff as I am on my Linux laptop. Now, I cannot say that I am fully acquainted with the system. I can say that OSX has nothing on Compiz-Fusion. OSX is very nice to use, I do miss some of the features of my Kubuntu powered HP DV1000.&lt;br /&gt;&lt;br /&gt;The iPhone. Best damn phone I have ever owned. However, I still wanna see &lt;a href="http://openmoko.org/"&gt;OpenMoko&lt;/a&gt; out in the wild.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8807634857025743491-1222823898370746682?l=plunkplunk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://plunkplunk.blogspot.com/feeds/1222823898370746682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8807634857025743491&amp;postID=1222823898370746682' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default/1222823898370746682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default/1222823898370746682'/><link rel='alternate' type='text/html' href='http://plunkplunk.blogspot.com/2007/09/macbook-and-ipod.html' title='Macbook and iPhone'/><author><name>Plunk</name><uri>http://www.blogger.com/profile/02231620892786998042</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_m2V5jr3z3z4/Rtd9cTBJD1I/AAAAAAAAACA/YWIJ65_tC5U/s1600/avatar.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8807634857025743491.post-3137164060936137847</id><published>2007-09-02T09:10:00.000-07:00</published><updated>2007-09-02T09:21:50.907-07:00</updated><title type='text'>ipTables and SSH Brute Force Stopping Power</title><content type='html'>I run a small webserver, serving up my own personal items of interest. One of the bigger annoyances in doing this on your own is brute force ssh attempts. When you connect via ssh there is a natural delay in the prompt for password. I wanted to take this a step further and delay the response for a longer period of time every time a failed attempt is made.&lt;br /&gt;&lt;br /&gt;Here is the entirety of my iptables script.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;set -e&lt;br /&gt;&lt;br /&gt;PATH="/bin:/sbin:/usr/bin:/usr/sbin"&lt;br /&gt;&lt;br /&gt;case "$1" in&lt;br /&gt;      start)&lt;br /&gt;              iptables -F&lt;br /&gt;              iptables -t nat -F&lt;br /&gt;&lt;br /&gt;              # Default Deny Policy&lt;br /&gt;              iptables -P INPUT DROP&lt;br /&gt;              iptables -P FORWARD DROP&lt;br /&gt;&lt;br /&gt;              # Existing connections&lt;br /&gt;              iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;&lt;br /&gt;              # Localhost is always trusted.&lt;br /&gt;              iptables -A INPUT -i lo -j ACCEPT&lt;br /&gt;&lt;br /&gt;              # Allow SSH, WWW, DNS, WEBMIN, POP3, SMTP, IMAP2, HTTPS, FTP, GKRELLM&lt;br /&gt;&lt;span class="postbody"&gt;iptables -A INPUT -m hashlimit -m tcp -p tcp --dport 22 --hashlimit 1/min --hashlimit-mode srcip --hashlimit-name ssh -m state --state NEW -j ACCEPT &lt;/span&gt;&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 80 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p udp --dport 53 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 25 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 53 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 10000 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 110 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 113 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 143 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 443 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 993 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 995 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -m state --state NEW -p tcp --syn --dport 10001 -j ACCEPT&lt;br /&gt;              iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT&lt;br /&gt;              ;;&lt;br /&gt;      stop)&lt;br /&gt;              iptables -P INPUT ACCEPT&lt;br /&gt;              iptables -P FORWARD ACCEPT&lt;br /&gt;              iptables -F&lt;br /&gt;              ;;&lt;br /&gt;      restart|reload)&lt;br /&gt;              "$0" start&lt;br /&gt;              "$0" stop&lt;br /&gt;              ;;&lt;br /&gt;      *)&lt;br /&gt;              echo "Usage: $0 {start|stop|reload|restart}"&lt;br /&gt;esac&lt;/blockquote&gt;&lt;br /&gt;As you can see in the ssh line, every time an ip attempts to connect via ssh and fails, they have to wait. And every time they attempt to connect and fail, that time is compounded. This essentially stops dead brute force ssh attempts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8807634857025743491-3137164060936137847?l=plunkplunk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://plunkplunk.blogspot.com/feeds/3137164060936137847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8807634857025743491&amp;postID=3137164060936137847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default/3137164060936137847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default/3137164060936137847'/><link rel='alternate' type='text/html' href='http://plunkplunk.blogspot.com/2007/09/iptables-and-ssh-brute-force-stopping.html' title='ipTables and SSH Brute Force Stopping Power'/><author><name>Plunk</name><uri>http://www.blogger.com/profile/02231620892786998042</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_m2V5jr3z3z4/Rtd9cTBJD1I/AAAAAAAAACA/YWIJ65_tC5U/s1600/avatar.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8807634857025743491.post-1257992392649928806</id><published>2007-08-30T19:36:00.000-07:00</published><updated>2007-08-30T19:45:03.219-07:00</updated><title type='text'>FIRST POST!!!</title><content type='html'>Now, nobody can ever say, "First Post!" because I've already done it, so kiss my hind quarter.&lt;br /&gt;&lt;br /&gt;For this first post I will post a bit about myself. I am a Systems Administrator. I've done some programming for work in the past. I hate coding for money. I will never do it again. McDonald's is more enticing an employment opportunity than any coding job.&lt;br /&gt;&lt;br /&gt;Currently, I am employed by a small IT company. I get to support windows boxen all day. My favorite thing to do is unlock the same user account 17 times in one day.&lt;br /&gt;&lt;br /&gt;I am also quite fond of spell check.&lt;br /&gt;&lt;br /&gt;Hugs and Kisses&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8807634857025743491-1257992392649928806?l=plunkplunk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://plunkplunk.blogspot.com/feeds/1257992392649928806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8807634857025743491&amp;postID=1257992392649928806' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default/1257992392649928806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8807634857025743491/posts/default/1257992392649928806'/><link rel='alternate' type='text/html' href='http://plunkplunk.blogspot.com/2007/08/first-post.html' title='FIRST POST!!!'/><author><name>Plunk</name><uri>http://www.blogger.com/profile/02231620892786998042</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_m2V5jr3z3z4/Rtd9cTBJD1I/AAAAAAAAACA/YWIJ65_tC5U/s1600/avatar.jpg'/></author><thr:total>2</thr:total></entry></feed>
