From: "Terry Moës" <T.Moes@student.ulg.ac.be>
To: netfilter-devel@vger.kernel.org
Subject: Defining and parsing SNAT and DNAT options
Date: Fri, 15 Apr 2011 17:34:05 +0200 [thread overview]
Message-ID: <4DA8656D.90309@student.ulg.ac.be> (raw)
Hi,
I'm trying to identify (to understand) where are located the definition
and parsing code of the options for SNAT and DNAT target.
Actually, I'm trying to understand how the data given in args finishes
in NLA structures, correctly formatted. Args given to iptables are of
form IP-IP:Port-Port, but I can't find where this arg is parsed.
I've been trying to find where the arg 'to-source' is defined, without
success (and this arg has to defined somewhere, because if it is
misspelled, iptables refuses the command).
Can somebody give me a little help ?
Thanks a lot,
Terry
--
Terry Moës (20061420)
Université de Liège - Faculté des Sciences Appliquées
2ème année Master Ingénieur Civil en Informatique - Délégué
Représentant Etudiant - Conseil de Faculté
FFSA Administrateur - http://www.ffsa.be
T.Moes@student.ulg.ac.be
--
N-HiTec - Nova High Technology Engineering and Consulting
Responsable des Infrastructures - Vice-Président
Web : http://www.nhitec.com
Tél : 04/366.20.01
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2011-04-15 15:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4DA8656D.90309@student.ulg.ac.be \
--to=t.moes@student.ulg.ac.be \
--cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).