Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (21 loc) · 668 Bytes

README.debug.md

File metadata and controls

26 lines (21 loc) · 668 Bytes

Debugging mlvpn

gdb

sudo gdb -x gdb-cmds.txt --args mlvpn -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