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

mkbgp: Optionally set unreachable peers as passive #40

Merged
merged 4 commits into from
Dec 21, 2015

Conversation

jplitza
Copy link
Contributor

@jplitza jplitza commented Dec 20, 2015

By passing -P , the script now checks if the BGP peer is reachable by opening a TCP connection to the BGP port. If it isn't, it is added to the config nonetheless but only as passive peer, meaning that incoming connections from this peer will be accepted but no attempts to establish a connection is made.

NOTE: Only bird supports the passive peer feature, so only bird is supported by this new option. While supplying -P together with "-f quagga" isn't an error and will still do the checking, it doesn't change the resulting config in any way.

By passing -P <timeout>, the script now checks if the BGP peer is
reachable by opening a TCP connection to the BGP port. If it isn't, it
is added to the config nonetheless but only as passive peer, meaning
that incoming connections from this peer will be accepted but no
attempts to establish a connection is made.

NOTE: Only bird supports the passive peer feature, so only bird is
supported by this new option. While supplying -P together with
"-f quagga" isn't an error and will still do the checking, it doesn't
change the resulting config in any way.
@Ranlvor
Copy link
Member

Ranlvor commented Dec 21, 2015

ACK

@jplitza
Copy link
Contributor Author

jplitza commented Dec 21, 2015

Just noticed that the readme needed an update because of the changed help message.

So… I haven't followed this repo closely lately, but how many ACKs does a PR need? 😃

@Ranlvor
Copy link
Member

Ranlvor commented Dec 21, 2015

I don't know. I can't remember getting more than 2

jplitza added a commit that referenced this pull request Dec 21, 2015
mkbgp: Optionally set unreachable peers as passive
@jplitza jplitza merged commit 90402e8 into master Dec 21, 2015
@jplitza jplitza deleted the feature-passive-offline branch December 21, 2015 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants