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

Server Received INIT But give no reponse #58

Open
bigstar119 opened this issue Jun 7, 2024 · 2 comments
Open

Server Received INIT But give no reponse #58

bigstar119 opened this issue Jun 7, 2024 · 2 comments

Comments

@bigstar119
Copy link

on my server when client send the package in sctp_init_error.pcap.zip, server give no response. in normal mode server shoud give init_ack response. but it is not ,why?

sctp_init_error.pcap.zip

lksctp version:
lksctp-tools-1.0.17-2.el7.x86_64

sctp_darn -H 10.61.56.136 -P 8014 -l
netstat -an|grep sctp
sctp 10.61.56.136:8014 LISTEN

the network is ok too !!

how can i open the debug log of lksctp-tools and found the problem of it

@lxin
Copy link
Contributor

lxin commented Jun 17, 2024

I don't think there's a debug log that can help with this, as all the handshake of SCTP happens in the kernel.
The INIT packet might be dropped in SCTP rcv path in the kernel, it's likely because of the SCTP checksum.

Please try disabling the SCTP checksum on the server by:

modprobe sctp no_checksums=1

before starting any SCTP programs.

Thanks.

@bigstar119
Copy link
Author

@lxin thanks for your advice , i use the pcap4j regenerate the sctp checksum and check it. i Got the same result as you say. the hardward firewall change the checksum in the Network transmission process. when the firewall change the policy everything going fine.
this is not a bug so you can close the issue, thanks!

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