News for hackers. Stuff that matters.
Re:Clumsy, an open-source utility for simulating broken netw... by another on Thursday November 13, 2014 @11:51AM (#8602500)
Reliable network interaction on mobile is enormously difficult if you are trying to deploy code globally: each MNO mangles your packets in its own special way. Good to see tools like this, wish there were more, but the other half of the picture is empirical data on how particular pathological networks behave (I don't mean "EDGE", I mean "EDGE in poor coverage on MTN in Afghanistan"). Haven't found any real information, even in general terms, along these lines. Pointers welcome.

This area would be a great place for someone like Internet.org to add value, and they've announced some related work, but nothing seems real yet.

Re:Clumsy, an open-source utility for simulating broken netw... by alexhektor on Thursday November 13, 2014 @06:00AM (#8600889)
Awesome. They should have presets to simulate Edge/3G connections with varying speeds, package losses, drops etc.
Re:Clumsy, an open-source utility for simulating broken netw... by paulirish on Thursday November 13, 2014 @01:27PM (#8603100)
If you're looking for this for a webapp, the DevTools in Chrome now have presets for Edge/3g/4G (and offline) that tackle both latency and throughput. The added benefit is they only affect that one tab, so the others are still running at max speed.

Screenshot: http://i.imgur.com/n0aFXo6.png

Re:Clumsy, an open-source utility for simulating broken netw... by JohnTHaller on Thursday November 13, 2014 @01:52PM (#8603293)
That just slows down the connection. The point of Clumsy is to allow you to add lag, have packets arrive out of order, etc.
Re:Clumsy, an open-source utility for simulating broken netw... by yduuz on Thursday November 13, 2014 @06:04AM (#8600902)
There's also NetBalancer.com and NetLimiter.com with some similar functionality, though not open source.
Re:Clumsy, an open-source utility for simulating broken netw... by tomasandrle on Thursday November 13, 2014 @05:12AM (#8600761)
Nice, I have found some hard to reproduce bugs using tools like this. On Mac OS X and iOS, there's the Network Link Conditioner which is built into iOS and part of the developer tools package on MAC OS X I believe (installed as a Preference pane).
Re:Clumsy, an open-source utility for simulating broken netw... by imrehg on Thursday November 13, 2014 @05:15AM (#8600773)
People mention netem[1] on Linux, looks like it adds the same repertoire of network degradation, through the command line.

[1]: http://www.linuxfoundation.org/collaborate/workgroups/networ...

Re:Clumsy, an open-source utility for simulating broken netw... by masklinn on Thursday November 13, 2014 @06:35AM (#8601001)
Yep, although it is quite a bit simpler: NLC does bandwidth, delay and drop (which clumsy calls throttle, lag and drop), it does not reorder, duplicate or tamper with packets.

It also applies to all network communications, it can't be applied to specific links or connections. On the other hand it's very, very easy to use.

Re:Clumsy, an open-source utility for simulating broken netw... by youngtaff on Thursday November 13, 2014 @08:33AM (#8601381)
OS X has DummyNet installed (belieie this is what NLC uses)

You can configure DummyNet to shape traffic for specific IPs/ MAC addresses etc. - ifpw is you friend.

Re:Clumsy, an open-source utility for simulating broken netw... by guardian5x on Thursday November 13, 2014 @06:01AM (#8600890)
Nice, this tool will help software engineers to make their software more robust. Far too often apps are only tested under ideal conditions and then fail when only a bad network connection, for example bad mobile reception, is available.
Re:Clumsy, an open-source utility for simulating broken netw... by TheLoneWolfling on Thursday November 13, 2014 @11:56AM (#8602538)
In particular, a lot of applications will work fine if there is no network access, or if there is great network access, but will crash and burn when, for example, it can access url A but not url B. (the network equivalent of "if not exists(file): fallback() else: file.open()")
Re:Clumsy, an open-source utility for simulating broken netw... by tomovo on Thursday November 13, 2014 @01:47PM (#8603258)
Weird things also happen when a request is fired but NOTHING happens - no failure, no response. It's what happens when you connect to one of those annoying paid airport wifi APs (and don't pay). No failure, no response, just a black hole for packets.
Re:Clumsy, an open-source utility for simulating broken netw... by gtirloni on Thursday November 13, 2014 @06:03AM (#8600897)
Worked great on Win8.1 64-bit. This will be very useful. Thank you!
Re:Clumsy, an open-source utility for simulating broken netw... by 9point6 on Thursday November 13, 2014 @06:25AM (#8600967)
>64bit Windows users are strongly recommanded to download the 64bit build.

typo - s/recommanded/recommended/

Re:Clumsy, an open-source utility for simulating broken netw... by Aoyagi on Thursday November 13, 2014 @06:18AM (#8600944)
A toggle for "one or more people are running torrents" would be nice.
Re:Clumsy, an open-source utility for simulating broken netw... by voltagex_ on Thursday November 13, 2014 @08:38AM (#8601405)
It seems like consumer grade routers are mostly to blame for "torrents == connection dead".

It would be fairly simple to simulate a saturated upstream though.

Re:Clumsy, an open-source utility for simulating broken netw... by tedchs on Thursday November 13, 2014 @11:27AM (#8602361)
Not sure why this is needed, the network stack is usually broken on Windows out of the box.
Re:Clumsy, an open-source utility for simulating broken netw... by YungLean on Thursday November 13, 2014 @09:28AM (#8601639)
good pranking material
Re:Clumsy, an open-source utility for simulating broken netw... by scott_karana on Thursday November 13, 2014 @11:27AM (#8602362)
My first thought was, "great for testing videoconferencing software", but pranks are a good second ;)