Skip to content

Commit ea1b3e2

Browse files
committed
Version 0.1.1
1 parent 79e4b3c commit ea1b3e2

6 files changed

Lines changed: 40 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,10 @@ jobs:
175175
176176
- name: Build RPM
177177
run: |
178+
VERSION=$(grep -oP 'project\(open-bastion VERSION \K[0-9.]+' CMakeLists.txt)
178179
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
179-
tar czf ~/rpmbuild/SOURCES/open-bastion-0.1.0.tar.gz \
180-
--transform 's,^,open-bastion-0.1.0/,' \
180+
tar czf ~/rpmbuild/SOURCES/open-bastion-${VERSION}.tar.gz \
181+
--transform "s,^,open-bastion-${VERSION}/," \
181182
--exclude='.git' .
182183
rpmbuild -ba rpm/open-bastion.spec
183184

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.1] - 2026-02-07
9+
10+
### Added
11+
12+
- **Supplementary groups synchronization** (#95): LLNG can now manage Unix supplementary
13+
groups on target servers via the `managed_groups` configuration
14+
- **Local whitelist for managed groups** (`allowed_managed_groups`): Defense-in-depth
15+
option to restrict which groups LLNG can modify on each server
16+
- **CrowdSec IP/CIDR whitelist** (#96): New `crowdsec_whitelist` option to bypass
17+
CrowdSec checks for trusted IPs/networks (VPN exit nodes, corporate NAT)
18+
- Supports IPv4, IPv6, and CIDR notation
19+
- Prevents self-inflicted DoS on shared IPs
20+
21+
### Fixed
22+
23+
- **TOCTOU race condition in cache_key.c** (#97): Use `open()` with
24+
`O_CREAT|O_EXCL|O_NOFOLLOW` instead of `fopen()` to prevent symlink attacks
25+
- Check `fclose()` return value to detect flush errors before rename
26+
827
## [0.1.0] - 2025-02-07
928

1029
Initial release.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10)
2-
project(open-bastion VERSION 0.1.0 LANGUAGES C)
2+
project(open-bastion VERSION 0.1.1 LANGUAGES C)
33

44
set(CMAKE_C_STANDARD 11)
55
set(CMAKE_C_STANDARD_REQUIRED ON)

debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
open-bastion (0.1.1) unstable; urgency=medium
2+
3+
* Supplementary groups synchronization via managed_groups configuration
4+
* Local whitelist for managed groups (allowed_managed_groups)
5+
* CrowdSec IP/CIDR whitelist to bypass checks for trusted IPs/networks
6+
* Fixed TOCTOU race condition in cache_key.c
7+
8+
-- Xavier Guimard <xguimard@linagora.com> Sat, 07 Feb 2026 22:51:15 +0100
9+
110
open-bastion (0.1.0) unstable; urgency=medium
211

312
* Initial release

rpm/open-bastion.spec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: open-bastion
2-
Version: 0.1.0
2+
Version: 0.1.1
33
Release: 1%{?dist}
44
Summary: Open Bastion PAM/NSS module for SSH bastion authentication
55

@@ -87,6 +87,12 @@ token-based and key-based authorization with server groups.
8787
%systemd_postun_with_restart ob-heartbeat.timer
8888

8989
%changelog
90+
* Sat Feb 07 2026 Xavier Guimard <xguimard@linagora.com> - 0.1.1-1
91+
- Supplementary groups synchronization via managed_groups
92+
- Local whitelist for managed groups (allowed_managed_groups)
93+
- CrowdSec IP/CIDR whitelist for trusted IPs/networks
94+
- Fixed TOCTOU race condition in cache_key.c
95+
9096
* Sat Dec 14 2025 Xavier Guimard <xguimard@linagora.com> - 0.1.0-1
9197
- Initial RPM package
9298
- Renamed project from pam-llng to open-bastion

src/crowdsec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "crowdsec.h"
2424

2525
/* Module version for scenario_version field */
26-
#define CROWDSEC_MODULE_VERSION "0.1.0"
26+
#define CROWDSEC_MODULE_VERSION "0.1.1"
2727

2828
/* Maximum response size to prevent DoS */
2929
#define MAX_RESPONSE_SIZE (256 * 1024)

0 commit comments

Comments
 (0)