Comments (1)
The following script reproduces the problem on FreeBSD:
// Setup a connected, blocking 1-to-1 style socket
+0.0 socket(..., SOCK_STREAM, IPPROTO_SCTP) = 3
// Check the handshake with en empty(!) cookie
+0.0 bind(3, ..., ...) = 0
+0.0 listen(3, 1) = 0
+0.0 < sctp: INIT[flgs=0, tag=1, a_rwnd=1500, os=1, is=1, tsn=1]
+0.0 > sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=..., os=..., is=..., tsn=1, ...]
+0.0 < sctp: COOKIE_ECHO[flgs=0, len=..., val=...]
+0.0 > sctp: COOKIE_ACK[flgs=0]
+0.0 accept(3, ..., ...) = 4
+0.0 close(3) = 0
// Inject an INIT chunk and expect an INIT-ACK
+0.0 < sctp: INIT[flgs=0, tag=1, a_rwnd=1500, os=1, is=1, tsn=1]
+0.0 > sctp: INIT_ACK[flgs=0, tag=..., a_rwnd=..., os=..., is=..., tsn=..., ...]
from sctp_nke_yosemite.
Related Issues (18)
- ERROR chunks sent without padding HOT 1
- Insufficient verification tag check for packets containing a COOKIE_ECHO chunk HOT 1
- Handling of SHUTDOWN_ACK chunks when the verification tag does not match HOT 1
- Kernel module not loading in El Capitan HOT 2
- No ABORT is sent on reception of DATA-Chunk with invalid length
- No ABORT is sent on reception of INIT-ACK-Chunk with no state cookie
- ABORT-Chunk with invalid cause-length are accepted
- SHUTDOWN-ACK-Chunk with invalid length is not silently discarded HOT 1
- SHUTDOWN-COMPLETE-Chunk with invalid length is not silently discarded HOT 1
- KPI issue. Kext not loading due to unresolved symbols KXLD freaking out HOT 2
- No ABORT is sent on reception of a DATA chunk which is too short
- No ABORT is sent on reception of a DATA chunk followed by control length of length less than 16
- SCTP packet containing an INIT chunk followed by a DATA chunk is responded with an ABORT HOT 1
- SHUTDOWN GUARD timer handled incorrectly HOT 1
- SHUTDOWN-ACK chunk sent multiple times
- SHUTDOWN is accepted even if incoming user data is missing
- Inconsistent error handling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sctp_nke_yosemite.