Current time: 11-26-2024, 09:57 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] proftpd problem mit ip vom server
Author Message
Zero-one Offline
Junior Member
*

Posts: 13
Joined: Oct 2007
Reputation: 0
Post: #38
RE: [ERLEDIGT] proftpd problem mit ip vom server
sys.domain.com hab ich mit einen A Eintrag auf meine IP (meine Domaine hab ich gegen domain ersetzt, weil ich meinen Server erst absichern muss)

Hier die Konfig von /etc/proftpd/proftpd.conf
Code:
#
#       ispCP OMEGA ProFTPd config file
#
#
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include /etc/proftpd/modules.conf

ServerName                      "sys.domain.com"
ServerType                      standalone
DeferWelcome                    off

ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
AllowOverwrite                  on
UseReverseDNS                   off
IdentLookups                    off
AllowStoreRestart               on
AllowForeignAddress             on

LogFormat                               traff "%b %u"

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                             1200

DisplayLogin                    welcome.msg
DisplayFirstChdir               message

#LsDefaultOptions               "-l"

DenyFilter                              \*.*/

DefaultRoot                             ~

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd               off

# Port 21 is the standard FTP port.

Port                                    21

# 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                                    nobody
Group                                   nogroup

# Normally, we want files to be overwriteable.

<Directory /*>
  # Umask 022 is a good standard umask to prevent new files and dirs
  # (second parm) from being group and world writable.
  Umask                                 022     022

  AllowOverwrite                on
  HideNoAccess                  on

</Directory>

<Limit ALL>
  IgnoreHidden                  on
</Limit>

<Global>
  RootLogin                             off
  TransferLog                   /var/log/proftpd/xferlog
  ExtendedLog                   /var/log/proftpd/ftp_traff.log read,write traff
  PathDenyFilter                "\.quota$"
</Global>

<IfModule mod_delay.c>
        DelayEngine                     off
</IfModule>

#
# ISPCP Managment;
#
SQLBackend                              mysql           # enable for proFTPd >= 1.3
SQLAuthTypes                    Crypt
SQLAuthenticate                 on
SQLConnectInfo                  ispcp@localhost vftp m0@\KM>#FQG6c7,G.3bdELer%UtZH4hn;[NL+Pvd
SQLUserInfo                             ftp_users userid passwd uid gid homedir shell
SQLGroupInfo                    ftp_group groupname gid members
SQLMinID                                2000

#
# ISPCP Quota management;
#

QuotaEngine                     on
QuotaShowQuotas                 on
QuotaDisplayUnits               Mb

SQLNamedQuery                   get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery                   get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
SQLNamedQuery                   update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies
SQLNamedQuery                   insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies

QuotaLock                               /var/run/proftpd/tally.lock
QuotaLimitTable                 sql:/get-quota-limit
QuotaTallyTable                 sql:/get-quota-tally/update-quota-tally/insert-quota-tally

#
# SSL via TLS
#
#<IfModule mod_tls.c>
#  TLSEngine                            off                                                                     # on for use of TLS
#  TLSLog                                       /var/log/proftpd/ftp_ssl.log            # where to log to
#  TLSProtocol                          SSLv23                                                          # SSLv23 or TLSv1
#  TLSOptions                           NoCertRequest                                           # either to request the certificate or not
#  TLSRSACertificateFile        /etc/proftpd/ssl.crt                            # SSL certfile
#  TLSRSACertificateKeyFile     /etc/proftpd/ssl.key                            # SSL keyfile
#  TLSVerifyClient                      off                                                                     # client verification
#</IfModule>

und Debug:

Code:
sys:~# /etc/init.d/proftpd stop
Stopping ftp server: proftpd.
sys:~# proftpd -n -d5
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd/proftpd.conf' configuration
- parsing '/etc/proftpd/modules.conf' configuration
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using 'mod_delay.c' section at line 83
sys.domain.com -
sys.domain.com - Config for sys.domain.com:
sys.domain.com - Limit
sys.domain.com -  IgnoreHidden
sys.domain.com - /*
sys.domain.com -  Umask
sys.domain.com -  DirUmask
sys.domain.com -  AllowOverwrite
sys.domain.com -  HideNoAccess
sys.domain.com -  ShowSymlinks
sys.domain.com -  AllowStoreRestart
sys.domain.com -  AllowForeignAddress
sys.domain.com -  DisplayLogin
sys.domain.com -  DisplayFirstChdir
sys.domain.com -  DenyFilter
sys.domain.com -  SQLAuthTypes
sys.domain.com -  SQLAuthenticate
sys.domain.com -  SQLConnectInfo
sys.domain.com -  SQLMinID
sys.domain.com -  SQLNamedQuery_get-quota-limit
sys.domain.com -  SQLNamedQuery_get-quota-tally
sys.domain.com -  SQLNamedQuery_update-quota-tally
sys.domain.com -  SQLNamedQuery_insert-quota-tally
sys.domain.com -  RootLogin
sys.domain.com -  TransferLog
sys.domain.com -  PathDenyFilter
sys.domain.com - DeferWelcome
sys.domain.com - ShowSymlinks
sys.domain.com - DefaultServer
sys.domain.com - ShowSymlinks
sys.domain.com - AllowOverwrite
sys.domain.com - IdentLookups
sys.domain.com - AllowStoreRestart
sys.domain.com - AllowForeignAddress
sys.domain.com - TimeoutNoTransfer
sys.domain.com - TimeoutStalled
sys.domain.com - TimeoutIdle
sys.domain.com - DisplayLogin
sys.domain.com - DisplayFirstChdir
sys.domain.com - DenyFilter
sys.domain.com - DefaultRoot
sys.domain.com - UserID
sys.domain.com - UserName
sys.domain.com - GroupID
sys.domain.com - GroupName
sys.domain.com - DelayEngine
sys.domain.com - SQLBackend
sys.domain.com - SQLAuthTypes
sys.domain.com - SQLAuthenticate
sys.domain.com - SQLConnectInfo
sys.domain.com - SQLUserTable
sys.domain.com - SQLUsernameField
sys.domain.com - SQLPasswordField
sys.domain.com - SQLUidField
sys.domain.com - SQLGidField
sys.domain.com - SQLHomedirField
sys.domain.com - SQLShellField
sys.domain.com - SQLGroupTable
sys.domain.com - SQLGroupnameField
sys.domain.com - SQLGroupGIDField
sys.domain.com - SQLGroupMembersField
sys.domain.com - SQLMinID
sys.domain.com - QuotaEngine
sys.domain.com - QuotaShowQuotas
sys.domain.com - QuotaDisplayUnits
sys.domain.com - SQLNamedQuery_get-quota-limit
sys.domain.com - SQLNamedQuery_get-quota-tally
sys.domain.com - SQLNamedQuery_update-quota-tally
sys.domain.com - SQLNamedQuery_insert-quota-tally
sys.domain.com - QuotaLock
sys.domain.com - QuotaLimitTable
sys.domain.com - QuotaTallyTable
sys.domain.com - RootLogin
sys.domain.com - TransferLog
sys.domain.com - ExtendedLog
sys.domain.com - PathDenyFilter
sys.domain.com - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
sys.domain.com - ProFTPD 1.3.0 (stable) (built mar gen 2 10:57:47 CET 2007) standalone mode STARTUP

Ich werde jetzt mal in der DNS die Einträge enfernen und neu erstellen, vielleicht liegt da der Fehler.
(This post was last modified: 02-07-2008 08:15 AM by Zero-one.)
02-07-2008 08:00 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: proftpd problem mit ip vom server - --Nachtfalke-- - 01-10-2008, 01:23 AM
RE: proftpd problem mit ip vom server - --Nachtfalke-- - 01-10-2008, 03:08 AM
RE: proftpd problem mit ip vom server - --Nachtfalke-- - 01-10-2008, 11:11 PM
RE: [ERLEDIGT] proftpd problem mit ip vom server - Zero-one - 02-07-2008 08:00 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)