From: "Tomasz Próchniak" <develop@tstd.pl>
To: netfilter-devel@lists.netfilter.org
Subject: libnetfilter_conntrack and port of router
Date: Mon, 9 Jan 2006 12:30:55 +0100 [thread overview]
Message-ID: <200601091230.55167.develop@tstd.pl> (raw)
Hi
First sorry about my English.
I have a important (to me) question.
I have 2.6.14-5 kernel and libnetfilter_conntrack-0.0.28/ and
libnfnetlink-0.0.13/
i do not know how to get info about nat (port and ip, witch it will be seen in
net)
example:
10.0.0.10:8888 ---------->10.0.0.1||88.88.88.88:3333--------->1111:22.22.22.22
my comp after nat my router comp in net
im intrasted about 88.88.88.88 and port 3333
i have struct
struct nfct_conntrack {
struct nfct_tuple tuple[NFCT_DIR_MAX];
u_int32_t timeout;
u_int32_t mark;
u_int32_t status;
u_int32_t use;
u_int32_t id;
union nfct_protoinfo protoinfo;
struct nfct_counters counters[NFCT_DIR_MAX];
struct nfct_nat nat; //does this info should be in this struct??
};
but this struct
struct nfct_nat {
u_int32_t min_ip, max_ip;
union nfct_l4 l4min, l4max;
};
if filled with 0 :(
pleas help me
thanks Kornik
--
Mylić się jest rzeczą ludzką,
ale żeby naprawdę coś spaprać
potrzeba komputera.
Edward Morgan Forster
next reply other threads:[~2006-01-09 11:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-09 11:30 Tomasz Próchniak [this message]
2006-01-21 14:39 ` libnetfilter_conntrack and port of router Harald Welte
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=200601091230.55167.develop@tstd.pl \
--to=develop@tstd.pl \
--cc=netfilter-devel@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 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.