You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we need to implement charybdis' listen::defer_accept. this will allow the kernel to discard synflood traffic without clogging the ircd or tcp stack resources up.
on Linux, this is a matter of using socket.setsockopt() on the listener, with the socket.TCP_DEFER_ACCEPT constant and the socket.SOL_TCP layer constant.
on FreeBSD, I need to still investigate how to get access to accept filters from Python.
The text was updated successfully, but these errors were encountered:
Python's socket module documentation states that the TCP_* constants should all be the same, On FreeBSD, I would think it's just socket.TCP_FILTERACCEPT. Not sure on the layer constant, maybe socket.IPPROTO_TCP?
we need to implement charybdis'
listen::defer_accept
. this will allow the kernel to discard synflood traffic without clogging the ircd or tcp stack resources up.on Linux, this is a matter of using
socket.setsockopt()
on the listener, with thesocket.TCP_DEFER_ACCEPT
constant and thesocket.SOL_TCP
layer constant.on FreeBSD, I need to still investigate how to get access to accept filters from Python.
The text was updated successfully, but these errors were encountered: