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

sample program echo_server response abort message #670

Closed
ohsewon opened this issue Dec 15, 2022 · 3 comments
Closed

sample program echo_server response abort message #670

ohsewon opened this issue Dec 15, 2022 · 3 comments

Comments

@ohsewon
Copy link

ohsewon commented Dec 15, 2022

my env
env

container base image is ubuntu 20.04 and my host PC also ubuntu 20.04

default sample program return abort message

I didn't edit any codes.

server

/usrsctp/programs# ./echo_server

client

/usrsctp/programs# ./client 192.168.1.64 7

tcp_dump result

10:20:20.166425 IP 192.168.1.128.56702 > 192.168.1.64.7: sctp (1) [INIT] [init tag: 3064408784] [rwnd: 131072] [OS: 10] [MIS: 2048] [init TSN: 1683704726] 

10:20:20.166584 IP 192.168.1.64.7 > 192.168.1.128.56702: sctp (1) [ABORT] 

10:20:20.166764 IP 192.168.1.64.7 > 192.168.1.128.56702: sctp (1) [INIT ACK] [init tag: 3962146628] [rwnd: 131072] [OS: 10] [MIS: 2048] [init TSN: 2044396862] 

10:20:20.166787 IP 192.168.1.128.56702 > 192.168.1.64.7: sctp (1) [ABORT] 

How to fix it??

server

/usrsctp/programs# ./echo_server 11111 22222

client

/usrsctp/programs# ./client 192.168.1.64 7 0 22222 11111

this is working.
what is diff??

And echo_server cant' connect with socat

# socat - sctp:192.168.1.64:7
./echo_server

3 questions

  1. how to connect client and echo_server without udp_encap
  2. diff with and without udp_encap
  3. how to connect echo_server with socat
@stewrtrs
Copy link
Member

stewrtrs commented Dec 15, 2022 via email

@ohsewon
Copy link
Author

ohsewon commented Dec 19, 2022

@stewrtrs
thx for reply.
then, when should I exclude sctp kernel module? when build or runtime or both??

@ohsewon
Copy link
Author

ohsewon commented Dec 20, 2022

both case worked well.

@ohsewon ohsewon closed this as completed Dec 20, 2022
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