Toon posts:

Freesco proftpd anonymous login

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik ben bezig met een ftp server op te zetten, alleen 1 ding lukt me niet, ik kan niet anonymous inloggen.

Nu heb ik diverse faq's etc gezocht en gelezen maar ik snap er niks van, kan iemand mij vertellen wat ik moet veranderen om het mogelijk te maken om anonymous in te loggen.

dit is mijn proftpd.conf file, volgens mij hoef ik alleen hier wat te veranderen toch? of niet. ik kom er niet meer uit |:(

bvd
# BOF
#
#
# Server Main Variables
ServerName"ProFTPD 1.2.5rc1 o2n Freesco"
ServerIdenton"ProFTPD 1.2.5rc1 o3n Freesco"
ServerTypestandalone
ServerAdmin" root@localhost " # Change to your email address
Port21
DefaultServeron
DeferWelcomeon
RootLoginon
Identlookupsoff
UseReverseDNSoff # Names can be spoofed. IP's can't be spoofed that easily
LoginPasswordPromptoff
#PassivePorts60000 60050
#MasqueradeAddressftp.docnielsen.dk # Change to your dyndns name
#
# AUTH and FILE Settings
Umask01330022
Usernobody
Groupnobody
DefaultRoot/mnt/anonymous_ftp_server
DefaultChdir~
AuthUserFile/etc/passwd
AuthGroupFile/etc/group
UseFtpUsersoff
PersistentPasswdon
AccessGrantMsg"Access granted! Welcome %u!"
#
# Load Balancing
MaxClientsPerHost10"Sorry, you may not connect more than 10 times."
MaxClients30"Sorry, the maximum number of allowed users are already connected."
MaxLoginAttempts5
MaxInstances50
MaxLoad10.0"Server is very busy. Seek life elsewhere..."
#
# Timeouts
TimeoutIdle999
TimeoutLogin30
TimeoutNoTransfer999
TimeoutStalled60
TimesGMTon
#
# Speed Limits
RateReadBPS1073741824
RateWriteBPS1073741824
RateReadFreeBytes1073741824
RateWriteFreeBytes1073741824
RateReadHardBPSon
RateWriteHardBPSon
#
# Logging (makes 1 big logfile, and outputs logins to tty3)
SystemLog/dev/tty3
SyslogLevelwarn
TransferLogNONE
LogFormatxfer"%t %a %u (%r) %f"
ExtendedLog/var/proftpd/proftpd.logauth,read,writexfer
ScoreboardPath/var/proftpd/score/
#
# Global settings
<Global>
<Limit LOGIN>
Allow from All
IgnoreHiddenon
</Limit>
AllowForeignAddresson
PathDenyFilter"(^|/)[-.~]" # ignore+hide files starting with - . ~
AllowOverwriteon
UseGlobbingoff
ShowSymlinkson
</Global>
#
# Setting rights for home directory
<Directory ~>
AllowStoreRestarton
AllowRetrieveRestarton
HideNoAccesson
</Directory>
#
# Disable Anonymous completely
<Anonymous /tmp>
Usernobody
Groupnobody
UserAliasanonymous nobody
MaxClients10
<Limit All Login>
Deny From All
DenyAll
</Limit>
</Anonymous>
#
# Please check the mod_time config webpage for config tips
# http://www.castaglia.org/proftpd/modules/mod_time.html
#DisplayAfterHours/var/proftpd/AfterHours.txt
#NamedTimeall-hours00:00:00-23:59:59* # from midnight to midnight
#NamedTimenormal-hours08:00:00-17:00:001-5 # from 8am to 5pm
#NamedTimeafter-hours!08:00:00-17:00:000,6 # from 5pm to 8am
#CommandTimesallnormal-hours # evryone may log in 8am to 5pm
#GroupCommandTimesusersallall-hours # users may log in at all times
#UserCommandTimesrootallall-hours # root may log in at all times
#UserCommandTimesnobodyNONEall-hours # anonymous may do nothing at all times
#
# Please check the mod_quotatab config webpage for config tips
# http://www.castaglia.org/proftpd/modules/mod_quotatab.html
# http://www.castaglia.org/proftpd/modules/ftpquota.html
# the ftpquota script is a perl-script (thus requires the perl package)
# QuotaTab settings
QuotaEngineoff
#QuotaLimitTablefile/var/proftpd/FTPQuota.DB
#QuotaLog/var/proftpd/FTPquota.log
#QuotaTallyTablefile/var/proftpd/FTPTally.DB
#QuotaDisplayUnits"Kb"
#
# Quota settings
Quotasoff
#DefaultQuota1024
#QuotaTypesoft
#QuotaCalcoff
#QuotaExempt0 #no quota for uid 0 (root)
#QuotaBlockSize1
#QuotaBlockName"byte"
#
# Ratio settings
Ratiosoff
#SaveRatiosoff
#RatioFile/etc/proftpd.ratio
#RatioTempFile/etc/proftpd.ratio.temp
#CwdRatioMsg"Please upload!"
#FileRatioErrMsg"Come on, you can send more files than that...."
#ByteRatioErrMsg"This file is %i big, you know...."
#LeechRatioMsg"You have Unlimited Leech Access!"
#UserRatioroot0 0 0 0 # Leech Access to root
#HostRatio192.168.1.10100 10 5 100000 # 100:1 files, 10 file credit, 5:1 bytes, 100k byte credit
#GroupRatio04 100 105 100000
#AnonRatiobillyg@microsoft.com1 0 1 0 # 1:1 ratio, no credits
#

Verwijderd

Topicstarter
iemand?

  • NeOTheMaTriXM
  • Registratie: April 2001
  • Laatst online: 11-07 20:31
draai proftpd een met het optie -n
dus
proftpd -n

dan stuut tie alles naar je console
dan ff lezen wat er fout gaat

  • Jordi
  • Registratie: Januari 2000
  • Niet online

Jordi

#1#1

code:
1
2
3
4
5
6
7
8
9
10
11
# Disable Anonymous completely
<Anonymous /tmp>
Usernobody
Groupnobody
UserAliasanonymous nobody
MaxClients10
<Limit All Login>
Deny From All
DenyAll
</Limit>
</Anonymous>

Wat zou dat betekenen? ;)
Heb je al gezocht hoe het '<Anonymous>' directive werkt?
Die '/tmp' dir lijkt me sowieso niet handig. Maar goed, zolang er tussen "<Limit All Login>" en "</Limit>" staat "Deny From All" en "DenyAll" (als je een beetje engels kan, weet je wat dat betekent), gaat inloggen niet werken.
Maar tell me, volgens mij is dit niet zoooo lastig, of wel?

Het zal wel niet, maar het zou maar wel.