Not sure what VPN client you are wanting to use or how your are doing it in 
Solaris?
I have tested the 32bit tun before, and have requested a RFE, it made it in 
Solaris 9 x96, but never to 10 another RFE, and it worked with OpenVPN under 
Solaris 9 & (manually compiles in) 10 305 32bit and a older snv_b(aka)3x, but I 
run the 64 bit since I have migrated all me sys to am2 64bit, here is a 64bit 
error with tuninfo : see:
http://openvpn.net/examples.html the 64bit tun might be a easy fix and  
makefile update, maybe someone as updated this but it never got back the the 
orignal author to update the source?
The 32bit run driver tun can be compiled and works with OpenVPN, when 
bash-3.2# make
cd solaris; make all
ld -r -o tun tun.o
bash-3.2# cd sol*
bash-3.2# ls
config.log     configure.in   Makefile.in    tun.conf
config.status  if_tun.h       tun            tun.o
configure      Makefile       tun.c
bash-3.2# gcc -m64 -DTUN_VER=\"1.1\ 12/29/2007\" -O2 -Wall -D_KERNEL -I. -c 
tun.c
tun.c: In function `tuninfo':
tun.c:218: warning: cast to pointer from integer of different size
bash-3.2# 

The other solution looks more MS compatiable http://openvpn.net/examples.html
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -O2 -fno-builtin -Wall 
-DSBINDIR='"/usr/local/sbin"' -c bcrelay.c
bcrelay.c:95:30: netpacket/packet.h: No such file or directory
bcrelay.c:96:26: net/ethernet.h: No such file or directory
bcrelay.c:148: error: field `ip' has incomplete type
bcrelay.c:150: error: `ETHERMTU' undeclared here (not in a function)
bcrelay.c: In function `mainloop':
bcrelay.c:422: error: invalid application of `sizeof' to incomplete type 
`sockaddr_ll' 
bcrelay.c:426: error: storage size of 'sa' isn't known
bcrelay.c:442: error: `PF_PACKET' undeclared (first use in this function)
bcrelay.c:442: error: (Each undeclared identifier is reported only once
bcrelay.c:442: error: for each function it appears in.)
bcrelay.c:442: error: `ETH_P_ALL' undeclared (first use in this function)
bcrelay.c:596: error: structure has no member named `dest'
bcrelay.c:596: error: structure has no member named `source'
bcrelay.c:600: error: structure has no member named `source'
bcrelay.c:601: error: structure has no member named `dest'
bcrelay.c:616: error: `AF_PACKET' undeclared (first use in this function)
bcrelay.c:629: error: `ETH_P_IP' undeclared (first use in this function)
bcrelay.c:665: error: `MSG_TRYHARD' undeclared (first use in this function)
bcrelay.c:426: warning: unused variable `sa'
bcrelay.c: In function `discoverActiveInterfaces':
bcrelay.c:790: error: `SIOCGIFCONF' undeclared (first use in this function)
bcrelay.c:801: error: `SIOCGIFFLAGS' undeclared (first use in this function)
bcrelay.c:811: error: `SIOCGIFINDEX' undeclared (first use in this function)
bcrelay.c:814: error: structure has no member named `ifr_ifindex'
bcrelay.c:819: error: structure has no member named `ifr_ifrn'
bcrelay.c:820: error: structure has no member named `ifr_ifrn'
bcrelay.c:829: error: `SIOCGIFADDR' undeclared (first use in this function)
bcrelay.c:845: error: `SIOCGIFDSTADDR' undeclared (first use in this function)
bcrelay.c:877: error: structure has no member named `ifr_ifindex'
bcrelay.c: In function `bind_to_iface':
bcrelay.c:981: error: storage size of 'sll' isn't known
bcrelay.c:984: error: `AF_PACKET' undeclared (first use in this function)
bcrelay.c:986: error: `ETH_P_ALL' undeclared (first use in this function)
bcrelay.c:981: warning: unused variable `sll'
*** Error code 1
make: Fatal error: Command failed for target `bcrelay.o'
Current working directory /Desktop/pptpd-1.3.2
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.2# 

Any updates or recommendations?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to