Skip to content

Choose a tag to compare

@kanocz kanocz released this 09 Nov 14:13
d6b0c6f

BREAKING: incoming packets are accepted only from the ExtIP of a configured
remote. Peers that send from another address (asymmetric NAT, multi-WAN)
need the new per-remote AllowFrom option (IPv4 address or CIDR, repeatable;
0.0.0.0/0 disables the filter). Duplicate LocIP or ExtIP across remotes is
now a config error instead of a silent overwrite.

  • Drop packets from unknown sources before computing HMAC
  • Log bad packets at most once per second per category, with the count of suppressed messages in the next line
  • Warn when the config file is readable by other users
  • Drop packets shorter than an IPv4 header read from the TUN interface
  • systemd unit: capability bounding set, ProtectSystem=strict,DeviceAllow=/dev/net/tun and other sandboxing directives
  • Remove golang.org/x/net, it was used only to pretty-print a log line