keepalived
keepalived copied to clipboard
Keepalived
**Describe the issue** A static analysis tool highlighted possible dereferences at following functions: /keepalived/vrrp/vrrp.c, open_sockpool_socket: 1) sock->mcast_daddr is used at 2800 after being checked at 2793; 2) sock->ifp is used...
**Describe the issue** A static analysis tool flagged usage of fp pointer at /lib/rttables.c:621 as a potential issue, since popen may return NULL on failed memory allocation. **To Reproduce** Is...
**Describe the issue** config_save_dir var is used in save_config func, where it is written into buf[128] array. Other strings that get written along with it only allow filepath to be...
When keepalived starts without any VRRP/LVS/BFD blocks, it does not spawn any child processes. In this case, systemd never receives a READY=1 notification, and the service eventually times out during...
Sometimes processes read an unfinished JSON dump. To avoid dealing with exclusive locks and filesystem support we write the dump to a temporary file and rename it afterwards. This makes...
**Describe the bug** While the json dump is written other processes can already read it. There is no locking so sometimes other programs get an empty or incomplete json file....
[file1.txt](https://github.com/user-attachments/files/21007628/file1.txt) **Describe the bug** When I wanna give my file to keepalived I got address sanitizer error. **To Reproduce** You should build the project like: export AR=llvm-ar export RANLIB=llvm-ranlib export...
The current IPVS implementation allows duplicate virtual server (VS) configurations. While IPVS ensures only the first VS takes effect, the presence of redundant VS entries in the keepalived state can...
**Summary** Add support for configuring individual VRRP instances to operate in different network namespaces within a single keepalived process. **Problem** Currently, keepalived can only operate within a single network namespace,...