Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Detect link connections meant for another router #3309

@plorenz

Description

@plorenz

A router can, through misconfiguration, have an advertise address that points a different router. This can result in a router trying to establish a link to the wrong router, or multiple links to the same router, thinking that it's dialing two different routers.

To address this:

  1. Add the id of the router being dialed to the dial request
  2. If this value is provided to the listening router, it can verify that the id matches its own id
  3. If the ids don't match, reject the connection and log an error.

This will ensure that we don't end up with flip-flopping links due to duplicate link rejection.

Longer term we could also generate an alert.

Metadata

Metadata

Assignees

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