[hipl-dev] HIPL whitelisting

  • From: "Christian Röller (Student RWTH)" <christian.roeller@xxxxxxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Mon, 20 Jun 2011 21:08:08 +0200

Hi, folks!

i am currently trying to improve the whitelisting functionality in HIPL
a little bit.

Improvement means here to make the whitelisting more sensible for all
kind of interfaces. Right now it is only posible to whitelist physical
interfaces with all alias-interfaces, which belong to this. So you have
no chance to whitelist just a single alias-interface or maybe only the
physical interface.

My problem is, that at the moment the interfaces will be recognized by
an index, which is provided by netlink. The problem with this index is,
that it is equal for the physical interface and its alias-interfaces.

So my question is:
Has anybody an idea, which other unique indicator(except the index) i
can use to distinguish between all inerfaces, so that i can whitelist
the interfaces in a more conrete way.

Example:
Machine with the following interfaces:
eth0
eth0:0
eth1
eth1:0
eth1:1

At the moment a
-hipl -i eth0 -i eth1
would effect that all interfaces are whitelisted, also the alias-interfaces.
What i want is, that only the interfaces eth0 and eth1 are whitelisted
or maybe a
-hipl -i eth1:1
should only whitelist this single alias-interface.


Thanks for you help
Christian

Other related posts: