Structure(d) output of wg?

Jason A. Donenfeld Jason at zx2c4.com
Wed Dec 14 22:15:08 CET 2016


Hey Dan,

Yea, but that's usually the case with command line tools and shell
processing. If you're in a position to be calling json, then why not
just also call the ioctl directly? I guess json might be easier for
some consumers? Hmm...

> Nice bandwidth, though :)

That's just the first ten too...
[zx2c4 at demo ~]$ sudo wg show wg0 peers | wc -l
232

Jason


More information about the WireGuard mailing list