Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filtergw: add plugin allow to allow/block gateways (even smartgateway) #97

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

PolynomialDivision
Copy link
Collaborator

The plugin adds a possibility to filter out gateway HNAs. This can be
very handy e.g. for faulty nodes. A gateway can be taken out directly on
a central node and all traffic is then redirected. Also the underlying
smart gateways are adapted. Currently the link multiplier is often used
to control a faulty node, but it is not necessarily the best way to do
so.

The plugin also allows to determine the smart gateway on the local node.
This way you can easily select another gateway node to direct traffic,
or block a specific one.

Here are some sample configurations:

Only allow Gateway HNA from '10.230.132.40':
config LoadPlugin
option library 'olsrd_filtergw'
list originator '10.230.132.40'
option allowlist '1'

Block Gateway HNA from '10.230.132.40':
config LoadPlugin
option library 'olsrd_filtergw'
list originator '10.230.132.40'
option allowlist '0'

The plugin is based on the work of sven-ola, pmelange and booo.

The plugin adds a possibility to filter out gateway HNAs. This can be
very handy e.g. for faulty nodes. A gateway can be taken out directly on
a central node and all traffic is then redirected. Also the underlying
smart gateways are adapted. Currently the link multiplier is often used
to control a faulty node, but it is not necessarily the best way to do
so.

The plugin also allows to determine the smart gateway on the local node.
This way you can easily select another gateway node to direct traffic,
or block a specific one.

Here are some sample configurations:

Only allow Gateway HNA from '10.230.132.40':
config LoadPlugin
        option library 'olsrd_filtergw'
        list originator '10.230.132.40'
        option allowlist '1'

Block Gateway HNA from '10.230.132.40':
config LoadPlugin
        option library 'olsrd_filtergw'
        list originator '10.230.132.40'
        option allowlist '0'

The plugin is based on the work of sven-ola, pmelange and booo.

Signed-off-by: Nick Hainke <vincent@systemli.org>
@PolynomialDivision PolynomialDivision merged commit 4973feb into master Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant