[Proftpd-user] Ubuntu 24.04 mod_tls.o seg fault?
Roberto Brunelli <[email protected]> Tue, 21 May 2024 16:49:25 +0200
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <CAAV4h4xGA-4JvojrkPj98Pye9Uc9gMkQGo34htS0EXjkD1wyRA@mail.gmail.com> |
I am trying to configure proftpd for using ftps under Ubuntu 24.04 running in a virtual machine (VirtualBox, in a NAT Network). 1. I have generated the certificates with certbot and successfully used them to provide https with apache 2. I have installed proftpd and it works in the standard ftp mode. 3. I have then modified the standard proftpd.conf file by uncommenting Include /etc/proftpd/tls.conf 4. I have modified modules.conf uncommenting LoadModule mod_tls.c 5. I have the following tls.conf file: <IfModule mod_tls.c> > TLSEngine on TLSLog /var/log/proftpd/tls.log TLSProtocol SSLv23 TLSOptions NoCertRequest TLSRSACertificateFile /etc/letsencrypt/live/ > osservatorio.energia.provincia.tn.it/fullchain.pem TLSRSACertificateKeyFile /etc/letsencrypt/live/ > osservatorio.energia.provincia.tn.it/privkey.pem TLSVerifyClient off #TLSRequired on </IfModule> and when I use lftp to connect with the following options: oetools@oeweb:/etc/proftpd$ lftp > lftp :~> open --user xxxx --port 21 ftps:// > osservatorio.energia.provincia.tn.it > Password: > lftp [email protected]:~> ls > ls: Fatal error: gnutls_handshake: The TLS connection was non-properly > terminated. > and I get the following output in proftpd.log (tls.log remains empty): 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it[...]): > -----BEGIN STACK TRACE----- 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [0] /usr/lib/proftpd/mod_tls.so(+0x26962) [0x7fb5037e6962] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [1] /usr/lib/proftpd/mod_tls.so(+0x26962) [0x7fb5037e6962] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [2] /usr/lib/proftpd/mod_tls.so(+0x29fae) [0x7fb5037e9fae] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [3] proftpd: (accepting > connections)(modules_session_init+0x64) [0x5ed9abc83244] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [4] proftpd: (accepting connections)(+0x2981e) [0x5ed9abc5d81e] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [5] proftpd: (accepting connections)(+0x2a239) [0x5ed9abc5e239] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [6] proftpd: (accepting connections)(main+0x648) > [0x5ed9abc54098] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [7] /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7fb50382a1ca] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) > [0x7fb50382a28b] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): [9] proftpd: (accepting connections)(_start+0x25) > [0x5ed9abc546b5] 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): -----END STACK TRACE----- 2024-05-21 16:38:57,806 oeweb proftpd[13837] > osservatorio.energia.provincia.tn.it (osservatorio.energia.provincia.tn.it > [ ... ]): ProFTPD terminating (signal 11) Any help is greatly appreciated! Roberto -- _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html