#
1.21 |
|
26-Jun-2023 |
claudio |
Improve the conn_err() bufferevent error callback. To better report errors. OK kn@
|
#
1.20 |
|
30-Apr-2023 |
jsg |
avoid use after free ok jmatthew@
|
Revision tags: OPENBSD_7_3_BASE
|
#
1.19 |
|
03-Feb-2023 |
tb |
Add void to conn_close_any()
This makes the function definition match the prototype and silences a clang-15 warning.
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.18 |
|
24-Oct-2019 |
tb |
The ber_* namespace is used by liblber since time immemorial, so move our BER API to the unused ober_* prefix to avoid some breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen.
tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.17 |
|
31-Jul-2018 |
claudio |
branches: 1.17.6; Make ber type and encoding a unsigned int instead of unsigned long. This way the size is the same on all archs and 32bit should be good enough. OK rob@
|
#
1.16 |
|
15-May-2018 |
reyk |
Fix format string errors in log messages and update ldapd to use relayd's log.c
OK benno@ jmatthew@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
#
1.20 |
|
30-Apr-2023 |
jsg |
avoid use after free ok jmatthew@
|
Revision tags: OPENBSD_7_3_BASE
|
#
1.19 |
|
03-Feb-2023 |
tb |
Add void to conn_close_any()
This makes the function definition match the prototype and silences a clang-15 warning.
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.18 |
|
24-Oct-2019 |
tb |
The ber_* namespace is used by liblber since time immemorial, so move our BER API to the unused ober_* prefix to avoid some breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen.
tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.17 |
|
31-Jul-2018 |
claudio |
branches: 1.17.6; Make ber type and encoding a unsigned int instead of unsigned long. This way the size is the same on all archs and 32bit should be good enough. OK rob@
|
#
1.16 |
|
15-May-2018 |
reyk |
Fix format string errors in log messages and update ldapd to use relayd's log.c
OK benno@ jmatthew@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
#
1.19 |
|
03-Feb-2023 |
tb |
Add void to conn_close_any()
This makes the function definition match the prototype and silences a clang-15 warning.
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.18 |
|
24-Oct-2019 |
tb |
The ber_* namespace is used by liblber since time immemorial, so move our BER API to the unused ober_* prefix to avoid some breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen.
tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.17 |
|
31-Jul-2018 |
claudio |
branches: 1.17.6; Make ber type and encoding a unsigned int instead of unsigned long. This way the size is the same on all archs and 32bit should be good enough. OK rob@
|
#
1.16 |
|
15-May-2018 |
reyk |
Fix format string errors in log messages and update ldapd to use relayd's log.c
OK benno@ jmatthew@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
#
1.18 |
|
24-Oct-2019 |
tb |
The ber_* namespace is used by liblber since time immemorial, so move our BER API to the unused ober_* prefix to avoid some breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen.
tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.17 |
|
31-Jul-2018 |
claudio |
Make ber type and encoding a unsigned int instead of unsigned long. This way the size is the same on all archs and 32bit should be good enough. OK rob@
|
#
1.16 |
|
15-May-2018 |
reyk |
Fix format string errors in log messages and update ldapd to use relayd's log.c
OK benno@ jmatthew@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
#
1.17 |
|
31-Jul-2018 |
claudio |
Make ber type and encoding a unsigned int instead of unsigned long. This way the size is the same on all archs and 32bit should be good enough. OK rob@
|
#
1.16 |
|
15-May-2018 |
reyk |
Fix format string errors in log messages and update ldapd to use relayd's log.c
OK benno@ jmatthew@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
#
1.16 |
|
15-May-2018 |
reyk |
Fix format string errors in log messages and update ldapd to use relayd's log.c
OK benno@ jmatthew@
|
Revision tags: OPENBSD_6_3_BASE
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
#
1.15 |
|
08-Feb-2018 |
jca |
Kill ber.c support for direct fd read/writes
This mechanism is already unused and annotated with lots of XXX's, no need to keep it around. ok claudio@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
20-Jan-2017 |
benno |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.13 |
|
01-May-2016 |
jmatthew |
convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls code from syslogd.
ok beck@ benno@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.12 |
|
02-Nov-2015 |
jmatthew |
use SOCK_NONBLOCK instead of fcntl
ok dlg@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.11 |
|
02-Nov-2013 |
deraadt |
bunch of format string cleanups, removing %i, signed vs unsigned, and even a few long long's ok jmatthew
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.10 |
|
16-Jun-2012 |
jmatthew |
Protect against fd exhaustion when reopening database files. Only accept client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process.
ok gilles@
|
#
1.9 |
|
11-Apr-2012 |
deraadt |
rate limiting of accept() in various cases. Testing by jmatthew. there maybe still be a corner case where it needs one more file descriptor beyond the limit..
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.8 |
|
10-Nov-2010 |
martinh |
Make -dvv flags produce debug traces of decoded BER messages on stderr. Also shows a hexdump of the input buffer if BER decoding fails. Useful when debugging protocol issues.
|
#
1.7 |
|
05-Nov-2010 |
martinh |
When draining the input buffer of more than two complete requests, an additional incomplete request would be truncated. This fixes the number of bytes consumed from the input buffer.
|
#
1.6 |
|
19-Oct-2010 |
martinh |
Remember the bind DN after BSD authentication. This makes access control work for SASL and BSDAUTH binds as it does for simple binds.
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.5 |
|
01-Jul-2010 |
martinh |
Implement the LDAP compare operation.
|
#
1.4 |
|
29-Jun-2010 |
martinh |
Remember on what listener a connection got from, and return protocol error if trying to use starttls without a configured certificate, instead of just blocking the client.
|
#
1.3 |
|
27-Jun-2010 |
martinh |
return value unused, found by lint
|
#
1.2 |
|
31-May-2010 |
martinh |
Remove trailing whitespace and spaces before tabs.
ok gilles@
|
#
1.1 |
|
31-May-2010 |
martinh |
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
|