All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Lazo <rlazo.paz@gmail.com>
To: netfilter list <netfilter@lists.netfilter.org>
Subject: need advice - research project
Date: Sun, 19 Nov 2006 21:39:36 -0500	[thread overview]
Message-ID: <8664daaljr.fsf@mash.doux> (raw)

hi everyone,

I need some advice. I'm doing a research project about load balancing
and I want to build an application to test some algorithms. 

Right now all I need to do is:
- pick up all packages arriving to a specific port
- modify their destination MAC address
- send them to their new destination.

I'm trying to build something like this
(http://www.linuxvirtualserver.org/VS-DRouting.html). In this
configuration, all the machines have the same ip address but is set as
an alias to a non-arp interface except for the load-balancer. So when
a packet arrives you only need to modify its MAC to redirect it.

How could I build this app? I was thinking about using libipq and
NF_QUEUE to build it on userspace so I can modify it more easily, but
I'm not sure if this is how it should be done (or even if it is
posible to do it this way). 

Any sugestion will be greatly appreciated

Best regards

-- 

Rodrigo Lazo (rlazo)


                 reply	other threads:[~2006-11-20  2:39 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=8664daaljr.fsf@mash.doux \
    --to=rlazo.paz@gmail.com \
    --cc=netfilter@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.