File tree Expand file tree Collapse file tree 10 files changed +44
-63
lines changed Expand file tree Collapse file tree 10 files changed +44
-63
lines changed Original file line number Diff line number Diff line change 3838 # run: |
3939 # echo Add other actions to build,
4040 # echo test, and deploy your project.
41- # This workflow contains a single job called "build"
41+ # This workflow contains a single job called "build"
42+
4243 wtest :
4344 # The type of runner that the job will run on
4445 runs-on : windows-latest
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ https://github.com/TinCanTech/easy-tls
22 Change log:
33
44Version 2.7.0
5- * TBD
5+ * 2022-01-14 - Commit
66 Switch to fast hash routine
77 Commit b5baffdf19f23b217a29e4a11dbf8a380b03cb21
88 This is approximately 28% faster than wiscii_hash
@@ -11,7 +11,7 @@ Version 2.7.0
1111 Add Client-Group keys to standard TLS-Crypt-V2 Server-keys
1212
1313Version 2.6.0
14- * 2021-12-13
14+ * 2021-12-13 - Commit 28936a49805e241ec10c848648aa52675ee7472c
1515 Introduce easytls-tctip.lib (Optional library)
1616 Commit f85e95e4bdd4a6d74bb180a8859206e1452f5aa1
1717 Shared IPv4/6 address functions
Original file line number Diff line number Diff line change @@ -9141,18 +9141,18 @@ main ()
91419141 empty_ok=1
91429142 FILE_HASH_DISABLED=1
91439143 ;;
9144- -b|--base-dir)
9145- EASYTLS_base_dir=" ${val} "
9146- ;;
91479144 -t|--tmp-dir)
91489145 EASYTLS_tmp_dir=" ${val} "
91499146 ;;
9150- -e |--ersabin -dir)
9151- EASYTLS_ersabin_dir =" ${val} "
9147+ -b |--base -dir)
9148+ EASYTLS_base_dir =" ${val} "
91529149 ;;
91539150 -o|--ovpnbin-dir)
91549151 EASYTLS_ovpnbin_dir=" ${val} "
91559152 ;;
9153+ -e|--ersabin-dir)
9154+ EASYTLS_ersabin_dir=" ${val} "
9155+ ;;
91569156 -* )
91579157 fatal_opt " Unknown option: ${opt} "
91589158 shift
Original file line number Diff line number Diff line change @@ -16,11 +16,6 @@ copyright ()
1616# This code is released under version 2 of the GNU GPL
1717# See LICENSE of this project for full licensing details.
1818#
19- # Acknowledgement:
20- # syzzer: https://github.com/OpenVPN/openvpn/blob/master/doc/tls-crypt-v2.txt
21- #
22- # Lock client connections to specific client devices.
23- #
2419VERBATUM_COPYRIGHT_HEADER_INCLUDE_NEGOTIABLE
2520}
2621
@@ -919,12 +914,12 @@ while [ -n "${1}" ]; do
919914 EASYTLS_VARS_FILE=" ${val} " ;;
920915 esac
921916 ;;
922- -b|--base-dir)
923- EASYTLS_base_dir=" ${val} "
924- ;;
925917 -t|--tmp-dir)
926918 EASYTLS_tmp_dir=" ${val} "
927919 ;;
920+ -b|--base-dir)
921+ EASYTLS_base_dir=" ${val} "
922+ ;;
928923 -o|--openvpn-bin-dir)
929924 EASYTLS_ovpnbin_dir=" ${val} "
930925 ;;
Original file line number Diff line number Diff line change 1111#ENFORCE_CRYPT_V2=1
1212#ENFORCE_KEY_HWADDR=1
1313#PEER_IP_MATCH=1
14+
15+ # Openvpn dynamic client options
1416#EASYTLS_DYN_OPTS_FILE=/etc/openvpn/server/easytls-dyn-opts
1517
16- # One of these directories MUST exist
18+ # Set a specific temporary directory
1719#EASYTLS_tmp_dir=/tmp
1820#EASYTLS_tmp_dir=/Windows/Temp
1921
22+ # Connection tracking
2023#ENABLE_CONN_TRAC=1 # Also requires easytls-client-disconnect.sh
2124#VERBOSE_CONN_TRAC=1
2225#ENABLE_CONN_TRAC_STATS=1
2326
24- # Be careful ..
27+ # Enable tlskey-status tracking
28+ #EASYTLS_TLSKEY_STATUS=1
29+
30+ # Fine tune lock time-out
31+ #LOCK_TIMEOUT=30
32+
33+ # Debug tools
2534#FATAL_CONN_TRAC=1
2635#FATAL_CONN_TRAC_2=1
2736#POOL_EXHAUST_FATAL=1
2837#POOL_EXHAUST_KILL_CLIENT=1
29-
30- # Enable tlskey-status tracking
31- #EASYTLS_TLSKEY_STATUS=1
32-
33- # Enable kill server mode
3438#ENABLE_KILL_SERVER=1
35-
36- # Write environment to temporary log file
3739#WRITE_ENV=1
3840
39- # Fine tune lock time-out
40- #LOCK_TIMEOUT=30
41-
Original file line number Diff line number Diff line change @@ -16,11 +16,6 @@ copyright ()
1616# This code is released under version 2 of the GNU GPL
1717# See LICENSE of this project for full licensing details.
1818#
19- # Acknowledgement:
20- # syzzer: https://github.com/OpenVPN/openvpn/blob/master/doc/tls-crypt-v2.txt
21- #
22- # Lock client connections to specific client devices.
23- #
2419VERBATUM_COPYRIGHT_HEADER_INCLUDE_NEGOTIABLE
2520}
2621
@@ -644,12 +639,12 @@ while [ -n "${1}" ]; do
644639 EASYTLS_VARS_FILE=" ${val} " ;;
645640 esac
646641 ;;
647- -b|--base-dir)
648- EASYTLS_base_dir=" ${val} "
649- ;;
650642 -t|--tmp-dir)
651643 EASYTLS_tmp_dir=" ${val} "
652644 ;;
645+ -b|--base-dir)
646+ EASYTLS_base_dir=" ${val} "
647+ ;;
653648 -o|--openvpn-bin-dir)
654649 EASYTLS_ovpnbin_dir=" ${val} "
655650 ;;
Original file line number Diff line number Diff line change 33
44#EASYTLS_VERBOSE=1
55
6+ # Set a specific temporary directory
7+ #EASYTLS_tmp_dir=/tmp
8+ #EASYTLS_tmp_dir=/Windows/Temp
9+
10+ # Connection tracking
611#ENABLE_CONN_TRAC=1 # Also requires easytls-client-disconnect.sh
712#VERBOSE_CONN_TRAC=1
813#ENABLE_CONN_TRAC_STATS=1
1116#EASYTLS_TLSKEY_STATUS=1
1217#ENABLE_STALE_LOG=1
1318
14- # One of these directories MUST exist
15- #EASYTLS_tmp_dir=/tmp
16- #EASYTLS_tmp_dir=/Windows/Temp
19+ # Fine tune lock time-out
20+ #LOCK_TIMEOUT=30
1721
18- # be careful..
22+ # Debug tools
1923#FATAL_CONN_TRAC=1
20-
21- # Enable kill server mode
2224#ENABLE_KILL_SERVER=1
23-
24- # Write environment to temporary log file
2525#WRITE_ENV=1
2626
27- # Fine tune lock time-out
28- #LOCK_TIMEOUT=30
29-
Original file line number Diff line number Diff line change @@ -958,18 +958,18 @@ while [ -n "${1}" ]; do
958958 -p|--preload-id)
959959 PRELOAD_CA_ID=" ${val} "
960960 ;;
961- -b|--base-dir)
962- EASYTLS_base_dir=" ${val} "
963- ;;
964961 -t|--tmp-dir)
965962 EASYTLS_tmp_dir=" ${val} "
966963 ;;
967- -e |--easyrsa-bin -dir)
968- EASYTLS_ersabin_dir =" ${val} "
964+ -b |--base -dir)
965+ EASYTLS_base_dir =" ${val} "
969966 ;;
970967 -o|--openvpn-bin-dir)
971968 EASYTLS_ovpnbin_dir=" ${val} "
972969 ;;
970+ -e|--easyrsa-bin-dir)
971+ EASYTLS_ersabin_dir=" ${val} "
972+ ;;
973973 * )
974974 warn_die " Unknown option: ${1} "
975975 ;;
Original file line number Diff line number Diff line change 3131#X509_METHOD=3
3232
3333# Preload CA-ID
34- #PRELOAD_CA_ID=' paste the CA-ID here'
34+ #PRELOAD_CA_ID=< paste the CA-ID here>
3535
3636# Enable/disable kill_client mode
3737#ENABLE_KILL_CLIENT=1
3838
3939# Set a specific temporary directory
40- #EASYTLS_tmp_dir=' /tmp' # *nix
41- #EASYTLS_tmp_dir=' C:/Windows/Temp' # Win
40+ #EASYTLS_tmp_dir=/tmp # *nix
41+ #EASYTLS_tmp_dir=C:/Windows/Temp # Win
4242
4343# If easytls-cryptv2-verify.sh is run stand alone then use this
4444#EASYTLS_STAND_ALONE=1
4545
4646# Hash algorithm
47- #EASYTLS_HASH_ALGO=' SHA256'
47+ #EASYTLS_HASH_ALGO=SHA256
4848
4949# Write environment to temporary log file
5050#WRITE_ENV=1
Original file line number Diff line number Diff line change 1313REM This code is released under version 2 of the GNU GPL
1414REM See LICENSE of this project for full licensing details.
1515REM
16- REM Acknowledgement:
17- REM This utility is "written in the style of" and "borrows heavily from" Easy-RSA
18- REM
19- REM Easy-TLS is inspired by syzzer
20- REM See: https://github.com/OpenVPN/openvpn/blob/master/doc/tls-crypt-v2.txt
21- REM
2216REM VERBATUM_COPYRIGHT_HEADER_INCLUDE_NEGOTIABLE
2317
2418set
@@ -56,7 +50,7 @@ IF ERRORLEVEL 0 SET SH_EXIT=0
5650REM X509 certificate revoked
5751IF ERRORLEVEL 1 SET SH_EXIT = 1
5852
59- ECHO * Verified expected errors: 54
53+ ECHO * Verified expected errors: 42
6054
6155ECHO SH_EXIT: %SH_EXIT%
6256EXIT /B %SH_EXIT%
You can’t perform that action at this time.
0 commit comments