radiusplugin-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Radiusplugin-users] plugin error on FreeBSD 7.2


From: Ralf Lübben
Subject: Re: [Radiusplugin-users] plugin error on FreeBSD 7.2
Date: Fri, 23 Apr 2010 07:24:19 +0200
User-agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; i686; ; )

Hi,

does it only occur with TAP devices or also with TUN devices?

If it works for TUN, can you send me the log files for both cases?

Ralf


Am Dienstag, 20. April 2010 12:33:21 schrieb Robert Blacquiere:
> That fixes the error for me on freebsd 8.0. But i still have problems
> with the init of the radiusplugin.
> 
> Tue Apr 20 12:24:58 2010 us=710186 82.74.30.185:52240 PLUGIN_CALL: PRE
> type=PLUGIN_AUTH_USER_PASS_VERIFY
> Tue Apr 20 12:24:58 2010 us=710215 82.74.30.185:52240 ARGV[0] =
> '/usr/local/lib/radiusplugin.so'
> Tue Apr 20 12:24:58 2010 us=710381 82.74.30.185:52240 ENVP[0] =
> 'auth_control_file=openvpn_acf_3042ab64e7150d4b2295894ff29c54e8.tmp'
> Tue Apr 20 12:24:58 2010 us=710410 82.74.30.185:52240 ENVP[1] =
> 'untrusted_port=52240'
> Tue Apr 20 12:24:58 2010 us=710436 82.74.30.185:52240 ENVP[2] =
> 'untrusted_ip=82.74.30.185'
> Tue Apr 20 12:24:58 2010 us=710462 82.74.30.185:52240 ENVP[4] =
> 'username=robert'
> Tue Apr 20 12:24:58 2010 us=710488 82.74.30.185:52240 ENVP[5] =
> 'remote_port_1=443'
> Tue Apr 20 12:24:58 2010 us=710513 82.74.30.185:52240 ENVP[6] =
> 'local_port_1=443'
> Tue Apr 20 12:24:58 2010 us=710674 82.74.30.185:52240 ENVP[7] =
> 'proto_1=tcp-server'
> Tue Apr 20 12:24:58 2010 us=710703 82.74.30.185:52240 ENVP[8] =
> 'daemon_log_redirect=1'
> Tue Apr 20 12:24:58 2010 us=710730 82.74.30.185:52240 ENVP[9] = 'daemon=1'
> Tue Apr 20 12:24:58 2010 us=710757 82.74.30.185:52240 ENVP[10] = 'verb=8'
> Tue Apr 20 12:24:58 2010 us=710799 82.74.30.185:52240 ENVP[11] =
> 'config=/usr/local/etc/openvpn/server.conf'
> Tue Apr 20 12:24:58 2010 us=710829 82.74.30.185:52240 ENVP[12] =
> 'ifconfig_local=192.168.203.17'
> Tue Apr 20 12:24:58 2010 us=710994 82.74.30.185:52240 ENVP[13] =
> 'ifconfig_netmask=255.255.255.240'
> Tue Apr 20 12:24:58 2010 us=711022 82.74.30.185:52240 ENVP[14] =
> 'ifconfig_broadcast=192.168.203.31'
> Tue Apr 20 12:24:58 2010 us=711049 82.74.30.185:52240 ENVP[15] =
> 'script_context=init'
> Tue Apr 20 12:24:58 2010 us=711075 82.74.30.185:52240 ENVP[16] =
>  'tun_mtu=1500' Tue Apr 20 12:24:58 2010 us=711100 82.74.30.185:52240
>  ENVP[17] = 'link_mtu=1575' Tue Apr 20 12:24:58 2010 us=711264
>  82.74.30.185:52240 ENVP[18] = 'dev=tap0'
> 
> 
> After this openvpn hangs/locks up. can't connect to the server.  I
> also don't see any radius request leaving the server.
> 
> Any clue to make this work?
> 
> Regards
> 
> Robert
> 
> On Mon, Apr 5, 2010 at 6:16 PM, Ralf Lübben <address@hidden> wrote:
> > Hello,
> >
> > did you use the newest beta version and did you use the BSD makefile with
> > gmake?
> >
> > Otherwise please try:
> >
> > gmake -f Makefile.bsd (only available the newest beta version)
> >
> > If it doesn't solve the problem please change the line
> >
> > LIBS=-lgcrypt -lgpg-error -lstdc++ -lm
> >
> > to
> >
> > LIBS=-lgcrypt -lgpg-error -lstdc++ -lpthread -lm
> >
> > in Makefile.bsd .
> >
> > Let me know if the addition of "-lpthread" solves the problem, than I
> > will add it in further releases.
> >
> > Ralf
> >
> > Am Montag, 5. April 2010 17:05:53 schrieb Volvo240:
> >> I got next error while start OpenVPN server with RADIUS support:
> >>
> >> Mon Apr  5 18:56:54 2010 PLUGIN_INIT: could not load plugin shared
> >> object /usr/local/etc/openvpn/radiusplugin.so:
> >>  /usr/local/etc/openvpn/radiusplugin.so: Undefined symbol
> >> "pthread_create": No such file or directory (errno=2) Mon Apr  5
> >> 18:56:54 2010 Exiting
> >>
> >> $ uname -a
> >> FreeBSD gw.local 7.3-STABLE FreeBSD 7.3-STABLE
> >>
> >>
> >> $ sudo ldd  /usr/local/etc/openvpn/radiusplugin.so
> >> /usr/local/etc/openvpn/radiusplugin.so:
> >>         libgcrypt.so.16 => /usr/local/lib/libgcrypt.so.16 (0x28300000)
> >>         libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0
> >> (0x281e2000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28378000)
> >>         libm.so.5 => /lib/libm.so.5 (0x281e6000)
> >>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2846d000)
> >>         libc.so.7 => /lib/libc.so.7 (0x28083000)
> >>         libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28478000)
> >>         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2848a000)
> >>
> >> Any ideas ?
> >> Mike.
> >>
> >>
> >>
> >> _______________________________________________
> >> Radiusplugin-users mailing list
> >> address@hidden
> >> http://lists.nongnu.org/mailman/listinfo/radiusplugin-users
> >
> > _______________________________________________
> > Radiusplugin-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/radiusplugin-users
> 
> _______________________________________________
> Radiusplugin-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/radiusplugin-users
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]