tylertreat / comcast

Simulating shitty network connections so you can build better systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could this be used for mobile devices?

PierBover opened this issue · comments

Any idea on how I could use Comcast to provide a shitty connection to a mobile device via Wifi?

Don't mobile devices already have shitty connections? ;P

As for a real answer... it would be entirely dependent on if your mobile device has iproute2 with NetEm capability. So long as you have root access and iptables/traffic control/netem works on android kernel, then this application should work.

Comcast does not interact with the packets directly. Comcast is simply a wrapper around more easily configuring the various packet manipulation facilities built into the operating system. Really, all it does is generate and execute commands. So assuming your device has support for those facilities and a shell it can put the commands into, theoretically it should work.

Not sure if android shells have "sudo" however, which might be the first limitation out-of-the-box if compiling this for use on Android's linux.

Depending on the use case maybe you could also throttle another part of the connection.
The mobile device could e.g. connect to a proxy which shows the desired content.
This proxy could run on a linux and use this project for throttling.
That might be easier and less intrusive...