Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 662 Bytes

README.debug.md

File metadata and controls

26 lines (21 loc) · 662 Bytes

Debugging mlvpn

gdb

sudo gdb -x gdb-cmds.txt --args -c test/client.conf -u ed -v --debug

Debug tokens

MLVPN can filter debug messages based on specific tokens using -D argument.

Tokens available:

- config: configuration file related
- control: control socket related (HTTP/json, UNIX socket)
- dns: DNS related
- net: network related (on line per packet AT LEAST)
- privsep: privilage separation
- protocol: protocol things (MOST COMMON to use for debugging)
- reorder: reordering algorithm
- rtt: latency measurements
- tuntap: system tuntap
- wrr: weighted round robin