~dparv/charm-vpn-openvpn:change-config-options

Last commit made on 2020-09-11
Get this branch:
git clone -b change-config-options https://git.launchpad.net/~dparv/charm-vpn-openvpn
Only Diko Parvanov can upload to this branch. If you are Diko Parvanov please log in for upload directions.

Branch merges

Branch information

Name:
change-config-options
Repository:
lp:~dparv/charm-vpn-openvpn

Recent commits

1cf3e4c... by Diko Parvanov

Reduced config options, updated README, tests

 - updated README.md with quickstart guide and authentication method
 - reduced config.yaml options:
   * removed tls_auth, left only tls_crypt for better security
   * renamed tls_crypt to control_channel_encryption_key
   * renamed ca, cert and key to certificate_authoriry, certificate
   and certificate_key
   * renamed compress to compresssion
   * removed reneg_sec option
   * removed remote_cert_tls option and defaulted to 'server' in code
   * removed auth option and defaulted to SHA256 in code
   * removed update_resolv_conf option
   * removed tun_mtu option
   * removed nobind and defaulted to True in template
 - added default values in global variables for some of the
 removed options in the code
 - removed verification methods for removed options
 - updated unit testing with new code change
 - updated bundles for functional testing for bionic/focal
 - updated openvpn template accordingly

f3d544f... by Diko Parvanov

Removed NetFilterManager library

5ca7f0b... by Diko Parvanov

Updated unit testing

 - completly re-worked unit testing and made sure a full coverage of the
 charm code - 100% is covered now
 - updated charm code - methods to return proper values when validation
 fails or succeeds - requirements for unit testing
 - better exception handling for methods with base64 and encoding

c53f7fc... by Diko Parvanov

Updated requirements.txt

Althou some packages should be part of the default python3 site
packages, it's good to have them added, just in case we don't go
with default python3 installation:
 - added numpy
 - added netifaces
 - added ipaddress

045995d... by Diko Parvanov

Added new config option for allowing inbound ssh

ff33af9... by Diko Parvanov

Fixed default value for tun_mtu to 0

72a3e6a... by Diko Parvanov

Naming convention changes and typo fix

 - Changed verb to debug in config and charm code
 - Fixed a typo in config ncp_ciphers
 - Removed unused os import and file_get_contents() method

ab9764a... by Diko Parvanov

Fixed unit testing with tun_mtu param

9ac9a3b... by Diko Parvanov

Added new option tun_mtu

acd8d55... by Diko Parvanov

Fixed update_status event handler