Skip to contentSkip to conversation

How to use the Intercept.c example in iptables?

DISCUSSION yong 1 participant 1 message Jun 6, 2003 netfilter

lore
Share & tools
lore

yong

author
#0 lore raw

Hello All,

I want to use the libipq, I encountered an error message with the Intercepts.c example:

#./a.out LOCAL_IN DROP 5 5

Get the error message:

Intercept: connection refused
Intercept: failed to send netlink message: illegal seek

The ipq_create_handle function returnes the above error message. How to use this example?

Thanks in advance!