How to close connction in syn_table?
Hi, I would like to close connection in SYN_RECV state.
In order to do this, I look at syn_table, then call tcp_synq_drop but system craches...
Does anyone know why?
damiano
This is probably not the correct forum for questions on how to code against the Linux TCP/IP stack internals. This forum is about the netfilter framework that runs in parallell to the TCP/IP stack, in almost all aspects disconnected from the TCP/IP stack.
For questions relating details to the actual TCP/IP implementaion of Linux the linux-net or lkml mailinglists is most likely a much safer bet.
What I can tell is that you are most likely not supposed to be calling into the TCP/IP stack from netfilter hooks unless you know exacly how to go about it (if at all possible).
Regards
Henrik
Quoted 6 lines · Bolzoni Damiano
Hi, I would like to close connection in
SYN_RECVstate.
In order to do this, I look atsyn_table, then calltcp_synq_dropbut system craches...
Does anyone know why?damiano