-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use MQ as our transport, instead of websockets. #5
Commits on Apr 24, 2019
-
Document how we expect things to work when we're done.
This updates the hostname to be `tunnel.steve.fi`, because we're changing the way the client <-> server link works, and that means the existing public-endpoint won't work. TODO: * Think about signing the requests the server submits. * That doesn't stop sniffing, but does stop spidering/probing.
Configuration menu - View commit details
-
Copy full SHA for a120cd1 - Browse repository at this point
Copy the full SHA a120cd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1cb931 - Browse repository at this point
Copy the full SHA e1cb931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72013a5 - Browse repository at this point
Copy the full SHA 72013a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c83f34 - Browse repository at this point
Copy the full SHA 6c83f34View commit details -
Updated to use MQ as the transport.
This has been tested via the `mosquitto_pub` command; inject a full-request such as: GET / HTTP/1.0 Host: foo.example.com The result is that the response is sent back down the same channel, as expected. Porting the server should be pretty simple, based on this work. Since the HTTP-server and the MQ-server are on the same host I'm going to cheat and only talk to MQ on the localhost for the server.
Configuration menu - View commit details
-
Copy full SHA for 0cac8b8 - Browse repository at this point
Copy the full SHA 0cac8b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef56929 - Browse repository at this point
Copy the full SHA ef56929View commit details -
Tested with 20 concurrent clients accessing 20 local (python webservers). Zero deadlocks. Zero failures.
Configuration menu - View commit details
-
Copy full SHA for d242e11 - Browse repository at this point
Copy the full SHA d242e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78752a8 - Browse repository at this point
Copy the full SHA 78752a8View commit details -
Removed; since we don't use it yet, and we don't necessarily need it …
…if we have an embedded queue
Configuration menu - View commit details
-
Copy full SHA for 323bfad - Browse repository at this point
Copy the full SHA 323bfadView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.