Baird, Josh | 15 Apr 05:11 2014

[Proftpd-user] Trouble building mod_geoip DSO

Hi,

I'm attempting to roll some 1.3.5rc4 RPM's and I am having trouble building mod_geoip as a DSO:

DEBUG: /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include
-I/usr/include/mysql -I/usr/include/mysql -I/usr/include -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fno-strict-aliasing -DPR_SHARED_MODULE -c mod_geoip.c
DEBUG: libtool: compile:  gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql
-I/usr/include/mysql -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing
-DPR_SHARED_MODULE -c mod_geoip.c  -fPIC -DPIC -o .libs/mod_geoip.o
DEBUG: mod_geoip.c: In function 'set_geoipfilter':
DEBUG: mod_geoip.c:936: error: too few arguments to function 'pr_regexp_alloc'
DEBUG: mod_geoip.c:944: warning: passing argument 1 of 'pr_regexp_free' from incompatible pointer type
DEBUG: ../include/regexp.h:60: note: expected 'struct module *' but argument is of type 'struct regex_t *'
DEBUG: mod_geoip.c:944: error: too few arguments to function 'pr_regexp_free'
DEBUG: make[1]: *** [mod_geoip.la] Error 1

Any ideas?  This is a frehsly updated RHEL6 buildhost.

Thanks,

Josh

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
(Continue reading)

Dieter Bloms | 31 Mar 13:27 2014
Picon

[Proftpd-user] which SQLAuthTypes is the safest when use proftpd with a sql database ?

Hi,

I've a running proftpd server with a mysql backend.
I use "SQLAuthTypes OpenSSL" and save the password as sha1 in the
database.
Now I was told, that sha1 hashes are not save enough and the passwords
can be calculated with modern hardware.
I shall use bcrypt or PBKDF2, but I don't see any option to use them
with proftpd.
Can anybody tell me a way to use more safe algorithm for the passwords ?

--

-- 
regards 

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

------------------------------------------------------------------------------
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Josh Ghiloni | 25 Mar 15:21 2014
Picon

Re: [Proftpd-user] mod-sftp can't replace exist file

On Mon, Mar 24, 2014 at 6:26 PM, Sense Zeng <opaperjam <at> gmail.com> wrote:
>
>> did you use port 2222 for the sftp you werte trying?
>
> Yes, I use the 2222 port
>
>> so, when you remove the file, you can upload it, but when it's there, you
>> can not?
>
> Yes.

Have you tried setting SFTPOptions IgnoreSFTPUploadPerms ?
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> ProFTPD Users List   <proftpd-users <at> proftpd.org>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
(Continue reading)

Sense Zeng | 22 Mar 07:34 2014
Picon

[Proftpd-user] mod-sftp can't replace exist file

proftpd version: 1.3.4a
mod_sftp version: 0.9.8

I use sftp(openssh 5.9p1-5ubuntu1.1) in ubuntu connect server. When I try to replace a exist file like text.txt, it printed like:

Uploading test.txt to /test.txt
remote open("/test.txt"): Permission denied

Sorry for my poor English.

 
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
David Woodworth | 21 Mar 16:25 2014

[Proftpd-user] Tracing with IfUser not working

Hello,

 

I am trying to enable tracing with IfUser but cannot get it to work. Tracing works if I just trace for all users but I get nothing when using IfUser.  Any suggestions appreciated.

 

I am running proftpd-1.3.4d

Compile-time Settings:

  Version: 1.3.4d (maint)

  Platform: LINUX [Linux 2.6.32-131.0.15.el6.i686 i686]

  Built: Mon Mar 17 2014 07:47:13 PDT

  Built With:

    configure  '--prefix=/usr/local/proftpd-1.3.4d' '--enable-ctrls' '--enable-openssl' '--enable-nls' '--with-modules=mod_ctrls_admin:mod_sftp:mod_tls:mod_ban:mod_readme:mod_ifsession'

 

  CFLAGS: -O2 -Wall

  LDFLAGS: -L$(top_srcdir)/lib

  LIBS:  -lssl -lcrypto -lssl -lcrypto -L$(top_srcdir)/lib/libcap -lcap  -lssl  -lcrypto -lsupp -lcrypt -ldl  -ldl -lz

 

  Files:

    Configuration File:

      /usr/local/proftpd-1.3.4d/etc/proftpd.conf

    Pid File:

      /usr/local/proftpd-1.3.4d/var/proftpd.pid

    Scoreboard File:

      /usr/local/proftpd-1.3.4d/var/proftpd.scoreboard

 

  Features:

    - Autoshadow support

    + Controls support

    + curses support

    - Developer support

    - DSO support

    + IPv6 support

    + Largefile support

    - Lastlog support

    - Memcache support

    + ncursesw support

    + NLS support

    + OpenSSL support (FIPS enabled)

    - PCRE support

    - POSIX ACL support

    + Shadow file support

    + Sendfile support

    + Trace support

 

  Tunable Options:

    PR_TUNABLE_BUFFER_SIZE = 1024

    PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192

    PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192

    PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000

    PR_TUNABLE_GLOBBING_MAX_RECURSION = 8

    PR_TUNABLE_HASH_TABLE_SIZE = 40

    PR_TUNABLE_NEW_POOL_SIZE = 512

    PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80

    PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30

    PR_TUNABLE_SELECT_TIMEOUT = 30

    PR_TUNABLE_TIMEOUTIDENT = 10

    PR_TUNABLE_TIMEOUTIDLE = 600

    PR_TUNABLE_TIMEOUTLINGER = 30

    PR_TUNABLE_TIMEOUTLOGIN = 300

    PR_TUNABLE_TIMEOUTNOXFER = 300

    PR_TUNABLE_TIMEOUTSTALLED = 3600

    PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10

 

Conf File:

 

TraceLog /usr/local/proftpd/log/trace-1.3.4d.log

<IfUser dw8935>

    Trace session default:20 directory:0 fileperms:0 scp:20 sftp:20 ssh2:20 tls:0

</IfUser>

 

ServerIdent on "FTP Server ready"

ServerType standalone

ServerAdmin ftpadmin

UseReverseDNS off

TimeoutIdle 600

SocketBindTight on

Port 0

PidFile /var/run/proftpd-1.3.4d.pid

ScoreboardFile /var/run/proftpd-1.3.4d.scoreboard

MaxInstances 1000

MaxClients 1000 "The system has reached the max number of allowed connections. Please try again in a few minutes."

 

# Define ftp logging formats

SystemLog /usr/local/proftpd/log/messages-1.3.4d

LogFormat global "%{%b %d %H:%M:%S}t proftpd[%P] %L (%h[%a]): %u \"%r\" %s"

 

# Define Global directives here. Can be over-ridden in VirtualServer configs

<Global>

    User ftpadmin

    Group ftp

    MaxLoginAttempts 3

    IdentLookups off

    TransferLog /usr/local/proftpd/log/xferlog-1.3.4d

    ExtendedLog /usr/local/proftpd/log/messages-1.3.4d  ALL global

    DenyFilter "%"

    UseFtpUsers off

    Umask 0022 0002

    PathDenyFilter "(\.ftpaccess)|(\.htaccess)"

    DefaultRoot ~ !norootjail

    <Directory /*>

        AllowOverwrite on

    </Directory>

    TimesGMT    off

</Global>

 

<IfModule mod_sftp.c>

    <VirtualHost X.X.X.X>

        ServerName "Vulcan Prod SFTP"

        ServerIdent on "SFTP Server ready"

        AccessGrantMsg "Welcome %u to the SFTP Server"

        SFTPEngine on

        Port 223

        SFTPLog /usr/local/proftpd/log/sftp-1.3.4d.log

        <Limit LOGIN>

            AllowGroup sftpusers

            DenyAll

        </Limit>

        SFTPHostKey /etc/ssh/host_rsa

        SFTPHostKey /etc/ssh/host_dsa

        SFTPAuthorizedUserKeys file:~/.ssh/authorized_keys

        SFTPCompression delayed

        MaxLoginAttempts 6

    </VirtualHost>

</IfModule>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Adeline Joli | 13 Mar 14:19 2014
Picon

[Proftpd-user] A client is not entering in the passive mode

Hello,

Here is my problem:

I have two clients
clientA (android device). this is me, connected to internet through my personal wifi
and
clientB (android device) connected to internet and i don’t now the network config

Im pointing out that the same exact code is running on these 2 devices (same ftp client etc…)

So.. ClientA can successfully login and then upload a file (with pasv activated) here is the log:

Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): connected - local  : xx.xx.xx.xx:21
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): connected - remote : xx.xx.xx.xx:39052
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): FTP session opened.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'USER userftp' to mod_ratio
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'USER userftp' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'USER userftp' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'USER userftp' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): mod_auth_file/0.8.3: using group file '/etc/group'
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): user 'userftp' authenticated by mod_auth_pam.c
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): 
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): Config for ProFTPD:
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): /var/www/vhosts
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  GroupOwner
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  UseFtpUsers
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  TimesGMT
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  Umask
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  AllowOverwrite
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DefaultServer
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DefaultTransferMode
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): UseFtpUsers
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): TimesGMT
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): SetEnv
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): Umask
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AuthPAM
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AuthPAMConfig
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): IdentLookups
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AuthGroupFile
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DefaultRoot
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AllowOverwrite
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DebugLevel
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): opening TransferLog '/var/log/xferlog'
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): in dir_check_full(): path = '/screen', fullpath = '/screen'.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_cap
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): mod_cap/1.0: capabilities '= cap_net_bind_service,cap_audit_write+ep'
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_quotatab
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_readme
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_ratio
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_ls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_xfer
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'PASS (hidden)' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'PASS (hidden)' to mod_ratio
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): USER userftp: Login successful.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'TYPE I' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'TYPE I' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'TYPE I' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'TYPE I' to mod_xfer
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'TYPE I' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASV' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASV' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASV' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'PASV' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): in dir_check_full(): path = '/screen', fullpath = '/screen'.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): Entering Passive Mode (xx,xx,xxx,xx,155,124).


—————————————

And this is clientB logs, which can successfully login, but then get STUCK just before entering PASV.. ??

Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): connected - local  : xx.xx.xx.xx:21
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): connected - remote : xx.xx.xx.xx:39052
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): FTP session opened.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'USER userftp' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'USER userftp' to mod_ratio
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'USER userftp' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'USER userftp' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'USER userftp' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): mod_auth_file/0.8.3: using group file '/etc/group'
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): user 'userftp' authenticated by mod_auth_pam.c
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): 
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): Config for ProFTPD:
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): /var/www/vhosts
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  GroupOwner
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  UseFtpUsers
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  TimesGMT
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  Umask
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]):  AllowOverwrite
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DefaultServer
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DefaultTransferMode
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): UseFtpUsers
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): TimesGMT
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): SetEnv
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): Umask
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AuthPAM
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AuthPAMConfig
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): IdentLookups
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AuthGroupFile
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DefaultRoot
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): AllowOverwrite
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): DebugLevel
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): opening TransferLog '/var/log/xferlog'
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): in dir_check_full(): path = '/screen', fullpath = '/screen'.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_cap
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): mod_cap/1.0: capabilities '= cap_net_bind_service,cap_audit_write+ep'
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_quotatab
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_readme
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_ratio
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_delay
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_ls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_xfer
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching POST_CMD command 'PASS (hidden)' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'PASS (hidden)' to mod_log
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'PASS (hidden)' to mod_ratio
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'PASS (hidden)' to mod_auth
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): USER userftp: Login successful.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'TYPE I' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'TYPE I' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'TYPE I' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'TYPE I' to mod_xfer
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching LOG_CMD command 'TYPE I' to mod_log




For clientB I missing all this  part
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASV' to mod_tls
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASV' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching PRE_CMD command 'PASV' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): dispatching CMD command 'PASV' to mod_core
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): in dir_check_full(): path = '/screen', fullpath = '/screen'.
Mar 13 13:43:10 ns367118.ovh.net proftpd[19121] 188.165.235.84 (92.233.113.131[92.233.113.131]): Entering Passive Mode (xx,xx,xxx,xx,155,124).


Could someone explain me where the problem is ? Is it because clientA has some kind of blocked port ? Or is it a server side problem ?

thank you !

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Sammy Larbi | 8 Mar 13:26 2014
Picon

[Proftpd-user] Issue with timeouts

I am using version ProFTPD Version 1.3.4a on Debian 7, and I see frequent problems with what appear to be time outs.

I've run the trace option and collected failed transfers and successful ones, and reviewing them, they look about the same, except at some point, the failed transfer just stops writing data (probably because it stopped receiving it?), waits around for a while, and finally says the transfer is complete.

I noticed a SIGALRM being handled in the failure case right after we wrote the final data from the unfinished transfer. However, in the success case, I also saw SIGALRM being successfully handled and we returned to receiving data.

I'm lost as to what else I can do to isolate the issue. I have the trace logs cut down to mostly relevant bits if you'd like to see them. They are still 10000+ lines for a couple of minutes though.

Any suggestions?

Thank you,
Sam
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Stuart Longland | 25 Feb 12:30 2014
Picon

[Proftpd-user] Fake "root" user account

Hi all,

This is a silly question.  I'm in the process of setting up an Ubuntu
system with proftpd to replace a legacy server running SCO.  One of the
systems that links with it logs in via FTP using the 'root' user account.

(Yes… eeek!!  I don't like it at all, but I'm not sure what the chances
are of getting it changed.)

I'm hoping I can change this; but in the event I can't... is there a way
to set up proftpd to create a "false" root user (that actually logs in
with effective uid/gid of nobody/nogroup or some such)?  That way, the
'root' credentials still work, but won't actually give you the root user.

I'm using PAM authentication.

Regards,
--

-- 
Stuart Longland
Systems Engineer
     _ ___
\  /|_) |                           T: +61 7 3535 9619
 \/ | \ |     38b Douglas Street    F: +61 7 3535 9699
   SYSTEMS    Milton QLD 4064       http://www.vrt.com.au

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Mark Fowle | 20 Feb 22:28 2014

[Proftpd-user] Configuration question

I have a configuration:

/home/ftp

Under which I have two directories,   incoming and outgoing.   What I'd like to do is to have my ftp user be able to to login -- not be able to do anything under /ftp but only upload to incoming and download from outgoing - and also have them not be able to see any of the files (or directories).   Can some one help me understand how to do this?    I would like all the users in the Admin group be able to do whatever they want as well ...  oh, and no anonymous users.

Thoughts... suggestions????  examples???


Thanks,
mark

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Amol Dev | 13 Feb 08:17 2014
Picon

[Proftpd-user] mod_sftp slow on directory list

With sftp listing a directory (ls) with 8000 files is taking 3 mins. Running direct ssh and getting same
directory list takes 5 sec. Need some help to understand why is ProFTPD taking so long. Attaching 

Tested against all options for performance in "Best Common Practice" at
http://www.proftpd.org/docs/howto/BCP.html. Currently running 1.3.4b, however tried 1.3.4d same
issue. Tried SocketOption to increase buffer and recomliling using --enable-tunable-buffer-size

There is no issue with bandwidth from client to server.

From proftpd-debug.log (attached), it seems like the directory list is transferred in small chunks. Any ideas?

Thanks
Attachment (proftpd.conf): application/octet-stream, 22 KiB
Attachment (proftpd-debug.log.gz): application/x-gzip, 189 KiB
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Matus UHLAR - fantomas | 12 Feb 17:42 2014
Picon

Re: [Proftpd-user] Question about max connect clients

On 12.02.14 16:02, Jorge Bastos wrote:
>How can I limit max clients that are trying to connect, but are not yet
>authticanted?

you can define MaxInstances to define maximum number of proftpd processes
and MaxClients to define maximum number of authenticated clients.
The first is global option, the latter can be per-vhost etc.

--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
    One OS to rule them all, One OS to find them, 
One OS to bring them all and into darkness bind them 

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html


Gmane