Skip to content

[wg] various userspace wireguard improvements#24

Merged
dpeckett merged 1 commit intomainfrom
dpeckett/tunnel-node-gc
Jan 29, 2025
Merged

[wg] various userspace wireguard improvements#24
dpeckett merged 1 commit intomainfrom
dpeckett/tunnel-node-gc

Conversation

@dpeckett
Copy link
Copy Markdown
Contributor

@dpeckett dpeckett commented Jan 28, 2025

  • Fixed persistent keepalive race condition: Received invalid response message from ip:port
  • Add the ability to collect packet captures (for debugging)
  • Add the first garbage collection features (last synced status field)
  • Fix wireguard tunnel integration test.

fix keepalive race condition, add the ability to collect packet captures (for debugging), and add the first garbage collection features (last synced status field)
return err
}

// Periodically update the status of the TunnelNode object (heartbeat).
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is decoupled from the actual sync task to avoid thundering herd style issues when a quick burst of updates come in.

return nil, nil, fmt.Errorf("could not create pcap file: %w", err)
}

nicEP, err = sniffer.NewWithWriter(linkEP, pcapFile, uint32(*mtu))
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.

nice!

@dpeckett dpeckett merged commit 7bc3117 into main Jan 29, 2025
@dpeckett dpeckett deleted the dpeckett/tunnel-node-gc branch January 29, 2025 09:25
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