« # - # hosts.allow | Main | ## ## httpd.conf -- »

# This is a

# This is a basic ProFTPD configuration file (rename it to - # 'proftpd.conf' for actual use. It establishes a single server

# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName huitzilopochtli
ServerType standalone
DefaultServer on
ServerIdent on ftp.presidencia.gob.mx
ServerAdmin sandino@presidencia.gob.mx

# 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 002

# 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 15
PassivePorts 21021 21030

# Set the user and group that the server normally runs at.
User nobody
Group devel
ExtendedLog /var/log/proftpd/ftp.log
UseReverseDNS off


UserAlias mandarina 00sandino
UserAlias jaruz 01jaruz
UserAlias lgonzalez 02lgonzalez
UserAlias kenji 03kenji
UserAlias tania 05tania
UserAlias myrna 06myrna
UserAlias maricarmen 07maricarmen
UserAlias beto 08beto
UserAlias emilio 09emilio
UserAlias paco ryner
UserAlias olguin 24olguin
UserAlias ccobos 25ccobos
UserAlias meche 26meche
UserAlias gabriel 27gabriel
UserAlias jamon 28jamon
UserAlias itze 33itze
UserAlias mario 34mario
UserAlias fernando fernando01


# Normally, we want files to be overwriteable.

AllowOverwrite off



AllowOverwrite on

AllowGroup devel
DenyAll


Order allow,deny
#Allow from 200.23.123.100
Allow from 192.168.1.
Allow from 192.168.2.
Deny from all



DefaultRoot /home/sites

Order allow,deny
#Allow from 200.23.123.100
Allow from 192.168.1.
Allow from 192.168.2.
Deny from all


AllowGroup devel
DenyAll


#
# Port 21001
## PassivePorts 21021 21025
# DefaultRoot /home/sites
# ExtendedLog /var/log/proftpd/sites.log
#
# AllowOverwrite on
#
# AllowGroup devel
# DenyAll
#
#
#
# AllowGroup devel
# DenyAll
#
#
# Order allow,deny
# Allow from 192.168.1.13
# Deny from all
#
#


Port 21001
PassivePorts 21021 21030
DefaultRoot /home/sites
ExtendedLog /var/log/proftpd/sites.log

AllowOverwrite on

AllowGroup devel
DenyAll



AllowGroup devel
DenyAll


Order allow,deny
Allow from 200.23.123.100 192.168.4. 192.168.2. 192.168.1. 192.168.0. 200.57.34.36
Deny from all




Port 21002
PassivePorts 21021 21030
DefaultRoot /home/sites/discapacidad.presidencia.gob.mx
ExtendedLog /var/log/proftpd/discapacidad.log
UserAlias jhernandez temp1
Umask 002
Group devel

AllowOverwrite on

AllowUser temp1
DenyAll



AllowUser temp1
DenyAll


Order allow,deny
Allow from 200.23.123.100 207.248.179.26
Deny from all




Port 21003
PassivePorts 21021 21030
DefaultRoot /home/sites/www.contigo.gob.mx/web/images
ExtendedLog /var/log/proftpd/contigo.log
UserAlias mrivera temp4

AllowOverwrite on

AllowUser temp4
AllowGroup devel
DenyAll



AllowUser temp4
AllowGroup devel
DenyAll


Order allow,deny
Allow from 200.23.123.100 148.245.85.218
Deny from all



# 21004 está siendo utilizado por sshd
# 21005 está siendo utilizado por http/ssl

Port 21006
PassivePorts 21021 21030
DefaultRoot /home/sites/ciudadano.presidencia.gob.mx
ExtendedLog /var/log/proftpd/ciudadano.log
UserAlias ciudadano temp2

AllowOverwrite on

AllowUser temp2
AllowUser 06myrna
DenyAll



AllowUser temp2
AllowUser 06myrna
DenyAll

#
# Order deny,allow
# Deny from 32.103.1.32 148.223.154.70 148.221.222.83 200.38.253.29 200.38.253.99 161.196.243.228 63.136.246.10 148.221.93.70 148.221.131.234 131.178.26.35 148.204.183.90 148.221.136.197 148.240.64.95 200.65.113.141 200.226.227.246 148.240.168.242 172.161.253.164 172.142.150.182 148.235.148.239 148.240.72.51 148.240.168.100 132.248.180.197 148.240.68.228 148.202.26.143 200.64.169.95 148.233.183.145
# Allow from all
#



Port 21007
PassivePorts 21021 21030
DefaultRoot /home/sites/tempo
ExtendedLog /var/log/proftpd/tempo.log

AllowOverwrite on

AllowGroup devel
DenyAll



AllowGroup devel
DenyAll


Order allow,deny
Allow from all


# 21008 está siendo utilizado por icecast
# 21009 está siendo utilizado por icecast
# 21010 está siendo utilizado por CIPE (UDP)


Port 21011
PassivePorts 21021 21030
DefaultRoot /home/sites/www.remesas.gob.mx
ExtendedLog /var/log/proftpd/remesas.log
UserAlias jorge_gongora temp3

AllowOverwrite on

AllowUser temp3
DenyAll



AllowUser temp3
DenyAll



## 21012 Cuenta upload para Diveo

Port 21012
PassivePorts 21021 21030
DefaultRoot /mnt/u02/kaspersky
ExtendedLog /var/log/proftpd/kaspersky.log
UserAlias kaspersky temp12

AllowOverwrite off

DenyAll


DenyAll


AllowUser temp12
DenyAll



AllowUser temp12
DenyAll




Port 21013
PassivePorts 21021 21030
DefaultRoot /home/sites/fronteranorte.presidencia.gob.mx
ExtendedLog /var/log/proftpd/fronteranorte.log
UserAlias fronteranorte temp7

AllowOverwrite on

AllowUser temp7
DenyAll



AllowUser temp7
DenyAll




Port 21014
PassivePorts 21021 21030
DefaultRoot /home/sites/migrantes.presidencia.gob.mx/
ExtendedLog /var/log/proftpd/migrantes.log
UserAlias juan temp6

AllowOverwrite on

AllowUser temp6
DenyAll



AllowUser temp6
DenyAll




Port 21015
PassivePorts 21021 21030
DefaultRoot /home/sites/upload/
ExtendedLog /var/log/proftpd/upload.log
UserAlias upload temp11

AllowOverwrite off

AllowUser temp11
DenyAll



AllowUser temp11
DenyAll




Port 21016
PassivePorts 21021 21030
DefaultRoot /home/sites/boletin.presidencia.gob.mx/
ExtendedLog /var/log/proftpd/boletin.log
UserAlias boletin temp8

AllowOverwrite on

AllowUser temp8
DenyAll



AllowUser temp8
DenyAll




Port 21017
PassivePorts 21021 21030
DefaultRoot /home/sites/www.globalforum.gob.mx/upload
ExtendedLog /var/log/proftpd/globalforum.log
UserAlias upload temp5

AllowOverwrite on

AllowUser temp5
DenyAll



AllowUser temp5
DenyAll




Port 21018
PassivePorts 21021 21030
DefaultRoot /home/sites/www.informe.presidencia.gob.mx/site/web/fotos
ExtendedLog /var/log/proftpd/informe.log
UserAlias upload temp9

AllowOverwrite on

AllowUser temp9
DenyAll



AllowUser temp9
DenyAll




Port 21019
PassivePorts 21021 21030
DefaultRoot /home/sites/multimedia.presidencia.gob.mx/upload
ExtendedLog /var/log/proftpd/informe.log
UserAlias upload temp9

AllowOverwrite on

AllowUser temp9
DenyAll



AllowUser temp9
DenyAll




User ftp
Group ftp
ExtendedLog /var/log/proftpd/anonymous.log
# We want clients to be able to login with "anonymous" as well as "ftp"
# El resto de los nombres son para darles el avión a los brute force attacks
UserAlias 123 ftp
UserAlias 1234 ftp
UserAlias 12345 ftp
UserAlias 123456 ftp
UserAlias 1234567 ftp
UserAlias 12345678 ftp
UserAlias access ftp
UserAlias adm ftp
UserAlias admin ftp
UserAlias Administrator ftp
UserAlias Administrador ftp
UserAlias anon ftp
UserAlias anonimo ftp
UserAlias anonimous ftp
UserAlias anonimuos ftp
UserAlias anonymous ftp
UserAlias apache ftp
UserAlias asd ftp
UserAlias asdf ftp
UserAlias asdfg ftp
UserAlias asdfgh ftp
UserAlias asdfghj ftp
UserAlias bin ftp
UserAlias beta ftp
UserAlias bogus ftp
UserAlias daemon ftp
UserAlias ftpuser ftp
UserAlias fox ftp
UserAlias gdm ftp
UserAlias guest ftp
UserAlias guest123 ftp
UserAlias info ftp
UserAlias james ftp
UserAlias login ftp
UserAlias mysql ftp
UserAlias nobody ftp
UserAlias open ftp
UserAlias oracle ftp
UserAlias oracle8i ftp
UserAlias postgres ftp
UserAlias presidencia ftp
UserAlias prueba ftp
UserAlias pub ftp
UserAlias public ftp
UserAlias qwe ftp
UserAlias qwer ftp
UserAlias qwert ftp
UserAlias qwerty ftp
UserAlias qwertyu ftp
UserAlias qwertyui ftp
UserAlias qwertyuio ftp
UserAlias root ftp
UserAlias rpm ftp
UserAlias sandino ftp
UserAlias salinas ftp
UserAlias Salinas ftp
UserAlias sys ftp
UserAlias temp ftp
UserAlias test ftp
UserAlias test123 ftp
UserAlias user ftp
UserAlias web ftp
UserAlias www ftp
UserAlias zxc ftp
UserAlias zxcv ftp
UserAlias zxcvb ftp
UserAlias zxcvbn ftp
UserAlias zxcvbnm ftp
UserAlias zedillo ftp
UserAlias Zedillo ftp

# Limit the maximum number of anonymous logins
MaxClients 15

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
#DisplayLogin welcome.msg
#DisplayFirstChdir .message

RequireValidShell off

# Limit LOGIN allow for every one

AllowAll


# Limit WRITE everywhere in the anonymous chroot

DenyAll


DenyFilter "CVS"
PathDenyFilter "(\.ftpaccess)|(\.htaccess)$"

#
#
# DenyAll
#
#




#######################################################################
Creative Commons License
Nada más la Puntita by Dan Alonso is licensed under a Creative Commons Reconocimiento-Compartir bajo la misma licencia 2.5 México License.
Permissions beyond the scope of this license may be available at http://dan-alonso.org/trabajos-derivados.

Post a comment