~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge the `connect' and `watch' services.
[tripe]
/
peerdb
/
peers.in
diff --git
a/peerdb/peers.in
b/peerdb/peers.in
index
0143902
..
53eef5b
100644
(file)
--- a/
peerdb/peers.in
+++ b/
peerdb/peers.in
@@
-85,7
+85,10
@@
ssh-user = tripe
;; connect: shell command to use to wake up the remote peer and establish the
;; connection.
;; 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.
;; keepalive: how often to send NOP packets to keep the connection alive, at
;; least in the minds of intermediate stateful firewalls and NAT routers.
@@
-107,6
+110,10
@@
watch = t
;; peer: mark this entry as being a passive peer.
peer = PASSIVE
;; peer: mark this entry as being a passive peer.
peer = PASSIVE
+;; mobile: mark this peer as likely to change its external address without
+;; warning.
+mobile = t
+
;; user: the string which the dynamic peer's connect command will present to
;; the CONNECT service.
user = $(name)
;; user: the string which the dynamic peer's connect command will present to
;; the CONNECT service.
user = $(name)