facebookarchive / augmented-traffic-control

Augmented Traffic Control: A tool to simulate network conditions
https://facebook.github.io/augmented-traffic-control
Other
4.33k stars 600 forks source link

atc_demo_ui: manage/shape authorized machine #308

Open hamsterksu opened 7 years ago

hamsterksu commented 7 years ago

Hi everybody,

I'm looking for capability to configure shaping rules for another authorized machine(controlled ip) from ui. i know it's possible to do with api. but i need to have UI for this purpose.

web ui displays a list of ip in "Machines You Can Shape:". but seems i can't pick anyone from it

is it possible now?

seems not: api doesn't allow to do it - https://github.com/facebook/augmented-traffic-control/blob/master/atc/django-atc-api/atc_api/static/js/atc-api.js#L60

Thanks,

smorad commented 7 years ago

It was specifically not implemented because it was a possible security issue. You could have bad actors shaping or disconnecting other users' devices without the users' knowledge.