alecm3
September 12th, 2008, 01:57 AM
I was lured to migrate from SuSE to Ubuntu server for production servers for my company by a sysadmin that I highly respect.
We installed 2 production servers (the rest are SuSE for now), and suddenly we started getting strange connection problems, with no errors in the application or system logs. The problems were highly intermittent, but amounted to being unable to connect to a port our TCP server was receiving client internet connections on.
After 3 days of debugging (netfilter, the server application, writing custom bash/awk programs to poll and graph netstat, doing tcpdumps) the problem what traced to random SYN attacks.
It turns out that net.ipv4.tcp_syncookies=1 is commented out in the *server* edition of Ubuntu 8.04!
After all this wasted time (and upset users), my only reaction is "WTF...?" We have many SuSE production servers, starting from 9.0 and they all came with syn cookies enabled. Messages like
possible SYN flooding on port 80. Sending cookies.
are *very* common in /var/log/messages, anybody who has run a heavily loaded server with many connections has seen tons of them.
This is the third serious Ubuntu shortcoming I have found in a short time (weird monthly cron job to "check" RAID that overloads a production database once a month, race condition when booting on RAID 1, throwing it into Busybox mode once every 20 reboots)
I cannot stop wondering if Ubuntu is a toy for Digg users to hate Microsoft and plug their iPhones to the "Linux box", or it's a distribution that can be used for servers?
We installed 2 production servers (the rest are SuSE for now), and suddenly we started getting strange connection problems, with no errors in the application or system logs. The problems were highly intermittent, but amounted to being unable to connect to a port our TCP server was receiving client internet connections on.
After 3 days of debugging (netfilter, the server application, writing custom bash/awk programs to poll and graph netstat, doing tcpdumps) the problem what traced to random SYN attacks.
It turns out that net.ipv4.tcp_syncookies=1 is commented out in the *server* edition of Ubuntu 8.04!
After all this wasted time (and upset users), my only reaction is "WTF...?" We have many SuSE production servers, starting from 9.0 and they all came with syn cookies enabled. Messages like
possible SYN flooding on port 80. Sending cookies.
are *very* common in /var/log/messages, anybody who has run a heavily loaded server with many connections has seen tons of them.
This is the third serious Ubuntu shortcoming I have found in a short time (weird monthly cron job to "check" RAID that overloads a production database once a month, race condition when booting on RAID 1, throwing it into Busybox mode once every 20 reboots)
I cannot stop wondering if Ubuntu is a toy for Digg users to hate Microsoft and plug their iPhones to the "Linux box", or it's a distribution that can be used for servers?