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

Timeouts and mutex #29

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Timeouts and mutex #29

merged 1 commit into from
Nov 7, 2022

Conversation

defo89
Copy link
Member

@defo89 defo89 commented Nov 7, 2022

  • introduce random delay to avoid ARP DDoS towards single node
  • lock the mutex for dialing the interface and resolving the ip address with arp request
  • configurable arp request timeout
  • configurable mac cache for node, increase default to 5 min

@defo89 defo89 requested a review from SchwarzM November 7, 2022 10:11
Copy link
Contributor

@SchwarzM SchwarzM left a comment

Choose a reason for hiding this comment

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

lgtm

@defo89 defo89 force-pushed the timeouts branch 2 times, most recently from b38a4af to 35da6f6 Compare November 7, 2022 10:49
* introduce random delay to avoid ARP DDoS towards single node
* lock the mutex for dialing the interface and resolving the ip address with arp request
* configurable arp request timeout
* configurable mac cache for node, increase default to 5 min
@defo89 defo89 merged commit 6661704 into master Nov 7, 2022
@defo89 defo89 deleted the timeouts branch November 7, 2022 11:14
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.

2 participants