Date: Tue, 31 Aug 1999 09:54:37 +0100 From: dwmalone@maths.tcd.ie To: freebsd-bugs@freebsd.org, rdemeyer@os.dhhs.gov Subject: Re: misc/13474: Maximum Number of IPs Permitted in the .../etc/hosts.allow file Message-ID: <199908310954.aa58998@salmon.maths.tcd.ie>
next in thread | raw e-mail | index | archive | help
rdemeyer@os.dhhs.gov writes: >>How-To-Repeat: >Have 52 IP numbers in /etc/hosts.allow and every thing works fine. >Have 53 (or more) IP numbers in /etc/hosts.allow and no onw can log onto the server. I think the tcp wrappers code may have a maximum line length, and rejects connections if the max line lenght is exceded, to be on the paranoid side. Have you tried splitting the lines? For example, replace: ftpd: 1.1.1.1 2.2.2.2 3.3.3.3 4.4.4.4 5.5.5.5 ... 53.53.53.53 : allow ftpd: ALL : deny with something like: ftpd: 1.1.1.1 ... 10.10.10.10 : alloy ftpd: 11.11.11.11 ... 20.20.20.20 : allow ftpd: 21.21.21.21 ... 30.30.30.30 : allow ftpd: 31.31.31.31 ... 40.40.40.40 : allow ftpd: 41.41.41.41 ... 50.50.50.50 : allow ftpd: 51.51.51.51 ... 53.53.53.53 : allow ftpd: ALL : deny David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908310954.aa58998>
