Linux Netfilter discussions
 help / color / mirror / Atom feed
* libipq: problems changing destination port
@ 2005-10-29 12:59 Lore
  2005-10-29 21:54 ` Henrik Nordstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Lore @ 2005-10-29 12:59 UTC (permalink / raw)
  To: netfilter

Hi...
I'm trying to change the destination port of some
packets I receive through ipq.

I used the following chain:
  iptables -A OUTPUT -p "tcp" --dport 2022 -j QUEUE
and in the code I change the tcphdr->dest to 2021, do
a new checksum and verdict it with NF_ACCEPT.

The packet get's silently dropped and I don't know
why... 
I tried to change the data and everything worked but
when I tried to change the destination port nothing
went out of the box.

Can anyone help me?
thanks in advance
Lore


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-01 15:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 12:59 libipq: problems changing destination port Lore
2005-10-29 21:54 ` Henrik Nordstrom
2005-10-31 15:37   ` Lore
2005-10-31 16:35     ` Henrik Nordstrom
2005-10-31 19:27       ` Lore
2005-11-01  0:24         ` Henrik Nordstrom
2005-11-01 15:11           ` Martijn Lievaart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox