Wersja: ProFTPD Version 1.3.1
Kod: Zaznacz cały
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#
# Includes DSO modules
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off
# If set on you can experience a longer connection delay in many cases.
IdentLookups off
ServerName "Debian"
ServerType inetd
DeferWelcome off
ServerIdent on "FTP Server ready."
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
# Use this to jail all users in their homes
DefaultRoot ~
# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off
# Port 21 is the standard FTP port.
Port 21
# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534
# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4
# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User proftpd
Group nogroup
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd off
# This is required to use both PAM-based authentication and local passwords
AuthOrder mod_auth_pam.c* mod_auth_unix.c
# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
# UseSendFile off
TransferLog /var/log/proftpd/xferlog/
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
# Delay engine reduces impact of the so-called Timing Attack described in
# [url]http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02[/url]
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
#Include /etc/proftpd/sql.conf
#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23
TLSOptions NoCertRequest
TLSRSACertificateFile /etc/proftpd/ssl/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/proftpd/ssl/proftpd.key.pem
TLSVerifyClient off
TLSRequired on
</IfModule>
# A basic anonymous configuration, no upload directories.
# <Anonymous ~ftp>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias pwsbia
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>
Kod: Zaznacz cały
Oct 16 10:18:19 mod_tls/2.1.2[3170]: starting TLS negotiation on data connection
Oct 16 10:21:16 mod_tls/2.1.2[3177]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Oct 16 10:21:16 mod_tls/2.1.2[3177]: TLS/TLS-C requested, starting TLS handshake
Oct 16 10:21:16 mod_tls/2.1.2[3177]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES128-SHA (128 bits)
Oct 16 10:21:16 mod_tls/2.1.2[3177]: Protection set to Private
Oct 16 11:19:34 mod_tls/2.1.2[25239]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Oct 16 11:19:34 mod_tls/2.1.2[25239]: SSL/TLS required but absent on control channel, denying ▒Z command
Oct 16 11:19:34 mod_tls/2.1.2[25239]: SSL/TLS required but absent on control channel, denying command
Kod: Zaznacz cały
Oct 16 11:19:34 DesktopDebian proftpd[25239] DesktopDebian.Home (192.168.1.2[192.168.1.2]): FTP session opened.
Kod: Zaznacz cały
DesktopDebian:/etc/proftpd# /usr/sbin/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_dso.c
mod_auth_pam.c
mod_readme.c
mod_cap.c
mod_ctrls.c
Probowalem to skompilowac z mod_tls
./configure --with-modules=mod_tls
Kod: Zaznacz cały
mod_tls.c:1787: warning: implicit declaration of function ‘tls_setup_environ’
mod_tls.c:1798: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:1798: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c: In function ‘tls_cleanup’:
mod_tls.c:1815: error: ‘tls_crl_store’ undeclared (first use in this function)
mod_tls.c:1816: warning: implicit declaration of function ‘X509_STORE_free’
mod_tls.c:1820: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:1821: warning: implicit declaration of function ‘SSL_CTX_free’
mod_tls.c:1825: error: ‘tls_tmp_dh’ undeclared (first use in this function)
mod_tls.c:1826: warning: implicit declaration of function ‘DH_free’
mod_tls.c:1830: error: ‘tls_tmp_rsa’ undeclared (first use in this function)
mod_tls.c:1831: warning: implicit declaration of function ‘RSA_free’
mod_tls.c:1836: warning: implicit declaration of function ‘ERR_free_strings’
mod_tls.c:1837: warning: implicit declaration of function ‘ERR_remove_state’
mod_tls.c:1838: warning: implicit declaration of function ‘EVP_cleanup’
mod_tls.c: At top level:
mod_tls.c:1858: error: expected ‘ ;) ’ before ‘*’ token
mod_tls.c: In function ‘tls_get_errors’:
mod_tls.c:1955: error: ‘BIO’ undeclared (first use in this function)
mod_tls.c:1955: error: ‘bio’ undeclared (first use in this function)
mod_tls.c:1965: warning: implicit declaration of function ‘BIO_new’
mod_tls.c:1965: warning: implicit declaration of function ‘BIO_s_mem’
mod_tls.c:1969: warning: implicit declaration of function ‘BIO_printf’
mod_tls.c:1973: warning: implicit declaration of function ‘BIO_get_mem_data’
mod_tls.c:1980: warning: implicit declaration of function ‘BIO_free’
mod_tls.c: In function ‘tls_get_subj_name’:
mod_tls.c:2022: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2022: error: ‘cert’ undeclared (first use in this function)
mod_tls.c:2022: warning: implicit declaration of function ‘SSL_get_peer_certificate’
mod_tls.c:2022: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:2025: warning: implicit declaration of function ‘tls_x509_name_oneline’
mod_tls.c:2025: warning: implicit declaration of function ‘X509_get_subject_name’
mod_tls.c:2025: warning: initialization makes pointer from integer without a cast
mod_tls.c:2026: warning: implicit declaration of function ‘X509_free’
mod_tls.c: In function ‘tls_fatal_error’:
mod_tls.c:2036: error: ‘SSL_ERROR_NONE’ undeclared (first use in this function)
mod_tls.c:2039: error: ‘SSL_ERROR_SSL’ undeclared (first use in this function)
mod_tls.c:2043: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function)
mod_tls.c:2047: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function)
mod_tls.c:2051: error: ‘SSL_ERROR_WANT_X509_LOOKUP’ undeclared (first use in this function)
mod_tls.c:2055: error: ‘SSL_ERROR_SYSCALL’ undeclared (first use in this function)
mod_tls.c:2083: error: ‘SSL_ERROR_ZERO_RETURN’ undeclared (first use in this function)
mod_tls.c:2087: error: ‘SSL_ERROR_WANT_CONNECT’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_dotlogin_allow’:
mod_tls.c:2109: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2109: error: ‘client_cert’ undeclared (first use in this function)
mod_tls.c:2109: error: ‘file_cert’ undeclared (first use in this function)
mod_tls.c:2109: warning: left-hand operand of comma expression has no effect
mod_tls.c:2115: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:2158: warning: implicit declaration of function ‘ASN1_BIT_STRING_cmp’
mod_tls.c: At top level:
mod_tls.c:2214: error: expected ‘ ;) ’ before ‘*’ token
mod_tls.c:2276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_tls.c: In function ‘tls_seed_prng’:
mod_tls.c:2311: warning: implicit declaration of function ‘X509_get_default_cert_area’
mod_tls.c:2311: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:2311: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:2316: warning: implicit declaration of function ‘RAND_load_file’
mod_tls.c:2319: warning: implicit declaration of function ‘RAND_seed’
mod_tls.c: At top level:
mod_tls.c:2338: error: expected declaration specifiers or ‘...’ before ‘X509’
mod_tls.c:2383: error: expected declaration specifiers or ‘...’ before ‘X509_NAME’
mod_tls.c: In function ‘tls_setup_cert_dn_environ’:
mod_tls.c:2387: warning: implicit declaration of function ‘sk_X509_NAME_ENTRY_num’
mod_tls.c:2387: error: ‘name’ undeclared (first use in this function)
mod_tls.c:2388: error: ‘X509_NAME_ENTRY’ undeclared (first use in this function)
mod_tls.c:2388: error: ‘entry’ undeclared (first use in this function)
mod_tls.c:2388: warning: implicit declaration of function ‘sk_X509_NAME_ENTRY_value’
mod_tls.c:2389: warning: implicit declaration of function ‘OBJ_obj2nid’
mod_tls.c:2392: error: ‘NID_countryName’ undeclared (first use in this function)
mod_tls.c:2399: error: ‘NID_commonName’ undeclared (first use in this function)
mod_tls.c:2406: error: ‘NID_description’ undeclared (first use in this function)
mod_tls.c:2413: error: ‘NID_givenName’ undeclared (first use in this function)
mod_tls.c:2420: error: ‘NID_initials’ undeclared (first use in this function)
mod_tls.c:2427: error: ‘NID_localityName’ undeclared (first use in this function)
mod_tls.c:2434: error: ‘NID_organizationName’ undeclared (first use in this function)
mod_tls.c:2441: error: ‘NID_organizationalUnitName’ undeclared (first use in this function)
mod_tls.c:2448: error: ‘NID_stateOrProvinceName’ undeclared (first use in this function)
mod_tls.c:2455: error: ‘NID_surname’ undeclared (first use in this function)
mod_tls.c:2462: error: ‘NID_title’ undeclared (first use in this function)
mod_tls.c:2472: error: ‘NID_uniqueIdentifier’ undeclared (first use in this function)
mod_tls.c:2480: error: ‘NID_pkcs9_emailAddress’ undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:2493: error: expected declaration specifiers or ‘...’ before ‘X509’
mod_tls.c: In function ‘tls_setup_cert_environ’:
mod_tls.c:2496: error: ‘BIO’ undeclared (first use in this function)
mod_tls.c:2496: error: ‘bio’ undeclared (first use in this function)
mod_tls.c:2500: error: ‘ASN1_INTEGER’ undeclared (first use in this function)
mod_tls.c:2500: error: ‘serial’ undeclared (first use in this function)
mod_tls.c:2500: warning: implicit declaration of function ‘X509_get_serialNumber’
mod_tls.c:2500: error: ‘cert’ undeclared (first use in this function)
mod_tls.c:2502: warning: implicit declaration of function ‘X509_get_version’
mod_tls.c:2502: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘int’
mod_tls.c:2511: warning: implicit declaration of function ‘ASN1_INTEGER_get’
mod_tls.c:2511: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘int’
mod_tls.c:2528: warning: passing argument 2 of ‘pstrdup’ makes pointer from integer without a cast
mod_tls.c:2532: error: too many arguments to function ‘tls_setup_cert_dn_environ’
mod_tls.c:2536: warning: implicit declaration of function ‘X509_get_issuer_name’
mod_tls.c:2536: warning: passing argument 2 of ‘pstrdup’ makes pointer from integer without a cast
mod_tls.c:2540: error: too many arguments to function ‘tls_setup_cert_dn_environ’
mod_tls.c:2543: error: too many arguments to function ‘tls_setup_cert_ext_environ’
mod_tls.c:2546: warning: implicit declaration of function ‘ASN1_TIME_print’
mod_tls.c:2546: warning: implicit declaration of function ‘X509_get_notBefore’
mod_tls.c:2557: warning: implicit declaration of function ‘X509_get_notAfter’
mod_tls.c:2568: warning: implicit declaration of function ‘i2a_ASN1_OBJECT’
mod_tls.c:2591: warning: implicit declaration of function ‘PEM_write_bio_X509’
mod_tls.c: At top level:
mod_tls.c:2602: error: expected ‘ ;) ’ before ‘*’ token
mod_tls.c:2726: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
mod_tls.c: In function ‘tls_verify_cb’:
mod_tls.c:2734: error: ‘ctx’ undeclared (first use in this function)
mod_tls.c:2734: error: too many arguments to function ‘tls_verify_crl’
mod_tls.c:2737: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2737: error: ‘cert’ undeclared (first use in this function)
mod_tls.c:2737: warning: implicit declaration of function ‘X509_STORE_CTX_get_current_cert’
mod_tls.c:2738: warning: implicit declaration of function ‘X509_STORE_CTX_get_error_depth’
mod_tls.c:2742: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2744: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2748: warning: implicit declaration of function ‘X509_STORE_CTX_set_error’
mod_tls.c:2748: error: ‘X509_V_ERR_CERT_CHAIN_TOO_LONG’ undeclared (first use in this function)
mod_tls.c:2752: error: ‘X509_V_ERR_CERT_HAS_EXPIRED’ undeclared (first use in this function)
mod_tls.c:2753: error: ‘X509_V_ERR_CERT_REVOKED’ undeclared (first use in this function)
mod_tls.c:2754: error: ‘X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT’ undeclared (first use in this function)
mod_tls.c:2755: error: ‘X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY’ undeclared (first use in this function)
mod_tls.c:2756: error: ‘X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE’ undeclared (first use in this function)
mod_tls.c:2758: warning: implicit declaration of function ‘X509_verify_cert_error_string’
mod_tls.c:2758: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2762: error: ‘X509_V_ERR_INVALID_PURPOSE’ undeclared (first use in this function)
mod_tls.c:2764: warning: implicit declaration of function ‘X509_PURPOSE_get_count’
mod_tls.c:2767: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2770: error: ‘X509_PURPOSE’ undeclared (first use in this function)
mod_tls.c:2770: error: ‘purp’ undeclared (first use in this function)
mod_tls.c:2770: warning: implicit declaration of function ‘X509_PURPOSE_get0’
mod_tls.c:2771: warning: implicit declaration of function ‘X509_PURPOSE_get0_name’
mod_tls.c:2771: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c:2778: error: ‘X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN’ undeclared (first use in this function)
mod_tls.c:2785: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:2791: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c: At top level:
mod_tls.c:2803: error: expected declaration specifiers or ‘...’ before ‘X509_STORE_CTX’
mod_tls.c: In function ‘tls_verify_crl’:
mod_tls.c:2804: error: ‘X509_OBJECT’ undeclared (first use in this function)
mod_tls.c:2804: error: expected ‘;’ before ‘obj’
mod_tls.c:2805: error: ‘X509_NAME’ undeclared (first use in this function)
mod_tls.c:2805: error: ‘subject’ undeclared (first use in this function)
mod_tls.c:2805: error: ‘issuer’ undeclared (first use in this function)
mod_tls.c:2805: warning: left-hand operand of comma expression has no effect
mod_tls.c:2806: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:2806: error: ‘xs’ undeclared (first use in this function)
mod_tls.c:2807: error: ‘X509_CRL’ undeclared (first use in this function)
mod_tls.c:2807: error: ‘crl’ undeclared (first use in this function)
mod_tls.c:2808: error: ‘X509_REVOKED’ undeclared (first use in this function)
mod_tls.c:2808: error: ‘revoked’ undeclared (first use in this function)
mod_tls.c:2809: error: ‘X509_STORE_CTX’ undeclared (first use in this function)
mod_tls.c:2809: error: expected ‘;’ before ‘store_ctx’
mod_tls.c:2816: error: ‘tls_crl_store’ undeclared (first use in this function)
mod_tls.c:2825: error: ‘ctx’ undeclared (first use in this function)
mod_tls.c:2862: error: ‘obj’ undeclared (first use in this function)
mod_tls.c:2869: warning: implicit declaration of function ‘X509_STORE_CTX_init’
mod_tls.c:2869: error: ‘store_ctx’ undeclared (first use in this function)
mod_tls.c:2872: warning: implicit declaration of function ‘X509_STORE_get_by_subject’
mod_tls.c:2872: error: ‘X509_LU_CRL’ undeclared (first use in this function)
mod_tls.c:2873: warning: implicit declaration of function ‘X509_STORE_CTX_cleanup’
mod_tls.c:2878: error: ‘EVP_PKEY’ undeclared (first use in this function)
mod_tls.c:2878: error: ‘pubkey’ undeclared (first use in this function)
mod_tls.c:2881: error: ‘BIO’ undeclared (first use in this function)
mod_tls.c:2881: error: ‘b’ undeclared (first use in this function)
mod_tls.c:2884: warning: implicit declaration of function ‘X509_NAME_print’
mod_tls.c:2887: warning: implicit declaration of function ‘ASN1_UTCTIME_print’
mod_tls.c:2892: warning: implicit declaration of function ‘BIO_read’
mod_tls.c:2904: warning: implicit declaration of function ‘X509_get_pubkey’
mod_tls.c:2907: warning: implicit declaration of function ‘X509_CRL_verify’
mod_tls.c:2912: error: ‘X509_V_ERR_CRL_SIGNATURE_FAILURE’ undeclared (first use in this function)
mod_tls.c:2913: warning: implicit declaration of function ‘X509_OBJECT_free_contents’
mod_tls.c:2921: warning: implicit declaration of function ‘X509_cmp_current_time’
mod_tls.c:2921: warning: implicit declaration of function ‘X509_CRL_get_nextUpdate’
mod_tls.c:2924: error: ‘X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD’ undeclared (first use in this function)
mod_tls.c:2932: error: ‘X509_V_ERR_CRL_HAS_EXPIRED’ undeclared (first use in this function)
mod_tls.c:2961: warning: implicit declaration of function ‘sk_X509_REVOKED_num’
mod_tls.c:2961: warning: implicit declaration of function ‘X509_CRL_get_REVOKED’
mod_tls.c:2964: error: ‘ASN1_INTEGER’ undeclared (first use in this function)
mod_tls.c:2964: error: ‘sn’ undeclared (first use in this function)
mod_tls.c:2966: warning: implicit declaration of function ‘sk_X509_REVOKED_value’
mod_tls.c:2969: warning: implicit declaration of function ‘ASN1_INTEGER_cmp’
mod_tls.c:2971: warning: initialization makes pointer from integer without a cast
mod_tls.c:2976: error: ‘X509_V_ERR_CERT_REVOKED’ undeclared (first use in this function)
mod_tls.c: At top level:
mod_tls.c:2988: error: expected ‘ ;) ’ before ‘*’ token
mod_tls.c:3014: error: expected ‘ ;) ’ before ‘*’ token
mod_tls.c: In function ‘tls_netio_close_cb’:
mod_tls.c:3072: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3072: error: expected expression before ‘ ;) ’ token
mod_tls.c:3081: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_netio_postopen_cb’:
mod_tls.c:3170: error: ‘X509’ undeclared (first use in this function)
mod_tls.c:3170: error: ‘ctrl_cert’ undeclared (first use in this function)
mod_tls.c:3170: error: ‘data_cert’ undeclared (first use in this function)
mod_tls.c:3170: warning: left-hand operand of comma expression has no effect
mod_tls.c:3183: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:3184: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3184: error: expected expression before ‘ ;) ’ token
mod_tls.c:3187: warning: implicit declaration of function ‘X509_cmp’
mod_tls.c:3192: error: expected expression before ‘ ;) ’ token
mod_tls.c:3209: warning: implicit declaration of function ‘tls_blinding_on’
mod_tls.c:3209: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_netio_read_cb’:
mod_tls.c:3229: warning: implicit declaration of function ‘tls_read’
mod_tls.c:3229: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3229: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_netio_write_cb’:
mod_tls.c:3270: warning: implicit declaration of function ‘tls_write’
mod_tls.c:3270: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3270: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_auth’:
mod_tls.c:3583: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_ccc’:
mod_tls.c:3667: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_postparse_ev’:
mod_tls.c:4366: error: ‘PEM_BUFSIZE’ undeclared (first use in this function)
mod_tls.c:4383: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:4405: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c: In function ‘tls_sess_exit_ev’:
mod_tls.c:4441: warning: implicit declaration of function ‘RAND_write_file’
mod_tls.c: In function ‘tls_init’:
mod_tls.c:4472: warning: implicit declaration of function ‘SSLeay’
mod_tls.c:4472: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)
mod_tls.c:4475: error: ‘OPENSSL_VERSION_TEXT’ undeclared (first use in this function)
mod_tls.c:4476: warning: implicit declaration of function ‘SSLeay_version’
mod_tls.c:4476: error: ‘SSLEAY_VERSION’ undeclared (first use in this function)
mod_tls.c:4476: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:4479: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c:4495: error: expected ‘ ;) ’ before ‘OPENSSL_VERSION_TEXT’
mod_tls.c: In function ‘tls_sess_init’:
mod_tls.c:4610: warning: implicit declaration of function ‘SSL_CTX_set_default_passwd_cb’
mod_tls.c:4610: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:4611: warning: implicit declaration of function ‘SSL_CTX_set_default_passwd_cb_userdata’
At top level:
cc1: error: unrecognized command line option "-Wno-long-double"
make[1]: *** [mod_tls.o] Błąd 1
make[1]: Opuszczenie katalogu `/etc/proftpd/proftpd-1.3.1/modules'
make: *** [modules] Błąd 2
DesktopDebian:/etc/proftpd/proftpd-1.3.1#
DesktopDebian:/etc/proftpd/proftpd-1.3.1# make | less
mod_tls.c:3183: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c:3184: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3184: error: expected expression before ‘ ;) ’ token
mod_tls.c:3187: warning: implicit declaration of function ‘X509_cmp’
mod_tls.c:3192: error: expected expression before ‘ ;) ’ token
mod_tls.c:3209: warning: implicit declaration of function ‘tls_blinding_on’
mod_tls.c:3209: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_netio_read_cb’:
mod_tls.c:3229: warning: implicit declaration of function ‘tls_read’
mod_tls.c:3229: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3229: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_netio_write_cb’:
mod_tls.c:3270: warning: implicit declaration of function ‘tls_write’
mod_tls.c:3270: error: ‘SSL’ undeclared (first use in this function)
mod_tls.c:3270: error: expected expression before ‘ ;) ’ token
mod_tls.c: In function ‘tls_auth’:
mod_tls.c:3583: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_ccc’:
mod_tls.c:3667: error: ‘ctrl_ssl’ undeclared (first use in this function)
mod_tls.c: In function ‘tls_postparse_ev’:
mod_tls.c:4366: error: ‘PEM_BUFSIZE’ undeclared (first use in this function)
mod_tls.c:4383: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c:4405: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mod_tls.c: In function ‘tls_sess_exit_ev’:
mod_tls.c:4441: warning: implicit declaration of function ‘RAND_write_file’
mod_tls.c: In function ‘tls_init’:
mod_tls.c:4472: warning: implicit declaration of function ‘SSLeay’
mod_tls.c:4472: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)
mod_tls.c:4475: error: ‘OPENSSL_VERSION_TEXT’ undeclared (first use in this function)
mod_tls.c:4476: warning: implicit declaration of function ‘SSLeay_version’
mod_tls.c:4476: error: ‘SSLEAY_VERSION’ undeclared (first use in this function)
mod_tls.c:4476: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
mod_tls.c:4479: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
mod_tls.c:4495: error: expected ‘ ;) ’ before ‘OPENSSL_VERSION_TEXT’
mod_tls.c: In function ‘tls_sess_init’:
mod_tls.c:4610: warning: implicit declaration of function ‘SSL_CTX_set_default_passwd_cb’
mod_tls.c:4610: error: ‘ssl_ctx’ undeclared (first use in this function)
mod_tls.c:4611: warning: implicit declaration of function ‘SSL_CTX_set_default_passwd_cb_userdata’
At top level:
cc1: error: unrecognized command line option "-Wno-long-double"
make[1]: *** [mod_tls.o] Błąd 1
make[1]: Opuszczenie katalogu `/etc/proftpd/proftpd-1.3.1/modules'
make: *** [modules] Błąd 2