• [^] # Re: proftpd login incorrect ??,

    Posté par . En réponse au journal proftpd login incorrect ??,. Évalué à 0.

    Bonjour,

    Merci, et puis bon c vrai je m'excuse pour le coup de gueule mais je suis un vieux de 43 ans qui se prend la tête avec ce nouveau langage qu'est linux !!! pas facile tous les jours !!!

    Bon bin mon fichier je te le fais parvenir se sera plus facile pour toi de comprendre, mais avant de changer de modem pour l'us robotics routeur le 9003, j'avais pas de pb????

    Bon le fichier :


    ServerName ""
    ServerType standalone
    DefaultServer on

    # Allow FTP resuming.
    # Pour autoriser les clients à résumer les téléchargements, très utile.
    AllowStoreRestart on

    # Port 21 is the standard FTP port.
    Port 21

    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # 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

    # Nombre maximum de clients.
    MaxClients 5 "Sorry, max %m users -- try again later"

    # Nombre maximum de clients par hôte.
    #MaxClientsPerHosts 1

    # Nombre maximum de tentatives de login.
    MaxLoginAttempts 3

    # Message d'accueil après une connexion réussie.
    AccessGrantMsg "Bienvenue %u Chez "

    # Pas d'infos sur le serveur !!!
    DeferWelcome off

    # Contexte de configuration afin de limiter les possibilités écriture & création de rep
    #<limit MKD RNFR RNTO DELE RMD STOR CHMOD SITE_CHMOD SITE XCUP WRITE XRMD XPWD>
    #DenyAll
    #

    # Normally, we want files to be overwriteable.
    <Directory /*>
    AllowOverwrite yes


    # Needed for NIS.
    PersistentPasswd on


    ScoreboardPath /var/run/proftpd
    #
    # Login options
    #
    #TransfertLog /var/log/proftpd/xferlog.legacy
    #
    #
    #
    # Some logging formats
    #
    LogFormat default "%h %l %u %t \"%r\" %s %b"
    LogFormat auth "%v [%P] %h %t \"%r\" %s"
    LogFormat write "%h %l %u %t \"%r\" %s %b"
    #
    # Global settings
    #

    DisplayLogin welcome.msg
    DisplayFirstChdir readme
    AllowOverwrite yes
    # Turn off ident lookups
    IdentLookups off
    # file.*/dir access
    #
    ExtendedLog /var/log/proftpd/access.log WRITE,READ write
    #
    # Reccord all logins
    #
    ExtendedLog /var/log/proftpd/auth.log AUTH auth
    #
    #
    # Paranoia logging level....
    #
    DefaultChdir ~
    DefaultRoot /foo foo
    AccessGrantMsg "Bienvenue sur le serveur ! Bon téléchargement..."
    AllowChmod on
    RootLogin on
    DisplayGoAway "Il y a deja trop de personnes connectees sur ce serveur ! reessayer plus tard..."
    DisplayQuit "Au revoir, Bye !"







    #======================================================================================#
    # Server Anonyme avec mot de passe pour le disque /var/ftp #
    #======================================================================================#
    <Anonymous ~ftp>
    User darksoon
    Group nogroup
    UserAlias private darksoon
    UserAlias engeneering darksoon
    AnonRequirePassword on

    <Limit LOGIN>
    AllowAll


    # Deny write access from all except trusted hosts.
    <Limit WRITE>
    Order allow, deny
    Allow from 10.0.0.
    Deny from all


    #=======================================================================================
    ps le forwarding ???? je ne sais pas se que c'est !
    mais je lis tout les jours ............


    merci quand même