CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/06/24 00:01:13

Modified files:
        usr.sbin/bgpd  : bgpd.h bgpd_imsg.c control.c session.h 

Log message:
Implement imsg_send_ctl_peer() and imsg_recv_ctl_peer and struct ctl_peer
to export peer data to bgpctl.

IMSG_CTL_SHOW_NEIGHBOR exported struct peer with a lot of internal data
which leaks important information and works against our priv-sep model.
The new struct ctl_peer only includes data that is needed by bgpctl.

Triggered by a report from 7ASecurity
OK tb@

Reply via email to