-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Added force TLS v1.2 above toggle + Added trace route + Added ICMP ping + Added special routing rules module for up-coming acme integration + Fixed IPv6 check bug in black/whitelist + Optimized UI for TCP Proxy +
- Loading branch information
Showing
27 changed files
with
1,424 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package main | ||
|
||
import ( | ||
"log" | ||
"net/http" | ||
|
||
"imuslab.com/zoraxy/mod/dynamicproxy" | ||
) | ||
|
||
/* | ||
acme.go | ||
This script handle special routing required for acme auto cert renew functions | ||
*/ | ||
|
||
func acmeRegisterSpecialRoutingRule() { | ||
err := dynamicProxyRouter.AddRoutingRules(&dynamicproxy.RoutingRule{ | ||
ID: "acme-autorenew", | ||
MatchRule: func(r *http.Request) bool { | ||
if r.RequestURI == "/.well-known/" { | ||
return true | ||
} | ||
|
||
return false | ||
}, | ||
RoutingHandler: func(w http.ResponseWriter, r *http.Request) { | ||
w.Write([]byte("HELLO WORLD, THIS IS ACME REQUEST HANDLER")) | ||
}, | ||
Enabled: true, | ||
}) | ||
|
||
if err != nil { | ||
log.Println("[Err] " + err.Error()) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package expose | ||
|
||
/* | ||
Service Expose Proxy | ||
A tunnel for getting your local server online in one line | ||
(No, this is not ngrok) | ||
*/ | ||
|
||
type Router struct { | ||
} | ||
|
||
//Create a new service expose router | ||
func NewServiceExposeRouter() { | ||
|
||
} |
Oops, something went wrong.