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

SIP: Unexpected UDP error: connection reset by peer #3317

Open
Andy-2639 opened this issue Jun 28, 2020 · 3 comments
Open

SIP: Unexpected UDP error: connection reset by peer #3317

Andy-2639 opened this issue Jun 28, 2020 · 3 comments

Comments

@Andy-2639
Copy link

Environment

Errors from error.log/crash.log

ejabberd.log
error.log
crash.log

Bug description

Crashes in SIP module are logged, see attached log files.

@badlop
Copy link
Member

badlop commented Aug 19, 2020

I know almost nothing about SIP, but looking to your ejabberd.log file, it seems a client tries to connect, and ejabberd rejects with response 403 Forbidden. This is repeated several times, and eventually gets econnreset (Connection reset by peer)

@Andy-2639
Copy link
Author

Andy-2639 commented Aug 20, 2020

A rogue client causing the connection reset is very possible. The server permanently gets SIP requests looking like brute force like attacks:
image
None of the requests are from clients authorized to use my server. Yes, the server is behind NAT (1:1 port forwarding for 5060). At the time of the PCAP, 91.45.130.22 was the public IPv4 address of the server.

I would expect Ejabberd SIP to handle the econnreset gracefully but not to crash.

@licaon-kter
Copy link
Contributor

Seeing constant connections too on SIP, >1000, not sure what's the point but no crashes nor any significant load.

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

No branches or pull requests

3 participants