Christopher Cashell (topher) wrote,
Christopher Cashell

  • Mood:
  • Music:

Network Problem solved!

I've figured out what the problem is. Finally.

First, a little background. A few days ago, a strange thing happened. One of my machines, a Linux box, stopped being able to make outbound TCP connections. What was even more strange about this, is that it could send out UDP/ICMP packets just fine, and all incoming connections were going fine.

Sounds odd, right?

Well, it gets more unusual. The machine in question ( also acts as a firewall, and provides NAT[1] for a handful of other machines. The machines behind nexus, when going through nexus, were perfectly capable of making outbound TCP connections. That threw a serious wrench in my guesses of what might be going wrong.

A few moments ago, a random thought hit me, and upon further investigation, solved the problem. A couple months ago, I started including support for ECN[2] in the LInux kernels I built, because I'm planning on doing some testing with it, soon. Not a big deal, because my network initialization scripts disable it by default. Or, at least, they did. When I was updating my network scripts to set up NAT through this box, I typo'ed a line, and accidentally set the network scripts to enable ECN.

This was made more confusing because it wasn't enabled immediately, but upon my next reboot. Unfortunately, since this occurred in the network scripts, going back to a previous kernel didn't solve the problem, as it was having ECN enabled on it, too.

So, to sum up, my ISP is one of those that uses a broken router that harfs on ECN, and thus was having problems with my outgoing connections when it was enabled (Although, why things went through NAT fine still is a mystery to me). I've disabled ECN, and everything seems cool again. ;-)

[1] Network Address Translation. Basically, it allows the machines behind it to access the Internet, even though there is only a single Internet connection.

[2] Explicit Congestion Notification. A very good thing. . . in theory.

  • Google Buzz.

    This is a (probably temporary) post to attempt to integrate my LiveJournal into Google Buzz.

  • The BEST player in College Football in 2009: Ndamukong Suh

    A lot of people have trouble understanding how good Ndamukong Suh, the Defensive Tackle for the Nebraska Cornhuskers really is. There aren't many…

  • Customer Service done wrong.

    So, after having finally purchased a house, I went to get cable and Internet setup. Like most of the country, I live in an unfortunate area where…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded