From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Pete Kay <petedao@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: newbie question on netfilter-conntrack
Date: Mon, 21 Jun 2010 11:50:52 +0200 [thread overview]
Message-ID: <4C1F35FC.6080801@netfilter.org> (raw)
In-Reply-To: <AANLkTim-u04UoPqvo6fHkjPqVvCtHgYLJFy_Xk6Ekrpe@mail.gmail.com>
Pete Kay wrote:
> Hi,
>
> Sorry for posting multiple times. This should be my last one.
>
> I modified the conntrack_create_nat.c to redirect udp traffic coming
> from a specific IP:port to another IP, but the program gives error,
> the result of ret is (-1). Does anyone know what's wrong?
# ./a.out
TEST: create conntrack (OK)
decadence:/tmp# conntrack -L -p udp
udp 17 92 src=192.168.1.12 dst=192.168.1.102 sport=5060 dport=5060
packets=0 bytes=0 [UNREPLIED] src=192.168.1.102 dst=192.168.1.13
sport=5060 dport=5060 packets=0 bytes=0 mark=0 secmark=0 use=2
conntrack v0.9.14 (conntrack-tools): 1 flow entries have been shown.
It works fine here with 2.6.34 and libnetfilter_conntrack 0.0.101
prev parent reply other threads:[~2010-06-21 9:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-20 11:41 newbie question on netfilter-conntrack Pete Kay
2010-06-20 11:56 ` Andrew Beverley
2010-06-20 12:15 ` Jan Engelhardt
2010-06-21 2:53 ` Pete Kay
2010-06-21 7:49 ` Pete Kay
2010-06-21 9:20 ` Pete Kay
2010-06-21 9:50 ` Pablo Neira Ayuso [this message]
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=4C1F35FC.6080801@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter@vger.kernel.org \
--cc=petedao@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.