Commit Graph

12 Commits

Author SHA1 Message Date
idk
6ebe813d0e make it easy to get the addresses of the gosam tunnels 2019-04-20 23:27:47 -04:00
idk
88c615b411 only run offline tests by default 2019-02-28 20:32:28 -05:00
idk
49533844d6 incorporate cryptix-debug without the counter 2019-02-28 14:22:28 -05:00
idk
d7af8dafa9 make dialer context aware and avoid redundant session create's 2019-02-27 20:25:36 -05:00
idk
6cd8e18295 don't use real site in test 2018-08-22 18:02:13 -04:00
idk
69655d5d86 added real SESSION CREATEs to tests 2018-08-22 17:57:50 -04:00
idk
299080f4c2 make validCreate function so the tests look a little nicer. 2018-08-22 10:55:36 -04:00
idk
a57ebd8e7e return erroneous string in validCmd 2018-08-22 08:57:54 -04:00
idk
aab53e9153 added a validate input function for the tests 2018-08-22 08:57:54 -04:00
idk
90dcde3cac pass all the options as one string instead of a slice of string. 2018-08-22 08:57:54 -04:00
idk
89742a3ec4 added reduce-on-idle and close-on-idle options (closes #9) 2018-08-21 16:21:48 +02:00
idk
702cc4d699 Configurable host:port (#7)
* replyParser had a bug where, when a base64 address ended with '==', the key-value pairs would break. I worked around the issue by switching '==' it with a non-base64 character before the split, and back after.

* switch to strings.SplitN and apply gofmt, add test

* I don't know exactly why, but checking that the kvPair in replyParser.go is not nil fixes the crash on image-heavy sites.

* added new configuration options for host, port, address, and debugging

* Fix commit history

* added tunnel length control features

* added tunnel length control defaults

* added length variance feature

* added tunnel quantity option

* added backup tunnel quantity option

* added leaseset configuration options

* gofmt

* add new options to session establishment commands & gofmt

* Reference the change to the debug global in the httpTest.go example

* Switch to less than or equal to 16 tunnels at a time.

* add in the comments I forgot to do.

* add in the comments I forgot to do.

* Improved formatting with linter.

* Improved formatting with linter.

* Ditch interfaces in the functional arguments, instead use different functions for the string and int-based variations.

* Fixed broken option

* added in missing formatting directive.

* change addr to host in client so names are consistent.

* change TestClientLookupInvalid back.
2018-07-16 08:49:03 +02:00