Closed Bug 1107769 Opened 10 years ago Closed 4 years ago

OpenVPN testing

Categories

(Core :: Networking, defect, P5)

All
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dragana, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-would-take])

Figure out how to run test for openvpn client.

The openVPM client is part of gecko and is running on a emulator. 
To run test we will need openvpn server (https://openvpn.net/index.php/open-source/downloads.html) and the TUN interface need to be started. The TUN interface must be started with root access. 

We will need http server, maybe use httpd.js. but it should be bind to a not loopback address.
I would be happy to set up an openvpn server on a vps as described here:
https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7

I could set up an apache http server on the same vps.

Would that work for testing?
(In reply to Mike Riley from comment #1)
> I would be happy to set up an openvpn server on a vps as described here:
> https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-
> an-openvpn-server-on-centos-7
> 
> I could set up an apache http server on the same vps.
> 
> Would that work for testing?

So for automation, the problem is getting root access if we want this to run in buildbot (but we may achieve this in other ways), and setting up a non-loopback address for the test, which we need to solve for in this case. Does the above solve the latter problem?
(In reply to Malini Das [:mdas] from comment #2) 
> So for automation, the problem is getting root access if we want this to run
> in buildbot (but we may achieve this in other ways), and setting up a
> non-loopback address for the test, which we need to solve for in this case.
> Does the above solve the latter problem?

Absolutely.  My idea was to set up a VPS dedicated to this OpenVPN testing on DigitalOcean, who provide root access and a fixed IP address.  I'm happy do do anything needed to get things set up, from (1) just paying for the VPS and handing over root access for someone else to set things up, to (2) to installing and configuring the server then handing over root access and the VPN credentials to the testing team, or anything in between.

I just think this feature is really important and I'd like to help in any way needed.
(In reply to Mike Riley from comment #3)
> Absolutely.  My idea was to set up a VPS dedicated to this OpenVPN testing
> on DigitalOcean, who provide root access and a fixed IP address.  I'm happy
> do do anything needed to get things set up, from (1) just paying for the VPS
> and handing over root access for someone else to set things up, to (2) to
> installing and configuring the server then handing over root access and the
> VPN credentials to the testing team, or anything in between.
> 
> I just think this feature is really important and I'd like to help in any
> way needed.

A further thought:  I have no experience with Buildbot or how it is used.  Is hosting for Buildbot required as well?  If so would hosting that on a separate VPS (root access and dedicated external IP as with the other) work?  In that case I'd be happy to purchase the second VPS also but someone else would have to install/run Buildbot.
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.