Skip to contentSkip to conversation

How to close connction in syn_table?

DISCUSSION Bolzoni Damiano 2 participants 2 messages Jun 17, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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_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