www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: Gast_olli am 20. Oktober 2005, 16:39:47



Titel: Seltsame Fehlermeldung: 501 PORT: Operation not permitted
Beitrag von: Gast_olli am 20. Oktober 2005, 16:39:47
Hallo

wenn ich mich als benutzer der Gruppe ftptest anmelde bekomm ich mit der Konfig

<Directory ~ftp/test>
        <Limit ALL>
                DenyAll
        </Limit>
        <Limit DIRS READ WRITE LOGIN>
                AllowGroup ftptest
        </Limit>
</Directory>

die Meldung

ftp> ls
501 PORT: Operation not permitted
ftp: bind: Address already in use

Mit der Konfig :

<Directory ~ftp/test>
        <Limit ALL>
                DenyAll
        </Limit>
        <Limit ALL>
                AllowGroup ftptest
        </Limit>
</Directory>

funktioniert es:

ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxrwxr-x   2 ftp      ftptest      4096 Oct 20 13:35 in
drwxrwxr-x   2 ftp      ftptest      4096 Oct 20 13:33 out
226 Transfer complete.

Meines Wissens ist aber (DIRS READ WRITE LOGIN= == (ALL)
oder hab ich da was vergessen ????
Mein Plan ist es eigentlich nur CHD und LIST zu erlauben...
Da kommt aber auch die Netzwerkfehlermeldung .....am Netz liegts aber ned (!)



 :? HILFE  :?

Gruß Olli


P.s. : Hier die komplette Konfig
ServerName                      "Debian"
ServerType                      standalone
DeferWelcome                    off
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200
DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                     "-l"
DenyFilter                      \*.*/
Port                            22
MaxInstances                    30
User                            nobody
Group                           nogroup
Umask                           022  022
AllowOverwrite                  on
 <Anonymous ~ftp>
   User                         ftp
   Group                                nogroup
   UserAlias                    anonymous ftp
   DirFakeUser  on ftp
   DirFakeGroup on ftp
   RequireValidShell            off
   MaxClients                   10
   <Directory *>
     <Limit WRITE>
       AllowAll
     </Limit>
   </Directory>
<Directory test>
     <Limit ALL>
       DenyAll
     </Limit>
</Directory>
</Anonymous>
#Order Deny,Allow
DefaultRoot ~ftp/test ftptest
CapabilitiesEngine off
#<Directory ~ftp/test/out>
#       <Limit ALL>
#               DenyAll
#       </Limit>
#       <Limit ALL>
#               AllowGroup ftptest
#       </Limit>
#</Directory>
#<Directory ~/ftp/test/in>
#       <Limit ALL>
#               DenyAll
#       </Limit>
#       <Limit DIRS>
#               AllowGroup ftptest
#       </Limit>
#</Directory>
<Directory ~ftp/test>
        <Limit ALL>
                DenyAll
        </Limit>
        <Limit ALL>
                AllowGroup ftptest
        </Limit>
</Directory>


Titel: Seltsame Fehlermeldung: 501 PORT: Operation not permitted
Beitrag von: Anonymous am 20. Oktober 2005, 16:45:12
änder mal den Port ;) 22 ist bereits belegt ( ssh ist das stichwort )

Die Fehlermeldung sagt dies aber bereits :

Code:

ftp: bind: Address already in use


wenn du nicht den standart Port nehmen willst, nimm einen aus der 40000er serie ;)


Titel: faslcher Fehler
Beitrag von: gast_olli am 20. Oktober 2005, 16:50:46
wuahhh das ist natürlich falsch.... das stammt auch nicht aus der Konfig sondern das ist beim Posten passiert ...  ist sorry sorry Port 21 ist natürlich richtig !!! der steht auch in der Konfig !!!

Danke schon mal !!!!


Titel: ich habs ich habs :-)
Beitrag von: gast_olli am 20. Oktober 2005, 19:13:39
debug 9 ist göttlich :-) :idea:

ich hab noch nie was von dem commando PORT gehört aber das hat gefehlt :-)

<Limit PORT DIRS>
AllowGroup ftptest
</Limit>

und schon macht proftpd was ich will :-)

vielleicht konnte ich damit jetzt auch andern helfen

Gruß Olli