From: Lore <skizzo82@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: libipq: problems changing destination port
Date: Sat, 29 Oct 2005 14:59:53 +0200 (CEST) [thread overview]
Message-ID: <20051029125953.41594.qmail@web52810.mail.yahoo.com> (raw)
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
next reply other threads:[~2005-10-29 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-29 12:59 Lore [this message]
2005-10-29 21:54 ` libipq: problems changing destination port 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051029125953.41594.qmail@web52810.mail.yahoo.com \
--to=skizzo82@yahoo.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox