summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth-options.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-12-06 22:38:29 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-12-06 22:38:29 +0000
commit57e200b9764c3d42f2a662cc0a4690b8514b31a0 (patch)
tree796f9bb48d94838528feca40a271d18e5f37cf79 /usr.bin/ssh/auth-options.h
parent6dbb1fbadfc0b9c64b1da80376fe45dc0ad61d0a (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/auth-options.h')
-rw-r--r--usr.bin/ssh/auth-options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth-options.h b/usr.bin/ssh/auth-options.h
index 15fb21255e5..3cd02a71ff0 100644
--- a/usr.bin/ssh/auth-options.h
+++ b/usr.bin/ssh/auth-options.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.h,v 1.12 2002/07/21 18:34:43 stevesk Exp $ */
+/* $OpenBSD: auth-options.h,v 1.13 2005/12/06 22:38:27 reyk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -28,6 +28,7 @@ extern int no_x11_forwarding_flag;
extern int no_pty_flag;
extern char *forced_command;
extern struct envstring *custom_environment;
+extern int forced_tun_device;
int auth_parse_options(struct passwd *, char *, char *, u_long);
void auth_clear_options(void);