search for: ssh_tun_freebsd

Displaying 6 results from an estimated 6 matches for "ssh_tun_freebsd".

2006 Mar 10
0
tun with darwin/macos x
...g on Solaris, you need to update audit_event(4) --- configure.orig 2006-02-13 19:16:02.000000000 -0800 +++ configure 2006-02-13 18:28:39.000000000 -0800 @@ -5285,6 +5285,21 @@ cat >>confdefs.h <<_ACEOF #define BIND_8_COMPAT 1 _ACEOF + +cat >>confdefs.h <<\_ACEOF +#define SSH_TUN_FREEBSD 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define SSH_TUN_COMPAT_AF 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define SSH_TUN_PREPEND_AF 1 +_ACEOF + ;; *-*-hpux*) # first we define all of the options common to all HP-UX releases --- configure.ac.orig 2006-02-13 20:25:...
2016 Jul 23
2
Call for testing: OpenSSH 7.3
On Sat, Jul 23, 2016 at 2:30 PM, Hisashi T Fujinaka <htodd at twofifty.com> wrote: [...] >> Could you try commenting out the HAVE_REALLOCARRAY line in config.h >> make clean, make and rerun the test? > > That works. Weird how I need that on -current but not on -7. Looks like reallocarray was added after 7: it's in
2006 Aug 25
2
RFC: non-root ssh tun access
...openssh-4.3p2/openbsd-compat/port-tun.h --- openssh-4.3p2.orig/openbsd-compat/port-tun.h 2006-01-01 03:47:06.000000000 -0500 +++ openssh-4.3p2/openbsd-compat/port-tun.h 2006-08-25 09:02:59.000000000 -0400 @@ -19,7 +19,10 @@ #include "channels.h" -#if defined(SSH_TUN_LINUX) || defined(SSH_TUN_FREEBSD) +#if defined(SSH_TUN_LINUX) +# define CUSTOM_SYS_TUN_OPEN +int sys_tun_open(int, int, uid_t); +#elif defined(SSH_TUN_FREEBSD) # define CUSTOM_SYS_TUN_OPEN int sys_tun_open(int, int); #endif diff -Nurd openssh-4.3p2.orig/serverloop.c openssh-4.3p2/serverloop.c --- openssh-4.3p2.orig/serverlo...
2006 Sep 30
1
<net/if_tap.h> on FreeBSD
FreeBSD's <net/if_tap.h> requires u_char to be defined: checking net/if_tap.h usability... no checking net/if_tap.h presence... yes configure: WARNING: net/if_tap.h: present but cannot be compiled configure: WARNING: net/if_tap.h: check for missing prerequisite headers? configure: WARNING: net/if_tap.h: see the Autoconf documentation configure: WARNING: net/if_tap.h: section
2009 Feb 23
6
[Bug 1561] New: Check for up on open tap device
...ot.org/attachment.cgi?id=1606) check for open tun/tap device Freebsd allows a non-root user to open a tap device (net.link.tap.user_open=1) at which point it can be marked up automatically (net.link.tap.up_on_open=1) so that root access is not required to get a functioning tap server side. #ifdef SSH_TUN_FREEBSD version of sys_tun_open in openbsd-compat/port-tun.c dosen't allow for this. It will successfully open a tap for non-root but will then attempt to IFF_UP which will fail. Test if the interface is already marked up and leave alone if it is. At this time, up on open is only available to tap de...
2017 Oct 10
3
tunnel device name acquisition?
Numerous how-tos all over the Internet show how one would set up a tunnel using ssh, e.g.: ssh -f -o Tunnel=ethernet <server_ip> true I was wondering if there's a way to subsequently acquire the names of the local and remote tun/tap interfaces (e.g., using the default "-w any:any") for subsequent automatic tunnel configuration, e.g.: ip link set $TapDev up ip link set