Posts by scottk:
block web request with iptables
add a rule to block port 80 web requests:
/sbin/iptables -A INPUT -p tcp -s xxIPADDRESSxx --dport 80 -j DROP
to remove that rule:
/sbin/iptables -D INPUT -p tcp -s xxIPADDRESSxx --dport 80 -j DROP
list open connections
Using this command to list out number of open connections by IP /bin/netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n
in two
“The Ruby community has agreed upon two spaces as being the optimum for indenting blocks of code…” Oh hell yes, they got that right. I’m beginning to like it a little more now.
train-ed
I’ve been fighting the Ruby on Rails movement, I’m a perl programmer and proud of it damnit! I broke down last night and started to plow through some docs and I’m trying to work on a basic project to get my feet wet. From the sysadmin side I’ve got installing the components on the server […]
Go Big Green
I think is the best rendered CGI I have seen
reporting?
So I get home and check Yahoo for news real quick and this is a “top story” in their list. I’m reading this and there is this piece: “I have not seen the clip, nor do I know the context of the remarks. This is what I know — that Tilghman, who never played on […]
kulua talk
[10:08] <fwiles> Perl is 20 years old today [10:09]Â <Gedanken> It will be another 5 years old until perl 6 is released [10:09]Â <fwiles> I don’t think it’ll be that long, but I would be surprised to see a RC in 2008 honestly [10:10]Â <fwiles> but next year Perl can drink… so it’s all good […]
pegged
Once in awhile something comes through that feels like the author is writing about you. I see this occasionally with Dilbert and sometimes with XKCD but this article totally nailed me: http://www.randsinrepose.com/archives/2007/11/11/the_nerd_handbook.html Thanks to jediwonderboy for the notice on this one.
must resist
I’ve been spending way more time than I should be on Desktop Tower Defense. The recent goal has to beat the 100 wave challenge. I imagine of the past two weeks I’ve been up 10 days until 2am playing the damn game. I can quit anytime I want to, really.