Re: ldaps support for table-ldap

2024-01-23 Thread Omar Polo
On 2024/01/23 01:24:57 +0100, Philipp wrote: > Hi > > I have had a bit of time and implemented ldaps support for table-ldap. > It is currently untested and has some todos. But I would say it's > complete enough to share. So other can comment on the code. A patch > is attached I don't use ldap an

opensmtpd-extra: simplify getaddrinfo() usage

2024-01-23 Thread Omar Polo
spotted while reading Philipp' ldaps diff. it's really ugly to reach into the struct sockaddrs when using getaddrinfo()... however, I don't use ldap so this could use at least some testing :) (would also be interesting to provide some more logging if socket/connect fails somehow, and also aldap_

Re: ldaps support for table-ldap

2024-01-23 Thread Omar Polo
On 2024/01/23 11:26:59 +0100, Omar Polo wrote: > On 2024/01/23 01:24:57 +0100, Philipp wrote: > > Hi > > > > I have had a bit of time and implemented ldaps support for table-ldap. > > It is currently untested and has some todos. But I would say it's > > complete enough to share. So other can com

Re: opensmtpd-extra: simplify getaddrinfo() usage

2024-01-23 Thread Philipp
[2024-01-23 11:39] Omar Polo > spotted while reading Philipp' ldaps diff. it's really ugly to reach > into the struct sockaddrs when using getaddrinfo()... Nice this makes the libtls integration simpler. Also some comments inline. > however, I don't use ldap so this could use at least some test

Re: opensmtpd-extra: simplify getaddrinfo() usage

2024-01-23 Thread Omar Polo
On 2024/01/23 19:49:34 +0100, Philipp wrote: > [2024-01-23 11:39] Omar Polo > > spotted while reading Philipp' ldaps diff. it's really ugly to reach > > into the struct sockaddrs when using getaddrinfo()... > > Nice this makes the libtls integration simpler. Also some comments inline. > > > ho

Re: need help with honeypot

2024-01-23 Thread kasak
чт, 2 нояб. 2023 г. в 09:51, kasak : > > пн, 23 окт. 2023 г. в 09:11, kasak : > > > > пт, 20 окт. 2023 г. в 19:52, Юрий Иванов : > > > > > > Sorry for off top... > > > ...but thanks for your OpenBSD PF book Peter :-) > > > > > > От: kasak > > > Отправлено: 20 октяб

Re: opensmtpd-extra: simplify getaddrinfo() usage

2024-01-23 Thread Philipp
[2024-01-24 00:09] Omar Polo > On 2024/01/23 19:49:34 +0100, Philipp wrote: > > [2024-01-23 11:39] Omar Polo > > > spotted while reading Philipp' ldaps diff. it's really ugly to reach > > > into the struct sockaddrs when using getaddrinfo()... > > > > Nice this makes the libtls integration sim