Commit graph

282 commits

Author SHA1 Message Date
HAMANO Tsukasa
71f8894a9c 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-09 17:08:46 +00:00
Quanah Gibson-Mount
fa5cf1252f Happy New Year! 2024-03-26 19:45:35 +00:00
Ondřej Kuzník
88d0404d7b ITS#10142 Link tiers in on cn=config startup 2024-01-16 19:17:56 +00:00
Ondřej Kuzník
7a6475215a ITS#10074 Fix type mismatches in lloadd 2023-10-23 19:18:23 +00:00
Ondřej Kuzník
7f1bfb0eca ITS#10083 Do not mess with a connection that's dying already 2023-10-09 20:28:33 +00:00
Ondřej Kuzník
d06bfb1fa9 ITS#10070 Allow running without a valid resolv.conf file 2023-10-09 20:24:09 +00:00
Ondřej Kuzník
ebe9a03d0b ITS#9983 Also fix c_refcnt sequencing 2023-01-19 17:48:02 +00:00
Ondřej Kuzník
d8b3043a31 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 17:47:57 +00:00
Ondřej Kuzník
12398ce053 ITS#9984 Keep listener base around even if not active 2023-01-19 17:46:43 +00:00
Дилян Палаузов
bc89906253 typo unsuccesSful, presense/presence, accessSlog 2023-01-19 17:44:08 +00:00
Ondřej Kuzník
1b1ce176c5 ITS#9951 Postpone releasing a connection reference while in cn=monitor 2022-12-05 16:26:48 +00:00
Ondřej Kuzník
397d9227a5 ITS#9947 Fix race in epoch.c and simplify 2022-12-05 16:25:26 +00:00
Ondřej Kuzník
b050331544 ITS#9907 Move TLS context cleanup into lload_global_destroy 2022-10-13 15:45:21 +00:00
Ondřej Kuzník
4d44064730 ITS#9926 Drop unneeded symlinks from source 2022-10-06 16:43:19 +00:00
Ondřej Kuzník
f2b8608c1a ITS#9907 Some tools consider abandoned global data a leak 2022-09-26 16:30:47 +00:00
Ondřej Kuzník
cb8df5f8ac ITS#9913 Protect code in clients_destroy and tier_destroy 2022-09-12 20:46:33 +00:00
Ondřej Kuzník
a35b935ab8 ITS#9907 Do not redefine variables inherited from slapd 2022-09-12 20:45:15 +00:00
Ondřej Kuzník
63afbc1d06 ITS#9907 Plug shutdown related leaks in lloadd 2022-09-12 20:42:44 +00:00
Ondřej Kuzník
ce5d5641e1 ITS#9907 Do not redefine variables inherited from slapd 2022-09-12 20:42:37 +00:00
Ondřej Kuzník
fcfa94f89f ITS#9906 Do not leak cn=monitor related allocs in lloadd 2022-09-12 20:42:20 +00:00
Howard Chu
0020cdbdf8 ITS#9894 don't use gmake-specific features 2022-08-24 15:52:17 +00:00
Ondřej Kuzník
de7ef519f6 ITS#9799 Drop a bind connection if there's a timeout 2022-06-07 15:58:05 +00:00
Ondřej Kuzník
347e2492da ITS#9856 Tag responseName correctly 2022-06-07 15:57:25 +00:00
Quanah Gibson-Mount
582722e926 Happy New Year! 2022-01-07 18:41:20 +00:00
Howard Chu
389f3d9d25 ITS#9745 more for prev commit 2021-11-17 16:33:43 +00:00
Howard Chu
3035d5e3fd ITS#9745 add config keyword for logfile format 2021-11-16 20:37:55 +00:00
Howard Chu
56c9bb4248 ITS#9715 consolidate logging functionality into logging.c 2021-10-18 20:22:28 +00:00
Ondřej Kuzník
fb1a7d38c5 ITS#9715 Deduplicate verbmasks implementation from slapd/lloadd 2021-10-18 20:22:22 +00:00
Ondřej Kuzník
b096aed4d4 ITS#9600 Protect connection while interacting with it 2021-10-06 23:03:28 +00:00
Ondřej Kuzník
84e901a9d6 ITS#9600 Do not hold locks while calling into back-monitor 2021-10-06 23:03:24 +00:00
Ondřej Kuzník
112038fde3 ITS#9599 Switch to xorshift for random numbers 2021-10-05 04:05:05 +00:00
Ondřej Kuzník
466e032199 ITS#6949 Port rest of the features to lloadd 2021-10-05 01:42:52 +00:00
Ondřej Kuzník
15ac53a770 ITS#6949 Remove dead code from lloadd 2021-10-05 01:42:48 +00:00
Ondřej Kuzník
eedd08fd0b ITS#6949 Extract logging code so lloadd can also use it 2021-09-08 18:30:16 +00:00
Ondřej Kuzník
9a5c9ed0ab ITS#9650 Move ldap_pvt_thread_initialize into main.c 2021-09-06 15:21:38 +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
Ondřej Kuzník
e9dfb7d21d ITS#9600 Rework monitor entry management
Connection entries are now persistent and can be addressed, preparing
the ground so we can process modify operations on individual entries.
2021-08-13 10:57:14 +01:00
Ondřej Kuzník
6d95cc3935 ITS#9599 Online latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
8219a3a414 ITS#9599 Push based latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
84dab3f961 ITS#9599 Add bestof tier implementation 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
1ca559668f ITS#9599 Add latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
ab90bfd95c ITS#9599 Implement tiered load balancing 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
ddc9430727 ITS#9598 Per OID restrictions 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
0190f18b4c ITS#9598 Introduce backend-restricted selection 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
7173e4726e ITS#9598 Factor out upstream checking 2021-08-13 10:57:13 +01:00
Ondřej Kuzník
b66a62799d ITS#9597 Send Notice of Disconnection when shutting down a client connection 2021-08-13 10:57:13 +01:00
Ondřej Kuzník
96d0eec034 ITS#8747 Use the same message when upstream connection is ready 2021-08-13 10:57:13 +01:00
Ondřej Kuzník
8b24104d1a ITS#9624 Read state while holding relevant mutex, cache if needed 2021-08-04 15:30:36 +00:00
Ondřej Kuzník
71de64fac4 ITS#9624 Make sure we reset only for Binds 2021-08-04 15:30:36 +00:00