From 064ac4dbb4972ff1078be9d7b6c3dbd5a0a2f8f3 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 | 9 ++++++++- nest/cli.h | 4 +++- sysdep/unix/config.Y | 20 ++++++++++++++------ sysdep/unix/main.c | 4 ++-- 6 files changed, 32 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 14cdc9c9..3df17039 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