Active Topics

 


Reply
Thread Tools
Posts: 28 | Thanked: 46 times | Joined on Dec 2014
#1
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.
 

The Following 3 Users Say Thank You to yarda For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#2
Are you using username/password authentication?
Could you post the contents of your ovpn-brq-udp.conf?
 
Posts: 28 | Thanked: 46 times | Joined on Dec 2014
#3
Originally Posted by xes View Post
Are you using username/password authentication?
Yes, username/password, and the following works as expected:
Code:
# openvpn /etc/openvpn/ovpn-brq-udp.conf
Originally Posted by xes View Post
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.
 

The Following 2 Users Say Thank You to yarda For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#4
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.
 

The Following 3 Users Say Thank You to xes For This Useful Post:
Posts: 28 | Thanked: 46 times | Joined on Dec 2014
#5
This seems promising. The problem is that it is reading auth from the STDIN not from the management.

Originally Posted by xes View Post
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.

Originally Posted by xes View Post
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.
 

The Following 2 Users Say Thank You to yarda For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#6
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
 

The Following User Says Thank You to xes For This Useful Post:
Posts: 28 | Thanked: 46 times | Joined on Dec 2014
#7
Originally Posted by xes View Post
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.
 

The Following User Says Thank You to yarda For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#8
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.
 
Posts: 28 | Thanked: 46 times | Joined on Dec 2014
#9
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?
 

The Following User Says Thank You to yarda For This Useful Post:
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#10
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.
 

The Following User Says Thank You to xes For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:37.