netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Defining and parsing SNAT and DNAT options
@ 2011-04-15 15:34 Terry Moës
  0 siblings, 0 replies; only message in thread
From: Terry Moës @ 2011-04-15 15:34 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-15 15:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 15:34 Defining and parsing SNAT and DNAT options Terry Moës

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).