NetFilter
[Top] [All Lists]

need advice - research project

To: netfilter list <netfilter@lists.netfilter.org>
Subject: need advice - research project
From: Rodrigo Lazo <rlazo.paz@gmail.com>
Date: Sun, 19 Nov 2006 21:39:36 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:from:date:message-id:user-agent:mime-version:content-type; b=fVgoyxvreOTgkAj9zGDf6ChTMWifcY9A6xsfxgBMmjnpt6xPha2qBrK8B02O92C/tiUNYnykO3Gw+2Khhxcx5aiOcFjtN1S1kGtnlik6mqSSDbzjNXekHei5zrHbgebn5usSMELBUVDZydHx0z2tKuisHikghLTAgDu+d+fAChA=
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)
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)


<Prev in Thread] Current Thread [Next in Thread>
  • need advice - research project, Rodrigo Lazo <=