(text: str)
| 337 | |
| 338 | |
| 339 | def _looks_like_fake_ip_tls(text: str) -> bool: |
| 340 | return ( |
| 341 | "ssleoferror" in text |
| 342 | or "unexpected_eof_while_reading" in text |
| 343 | or "ssl_error_syscall" in text |
| 344 | or ("eof occurred" in text and "ssl" in text) |
| 345 | or ("198.18." in text and "ssl" in text) |
| 346 | ) |
| 347 | |
| 348 | |
| 349 | def _looks_like_timeout(text: str) -> bool: |