-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
Posture Check #1803
Comments
Hello! Could you send me more details about your system?
|
Hello @GascPT, could you confirm whether the peer is part of the source group(s) specified in the access control policy? Also, please check if the peer contains the local network |
Yes the peer is part of the of the source group. When the peer goes to another place with another network range different of 10.10.0.0. The posture is not re-checked we need to kick the peer from the group and add him again. |
The posture could have already been re-checked but failed since the peer still contain the Site A network in it's network interfaces. Please share the result of |
When is connect in Site A
When is connected in other place via WiFi
I wait a couple of minutes but the peer doesn't acquire the route, neither the connection to the peer in
|
Thanks, this could potentially be a bug, but I will try to reproduce the issue. Can you confirm whether, when connecting to the other network, you did not stop the netbird and run it up again, or did you only change the network? |
We did the two situations. |
This should be fixed with: #1693 |
Waiting for the release :) to try. |
The issue persists in the version 0.27.4. |
Sorry didn't see that. |
@bcmmbaga I have some easy to reproduce steps (done on self-hosted 0.34.0):
Source peer logs show
Destination peer logs show nothing regarding source peer.
and its status shows it doesn't know about Source peer:
|
I'm guessing fixing this would require either:
In both cases, management needs to track peer-postureCheck status somehow. What do you think? |
@mohamed-essam are you running a self-hosted version of the management service? |
@mlsmaycon Yes, running on 0.34.0, made a small fresh install for testing some issues. |
ok, we included a fix for the posture checks in the 0.34 version of the management server, have you tested that in the upgraded version? |
Yes, just double checked now on management 0.34.0 with the exact scenario above
Destination Peer Status:
Source Peer Status:
|
Thanks for confirming that. We will have a look at it. |
@mlsmaycon Hello I found the issue: here's some logs from the management service with some added manual logs (based on current
|
I tested management image built from the code in #2991 and the scenario is resolved. |
soon we will have a new container with your fix @mohamed-essam https://github.com/netbirdio/netbird/releases/tag/v0.34.1 |
Describe the problem
I have a setup with multiple Sites, in each site I have a peer act as a gateway to advertise the routes of the Sites.
I have set a posture check to not advertise the routes when a mobile peer is located locally on the Site.
The posture checks the IP Range.
When this endpoint goes home and reconnects to the netbird he does not acquire the routes to Site A.
To correct this we need to exclude and include the peer from the distribution group in the netbird admin panel.
Expected behavior
We expected a recheck of the posture check
Are you using NetBird Cloud?
No, is a self-hosted deployment
NetBird version
In all versions, we test from v0.26.3 to v0.27.1
The text was updated successfully, but these errors were encountered: