Sudarsan Reddy
368066a966
TUN-3615: added support to proxy tcp streams
...
added ingress.DefaultStreamHandler and a basic test for tcp stream proxy
moved websocket.Stream to ingress
cloudflared no longer picks tcpstream host from header
2021-02-23 14:19:47 +00:00
cthuang
e2262085e5
TUN-3617: Separate service from client, and implement different client for http vs. tcp origins
...
- extracted ResponseWriter from proxyConnection
- added bastion tests over websocket
- removed HTTPResp()
- added some docstrings
- Renamed some ingress clients as proxies
- renamed instances of client to proxy in connection and origin
- Stream no longer takes a context and logger.Service
2021-02-23 14:19:44 +00:00
Areg Harutyunyan
870f5fa907
TUN-3470: Replace in-house logger calls with zerolog
2020-12-23 14:15:17 -06:00
Adam Chalmers
23f2a04ed7
TUN-3562: Fix panic when using bastion mode ingress rule
2020-11-20 11:20:39 -06:00
Adam Chalmers
7613410855
TUN-3548, TUN-3547: Bastion mode can be specified as a service, doesn't
...
require URL.
2020-11-16 20:04:36 +00:00
Adam Chalmers
6159cb536f
TUN-3546: Fix panic in tlsconfig.LoadOriginCA
2020-11-14 20:03:29 -06:00
cthuang
543169c893
TUN-3490: Make sure OriginClient implementation doesn't write after Proxy return
2020-11-11 15:21:00 +00:00
cthuang
5974fb4cfd
TUN-3500: Integrate replace h2mux by http2 work with multiple origin support
2020-11-11 15:20:57 +00:00
cthuang
61c814bd79
TUN-3506: OriginService needs to set request host and scheme for websocket requests
2020-11-05 16:34:02 +00:00
cthuang
b00bfe8e0b
TUN-3505: Response body for status code origin returns EOF on Read
2020-11-05 14:47:46 +00:00
Adam Chalmers
bc015995d8
TUN-3484: OriginService that responds with configured HTTP status
2020-11-04 21:28:33 +00:00
Adam Chalmers
d01770107e
TUN-3492: Refactor OriginService, shrink its interface
2020-11-04 21:28:33 +00:00
Adam Chalmers
e933ef9e1a
TUN-2640: Users can configure per-origin config. Unify single-rule CLI
...
flow with multi-rule config file code.
2020-10-30 07:42:20 -05:00