diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-12-06 22:38:29 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-12-06 22:38:29 +0000 |
commit | 57e200b9764c3d42f2a662cc0a4690b8514b31a0 (patch) | |
tree | 796f9bb48d94838528feca40a271d18e5f37cf79 /usr.bin/ssh/channels.h | |
parent | 6dbb1fbadfc0b9c64b1da80376fe45dc0ad61d0a (diff) |
Add support for tun(4) forwarding over OpenSSH, based on an idea and
initial channel code bits by markus@. This is a simple and easy way to
use OpenSSH for ad hoc virtual private network connections, e.g.
administrative tunnels or secure wireless access. It's based on a new
ssh channel and works similar to the existing TCP forwarding support,
except that it depends on the tun(4) network interface on both ends of
the connection for layer 2 or layer 3 tunneling. This diff also adds
support for LocalCommand in the ssh(1) client.
ok djm@, markus@, jmc@ (manpages), tested and discussed with others
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r-- | usr.bin/ssh/channels.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h index cd882b46f34..e4989b8828e 100644 --- a/usr.bin/ssh/channels.h +++ b/usr.bin/ssh/channels.h @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.80 2005/10/10 10:23:08 djm Exp $ */ +/* $OpenBSD: channels.h,v 1.81 2005/12/06 22:38:27 reyk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -111,6 +111,8 @@ struct Channel { /* filter */ channel_filter_fn *input_filter; + + int datagram; /* keep boundaries */ }; #define CHAN_EXTENDED_IGNORE 0 |