README
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
# GoLangProxy
|
# GoLangProxy
|
||||||
|
I start making this app, as first GO project because I find it much easier to compile and run then python ( python is still my preffered lang for coding)
|
||||||
|
The application would be for situation where you do not want to install anything extra and just proxy traffic with one executable, for me it is for windows server what runs application and need to add extra certificate for it.
|
||||||
|
|
||||||
- simple application written in go lang for proxing http and https with built in self signed certificate function.
|
- simple application written in go lang for proxing http and https with built in self signed certificate function.
|
||||||
|
- The certificate directory or file name can be specified in config file ( if not exists or provided it creates self sign cert)
|
||||||
|
- The app also monitoring changes in the `config.yaml` file and updates app after change.
|
||||||
|
- by default proxy redirects http to https if the url what is proxied is on https
|
||||||
|
- the redirection can be turned of by setting `true` in `no_https_redirect` with the host name
|
||||||
|
- By default it trusts any certificate for url what is proxied, this can be disabled in `trust_target`
|
||||||
- `config.yaml` default settings in current state would be created as:
|
- `config.yaml` default settings in current state would be created as:
|
||||||
```yaml
|
```yaml
|
||||||
listen_http: :80
|
listen_http: :80
|
||||||
@@ -25,3 +33,9 @@ go run main.go config.go certificate.go proxy.go utils.go
|
|||||||
|
|
||||||
### Building app:
|
### Building app:
|
||||||
go build -o proxy
|
go build -o proxy
|
||||||
|
|
||||||
|
## Thins to do:
|
||||||
|
- improve performance
|
||||||
|
- add logging to a file - failures, refreshed config or certificate, logging for proxied traffic
|
||||||
|
- solve issue where some https proxy queries are rejected by other side (could be just issue with my test target)
|
||||||
|
- solve issue when the app randomly starts refershing cert without certificate being changed
|
||||||
Reference in New Issue
Block a user