Beating Comcast / Sandvine

If you are tired of Sandvine screwing with your BitTorrent and a user of GNU/Linux, then this is for you. I will tell you how to take your bandwidth back.

If you are using a Red Hat Linux derivative, such as Fedora Core or CentOS, then you will want to edit /etc/sysconfig/iptables. First, make a backup of this file. Next, open this file in your favorite text editor. Replace the current contents with this, substituting 6883 with your BitTorrent port number:

*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i lo -j ACCEPT
#Comcast BitTorrent seeding block workaround
-A INPUT -p tcp –dport 6883 –tcp-flags RST RST -j DROP
-A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
#BitTorrent
-A INPUT -m state –state NEW -m tcp -p tcp –dport 6883 -j ACCEPT
-A INPUT -m state –state NEW -m udp -p udp –dport 6883 -j ACCEPT
-A INPUT -j REJECT –reject-with icmp-host-prohibited
COMMIT

Reload your iptables firewall with service iptables restart. You should now see a great improvement in your seeding.

If you are using Ubuntu or another non-Red Hat Linux derivative, then place the following in a file and execute that file as root.

#!/bin/sh
#Replace 6883 with you BT port
BT_PORT=6883

#Flush the filters
iptables -F

#Apply new filters
iptables -A INPUT -i lo -j ACCEPT
#Comcast BitTorrent seeding block workaround
iptables -A INPUT -p tcp –dport $BT_PORT –tcp-flags RST RST -j DROP
iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
#BitTorrent
iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport $BT_PORT -j ACCEPT
iptables -A INPUT -m state –state NEW -m udp -p udp –dport $BT_PORT -j ACCEPT
iptables -A INPUT -j REJECT –reject-with icmp-host-prohibited

Your firewall is now configured and you should have great upload speed now. You will have to run this script every boot, by the way. One easy way is to call the script at the end of /etc/rc.local.

Credit for this write up goes to Cat in the Red Hat

Well done sir 🙂

-Scott

It’s allllllllive

ImagePut is finally online, it’s my latest free image hosting site and I’ve knocked it down to the bare essentials as it needs to be as fast as possible and the least confusing possible, there will be no user system.. there will be nothing fancy, just pure fast loading images.

-Scott

New Streetlight Manifesto due out next month

I haven’t heard some good new Ska in a while, and thank god Streetlight’s new album doesn’t suck.  I was concerned after the last few releases from Catch 22 and the likes.  I got a chance to listen to the new album in it’s entirety today and… I have a preorder in for the retail copy when it comes out.  It’s worth purchasing..

Music companies and artists bitch about piracy and stealing when there is a simple solution to the whole problem.. Charge a fair price and put out a full CD of good music then, you’ll get your money and the consumer will be happy with the product.. plain and simple.  The new streetlight CD is around 50 minutes of quality music and only costs $12 on Amazon.  Needsless to say; I purchased a copy.

=S

Data Center or liquid nitrogen storage space?

So I realized that I really needed to remove some temporary UPS units that were placed under the datacenter floor some time ago… I haven’t had to do any real long term under the floor work since we turned all 3 CRAC units online… freakin’ cold.  I found a IR thermometer we had lying around, it read “35.6F” and considering the airflow is moving at ~30mph or more the windchill is insane.  I could only work for a few minutes before coming back into the NOC to warm up… it’s amazing how efficient and how high powered those CRAC units are. 🙂

-Scott

More server stats from the Ubuntu mirror

Popular OS this be.

Hostname mirror2.sourcemirrors.org ()
Uptime 1 days 15 hours 55 min 51 s
Started at 2007-10-20 03:20:06
absolute (since start)
Requests 486 kreq
Traffic 484.37 Gbyte
average (since start)
Requests 3 req/s
Traffic 3.45 Mbyte/s
average (5s sliding average)
Requests 1 req/s
Traffic 6.23 Mbyte/s

Ubuntu 7.10 “Gutsy Gibbon” released

Ubuntu’s latest release happened today with the release of version 7.10. Sourcemirrors.org my mirror service is a download mirror for Ubuntu CD images and boy oh boy is it getting hammered. Here are some statistics:

Hostname mirror2.sourcemirrors.org ()
Uptime 19 hours 52 min 35 s
Started at 2007-10-17 23:09:30
absolute (since start)
Requests 25 kreq
Traffic 162.77 Gbyte
average (since start)
Requests 0 req/s
Traffic 2.33 Mbyte/s
average (5s sliding average)
Requests 3 req/s
Traffic 13.90 Mbyte/s
794 connections

-Scott