Skip to contentSkip to conversation

LibIPQ, Reading the real destination Address in outgoin pkts

DISCUSSION Lore 1 participant 1 message Sep 30, 2005

lore
Share & tools
lore

Lore

author
#0 lore raw

Hi everybody.

I'm having problems trying to read the iphdr->daddr from a Packet read from the Queue.
Expecting to find the real destination of the packet I find my own IP address.

The chain I used is
iptables -t filter -A OUTPUT -j QUEUE
I tryied to use the nat table too but the result is the same.

Is there any way to avoid header change from iptables (if it's iptables'fault) or any way to solve the problem.

Thanks in advance.
bye

___________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo
http://it.messenger.yahoo.com