Skip to contentSkip to conversation

NAT connection

DISCUSSION Giuseppe Macrì 2 participants 2 messages Apr 12, 2010 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,
I woud like to communicate some information between ip_nat module and the user space, not regardin the packet queue but the established connections in the nat. Is it possible to use copy_to_user function? In that case do you know which is the syscall related to ip_nat module in order to retrieve information from user space? Or is a different way to retrieve information about nat connection?
Thanks

Giuseppe

#1 lore raw
Quoted 3 lines · Giuseppe Macrì

Hi,
I woud like to communicate some information between ip_nat module and the user space, not regardin the packet queue but the established connections in the nat. Is it possible to use copy_to_user function? In that case do you know which is the syscall related to ip_nat module in order to retrieve information from user space? Or is a different way to retrieve information about nat connection?

man 8 conntrack
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html