Commit graph

295 commits

Author SHA1 Message Date
Ondřej Kuzník
1770eab8b8 ITS#10451 Unregister event before we close socket
We don't need the event anymore so let's make everyone's life easier by
not letting the library see different events on different sockets doing
different things on the same fd number. epoll/kqueue don't like it and
this could be a libevent bug somewhere in handling that refusal.
2026-02-10 19:31:53 +00:00
Quanah Gibson-Mount
1136fabf06 ITS#10433 - Update copyright year 2026-01-28 17:43:12 +00:00
Ondřej Kuzník
03005f10b7 ITS#10415 Add sockbuf_max_pending_client 2026-01-06 16:10:47 +00:00
Ondřej Kuzník
cb6e2e555e ITS#9959 Nul-terminate addresses
Debug(LDAP_DEBUG_CONNS, ...) gets these passed as %s, reaching just
beyond the allocated buffer.
2025-12-18 23:27:24 +00:00
Ondřej Kuzník
dcbb48dec7 ITS#9959 Do not read c_auth without lock 2025-12-18 23:27:24 +00:00
Howard Chu
75ac8a4145 ITS#10387 lloadd: more for previous commit 2025-09-01 17:22:42 +01:00
Ondřej Kuzník
948400af2b ITS#10323 Apply olcBkLloadStartTLS runtime changes directly 2025-04-23 21:17:51 +00:00
Ondřej Kuzník
37edfeceaa ITS#10266 Linked clients should also be tagged for closing 2025-02-19 19:59:42 +00:00
Ondřej Kuzník
e101d0ecc1 ITS#10266 Adopt broader RFC4511 NoD interpretation, receiving side 2025-02-19 19:59:42 +00:00
Ondřej Kuzník
89e34fded3 ITS#10265 Allow runtime reconfig of olcBkLloadListen 2025-02-19 18:39:09 +00:00
HAMANO Tsukasa
c14e3329c0 ITS#10214 Reduce library dependencies
Currently, slapd links libsystemd to notify service state to systemd.
However, libsystemd link several unnecessary libraries, which increases security risks.
The systemd documentation provides a method to send state notifications to systemd using a simple protocol without the need to link against libsystemd.

https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html
2024-05-08 09:50:10 +09:00
Quanah Gibson-Mount
073232bbc7 Happy New Year! 2024-03-26 19:45:07 +00:00
Ondřej Kuzník
f141416f32 ITS#10142 Link tiers in on cn=config startup 2023-12-19 14:47:34 +00:00
Ondřej Kuzník
b13132f2ce ITS#9959 Expose connection endpoints in cn=monitor 2023-09-27 14:44:52 +00:00
Ondřej Kuzník
923483ccea ITS#9959 Track actual connection local/peername 2023-09-27 14:44:52 +00:00
Ondřej Kuzník
de89b06b03 ITS#10074 Fix type mismatches in lloadd 2023-08-23 01:21:15 +00:00
Ondřej Kuzník
5677a410e6 ITS#10083 Do not mess with a connection that's dying already 2023-07-20 16:21:54 +00:00
Ondřej Kuzník
208d68cdd9 ITS#10070 Allow running without a valid resolv.conf file 2023-07-19 14:53:20 +00:00
Ondřej Kuzník
e6e42642ca ITS#9983 Also fix c_refcnt sequencing 2023-01-19 03:17:59 +00:00
Ondřej Kuzník
0df9d9156a ITS#9983 Rework op->o_refcnt decref sequencing
epoch_append should be called at the point the object is not reachable
anymore, otherwise a thread from a "future" might still access it post
reclamation.
2023-01-19 03:17:59 +00:00
Ondřej Kuzník
bd3b6b679f ITS#9984 Keep listener base around even if not active 2023-01-18 12:57:02 +00:00
Дилян Палаузов
08e1e2c66c typo unsuccesSful, presense/presence, accessSlog 2023-01-09 17:46:36 +00:00
Ondřej Kuzník
512a99b054 ITS#9951 Postpone releasing a connection reference while in cn=monitor 2022-11-24 10:04:42 +00:00
Ondřej Kuzník
e45869dd7e ITS#9947 Fix race in epoch.c and simplify 2022-11-07 10:00:10 +00:00
Ondřej Kuzník
13d9c925dd ITS#9907 Move TLS context cleanup into lload_global_destroy 2022-10-12 17:36:12 +00:00
Ondřej Kuzník
d8f4b1a492 ITS#9926 Drop unneeded symlinks from source 2022-10-06 14:50:55 +01:00
Ondřej Kuzník
034225ff5c ITS#9907 Some tools consider abandoned global data a leak 2022-09-15 17:33:39 +01:00
Ondřej Kuzník
a033c1e74e ITS#9913 Protect code in clients_destroy and tier_destroy 2022-09-02 16:49:45 +01:00
Ondřej Kuzník
9014e8bb81 ITS#9907 Do not redefine variables inherited from slapd 2022-09-02 12:56:25 +01:00
Ondřej Kuzník
333d61d7eb ITS#9907 Plug shutdown related leaks in lloadd 2022-09-01 10:09:23 +01:00
Ondřej Kuzník
ad79add5a0 ITS#9907 Do not redefine variables inherited from slapd 2022-09-01 10:09:19 +01:00
Ondřej Kuzník
b457cdebc1 ITS#9906 Do not leak cn=monitor related allocs in lloadd 2022-09-01 10:09:15 +01:00
Howard Chu
aef1c05089 ITS#9894 don't use gmake-specific features 2022-08-15 20:53:03 +00:00
Ondřej Kuzník
598929a507 ITS#9856 Tag responseName correctly 2022-06-06 16:30:08 +00:00
Ondřej Kuzník
34ebfac7ef ITS#9799 Drop a bind connection if there's a timeout 2022-03-07 15:39:09 +00:00
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +00:00
Ondřej Kuzník
edf7ef4948 ITS#9642 Lloadd standalone doesn't use rq 2021-12-15 20:40:53 +00:00
Howard Chu
510c95af74 ITS#9745 more for prev commit 2021-11-16 23:37:54 +00:00
Howard Chu
a1799a6e5e ITS#9745 add config keyword for logfile format 2021-11-16 18:57:54 +00:00
Howard Chu
d76b8cbbef ITS#9715 consolidate logging functionality into logging.c 2021-10-18 17:49:47 +01:00
Ondřej Kuzník
90fc349654 ITS#9715 Deduplicate verbmasks implementation from slapd/lloadd 2021-10-18 17:49:38 +01:00
Ondřej Kuzník
ef60ec1df6 ITS#9600 Protect connection while interacting with it 2021-10-05 11:05:25 +01:00
Ondřej Kuzník
6cc6ec2f72 ITS#9600 Do not hold locks while calling into back-monitor 2021-10-05 11:05:25 +01:00
Ondřej Kuzník
8968d13163 ITS#9599 Switch to xorshift for random numbers 2021-10-05 01:11:30 +00:00
Ondřej Kuzník
3c07544b2a ITS#6949 Port rest of the features to lloadd 2021-10-04 14:46:26 +01:00
Ondřej Kuzník
8894f00fe4 ITS#6949 Remove dead code from lloadd 2021-10-04 14:46:26 +01:00
Ondřej Kuzník
2abbf6781d ITS#6949 Extract logging code so lloadd can also use it 2021-09-08 15:53:02 +00:00
Ondřej Kuzník
c34f2a1b29 ITS#9650 Move ldap_pvt_thread_initialize into main.c 2021-09-04 22:57:00 +00:00
Ondřej Kuzník
4588f4e528 ITS#9597 Fix NoD support 2021-08-13 16:01:13 +01:00
Ondřej Kuzník
e78ecead09 ITS#9600 Support closing connections on request 2021-08-13 10:57:14 +01:00