Only forward SPTPS packets if Forwarding = internal.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 25 Oct 2017 19:08:29 +0000 (21:08 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 25 Oct 2017 19:08:29 +0000 (21:08 +0200)
commite88b3fb52fb375cd8ab233a671f38ed2240ed828
treea60c12a62d82b26cdf8c84f590239d108f524466
parent87f96aec8c48327d879c20ff2b789c88a675173d
Only forward SPTPS packets if Forwarding = internal.

This tries to match what is done for packets using the legacy protocol.
However, since SPTPS is end-to-end encrypted, Forwarding = kernel cannot
be implemented. In that case, we also drop the packets.
doc/tinc.conf.5.in
doc/tinc.texi
src/protocol_key.c