On Sat, Sep 10, 2016 at 05:35:01PM -0500, Brent Cook wrote:
> > ​Hi Jiri,
> >
> >  I just double-checked an OpenVPN setup using ​the latest snap + the
> > latest ports package, and it should no longer cause the segfault.
> >
> > OpenBSD 6.0-current (RAMDISK_CD) #2212: Sat Sep 10 10:03:50 MDT 2016
> >
> > The too many symbolic links issue seems to be related to the 'topology
> > subnet' configuration on the server. I was having a similar issue and
> > showed it to phessler in Cambridge. We found that OpenVPN seemed to be
> > adding a route that mirrored an existing one, which led to that somewhat
> > confusing error message. I'm not entirely sure how to resolve it, though
> > locally I switched back to p2p topology.
> >
> > ​ - Brent​

Thanks I do not see segfaults anymore but issue about 'too many symbolic links'
is strange. I doubt they have changed anything on remote OpenVPN gw.

He, '-d' in route is strange, not showing any useful info in this context:

~~~
# /sbin/route -dv add -net 10.0.0.0 10.40.204.1 -netmask 255.0.0.0   
so_dst: inet 10.0.0.0; so_gate: inet 10.40.204.1; so_mask: inet 255.0.0.0; 
RTM_ADD: Add Route: len 136, priority 0, table 0, ifidx 0, pid: 0, seq 1, errno 0
flags:<UP,GATEWAY,STATIC>
fmask:
use:        0   mtu:        0    expire:        0
locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK>
 10.0.0.0 10.40.204.1 255.0.0.0
add net 10.0.0.0: gateway 10.40.204.1

# /sbin/route -v add -net 10.0.0.0 10.40.204.1 -netmask 255.0.0.0 
so_dst: inet 10.0.0.0; so_gate: inet 10.40.204.1; so_mask: inet 255.0.0.0; 
RTM_ADD: Add Route: len 136, priority 0, table 0, ifidx 0, pid: 0, seq 1, errno 0
flags:<UP,GATEWAY,STATIC>
fmask:
use:        0   mtu:        0    expire:        0
locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK>
 10.0.0.0 10.40.204.1 255.0.0.0
add net 10.0.0.0: gateway 10.40.204.1: Too many levels of symbolic links

# netstat -rnf inet
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            192.168.100.1      UGS        5       40     -     8 em0
224/4              127.0.0.1          URS        0        0 32768     8 lo0
10.40.204/22       10.40.204.16       UGS        0        6     -     8 tun0
10.40.204.16       10.40.204.16       UHhl       1        1     -     1 tun0
10.40.204.16       10.40.204.16       UH         0        0     -     8 tun0
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHhl       3      757 32768     1 lo0
192.168.100/24     192.168.100.100    UCn        1        7     -     4 em0
192.168.100.1      00:25:90:60:8f:1e  UHLch      2        5     -     4 em0
192.168.100.100    28:d2:44:df:a1:87  UHLl       0       98     -     1 em0
192.168.100.255    192.168.100.100    UHb        0        2     -     1 em0
~~~

j.

Reply via email to