On Tuesday, December 11, 2018 at 6:05:46 PM UTC-6, kortschak wrote: > > Is anyone aware of testing infrastructure for simulating flakey > networks without recourse to iptables on linux, i.e. a Go package/type > that can be used to to this? > > thanks > Dan >
In addition to the proxy idea (which would be injecting faults at the remote end of the tcp connection), there's a userland TCP stack written in Go (https://github.com/google/netstack) which you could wire up to have your originating client connect to. Then modify netstack to drop packets upon command/at random. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.