4 Both client and server has ability to show statistics about known
5 connected peers. You retrieve them by downloading JSON from built-in
6 background HTTP-server. You can enable it by specifying
7 @option{-stats host:port} argument.
9 Actually it is not full-fledged HTTP-server: it just accepts connection,
10 reads from it (does not parse anything) and writes dummy headers with
14 $ govpn-server [...] -stats "[::1]:5678"
15 $ curl http://localhost:5678/ | jq .
25 "IP": "fe80::221:ccff:feb9:ba7f"
28 "LastPing": "2015-04-30T22:05:49.426616166+03:00",
29 "LastSent": "2015-04-30T22:05:49.426704138+03:00",