|
@@ -88,23 +88,23 @@ ntunnel quic_serv -k example.key -c example.crt udp:192.0.2.5:12322 tcp:127.0.0. |
|
|
|
|
|
|
|
|
Run client: |
|
|
Run client: |
|
|
``` |
|
|
``` |
|
|
ntunnel quic_client --ca-certs funkthat.crt tcp:127.0.0.1:42720 udp:192.0.2.5:12322 |
|
|
|
|
|
|
|
|
ntunnel quic_client --ca-certs example.crt tcp:127.0.0.1:42720 udp:192.0.2.5:12322 |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Running Tests |
|
|
Running Tests |
|
|
------------- |
|
|
------------- |
|
|
|
|
|
|
|
|
Currently ntunnel requires Python 3.7 or later. If the default |
|
|
|
|
|
virtualenv is not 3.7 or later, you can set the VIRTUALENV variable to specify |
|
|
|
|
|
|
|
|
Currently ntunnel requires Python 3.10 or later. If the default |
|
|
|
|
|
virtualenv is not 3.10 or later, you can set the VIRTUALENV variable to specify |
|
|
which one to use, such as: |
|
|
which one to use, such as: |
|
|
``` |
|
|
``` |
|
|
make env VIRTUALENV=virtualenv-3.7 |
|
|
|
|
|
|
|
|
make env VIRTUALENV=virtualenv-3.10 |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
If you want to use an alternate version of python, you can specify |
|
|
If you want to use an alternate version of python, you can specify |
|
|
VIRTUALENVARGS, such as: |
|
|
VIRTUALENVARGS, such as: |
|
|
``` |
|
|
``` |
|
|
make env VIRTUALENV=virtualenv-3.7 VIRTUALENVARGS="-p $(which pypy3)" |
|
|
|
|
|
|
|
|
make env VIRTUALENV=virtualenv-3.10 VIRTUALENVARGS="-p $(which pypy3)" |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Once you have the environment setup, you can source the development |
|
|
Once you have the environment setup, you can source the development |
|
@@ -141,6 +141,17 @@ Known Issues |
|
|
- Possible memory leak for each connection |
|
|
- Possible memory leak for each connection |
|
|
Error message is: Task exception was never retrieved |
|
|
Error message is: Task exception was never retrieved |
|
|
See the commented out assertion at the end of test_clientkeymismatch |
|
|
See the commented out assertion at the end of test_clientkeymismatch |
|
|
|
|
|
- cryptography may install broken. If you get the error message: |
|
|
|
|
|
``` |
|
|
|
|
|
RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. |
|
|
|
|
|
``` |
|
|
|
|
|
Run the following: |
|
|
|
|
|
``` |
|
|
|
|
|
pip uninstall cryptography |
|
|
|
|
|
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 |
|
|
|
|
|
pip install cryptography |
|
|
|
|
|
``` |
|
|
|
|
|
and try again. |
|
|
|
|
|
|
|
|
TODO/Future Features |
|
|
TODO/Future Features |
|
|
-------------------- |
|
|
-------------------- |
|
|