v2ray-core
v2ray-core copied to clipboard
'attr' does not work with HTTP sniffed of Socks inbound
Currently, 'attrs' (e.g. "attrs[':path'].find('keyword')!=-1",
) only works with HTTP inbound.
It'd be great if it was supported with Socks mode as well.
I tried to get around the issue by firing up a second v2ray instance to have an inbound Socks and an outbound HTTP and then use 'attrs' routing on the other instance with an inbound HTTP, but for unknown reasons, it did not work. (Sniffing was enabled.)
P.S. I'm well aware that it does not work with TLS-wrapped HTTP.
I was wondering if I could create an HTTP proxy server using Golang myself, decrypt TLS, and provide more advanced configurations
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days