chiark / gitweb /
Explicit close-down notifications.
[tripe] / peerdb / peers.in
index 5e381bdd012e80f2eb5a2a124d1059621fed28c8..53eef5b23d69098e9bf4c3ae5303648de151112f 100644 (file)
@@ -85,7 +85,10 @@ ssh-user = tripe
 
 ;; connect: shell command to use to wake up the remote peer and establish the
 ;; connection.
-connect = ssh -q $(ssh-user)@$[$(host)]
+connect = ssh -q $(ssh-user)@$[$(host)] hello
+
+;; disconnect: shell command to use to shut the remote peer down.
+disconnect = ssh -q $(ssh-user)@$[$(host)] goodbye
 
 ;; keepalive: how often to send NOP packets to keep the connection alive, at
 ;; least in the minds of intermediate stateful firewalls and NAT routers.