X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/02c995246c1aa9703c9ab6d476884748f497f510..8362ac1c9b2fbf253b06a50639c57047d43a8fa2:/peerdb/peers.in diff --git a/peerdb/peers.in b/peerdb/peers.in index b1701574..3fb23803 100644 --- a/peerdb/peers.in +++ b/peerdb/peers.in @@ -81,6 +81,19 @@ retries = 5 ;;; The parameters here affect peers to whom dynamic connections are made. ;;; The user and connect parameters probably need customizing. +[@KNOCK] +@inherit = @ACTIVE, @WATCH + +;; keepalive: how often to send NOP packets to keep the connection alive, at +;; least in the minds of intermediate stateful firewalls and NAT routers. +keepalive = 2m + +;; every: interval for checking that this connection is alive. +every = 30s + +;; knock: peer-name string to send to the peer. +knock = $(myhost) + [@DYNAMIC] @inherit = @ACTIVE, @WATCH @@ -113,7 +126,7 @@ every = 30s ;;; of the parameters and these defaults are probably pretty good. [@PASSIVE] -@inherit = @GLOBAL, @WATCH +@inherit = @WATCH ;; peer: mark this entry as being a passive peer. peer = PASSIVE