v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

'attr' does not work with HTTP sniffed of Socks inbound

Open r3a1d3a1 opened this issue 1 year ago • 1 comments

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.

r3a1d3a1 avatar Nov 22 '23 14:11 r3a1d3a1

I was wondering if I could create an HTTP proxy server using Golang myself, decrypt TLS, and provide more advanced configurations

dunea avatar Jan 01 '24 20:01 dunea

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

github-actions[bot] avatar May 01 '24 01:05 github-actions[bot]