Status

()

P5
normal
4 years ago
a year ago

People

(Reporter: dragana, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [necko-would-take])

(Reporter)

Description

4 years ago
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.

Comment 1

4 years ago
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?

Comment 3

4 years ago
(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.

Comment 4

4 years ago
(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]
You need to log in before you can comment on or make changes to this bug.