Seq in route message should be unique per action, or per route add/delete command #2034

Closed
opened 2025-11-20 06:11:34 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @hurricanehrndz on GitHub (Jun 30, 2025).

07d1ad35fc/client/internal/routemanager/systemops/systemops_unix.go (L111)

This should not be static, as per man 4 route,

int rtm_seq; /* for sender to identify action */

this should be unique for each action, please see libp2p-route
https://github.com/libp2p/go-netroute/blob/master/netroute_bsd.go#L151

Originally created by @hurricanehrndz on GitHub (Jun 30, 2025). https://github.com/netbirdio/netbird/blob/07d1ad35fc91729c43383950fc82365a6f057c76/client/internal/routemanager/systemops/systemops_unix.go#L111 This should not be static, as per man 4 route, int rtm_seq; /* for sender to identify action */ this should be unique for each action, please see libp2p-route https://github.com/libp2p/go-netroute/blob/master/netroute_bsd.go#L151
saavagebueno added the clientroutesnetworking labels 2025-11-20 06:11:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2034