Hi,

Running proftpd 1.2.5 (out of the box config with Mandrake 9.0).  I'm
noticing many entries in my syslog of ftp sessions that connect, then
immediately disconnect (zero elapsed time).

I'm assuming these are port probes against my box.  For the moment, I've
shut down proftpd, as I can restart it via ssh whenever I need to.  I'd like
to be able to restrict connections by IP address so I can leave it running,
but only accept connections from my internal LAN and the external address of
my office firewall.

I've read through some of the docs at www.proftp.org - but I'm a little
confused as to how to apply IP restrictions.

I tried the following in proftpd.conf:

<Limit>
   Allow 192.168.1.0/24
   DenyAll
</Limit>

But that resulted in an error when starting proftpd:
"FATAL: <LIMIT>: Requires one or more FTP commands."

Can someone give me an example on how to do this?

Thanks a bunch!

Regards,
Marlo Montanaro
CNE
Registered Linux User 303184

"There are 10 kinds of people in the world:
those who understand binary, and those who don't."



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to