need advice - research project

Rodrigo Lazo rlazo.paz at
Mon Nov 20 03:39:36 CET 2006

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

More information about the netfilter mailing list