Bug #2643
closedOpenVPN Server not deletable
100%
Description
Hi,
my Version:
2.1-BETA0 (amd64)
built on Sun Sep 23 21:11:43 EDT 2012
FreeBSD 8.3-RELEASE-p4
i have tryed create new openvpn server for mobile devices. Port 1198 UDP.
after creating the new openvpn server i have 2 new entrys in my openvpn server overview. one of this, was my created server and one entry was en emtpy entry.
in this screenshot, i have more empty entrys because i have try it deleted and created...
any tipps?
Files
Updated by Sven Timmermann almost 13 years ago
- File openvpnserver.jpg openvpnserver.jpg added
Updated by Jim Pingle almost 13 years ago
We'll need to see the openvpn-server section of your config.xml - you can remove the IPs and certs/keys if needed but we need to see the whole structure.
Updated by Sven Timmermann almost 13 years ago
Jim P wrote:
We'll need to see the openvpn-server section of your config.xml - you can remove the IPs and certs/keys if needed but we need to see the whole structure.
Hi Jim, wow thanks for this fast answer can i send you my config.xml ? because this is so big, and there are many of ips and certs/keys but i can't find all thins in this hugh file.
is this okay for you?
ps: sorry for my bad english! :-(
Updated by Jim Pingle almost 13 years ago
you can e-mail it to jimp (at) pfsense (dot) org.
Updated by Jim Pingle almost 13 years ago
OK, I committed a fix, next new snapshot dated after this commit should be OK. You can then just click the X on those to delete them.
Updated by Sven Timmermann almost 13 years ago
I can not delete it because, unfortunately, nothing happens. :-(. When i press to oft the X that crash my openvpn server and sometime i must reboot my pfsense. my pfsense is productive. Because i have needed ipv6 :-(
Updated by Jim Pingle almost 13 years ago
That is what the commit fixes - it will allow you to delete those entries.
Updated by Jim Pingle almost 13 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 767cf960f4f7f6f525d971f6247c663590c1637e.
Updated by Phillip Davis almost 13 years ago
This problem seems to have been introduced in another recent commit: https://github.com/bsdperimeter/pfsense/commit/c8bb7f1527a99c69784ab6c01d9050adcde6a8a0
This forum thread describes what I am seeing when I add an OpenVPN server: http://forum.pfsense.org/index.php/topic,54141.0.html
After this fix, I can delete the blank one, but it should not happen in the first place. The problem introduced on 22 Sep 2012 also needs fixing. I am not sure about how to fix it, while preserving the new TUN to TAP changeover properly. It would be better if the original developer can make the fix.
Updated by Jim Pingle almost 13 years ago
I reverted that commit. It's not such an important fix that it's worth debugging if it causes that bad of a problem. The original author can work on a better fix and submit it again once it's ready rather than leaving it broken until they can fix it.
Updated by Phillip Davis almost 13 years ago
On the new snapshot:
2.1-BETA0 (i386)
built on Sun Sep 30 11:13:36 EDT 2012
the revert is done, and the extra blank OpenVPN server does not appear when adding a new server - good.
The code for this actual ticket (allowing deletion of the blank entries) works - I used it a few times. Now it will be difficult to test, because the issue that made the blank entries is no longer there! But it will be very useful for anyone else who has got some blank entries while running on snapshots between 22 and 30 Sep 2012.
Updated by Pi Ba almost 13 years ago
Hi, sorry for introducing the issue, i recommitted my original patch (allow TUN to TAP change without reboot) with a extra check to avoid this problem.
Updated by Phillip Davis almost 13 years ago
Thanks. I tested on the latest snapshot:
2.1-BETA0 (i386)
built on Mon Oct 1 14:51:06 EDT 2012
Adding, editing and deleting OpenVPN servers works fine. So existing functionality is not broken by the change.
Updated by Chris Buechler almost 13 years ago
- Status changed from New to Resolved