Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] tls: bad record MAC #219

Open
panterlo opened this issue Nov 6, 2023 · 1 comment
Open

[BUG] tls: bad record MAC #219

panterlo opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
Status: On Hold Type: Bug Something isn't working

Comments

@panterlo
Copy link

panterlo commented Nov 6, 2023

Describe the bug

Some wierd things are happening when configuring an https proxy in the proxylist.

To Reproduce

Steps to reproduce the behavior:

> mubeng -f proxylist.txt -a localhost:8089

Proxylist contains one row:
https://"replace with ip":3129

This ip runs a Squid proxy with this configuration:
https_port 3129 cert=/etc/squid/certs/squid-ca-cert-key.pem

Expected behavior

Trying to run a curl against mubeng gives the following error:
curl --proxy "localhost:8089" https://api.myip.com

2023/11/06 14:42:19 [001] WARN: Cannot handshake client api.myip.com:443 local error: tls: bad record MAC

Running the same curl but pointing directly to the Squid proxy gives no errors:
curl --proxy-insecure --proxy "https://"replace with ip":3129" https://api.myip.com
{"ip":"","country":","":""}

Screenshots

image

Environment (please complete the following information):

  • OS: [e.g. mac, linux]: Mubeng on Windows, Squid on Arch Linux
  • OS version: [uname -a] Windows 11
  • mubeng Version: [mubeng -V] v0.14.1

Additional context
I am trying to get my head around how to configure secure https proxy servers that works with mubeng. E.g

Requesting client <--HTTP (or HTTPS--> Mubeng <-- HTTPS ONLY --> Squid(or any other proxy)

@dwisiswant0
Copy link
Member

Hi @panterlo,

Have you tried using a squid proxy on a different server with another IP? Also, do you face the same issue when your squid proxy server is set up with HTTP?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: On Hold Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants