Commit Graph

23 Commits

Author SHA1 Message Date
fatedier 590ccda677
fix x-forwarded-for header (#4111) 2024-03-28 16:47:27 +08:00
fatedier 43ba7bd338
use new log package (#4054) 2024-03-12 13:58:53 +08:00
fatedier 518ca2ceb2
ReverseProxy: use Rewrite to replace Director (#4005)
* display go version in make

* ReverseProxy: use Rewrite to replace Director
2024-02-19 21:04:29 +08:00
fatedier 69ae2b0b69
optimize some code (#3801) 2023-11-27 15:47:49 +08:00
fatedier d5b41f1e14 sshTunnelGateway refactor (#3784) 2023-11-22 14:35:37 +08:00
fatedier 5e70d5bee0
code optimization (#3625) 2023-09-20 15:18:50 +08:00
fatedier 7cd02f5bd8
add e2e tests for v1 config (#3608) 2023-09-13 16:32:39 +08:00
fatedier c95311d1a0
support yaml/json/toml configuration format, make ini deprecated (#3599) 2023-09-06 10:18:02 +08:00
fatedier 46ff40543a
update github actions (#3538) 2023-07-21 10:30:46 +08:00
fatedier 555db9d272
format import package name (#3455) 2023-05-29 14:10:34 +08:00
fatedier 4915852b9c
use constant time comparison (#3452) 2023-05-29 00:27:27 +08:00
Craig O'Donnell b03f0ad1e6
fix: incorrect op for newWorkConn (#3244)
(cherry picked from commit 53b6bbf0b14ab632dc89416d7fffa9b1d0887c0a)
2023-01-09 10:34:09 +08:00
fatedier 9d077b02cf
lint by golangci-lint (#3080) 2022-08-29 01:02:53 +08:00
fatedier 5b8b145577
Use auto generated certificates if plugin_key_path and plugin_crt_path are empty for plugin https2https and https2http. (#2968) 2022-06-05 17:15:28 +08:00
Harry Cheng bf635c0e90
Notify server plugins when a proxy is closed (#2823)
* add close proxy op

* Move to actual closing routine

* Fix e2e tests for CloseProxy

* Add warning on resource exhaustion

* Add CloseProxy to manual close

* retuen errors to `CloseProxy` callers
2022-03-08 15:08:09 +08:00
fatedier 22412851b4
server plugin: add client address in Login operation, fix #2742 (#2751) 2022-01-11 16:32:20 +08:00
kekeimiku 0cee1877e3
refactor: move from io/ioutil to io and os package (#2592) 2021-09-29 10:33:57 +08:00
fatedier 09f39de74e
add more e2e test (#2505) 2021-08-02 13:07:28 +08:00
Blizard 3dd888a9ea
fix: stuct name typo (#2458)
Co-authored-by: tanghuafa <tanghuafa@bytedance.com>
2021-06-24 16:33:52 +08:00
Kevin Crawley 52d5c9e25b
initial commit for https2https plugin (#2201) 2021-01-27 13:14:16 +08:00
yuyulei 3621aad1c1
Reconstruct config (#2098)
* refactoring config

* Update by comments
2021-01-26 11:31:08 +08:00
Mike Cardwell 0ab055e946
Allow server plugin to talk to https services. Option for skipping tls verification (#2103)
* Allow server plugin to talk to https services. Option for skipping tls verification

* Rename TlsVerify to TLSVerify

* Server plugin should use default http transport when scheme is not https
2020-12-03 14:36:14 +08:00
fatedier 3fbdea0f6b
rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00