-
Notifications
You must be signed in to change notification settings - Fork 189
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
WIP: add some network diagnostics #589
base: master
Are you sure you want to change the base?
Commits on Jul 13, 2022
-
dune: add missing dependency on result
Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f17ade8 - Browse repository at this point
Copy the full SHA f17ade8View commit details -
Move RST handling into intercept_tcp
Previously we had - Endpoint.input_tcp: which handled RST and then called intercept_tcp_syn with a default forwarding option (connect to (ip, port)) - Endpoint.intercept_tcp_syn: also used by services like the HTTP proxy The RST handling wasn't clear for the HTTP proxy etc, so rename intercept_tcp_syn to intercept_tcp and ensure it handles RST packets too. Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 428ec4d - Browse repository at this point
Copy the full SHA 428ec4dView commit details -
extract a function which forwards to a TCP socket
We will have a future function which forwards to a Unix socket. Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 108f669 - Browse repository at this point
Copy the full SHA 108f669View commit details -
Tcp.Flow: prepare to support other socket types
For now we only track connected TCP sockets, but in a future patch we will add Unix sockets. Prepare by tagging the socket with `Tcp socket and move the close logic into the module. Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06ae37b - Browse repository at this point
Copy the full SHA 06ae37bView commit details -
add a table of TCP -> Unix domain socket forwards
This is modelled on the existing "Gateway_forwards" Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d02e199 - Browse repository at this point
Copy the full SHA d02e199View commit details -
add command-line
--forwards <json path>
This reads and watches the <json path> for configuration updates, modelled on the existing `--gateway-forwards` Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d016c3 - Browse repository at this point
Copy the full SHA 3d016c3View commit details -
add transparent TCP -> Unix domain socket forwarding
Define a simple handshake with a .json-formatted request and response. Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad7119e - Browse repository at this point
Copy the full SHA ad7119eView commit details -
add a test for the TCP forwarder
Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aeb2cf2 - Browse repository at this point
Copy the full SHA aeb2cf2View commit details -
debug: add a
vpnkit.exe curl <url>
commandThis will allow testing of the I/O system. Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbc5f70 - Browse repository at this point
Copy the full SHA cbc5f70View commit details -
Add verbose debug printing around connect
Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 694e011 - Browse repository at this point
Copy the full SHA 694e011View commit details -
HACK: HTTP server always uses the forwarder
Signed-off-by: David Scott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e64d913 - Browse repository at this point
Copy the full SHA e64d913View commit details