Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Tyler Treat
@tylertreat
excellent, looking forward to checking it out
do you have a machine with ipfw?
term1nal
@term1nal
Nope! Might spin up a freebsd digitalocean droplet and play with it that way.
but here's a sneak peak at the new comcast.go
term1nal
@term1nal
oh, left in a bit of a holdover from my first bit
the checkConfig() bit
that's not valid anymore :P
Anyway! I'm taking a break for dinner, talk in a bit.
Tyler Treat
@tylertreat
sounds good, later
term1nal
@term1nal
Alright, tc wrapper is like 95% done.. ran into some complications during debugging that delayed it. I'm not comfortable with it just yet to commit it. Should be ready to commit it tomorrow morning after some tinkering to polish it up a smidge.
Then the ipfw wrapper should be pretty darn straightforward and not take long to port some of the functionality form the tc wrapper to ipfw.
term1nal
@term1nal
I added another flag --dry-run to just output the rules and not actually run the commands.
term1nal
@term1nal
And there it is!
Tyler Treat
@tylertreat
awesome!
term1nal
@term1nal
Sorry for all the PRs and such. I hope I'm not annoying the heck out of you :P
Tyler Treat
@tylertreat
nah it's great! you're a machine
James Mason
@jmason888
I was looking for a function to deploy lobbyists.
Andrew Sun
@as-com
lol, one of the funniest pokes at Comcast...
Looks like Netflix should be using this. :-P
term1nal
@term1nal
Tyler Treat
@tylertreat
haha nice. love the logo :D
term1nal
@term1nal
You're welcome to use it :P All I did was paste a poo on the "Com" part ;)
Andrew Sun
@as-com
When is support for Yosemite coming out?
term1nal
@term1nal
I need to make a wrapper for PF. I didn't have time this weekend to dig into it, as well, I don't own a box that has PF. I'll see what I can do this week.
The difference is with PF and ipfw, is that PF uses a conf file rather than commands to set up the rules. So this will require a different approach than before. The rules are line-order dependent, so we could just shove them at the top, and as of yet I have no understanding of the QoS features if any in PF, so that will be a task to learn.
term1nal
@term1nal
I've come to the conclusion that PF does not include the features necessary to do the likes of arbitrary packet drop/reorder/corruption or delay. I can get working at the very least a bandwidth limit, and some packet drop may possible ensue from that by way of using a priority queue (PRIQ) setup where lower priority queues may lose packets if the data to the highest priority queue is saturated. But there's no way to control this behavior through means of configuration. So PF will only have very basic support for our purposes, thus leaving MacOSX 10.10 poorly supported.
Tyler Treat
@tylertreat
well that kinda sucks :p
Andrew Sun
@as-com
Time to install Linux on my MacBook. :-P
zeryan abdulla
@zeryan1992
Hola, this is awesome
David Jacobson
@DavidJacobson
This is funny haha
Yegor Andreenko
@f1yegor
hello. it seems to me that throttling by port doesn't work.
is ipfw on host necessary for that?
Yegor Andreenko
@f1yegor
I use comcast --latency=250 --default-bw=250 --target-bw=250 --packet-loss=10% --target-port=8380:8382 --target-proto=tcp
Tyler Treat
@tylertreat
does it work if you don't specify a port?
Yegor Andreenko
@f1yegor
yeah, pretty sure
Yuji Kiriki
@yujikiriki
Hi! Can comcast be used to simutale network partitions between docker containers?
eXtReMaL
@extr3mal
Hello all
Is anybody with comcast knowledge online &
Andres C
@andrezero21_twitter
Hi. How do I target to all ip address?
Benjamin Stanley
@HeadClot
Hey everyone
Puneet Goyal
@PuneetPratik_twitter
Hi
Do you have like a MAN page for Comcast??
@tylertreat
Puneet Goyal
@PuneetPratik_twitter
./bin/comcast --latency=300 --target-bw=150 --default-bw=150 --packet-loss=3%
The incoming traffic is not affected by the command
Philip Durbin
@pdurbin
Interesting project. I heard about it at https://irclog.perlgeek.de/crimsonfu/2017-01-30
TheDankPaster
@TheDankPaster
Hello communistcast gitter.