summaryrefslogtreecommitdiff
path: root/opacket.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2016-09-30 09:19:13 +0000
committerDamien Miller <djm@mindrot.org>2016-10-01 02:45:10 +1000
commit8d0578478586e283e751ca51e7b0690631da139a (patch)
tree3621da2b97213f8ff0b434f5fd239dfd4f50d83d /opacket.h
parentb7689155f3f5c4999846c07a852b1c7a43b09cec (diff)
upstream commit
ssh proxy mux mode (-O proxy; idea from Simon Tatham): - mux client speaks the ssh-packet protocol directly over unix-domain socket. - mux server acts as a proxy, translates channel IDs and relays to the server. - no filedescriptor passing necessary. - combined with unix-domain forwarding it's even possible to run mux client and server on different machines. feedback & ok djm@ Upstream-ID: 666a2fb79f58e5c50e246265fb2b9251e505c25b
Diffstat (limited to 'opacket.h')
-rw-r--r--opacket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opacket.h b/opacket.h
index d2a63a355..c487f4f40 100644
--- a/opacket.h
+++ b/opacket.h
@@ -153,5 +153,9 @@ void packet_disconnect(const char *, ...)
153 ssh_packet_set_rekey_limits(active_state, x, y) 153 ssh_packet_set_rekey_limits(active_state, x, y)
154#define packet_get_bytes(x,y) \ 154#define packet_get_bytes(x,y) \
155 ssh_packet_get_bytes(active_state, x, y) 155 ssh_packet_get_bytes(active_state, x, y)
156#define packet_set_mux() \
157 ssh_packet_set_mux(active_state)
158#define packet_get_mux() \
159 ssh_packet_get_mux(active_state)
156 160
157#endif /* _OPACKET_H */ 161#endif /* _OPACKET_H */