From 08ff0af8986099e6fb1d8a94c7ce62c83e4df7f1 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 24 Jun 2024 13:46:12 +0200 Subject: [PATCH] Additional CLI sockets may now be restricted This allows to have one main socket for the heavy operations very restricted just for the appropriate users, whereas the looking glass socket may be more open. Implemented an idea originally submitted and requested by Akamai. --- conf/confbase.Y | 1 - doc/bird.sgml | 5 +++++ nest/cli.c | 6 +++++- nest/cli.h | 3 ++- sysdep/unix/config.Y | 20 ++++++++++++++------ sysdep/unix/main.c | 4 ++-- 6 files changed, 28 insertions(+), 11 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 4bf70ccf..cdbdf1ce 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -100,7 +100,6 @@ CF_DECLS mpls_label_stack *mls; const struct adata *bs; struct aggr_item_node *ai; - struct cli_config *cli; } %token END CLI_MARKER INVALID_TOKEN ELSECOL DDOT diff --git a/doc/bird.sgml b/doc/bird.sgml index 5acdf7c1..e2050c13 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1253,6 +1253,11 @@ socket multiple times and BIRD may behave weirdly if this happens. On shutdown, the additional sockets get removed immediately and only the main socket stays until the very end. +

The remote control socket can be also set as restricted by +Usage