Skip to content

Instantly share code, notes, and snippets.

@PilotBob
Created March 30, 2012 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PilotBob/2253892 to your computer and use it in GitHub Desktop.
Save PilotBob/2253892 to your computer and use it in GitHub Desktop.
ProFTPD Version 1.3.3a
bob1:/etc/proftpd# proftpd -l
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_delay.c
mod_facts.c
mod_dso.c
mod_ident.c
mod_auth_pam.c
mod_readme.c
mod_cap.c
mod_ctrls.c
mod_lang.c
bob1:/etc/proftpd# proftpd -td5
Checking syntax of configuration file
- using TCP receive buffer size of 87380 bytes
- using TCP send buffer size of 16384 bytes
- warning: unknown/unsupported LANG environment variable 'en_US.UTF-8', ignoring
- mod_tls/2.4.2: using OpenSSL 0.9.8o 01 Jun 2010
- mod_dso/0.5: unable to dlopen 'mod_ldap.c': file not found (No such file or directory)
- mod_dso/0.5: defaulting to 'self' for symbol resolution
- mod_dso/0.5: unable to find module symbol 'ldap_module' in 'mod_ldap.c'
- Fatal: LoadModule: error loading module 'mod_ldap.c': Operation not permitted on line 18 of '/etc/proftpd/modules.conf'
bob1:/etc/proftpd# vim /etc/proftpd/proftpd.conf
bob1:/etc/proftpd# vim /etc/proftpd/modules.conf
bob1:/etc/proftpd# proftpd -v
ProFTPD Version 1.3.3a
bob1:/etc/proftpd# proftpd -V
Compile-time Settings:
Version: 1.3.3a (maint)
Platform: LINUX [Linux 2.6.32-4-pve i686]
Built: Sun Nov 13 2011 23:08:14 UTC
Built With:
configure '--prefix=/usr' '--with-includes=/usr/include/postgresql:/usr/include/mysql' '--mandir=/usr/share/man' '--sysconfdir=/etc/proftpd' '--localstatedir=/var/run' '--libexecdir=/usr/lib/proftpd' '--enable-sendfile' '--enable-facl' '--enable-dso' '--enable-autoshadow' '--enable-ctrls' '--with-modules=mod_readme' '--enable-ipv6' '--enable-nls' '--build' 'i486-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_vroot:mod_exec:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_sql_passwd:mod_ifsession' 'build_alias=i486-linux-gnu' 'CFLAGS=-O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL -DUSE_LDAP_TLS ' 'LDFLAGS=' 'CPPFLAGS='
CFLAGS: -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL -DUSE_LDAP_TLS -Wall
LDFLAGS: -L$(top_srcdir)/lib
LIBS: -lacl -lssl -lcrypto -lcap -lpam -lsupp -lcrypt -ldl -ldl -lz
Files:
Configuration File:
/etc/proftpd/proftpd.conf
Pid File:
/var/run/proftpd.pid
Scoreboard File:
/var/run/proftpd.scoreboard
Header Directory:
/usr/include/proftpd
Shared Module Directory:
/usr/lib/proftpd
Features:
+ Autoshadow support
+ Controls support
+ curses support
- Developer support
+ DSO support
+ IPv6 support
+ Largefile support
- Lastlog support
+ ncurses support
+ NLS support
+ OpenSSL support
+ POSIX ACL support
+ Shadow file support
+ Sendfile support
+ Trace support
Tunable Options:
PR_TUNABLE_BUFFER_SIZE = 1024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment