Skip to content

Commit 1a5965a

Browse files
revert allow everything policy
1 parent 8df6a20 commit 1a5965a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/proxy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (p *Server) handleHTTPConnection(conn net.Conn) {
183183
// Check if request should be allowed
184184
result := p.ruleEngine.Evaluate(req.Method, req.Host)
185185

186-
result.Allowed = true
186+
//result.Allowed = true
187187

188188
// Audit the request
189189
p.auditor.AuditRequest(audit.Request{
@@ -236,7 +236,7 @@ func (p *Server) handleTLSConnection(conn net.Conn) {
236236
// Check if request should be allowed
237237
result := p.ruleEngine.Evaluate(req.Method, req.Host)
238238

239-
result.Allowed = true
239+
//result.Allowed = true
240240

241241
// Audit the request
242242
p.auditor.AuditRequest(audit.Request{

0 commit comments

Comments
 (0)