netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ivan <lagigliaivan@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: L2 NAT
Date: Wed, 3 Dec 2008 15:22:27 -0200	[thread overview]
Message-ID: <f4d9d6df0812030922y34efdaddu16c808ee637beb4b@mail.gmail.com> (raw)

Hi,

After having a lot of help of Grant Taylor in order to analyze if I
was able to achieve my idea using the available iptables features, and
getting as result the fact that I had to develop my own kernel module.
I'm writing to this list because my question is related to the linux
kernel programing.

I would like to pass parameters to the kernel module in run time from
user space. These parameters could be IP address and MAC. Somebody
know how I can do this??

I was thinking about passing this parameters thorough a sysctl syscall
or using /proc filesystem, but I beleave that this is not the correct
way.

Also I was taking a look to iptables source code and analyzing the
source code of iptables and libiptc lib, but I could not find any clue
how to these ones change the kernel parameters.

Could you pleas help me???

thanks!

             reply	other threads:[~2008-12-03 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 17:22 ivan [this message]
2008-12-04  1:01 ` L2 NAT James King
2008-12-04 13:34   ` ivan
2008-12-04 14:38     ` John Haxby
2008-12-04 15:43       ` ivan

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=f4d9d6df0812030922y34efdaddu16c808ee637beb4b@mail.gmail.com \
    --to=lagigliaivan@gmail.com \
    --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).