As I commented here: http://news.ycombinator.com/item?id=4082351 The part of Tomato I like best is its simple DNS interface that lets you have one hosts file that is shared across all the machines connected to it. This is where I define my local dev domains so that I can test across devices that don't allow local host file changes (namely non-jailbroken iOS devices).
Whoa, that's pretty awesome. Does anyone know if DD-WRT can do this as well?
Because Everyone (Still) Needs a Router
121–130 of 137 posts
Re: Because Everyone (Still) Needs a Router
#122Just as a data point on the Tomato firmware. I've been running it for about 2 years now, on two different hardware devices. It hangs every once in a while, the intervals range from several days to several weeks. I determined the culprit is QoS: if I disable all QoS, the device will run fine for months. Enabling it shortens the uptime to days or weeks at most. Since I know this happens reproducibly on two different de…
QoS in your router is only interesting if bandwidth is constrained in your last mile, otherwise it just adds complexity. I would think that QoS in home routers is only a transitional technology for the next few years while not everyone has a large enough pipe yet. Can you imagine your electricity or water outlet at home being constrained like bandwidth is? Those issues were solved a century ago, they'll get fixed for…
In any case, I'm not sure if we'll ever have a large enough pipe for everyone; our current pipes are more than enough for our needs five years ago, but our needs grew, and will in the future.
Re: Because Everyone (Still) Needs a Router
#123Earlier quoted context omitted.
yeah -- I came across their site the other day. Would love to see some quantitative / qualitative numbers from that project.
They've done a bunch of work on reducing buffers and setting up AQM by default, and I've heard mumblings about improvements but can't find numbers. Closest thing I could find was this github repo: https://github.com/dtaht/deBloat/tree/master/test with lots of tests but no comparisons (stock OpenWRT vs ceroWRT would be interesting, for instance).
Given that core components of what we were trying to do (BQL and the codel and fq_codel qdiscs) have only just landed in the mainline linux kernels, doing comprehensive benchmarks would have been misleading.
Secondly - cerowrt's intent is a research project - everything that works we try to get into openwrt - so while the qos implementations differ, both are using fq_codel now.
It's my hope that tomato and gargoyle and dd-wrt - indeed as many router distros - adopt fq_codel or something like it as their underlying qdisc.
http://queue.acm.org/detail.cfm?id=2209336
thirdly - for the kinds of things we are trying to fix (bufferbloat, mesh networks, dns, ipv6) not a lot of good benchmarks exist.
Re: Because Everyone (Still) Needs a Router
#124Earlier quoted context omitted.
yeah -- I came across their site the other day. Would love to see some quantitative / qualitative numbers from that project.
They've done a bunch of work on reducing buffers and setting up AQM by default, and I've heard mumblings about improvements but can't find numbers. Closest thing I could find was this github repo: https://github.com/dtaht/deBloat/tree/master/test with lots of tests but no comparisons (stock OpenWRT vs ceroWRT would be interesting, for instance).
http://www.teklibre.com/~d/bloat/pfifo_fast_vs_sfq_qfq_log.p...
Re: Because Everyone (Still) Needs a Router
#125Earlier quoted context omitted.
They've done a bunch of work on reducing buffers and setting up AQM by default, and I've heard mumblings about improvements but can't find numbers. Closest thing I could find was this github repo: https://github.com/dtaht/deBloat/tree/master/test with lots of tests but no comparisons (stock OpenWRT vs ceroWRT would be interesting, for instance).
It's been a while since this was done, but as well as the AQM and Byte Queue Limit support, a lot of work was done on minimising unaligned access traps ( http://www.bufferbloat.net/issues/360 ). The Linux networking stack assumes that IP packets are word-aligned, but Ethernet headers are usually 14 bytes. The specific Atheros chipset used in the WNDR3700/WNDR3800 does not pad Ethernet packets and does not support mis…
These patches were specific to the ar71xx hardware and unneeded on most other devices.
Re: Because Everyone (Still) Needs a Router
#126I posted this "Ask HN" awhile back about my desire to pay for a router-as-a-service: http://news.ycombinator.com/item?id=1160585 What surprised me was the number of responses along the lines of "you don't need this -- just install DD-WRT, OpenWRT, whatever and configure the foo,bar, and baz features as such." I'm likely in the 99th percentile of the US population in my ability to do such a thing, and I still have to…
Re: Because Everyone (Still) Needs a Router
#127Earlier quoted context omitted.
nmap is smart enough to determine what service is being offered on a given port and what OS is running. The above combined with the offending computer usually being a Mac and it's named something like "Bob Smith's Computer" is enough to common-sense narrow it down within a minute or two without having to use passive mode. (Also with the repeat offender I kept his MAC handy.) Then just initiate as many TCP connections…
Won't the program listening on the socket just drop the connection if it's getting stuff that doesn't make sense or correspond to a session that it is aware of? Or is the idea just to spam multiple connections?
That said ... considering these are Macs, they probably have mDNS open to IPv6 link-local traffic. It might make more sense to flood the offending machine with valid, unicasted mDNS packets. I don't know how well the Apple mDNS daemon copes with high traffic volume, but in my experience Avahi (on an Atom-powered netbook, admittedly) can regularly use over 50% CPU on a wireless network with an oversized local subnet. Hypothetically, deliberately flooding an OS X system with complex but valid mDNS announcements could have interesting results...
I should probably point out that Windows systems tend to be protected from this. Firstly, iTunes or Bonjour must be installed separately. Secondly, Windows Firewall tends to kick in with its "Public" profile, blocking inbound traffic by default. Thirdly, Windows machines tend to use mDNS over IPv4 multicast instead of IPv6 unless an auto-configured external address exists. This further reduces the traffic seen, although this last point is no protection from deliberate floods.
Re: Because Everyone (Still) Needs a Router
#128No mention of Mikrotik? I picked up a RB750GL last week, and so far, it's everything DD-WRT/Tomato/etc wish they could be. It works as a basic plug-and-play router, but it's incredibly flexible beyond that. Check out http://wiki.mikrotik.com/wiki/Manual:RouterOS_features if you're interested. You can download the OS and run it in a VM if you want to give it a try before purchasing.
Another vote for Mikrotik. I bought a RB751G-2HnD myself about a month ago, because I needed a router with decent features and fast enough to handle a 90/10 Mbit connection. The feature list is very impressive and on par with professional-grade gear (Cisco etc.). Only downside is that it's not open source, but it's updated about every month or so. [1] [1] http://www.mikrotik.com/download/CHANGELOG_5
Re: Because Everyone (Still) Needs a Router
#129Just as a data point on the Tomato firmware. I've been running it for about 2 years now, on two different hardware devices. It hangs every once in a while, the intervals range from several days to several weeks. I determined the culprit is QoS: if I disable all QoS, the device will run fine for months. Enabling it shortens the uptime to days or weeks at most. Since I know this happens reproducibly on two different de…
QoS in your router is only interesting if bandwidth is constrained in your last mile, otherwise it just adds complexity. I would think that QoS in home routers is only a transitional technology for the next few years while not everyone has a large enough pipe yet. Can you imagine your electricity or water outlet at home being constrained like bandwidth is? Those issues were solved a century ago, they'll get fixed for…
Power has remained relatively constant at about 1.3MWh per capita. In the last thirty years, it has grown only 300KWh.
Internet bandwidth, on the other hand, went from 9.6-14.4kbit/s modems in fax machines in the 80s to 28.8-56.6kbit/s modems in the 90s to the megabit/s range in the 00s to the 15-100Mbps you can get in a residence today.
If the bandwidth issue is to get solved, the growth in consumption will need to peak.
Re: Because Everyone (Still) Needs a Router
#130The routers can enable WRED to mitigate some congestion problems, though it is not the silver bullet and works on a per-flow basis. Some new solutions to solve the buffer bloat problems is to install the experimental CeroWRT firmware in your routers (http://www.bufferbloat.net/projects/cerowrt), however, this is also a work in progress.