zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Redhat8: SCTP: type= 5 errno= <0x5e> Socket type not supported

not type socket supported Errno
2023-09-14 09:13:12 时间

参考

https://access.redhat.com/solutions/3665951
https://blog.csdn.net/qq_36428903/article/details/109886650

错误

0x5e: 94 ESOCKTNOSUPPORT Socket type not supported

enum sock_type {
SOCK_STREAM = 1,
SOCK_DGRAM = 2,
SOCK_RAW = 3,
SOCK_RDM = 4,
SOCK_SEQPACKET = 5, 创建SCTP socket
SOCK_DCCP = 6,
SOCK_PACKET = 10,
};

原因

为了防止潜在的攻击,为了安全。Redhat添加了这么一个配置,阻止程序隐式的加载sctp程序。但是不能阻止modprobe加载sctp。
1642795 - Blacklist SC