John-Mark Gurney
5b65dc8ec3
support setting a few useful parameters...
wrap a few long lines...
2 years ago
John-Mark Gurney
cc3b33a169
add tests to verify quic functionality. document quic...
This also points to my own repo of quic as it contains a bug fix
for drain...
2 years ago
John-Mark Gurney
b49bc266f5
add optional quic support...
2 years ago
John-Mark Gurney
3eb1073c32
switch to using the builtin venv module
2 years ago
John-Mark Gurney
45c322269d
Python 3.8 or 3.9 moved these, use the new location..
2 years ago
John-Mark Gurney
5ee76cbbef
fix issue where tcp default string wasn't supported..
4 years ago
John-Mark Gurney
0af05dd6cc
add instructions on compiling OpenSSL if needed..
4 years ago
John-Mark Gurney
88d0ef0486
with the clientkey authentication, forgot to update the example...
4 years ago
John-Mark Gurney
e494a90f5b
add something to look at
5 years ago
John-Mark Gurney
c203547c28
add support for udp...
5 years ago
John-Mark Gurney
06a15131df
limit what gets imported on a from x import *, and improve the docs a bit..
5 years ago
John-Mark Gurney
9193ffddf2
fix problem where if you don't have things installed, it'll
fail to install because installing requires things to be installed...
Not pretty to parse out the version, but other packages do it.. and
better than repeating it multiple times..
5 years ago
John-Mark Gurney
f96d7be2e0
add mention of disco
5 years ago
John-Mark Gurney
8d2ae6cb88
have setup.py pull version from the module to keep things in sync..
5 years ago
John-Mark Gurney
81a21e8c10
add explicit license statement, and bump version to next dev..
5 years ago
John-Mark Gurney
0f837e8c5a
add more complete docs on running tests... add target for systems w/o
the entr command...
5 years ago
John-Mark Gurney
c817243512
fix entry_points so that ntunnel is installed as an executable...
5 years ago
John-Mark Gurney
c47d74f353
make -m ntunnel work, and use that now that we've made ntunnel into
a proper package..
5 years ago
John-Mark Gurney
3798779670
Turn this into a proper python module using setup.py...
Use requirements in setup.py for dev via requirements.txt...
5 years ago
John-Mark Gurney
b9be29ec82
add comment about passing protocol version to the getconnection method
so that it can decide what paramaters are to be used...
5 years ago
John-Mark Gurney
75d5780afb
convert to using a class for validating connections and getting the
connection pair.. This makes it easier to handle the future case
where we might want to connect a specific client to a resource, AND
if we expand the protocol negotiation to include additional data,
to possibly allow clients to request specific resources...
5 years ago
John-Mark Gurney
189bbb7bd3
wait for clean up to happen before progressing..
This is to make sure that we don't have a run away resoruce
utilization.. probably unneeded..
5 years ago
John-Mark Gurney
74ff15da8c
use an asynccontextmanager to make sure that subprocesses are terminated
5 years ago
John-Mark Gurney
acb6eac238
clean up the tests better, shame there isn't a context handler for processes...
5 years ago
John-Mark Gurney
e79d8273f4
add protocol version checking, so we fail if the version mismatches...
5 years ago
John-Mark Gurney
8003d4e84c
add sending a protocol version, so we can extend the protocol in the future...
5 years ago
John-Mark Gurney
93a5211373
add docs to parsesockstr, and drop the _ to make it first class. this
allows us to reference it's docs from where it's used...
5 years ago
John-Mark Gurney
1a77fc8067
add tests for _parsesockstr/connectsockstr/listensockstr, add support
for TCP for them...
clean up a bunch of the test sockets, need to document how to clean up
the various services...
Stream line some of the test code so that it is properly all covered.
5 years ago
John-Mark Gurney
ce245084c2
comment about code coverage..
5 years ago
John-Mark Gurney
838657479b
update the readme as we now support verifying the client key...
document issue w/ task cleanup...
5 years ago
John-Mark Gurney
27daaa0c36
reduce time out so tests run a bit faster... not sure what the best
way to test for this condition is...
5 years ago
John-Mark Gurney
2f8a62aa16
eliminate a bunch of sleeps, in one place use an Event to syncronize
5 years ago
John-Mark Gurney
ef95a6f276
add test to make sure that the server checks the client's key and
only allows the key that was specified
5 years ago
John-Mark Gurney
d33583e340
change ptpair to a function and pass in the remote static key (if
we're the responder) so that the responder can validate and possibly
change the route based upon it...
5 years ago
John-Mark Gurney
a78291b2a3
include the program used to generate the handshake message lengths
array..
5 years ago
John-Mark Gurney
99cafdd847
note that ntunnel uses 3.7, there are some asyncio features that
ntunnel uses that weren't introduced till 3.7...
note that it should be usable w/ TCP streams as well, though that
feature is yet to be implemented...
5 years ago
John-Mark Gurney
07228d1f8a
add bugs/future features section
5 years ago
John-Mark Gurney
d42812f96a
add a quick example to show how to use it.
5 years ago
John-Mark Gurney
95afbe5737
This should make things work now! both client and server can be run...
5 years ago
John-Mark Gurney
647a2a113a
add option to not use pipes, to make it easier to see the output...
start adding an end to end test
5 years ago
John-Mark Gurney
52460a3912
clean up how we check that the process runs... This is better as it
allows to check output, and prevents spamming to test console. It
also sets up the environment closer to a real run.
5 years ago
John-Mark Gurney
f002ce41d1
add comment about how to improve this...
5 years ago
John-Mark Gurney
9acd8dac9a
add a generate key command..
5 years ago
John-Mark Gurney
05e577f738
move the function locally since it looks like this is the way forward..
5 years ago
John-Mark Gurney
be2e5fd6da
minor reorg work..
make both pairs come from an awaitable object, this will be needed for
future work...
keep lines under 80 chars...
Minor reorg of the main loop to make it clearer...
5 years ago
John-Mark Gurney
beb82c02e5
get the other side working... This was a lot easier to get functional
than I expected...
5 years ago
John-Mark Gurney
7f60466d35
get the responder side of things working, including COMPLETE! shutdown...
not fully tested on the various errors...
5 years ago
John-Mark Gurney
1112dfb6dc
last bit of work on the twisted version before I stopped...
5 years ago
John-Mark Gurney
59d4a88ac3
talk about the VIRTUALENV and *ARGS options to make..
5 years ago
John-Mark Gurney
0f275cf7f7
don't need twisted as moving to asyncio... allow the python binary to be set to
allow pypy to possibly be used..
5 years ago