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

SSL error triggered when max_children is hit #917

Open
grke opened this issue Jul 10, 2023 · 1 comment
Open

SSL error triggered when max_children is hit #917

grke opened this issue Jul 10, 2023 · 1 comment

Comments

@grke
Copy link
Owner

grke commented Jul 10, 2023

From the mailing list:

I have recently upgraded some servers to Debian Bookworm which comes with
OpenSSL 3 (3.0.9). Debian's Burp package contains Burp 3.1.4.

It seems that when the Burp master rejects a connection due to
max_children being hit, this triggers an error on the client side
(Bookworm, Burp 3.1.4).
I was able to reproduce this by setting max_children=1 and starting "burp
-a l" on three servers at once:

emirates:~# burp -a l
2023-07-10 10:56:53 +0200: burp[6941] Connecting to titan.example.com:4971
2023-07-10 10:56:53 +0200: burp[6941] SSL connect error: 1
8090FA8B9D7F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof
while reading:../ssl/record/rec_layer_s3.c:303:

Clients that haven't been updated don't throw the "unexpected eof" line.

The unexpected EOF failure was introduced in OpenSSL 3 to prevent
truncation attacks:
https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_options.html#SSL_OP_IGNORE_UNEXPECTED_EOF

Root cause could be this: "Some TLS implementations do not send the
mandatory close_notify alert on shutdown."

@vt-alt
Copy link
Contributor

vt-alt commented Sep 5, 2023

On ALT Linux after compiling burp with openssl3 we started to get similar error: 80BB4FD6657F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:303:.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants