Added simple hard-coded whitelist
authorSebastian Kürten <sebastian.kuerten@fu-berlin.de>
Thu, 12 Mar 2015 23:02:36 +0000 (00:02 +0100)
committerSebastian Kürten <sebastian.kuerten@fu-berlin.de>
Thu, 12 Mar 2015 23:02:36 +0000 (00:02 +0100)
commit31d4804b088fd30261fe3189ab00136a95d62a1f
tree6643ac78813b395920b11f689bd7d4aaf3b8e233
parentc4a3f1af988a6cb5621cad0720cd2a6ae713603b
Added simple hard-coded whitelist

We have a list of valid IP addresses which are whitelistet, currently
none of the others will be selected as gateway.

Each whitelistet IP has an associated factor that improves the natural
cost so that we can favor individual addresses over others.
src/gateway_default_handler.c
src/whitelist.h [new file with mode: 0644]