redsocks icon indicating copy to clipboard operation
redsocks copied to clipboard

invalid client request received: no host header received - For type=https-connect method

Open Thanraj opened this issue 2 years ago • 1 comments

We are testing type=https-connect redsocks2 configuration with HTTPS Burp proxy server.

When we search URL in browser, Burp Error is displayed.

Burp Suite Community Edition

\r\n

Error: Invalid client request received First line of request did not contain an absolute URL - try enabling invisible proxy support

image003

Then, we tried by enabling invisible proxy support in Brup proxy server and Search URL in Browser,

image004

TCP connection and TLS handshake is successfully done with HTTPS burp proxy server.

image005

Browser page is displayed as below for URL search: [http://www.google.com]

image006

Please help us on error - invalid client request received: no host header received.

Is there any update is required in redsocks2 source because TLS handshake is happening with HTTPS proxy server certificate.

Thanraj avatar Aug 24 '22 10:08 Thanraj

could you share me the pcap files for your tests? pcap file containing whole session would help me on understanding the problem.

Thanraj @.***> 于 2022年8月24日周三 18:15写道:

We are testing type=https-connect redsocks2 configuration with HTTPS Burp proxy server.

When we search URL in browser, Burp Error is displayed. Burp Suite Community Edition \r\n Error: Invalid client request received First line of request did not contain an absolute URL - try enabling invisible proxy support

[image: image003] https://user-images.githubusercontent.com/32950001/186391970-e246d41f-2bcb-4f77-852e-5015d1c76211.png

we tried by enabling invisible proxy support in Brup proxy server and Search URL in Browser,

[image: image004] https://user-images.githubusercontent.com/32950001/186392208-8834e66e-fbdb-4878-8a75-d45878460b4d.png

TCP connection and TLS handshake is successfully done with HTTPS burp proxy server.

[image: image005] https://user-images.githubusercontent.com/32950001/186392472-96692f3e-f1de-4947-9743-ab2db69dc64c.png

Browser page is displayed as below for URL search: [http://www.google.com]

[image: image006] https://user-images.githubusercontent.com/32950001/186392666-cb562385-1344-4104-8cac-8700a3ec637c.png

Please help us on error - invalid client request received: no host header received.

Is there any update is required in redsocks2 source because TLS handshake is happening with proxy server certificate.

— Reply to this email directly, view it on GitHub https://github.com/semigodking/redsocks/issues/178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2XD7NRS76GZO57IYQFUDV2XY37ANCNFSM57OW4XEQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

semigodking avatar Oct 11 '22 07:10 semigodking