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

network: IP_MULTICAST_LOOP should be set to false/0 #205

Conversation

imwhocodes
Copy link
Contributor

If IP_MULTICAST_LOOP is left to true/1 the dawn instance will send the packet out and then receive it itself, this will generate a 'Remote PROBE updated client / BSSID = XX:XX:XX:XX:XX:XX / YY:YY:YY:YY:YY:YY' after every 'Local PROBE used to update client / BSSID = XX:XX:XX:XX:XX:XX / YY:YY:YY:YY:YY:YY'

If IP_MULTICAST_LOOP is left to true/1 the dawn instance will send the packet out and then receive it itself, this will generate a 'Remote PROBE updated client / BSSID = XX:XX:XX:XX:XX:XX / YY:YY:YY:YY:YY:YY' after every 'Local PROBE used to update client / BSSID = XX:XX:XX:XX:XX:XX / YY:YY:YY:YY:YY:YY'
@PolynomialDivision
Copy link
Collaborator

Yes. You are right. Can you prefix the commit message with network: ?

@imwhocodes imwhocodes changed the title IP_MULTICAST_LOOP should be set to false/0 network: IP_MULTICAST_LOOP should be set to false/0 Jan 10, 2023
@@ -45,7 +45,7 @@ int setup_multicast_socket(const char *_multicast_ip, unsigned short _multicast_
}

// allow broadcast
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this comment be adapted aswell to something like "don't receive our own packets"?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this. Indeed this comment should be removed. I will do it in another commit.

@PolynomialDivision PolynomialDivision merged commit a095a6f into berlin-open-wireless-lab:master Jan 10, 2023
@imwhocodes
Copy link
Contributor Author

@PolynomialDivision I wasn't fast enough hahah
I also wanted to update documentation to make it clear that this configuration exist, I created a new pull request: #207

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.

3 participants