Skip to content

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

Merged
PolynomialDivision merged 1 commit intoberlin-open-wireless-lab:masterfrom
imwhocodes:imwhocodes-multicast-patch
Jan 10, 2023
Merged

network: IP_MULTICAST_LOOP should be set to false/0#205
PolynomialDivision merged 1 commit intoberlin-open-wireless-lab:masterfrom
imwhocodes:imwhocodes-multicast-patch

Conversation

@imwhocodes
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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