sctplab / sctp_nke_highsierra Goto Github PK
View Code? Open in Web Editor NEWA version of the SCTP NKE running on Mac OS X 10.13 (High Sierra)
A version of the SCTP NKE running on Mac OS X 10.13 (High Sierra)
after installing SCTP_NKE on MacOS 10.13 I was trying to import <netinet/sctp.h> and after hours of trying to understand why it wouldn't compile I finally figured out that Xcode pulls its libraries from a different location then the systems. if you go into Xcode by right-clicking and showing contents or by going to "/Applications/Xcode.app/Contents/Developer/usr" you can see the files it uses to compile. after adding socket.h to xcode's "/usr/include/sys/" and sctp.h to xcode's "/usr/include/netinet/" and sctp_uio.h to xcode's "/usr/include/netinet/" and libsctp.dylib to xcodes "/usr/lib/" then going into xcode and adding the library to the linked library it was able to compile my project using <netinet/sctp.h> hopes this helps anyone having the same issue as i have had
Is it possible to update the NKE for the newest versions of macos (Ventura, Sonoma)?
Or maybe help with some instructions on how to build them myself?
Hello,
after updating my OS to Mojave I was wondering if a SCTP_NKE Version for Mojave is currently planned. If not, are there any information what would need to be changed in the HighSierra Version to make it work with Mojave? I am everything else than an expert in Xcode or OS X kernel extensions but if the changes are restricted to changing some version flags I'm sure that I could make it work myself.
Best
Pascal
Hi,
it seems the SCTP_NKE_HighSierra_02.dmg (https://github.com/sctplab/SCTP_NKE_HighSierra/releases/download/v01/SCTP_NKE_HighSierra_02.dmg) is not available anymore for download. Trying to download will result in a 404 not found.
Another question on this: Would this sctp stack also work fpr MacOS 10.15.* Catalina?
Thanks in advance!
Hey there,
I tried building the repository using Xcode and received the following error:
No member named 'socket' in 'struct xsctp_inb'
The error is provoked by lines 519-521 in sctp_sysctl.c:
#if !(defined(FreeBSD) && (__FreeBSD_version < 1001517))
xinpcb.socket = (uintptr_t)inp->sctp_socket;
#endif
Since I'm building Mac OS and not on FreeBSD I guess it is correct that this code snippet gets 'included' by the precompiler right?
Best and thanks in advance,
Pascal
Hey there,
recently I debugged my application that uses the SCTP_NKE library. Resuming the application after halt at a breakpoint, the system crashed. After it rebooted, I read the error report and especially the error message:
assertion failed: (sb->sb_flags & SB_LOCK) || (so->so_state & SS_DEFUNCT) || (so->so_flags1 & SOF1_DEFUNCTINPROG), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.71.3/bsd/kern/uipc_socket2.c
Now because of the assertion is related to sockets and since the process that uses the SCTP library provoked the crash (darias_xtask), I thought that this has maybe something to do with the SCTP library. I also tried provoking the system crash by redoing the debugging steps - but without luck. So my guess is that it either has nothing to do with the SCTP library after all or the error only occurs in very specific scenarios. Nevertheless, I thought I'd share this with you (and especially the full error report) so that you can have a look at it if you want to.
Feel free to close this issue if - with the information provided - it is not clear that the problem arises from the SCTP library. If I find a way to repeatedly provoke the system crash I'll let you now.
Best,
Pascal
crash-report-sctp.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.