« An evening gone sideways | Main | It's All Good »
August 31, 2008
Linux + netfilter FTW!
I have a Motorola WPS870G 802.11g print server that's served me well for several years. Unlike most wireless print servers available, it's got a parallel port, which means it talks to my trusty old HP LaserJet 1100A.
Trouble is, when we got our NAS a while back, I enabled Jumbo Frames for better perf and discovered that the network stack on said print server barfs in the face of jumbo frames. This afternoon, wanting to print something, I decided I was going to fix this.
A bit of goggling later, and I found another reason to love and respect iptables (I first learned to fear it when Titus and I wrote a netfilter plugin to do TCP socket migration whist in grad school):
$ sudo /sbin/iptables -t mangle -A OUTPUT -p tcp --tcp-flags SYN,RST SYN -d 192.168.0.5 -j TCPMSS --set-mss 1460
Viola.
Now if only someone could tell me how to do that under OS X I could enable Jumbo Frames on Nise's mac, and make Time Machine backups way lots faster...
Posted by dberger at August 31, 2008 2:29 PM