Module Name: othersrc Committed By: lukem Date: Fri Sep 22 22:23:42 UTC 2023
Modified Files: othersrc/libexec/tnftpd/examples: ftpusers Log Message: sync share/examples/ftpd/ftpusers 1.4 ftpusers(5) example: use IP & DNS examples Use .example TLD, per IETF RFC 2606. Use 192.0.2.0/24, per IETF RFC 5737. Use 127.0.0.1/24 for localguest, not network that ftp.NetBSD.org used to be in. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/libexec/tnftpd/examples/ftpusers Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/libexec/tnftpd/examples/ftpusers diff -u othersrc/libexec/tnftpd/examples/ftpusers:1.1.1.1 othersrc/libexec/tnftpd/examples/ftpusers:1.2 --- othersrc/libexec/tnftpd/examples/ftpusers:1.1.1.1 Mon Jul 28 13:35:30 2003 +++ othersrc/libexec/tnftpd/examples/ftpusers Fri Sep 22 22:23:42 2023 @@ -1,4 +1,4 @@ -# $NetBSD: ftpusers,v 1.1.1.1 2003/07/28 13:35:30 lukem Exp $ +# $NetBSD: ftpusers,v 1.2 2023/09/22 22:23:42 lukem Exp $ # # example /etc/ftpusers # @@ -6,20 +6,20 @@ # prevent the following from logging in: # - users `root' and `toor' # - members of the group `noftp' -# - connections from 10.0.0.0/8 -# - connections from *.spammer.com +# - connections from 192.0.2.0/24 +# - connections from *.spammer.example # root deny toor deny *:noftp deny -*@10.0.0.0/8 deny -*@*.spammer.com deny +*@192.0.2.0/24 deny +*@*.spammer.example deny -# anonymous ftp connections from *.NetBSD.org and 204.152.186.0/24 go into +# anonymous ftp connections from *.NetBSD.org and 127.0.0.0/8 go into # class `localguest' # ftp@*.NetBSD.org allow localguest -ftp@204.152.186.0/24 allow localguest +ftp@127.0.0.0/8 allow localguest # permit anonymous ftp connections from elsewhere (both entries are required, # for backwards compatibility, although `ftp' is the user checked in other