summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-10 10:31:12 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-10 10:31:12 +1100
commit7bd98e7f74ebd8bd32157b607acedcb68201b7de (patch)
treeb62a62fcc4def0b22e48f6dde5e414a77e4d2244 /misc.h
parent8c65f646a93ed2f61da65ba0ecf65a99bd585b79 (diff)
- dtucker@cvs.openbsd.org 2010/01/09 23:04:13
[channels.c ssh.1 servconf.c sshd_config.5 sshd.c channels.h servconf.h ssh-keyscan.1 ssh-keyscan.c readconf.c sshconnect.c misc.c ssh.c readconf.h scp.1 sftp.1 ssh_config.5 misc.h] Remove RoutingDomain from ssh since it's now not needed. It can be replaced with "route exec" or "nc -V" as a proxycommand. "route exec" also ensures that trafic such as DNS lookups stays withing the specified routingdomain. For example (from reyk): # route -T 2 exec /usr/sbin/sshd or inherited from the parent process $ route -T 2 exec sh $ ssh 10.1.2.3 ok deraadt@ markus@ stevesk@ reyk@
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/misc.h b/misc.h
index 1e859e255..32073acd4 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.40 2009/12/25 19:40:21 stevesk Exp $ */ 1/* $OpenBSD: misc.h,v 1.41 2010/01/09 23:04:13 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -23,7 +23,6 @@ int set_nonblock(int);
23int unset_nonblock(int); 23int unset_nonblock(int);
24void set_nodelay(int); 24void set_nodelay(int);
25int a2port(const char *); 25int a2port(const char *);
26int a2rdomain(const char *);
27int a2tun(const char *, int *); 26int a2tun(const char *, int *);
28char *put_host_port(const char *, u_short); 27char *put_host_port(const char *, u_short);
29char *hpdelim(char **); 28char *hpdelim(char **);
@@ -55,8 +54,6 @@ void freeargs(arglist *);
55 54
56int tun_open(int, int); 55int tun_open(int, int);
57 56
58int socket_rdomain(int, int, int, int);
59
60/* Common definitions for ssh tunnel device forwarding */ 57/* Common definitions for ssh tunnel device forwarding */
61#define SSH_TUNMODE_NO 0x00 58#define SSH_TUNMODE_NO 0x00
62#define SSH_TUNMODE_POINTOPOINT 0x01 59#define SSH_TUNMODE_POINTOPOINT 0x01