firewall: return altered intercepted message

This allows us to rewrite a request.
This commit is contained in:
bitromortac 2024-06-21 09:37:52 +02:00
parent 962d6667a8
commit 916ddec0d7
No known key found for this signature in database
GPG key ID: 1965063FC13BEBE2

View file

@ -274,7 +274,7 @@ func (r *RuleEnforcer) handleRequest(ctx context.Context,
"rule violation: %s", errors.Join(errs...))
}
return nil, nil
return msg, nil
}
// handleResponse gathers the rules that will need to be enforced for the given