Skip to content

Change NDP spoofing router lifetime #1071

@konradh

Description

@konradh

When spoofing NDP router advertisements, the router lifetime is always 1800s (30min). When spoofing is stopped, the targets keep the route for the remaining time. Depending on the setup, the targets could loose connectivity until the route expires.

Since router advertisements get sent every second, a shorter lifetime is sufficient and allows the targets to recover more quickly. My suggestion is changing it to 10 seconds or something similar.

Alternatively, the router lifetime could be made configurable using an option ndp.spoof.router_lifetime. I already implemented such an option (konradh@ad36a8e) and would like to contribute it to this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions