maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet (https://talk.maemo.org/showthread.php?t=96435)

yarda 2016-02-09 22:31

openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Hi,

I have recently upgraded openvpn and realized that the openvpn-5:2.3.7-1maemo2 is broken.

The following command:
$ sudo /usr/sbin/openvpn --daemon --writepid
/var/run/openvpn.ovpn-brq-udp.pid --config /etc/openvpn/ovpn-brq-udp.conf
--persist-key
--management /tmp/ovpn-brq-udp.socket unix --management-hold
--management-query-passwords --cd /etc/openvpn

doesn't return to the shell but waits with the following prompt on the STDIN:
Enter Auth Username:

This breaks apps relying on the openvpn daemon remote management, e.g. openvpn-applet.

The openvpn-5:2.3.2-1maemo1 works as expected.

I will also report this problem directly to the openvpn maintainer.

xes 2016-02-09 23:11

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Are you using username/password authentication?
Could you post the contents of your ovpn-brq-udp.conf?

yarda 2016-02-09 23:37

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Quote:

Originally Posted by xes (Post 1498359)
Are you using username/password authentication?

Yes, username/password, and the following works as expected:
Code:

# openvpn /etc/openvpn/ovpn-brq-udp.conf
Quote:

Originally Posted by xes (Post 1498359)
Could you post the contents of your ovpn-brq-udp.conf?

Currently, I don't have the file handy and I am also afraid I am not allowed to share it, but I will try to provide some reproducer configuration tomorrow. The same file correctly worked on my PC with openvpn-2.3.10.

xes 2016-02-10 08:04

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Looking at the changelog:
https://community.openvpn.net/openvp...gesInOpenvpn23

It seems they added a few changes about auth-user-pass in the latest releases

Something that may be related with your issue is:
https://community.openvpn.net/openvp...99d968d77c5ad/
https://community.openvpn.net/openvp...1702f1d0c2019b

After this, let me say that openvpn-applet has been tweaked a lot to manage user/pass authentication and has not been updated since 2010..
I hope someone would continue the development of this applet.

I'm using openvpn version 2.3.10 since some time and i'm going to push it to the autobuilder very soon.
I hope it could solve your problem.

yarda 2016-02-10 08:14

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Quote:

Originally Posted by xes (Post 1498374)

This seems promising. The problem is that it is reading auth from the STDIN not from the management.

Quote:

Originally Posted by xes (Post 1498374)
After this, let me say that openvpn-applet has been tweaked a lot to manage user/pass authentication and has not been updated since 2010..
I hope someone would continue the development of this applet.

I can send patches, but this seems to be backend related.

Quote:

Originally Posted by xes (Post 1498374)
I'm using openvpn version 2.3.10 since some time and i'm going to push it to the autobuilder very soon.
I hope it could solve your problem.

Great, thank you for your effort.

xes 2016-02-10 08:44

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Ok, done. Autobuilder has just completed the build of 2.3.10.
It should appear in extras-devel very soon. ;)

https://garage.maemo.org/pipermail/e...ry/156254.html

yarda 2016-02-10 13:46

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Quote:

Originally Posted by xes (Post 1498378)
Ok, done. Autobuilder has just completed the build of 2.3.10.
It should appear in extras-devel very soon. ;)

https://garage.maemo.org/pipermail/e...ry/156254.html

It's working like a charm, thank you for your ultra fast response.

xes 2016-02-10 14:14

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Thank you for testing.

Concerning openvpn-applet, if you have patches and improvements please contribute/share them or even ask to become maintainer of that package since original maintainer (mikkov) is not arond here since a lot of time.

yarda 2016-02-10 14:38

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Currently I have no patches, but the code doesn't seem complex. I think I have no problem to become maintainer, but I would mostly keep it working, I do not have much spare time to introduce new features or rewrite it. I think I could also help with other packages as well (I am long time Fedora/RHEL maintainer).

What's the process to become maintainer? Could you point me to the right place? Also I wonder whether the maemo bugzilla is functional or whether it is not currently used by the project?

xes 2016-02-10 16:07

Re: openvpn-5:2.3.7-1maemo2 remote management not working breaking openvpn-applet
 
Send a mail to the old maintainer to notify him about your proposal.

You need a garage.maemo.org account, to log in www.maemo.org and open the page:
http://maemo.org/packages/view/openvpn-applet/

Select the link:
"Request to be maintainer of this package"

Then, techstaff (in the detail, the garage.maemo.org maintainer) will reply to your request.


All times are GMT. The time now is 04:13.

vBulletin® Version 3.8.8