udp (closure => comm closure)
udp: dict argument
- address (string list): IPv6 or IPv4 addresses to listen and send on
- port (integer): UDP port to listen and send on
+ address (string list): IPv6 or IPv4 addresses to listen and send on;
+ default is all local addresses
+ port (integer): UDP port to listen and send on; optional if you
+ don't need to have a stable address for your peers to talk to
+ (in which case your site ought probably to have `local-mobile true').
buffer (buffer closure): buffer for incoming packets
authbind (string): optional, path to authbind-helper program
is that the wifi always has a default route (so is useable); ppp
(being a point-to-point link) does not need one.
-The use of polypath currently requires that secnet have root
-privilege, to make the setsockopt(,,SO_BINDTODEVICE,) call.
+The use of polypath requires that secnet be started with root
+privilege, to make the setsockopt(,,SO_BINDTODEVICE,) calls. If the
+configuration specifies that secnet should drop privilege (see
+`userid' above), secnet will keep a special process around for this
+purpose; that process will handle local network interface changes but
+does not deal with any packets, key exchange, etc.
polypath support is only available when secnet is built against an
IPv6-capable version of adns (because it wants features in the newer