Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/examples/ftpd add example "limit" command
details: https://anonhg.NetBSD.org/src/rev/a5f611668808
branches: trunk
changeset: 480275:a5f611668808
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jan 08 13:17:17 2000 +0000
description:
add example "limit" command
diffstat:
share/examples/ftpd/ftpd.conf | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r ec3833982e58 -r a5f611668808 share/examples/ftpd/ftpd.conf
--- a/share/examples/ftpd/ftpd.conf Sat Jan 08 12:41:14 2000 +0000
+++ b/share/examples/ftpd/ftpd.conf Sat Jan 08 13:17:17 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ftpd.conf,v 1.2 1999/12/26 09:38:47 lukem Exp $
+# $NetBSD: ftpd.conf,v 1.3 2000/01/08 13:17:17 lukem Exp $
#
# example /etc/ftpd.conf
@@ -22,6 +22,11 @@
rateget slowmo 5k
rateput slowmo 5k
+# Limit the number of simultaneous `foo' class connections to 50,
+# and display /etc/ftptoomany when this limit is reached
+#
+limit foo 50 ftptoomany
+
# Support automatic conversions.
# (For anonymous connections, ~ftp/usr/bin should be a symlink to ~ftp/bin,
# and gzip and tar should exist in the latter directory.)
Home |
Main Index |
Thread Index |
Old Index