Module mod_ctrls manquant pour ProFTPd sur Debian Buster ?

2020-03-04 Thread G2PC
Le module mod_ctrls est manquant dans la version 1.3.6 de ProFTPd.
Ce module de peut s'obtenir que par compilation de ProFTPd.

Ce module est contenu dans les fichiers mod_ctrls.c et mod_ctrls.h pour
ProFTPD 1.2 et n'est pas compilé par défaut.
Il ne semble également pas compilé par défaut pour ma version actuelle
1.3.6 de ProFTPD installée sur Debian Buster 10.

Dans le module mod_ctrls il y a l'option controlsocket.
Cela pourrait correspond à un bogue que je rencontre :

sudo proftpd --configtest
Checking syntax of configuration file
*mod_ctrls/0.9.5: error: unable to bind to local socket: Address already
in use*
processing configuration directory '/etc/proftpd/conf.d/'
Syntax check complete.

Le problème pourrait avoir été résolu dans la nouvelle version de ProFTPd
Pourtant, il est dit plus haut que le module n'est pas compilé par défaut.

1- Est ce que oui ou non Debian me permet d'avoir ce module de compilé,
en utilisant le paquet proftpd-basic ?
2- Suis je obligé de passer par les sources officielles de proftpd pour
avoir une compilation complète ?
3- Est ce que le paquet proftpd-basic proposé dans la version de Debian
Buster pourrait être patché manuellement, pour ajouter la prise en
compte du module manquant ?
C'est peut être autrement plus complexe ?

*mod_ctrls est manquant*.
mod_ctrls_admin est présent ( faire une recherche sur cette page, vous
trouverez la correspondance ci-dessous.

Mon idée première serrait de savoir si il est possible de coller un
scotch mouillé dans le paquet .deb de debian pour obtenir ce module.
Si ce n'est pas possible, cela m'obligera à passer par les sources
officielles de ProFTPd ou d'attendre la mise à niveau de ProFTPd sur
Debian, et, que le module mod_ctrls soit compilé.

La commande proftpd -V m'indique que l'installation qui est effectuée
est la suivante :

sudo proftpd -V

Compile-time Settings:
  Version: 1.3.6 (stable)
  Platform: LINUX [Linux 4.19.0-6-amd64 x86_64]
  Built: Tue Feb 25 2020 21:23:14 UTC
  Built With:
    *configure  '--build=x86_64-linux-gnu'
'--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
'--infodir=${prefix}/share/info' '--sysconfdir=/etc'
'--localstatedir=/var' '--disable-silent-rules'
'--libdir=${prefix}/lib/x86_64-linux-gnu'
'--libexecdir=${prefix}/lib/x86_64-linux-gnu'
'--disable-maintainer-mode' '--disable-dependency-tracking'
'--prefix=/usr'
'--with-includes=/usr/include/postgresql:/usr/include/mariadb:/usr/include/mariadb/mysql'
'--mandir=/usr/share/man' '--sysconfdir=/etc/proftpd'
'--localstatedir=/run' '--libexecdir=/usr/lib/proftpd'
'--enable-sendfile' '--enable-facl' '--enable-dso' '--enable-autoshadow'
'--enable-ctrls' '--enable-ipv6' '--enable-nls' '--enable-memcache'
'--with-lastlog=/var/log/lastlog' '--enable-pcre' '--disable-strip'
'--enable-redis' '--build' 'x86_64-linux-gnu'
'--with-shared=mod_unique_id:mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_sql_sqlite:mod_sql_odbc:mod_dynmasq:mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_copy:mod_deflate:mod_ifversion:mod_geoip:mod_exec:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_sql_passwd:mod_ifsession:mod_auth_otp:mod_tls_redis:mod_wrap2_redis:mod_redis:mod_memcache:mod_tls_memcache:mod_readme:mod_snmp'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/proftpd-dfsg-h285Mw/proftpd-dfsg-1.3.6=.
-fstack-protector-strong -Wformat -Werror=format-security'
'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
'CXXFLAGS=-g -O2
-fdebug-prefix-map=/build/proftpd-dfsg-h285Mw/proftpd-dfsg-1.3.6=.
-fstack-protector-strong -Wformat -Werror=format-security'*

  CFLAGS: -g2 -g -O2
-fdebug-prefix-map=/build/proftpd-dfsg-h285Mw/proftpd-dfsg-1.3.6=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-fno-omit-frame-pointer -Werror=implicit-function-declaration
  LDFLAGS: -L$(top_srcdir)/lib -Wl,-z,relro -rdynamic 
-L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/x86_64-linux-gnu
  LIBS: -lacl  -lpcreposix -lpcre -lssl -lcrypto -lcap  -lpam -lsupp
-lattr -lnsl -lresolv -lresolv -lcrypt -ldl -lhiredis -lmemcachedutil
-lmemcached  -pthread

  Files:
    Configuration File:
  /etc/proftpd/proftpd.conf
    Pid File:
  /run/proftpd.pid
    Scoreboard File:
  /run/proftpd.scoreboard
    Header Directory:
  /usr/include/proftpd
    Shared Module Directory:
  /usr/lib/proftpd

  Info:
    + Max supported UID: 4294967295
    + Max supported GID: 4294967295

  Features:
    + Autoshadow support
    + Controls support
    + curses support
    - Developer support
    + DSO support
    + IPv6 support
    + Largefile support
    + Lastlog support
    + Memcache support
    + ncursesw support
    + NLS support
    + Redis support
    - Sodium support
    + OpenSSL support
    + PCRE support
    + POSIX ACL support
    + Shadow file support

Ayuda e proftpd en Debian 6

2013-01-07 Thread luis

Buenos días a todos

He instalado FTP proftpd perfectamente bien.

Necesito que me ayuden en 2 cosas que no se como hacer

1. Que los usuarios accedan el FTP sin que pida usuario y contraseña 
como en FTP en internet y de sólo lectura claro está.


2. Un usuario por ejemplo actualiza sólo tenga acceso de lectura y 
escritura para actualizar el FTP en un sola carpeta, es deci esa parte 
la C hacer.


3. Cuando accedo por el navegador al FTP y le doy subir un nivel veo 
las carpetas que no son del FTP como etc, var etc, como restrinjo esto 
para que sólo se muestre la carpeta del FTP nada más ??


Agradezco toda ayuda, y gracias a todos por el tiempo y la ayuda.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/6f07246132532286544437b15f1e3...@ida.cu



Re: Ayuda e proftpd en Debian 6

2013-01-07 Thread Ricardo Marcelo Alvarez


 Buenos días a todos
 
 He instalado FTP proftpd perfectamente bien.
 
 Necesito que me ayuden en 2 cosas que no se como hacer
 
 1. Que los usuarios accedan el FTP sin que pida usuario y contraseña 
 como en FTP en internet y de sólo lectura claro está.
 
 2. Un usuario por ejemplo actualiza sólo tenga acceso de lectura y 
 escritura para actualizar el FTP en un sola carpeta, es deci esa parte 
 la C hacer.
 
 3. Cuando accedo por el navegador al FTP y le doy subir un nivel veo 
 las carpetas que no son del FTP como etc, var etc, como restrinjo esto 
 para que sólo se muestre la carpeta del FTP nada más ??
 
 Agradezco toda ayuda, y gracias a todos por el tiempo y la ayuda.
 

Hola,

Con la directiva DefaultRoot

DefaultRoot DIRECTORIO_ROOT_DEL_FTP

Saludos.



 
 -- 
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/6f07246132532286544437b15f1e3...@ida.cu
 


-- 
http://gnutransfer.com


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130107094820.2dea25b3@california



Re: Ayuda e proftpd en Debian 6

2013-01-07 Thread Camaleón
El Mon, 07 Jan 2013 07:33:06 -0500, luis escribió:

 He instalado FTP proftpd perfectamente bien.
 
 Necesito que me ayuden en 2 cosas que no se como hacer

¿Dos o tres? ;-)

 1. Que los usuarios accedan el FTP sin que pida usuario y contraseña
 como en FTP en internet y de sólo lectura claro está.

http://www.proftpd.org/docs/faq/linked/faq-ch5.html#AEN508

 2. Un usuario por ejemplo actualiza sólo tenga acceso de lectura y
 escritura para actualizar el FTP en un sola carpeta, es deci esa parte
 la C hacer.

http://www.proftpd.org/docs/faq/linked/faq-ch5.html#AEN559

 3. Cuando accedo por el navegador al FTP y le doy subir un nivel veo las
 carpetas que no son del FTP como etc, var etc, como restrinjo esto para
 que sólo se muestre la carpeta del FTP nada más ??

http://www.proftpd.org/docs/faq/linked/faq-ch5.html#AEN524

Conviene leer la documentación (también disponible en tu disco en /usr/
share/doc/proftpd-doc/faq.html) antes de montar un servidor FTP, más aún 
si se trata de un servicio accesible a todo el mundo.

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kcephv$uc4$3...@ger.gmane.org



how to set the percent of space available for proftpd on debian linux

2012-10-16 Thread Thomas Kertsalhs
Hello,  i am working on debian 6 . I would like to set the maximum size 
available for file storage to be the whole disk size. I tried editing the 
proftpd.conf file to make some other changes as well, but i could not edit it , 
because it was read only . I am logged in as root . I was wondering if you 
could give me any ideas? I would appreciate any help. Thank you in advance, 
Best regards

Re: Proftpd and Debian

2008-05-12 Thread sadsjon
I managed to cobble something together.

I used the lenny unstable build for my source rules

I needed to add --enable-openssl to cure the build sanity over
OPENSSL_cleanse.

Then I did

debian/rules clean

Which failed miserably.

Then

debian/rules build

this passed fine.

make was fine.

make build however was trying to move over mod_wrap2 to the DSO
library but it had not compiled. So I fudged it with a build from the
generic Lenny unstable as I don't need these libraries anyway.

Thats now good for my production server (only kidding - its for in
house use)

Thanks for everones help here, at least I have something that I can
use.

jON


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-11 Thread sadsjon

   Alternatively pay somebody nice to package it for you ;)


I'm keen to get my hand dirty (ish) Steve, so I will give it a go.

Its the debian/rules info I was after I think.

cheers,

jON


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-11 Thread sadsjon

 Well Francesco doesn't advertise a VCS within the package so that's the
 only thing you can grab ATM. You maybe would like to join #proftpd on
 freenode and ask him yourself (User frankie) or write him a mail.

sorry Sven, I am not sure which of these is abbreviation for a
sentence or has another meaning. Can you just clarify what VCS and ATM
are, I can probably google and find freenode - something else I have
not heard of.

However, I have always tried to avoid contacting developers directly
as they must get bombarded and as a developer myself, I know what that
must be like.

jON


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-11 Thread Sven Hoexter
On Sun, May 11, 2008 at 02:12:22AM -0700, sadsjon wrote:
 
  Well Francesco doesn't advertise a VCS within the package so that's the
  only thing you can grab ATM. You maybe would like to join #proftpd on
  freenode and ask him yourself (User frankie) or write him a mail.
 
 sorry Sven, I am not sure which of these is abbreviation for a
 sentence or has another meaning. Can you just clarify what VCS and ATM
 are, I can probably google and find freenode - something else I have
 not heard of.

ATM = At The Moment
VCS = Version Control System (e.g. CVS, SVN, GIT ...)
freenode = http://freenode.net/


 However, I have always tried to avoid contacting developers directly
 as they must get bombarded and as a developer myself, I know what that
 must be like.

Asking a question on IRC[1] or writing a short mail is nothing bad
as long as you keep it short and don't ask the same question every day.

Cheers,
Sven

[1] Internet Relay Chat, that's what the freenode stuff is about.
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Proftpd and Debian

2008-05-10 Thread sadsjon
Hi all,

I urgently need to use the very latest Proftpd to support some of my
customers using passive FTP on Windows.

This is the rc1 release. Even Debian unstable isn't up to this
version.

I have downloaded source and managed to compile and get the paths to
various things set so that a make works.

However, I suspect that it is not only paths that need changing ..

Comparing a Debian build to the rc1 build, I get a whole load of
modules in the modules subdirectory. Debian has many more and also has
a number of different files (.o, .so, .a, .c) that the rc1 doesn't
build into the modules directory.

Is there some way that I can work out from the Debian build (that I
managed to build from source) what specific make options are required
for Debian?

I can't apply the previous version diff to this rc1 build I
presume ...
so I need to know how to run configure (i.e. what options are needed)
and how to make the modules directories compare favourably after
build.

Any help, much appreciate.

Thanks all,

jON


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-10 Thread Sven Hoexter
On Sat, May 10, 2008 at 06:23:20AM -0700, sadsjon wrote:

Hi,

 I urgently need to use the very latest Proftpd to support some of my
 customers using passive FTP on Windows.

Hum which change do you refer to?

 This is the rc1 release. Even Debian unstable isn't up to this
 version.

Well it's a release candidate not a final release so I'd consider that
as more or less normal.


 Is there some way that I can work out from the Debian build (that I
 managed to build from source) what specific make options are required
 for Debian?

Add a deb-src line to your sources.list for your favourite mirror and
apt-get source proftpd

Now you've the source of the Debian package. Reading new-maint guide
would be a good place to start and the rest of the information is in
the debian/rules file.

Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-10 Thread sadsjon
Thanks for replying Sven,


 Hum which change do you refer to?


mlsd/mlst which affects timestamps that clients get - used for
synchronising folders ...


 Add a deb-src line to your sources.list for your favourite mirror and
 apt-get source proftpd

won't that get the latest release that is being worked on by Debian
developers - it won't get me the source for rc1 yet will it?

jON


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-10 Thread Steve Kemp
On Sat May 10, 2008 at 07:28:23 -0700, sadsjon wrote:

  Add a deb-src line to your sources.list for your favourite mirror and
  apt-get source proftpd
 
 won't that get the latest release that is being worked on by Debian
 developers - it won't get me the source for rc1 yet will it?

  Yes, but if you're lucky you could just move the debian/ subdirectory
 into your new sources and rebuild with debuild -sa.

  If not the file debian/rules will show you the arguments passed to
 configure which you were asking about ..

  Alternatively pay somebody nice to package it for you ;)

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Proftpd and Debian

2008-05-10 Thread Sven Hoexter
On Sat, May 10, 2008 at 07:28:23AM -0700, sadsjon wrote:

Hi,

  Add a deb-src line to your sources.list for your favourite mirror and
  apt-get source proftpd
 
 won't that get the latest release that is being worked on by Debian
 developers - it won't get me the source for rc1 yet will it?

Well Francesco doesn't advertise a VCS within the package so that's the
only thing you can grab ATM. You maybe would like to join #proftpd on
freenode and ask him yourself (User frankie) or write him a mail.

Cheers,
Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]