From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 15:27:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B806816A4CE for ; Tue, 17 Aug 2004 15:27:17 +0000 (GMT) Received: from hotmail.com (bay9-f51.bay9.hotmail.com [64.4.47.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id A374543D55 for ; Tue, 17 Aug 2004 15:27:17 +0000 (GMT) (envelope-from dead_line@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 17 Aug 2004 08:27:17 -0700 Received: from 195.226.241.103 by by9fd.bay9.hotmail.msn.com with HTTP; Tue, 17 Aug 2004 15:27:17 GMT X-Originating-IP: [195.226.241.103] X-Originating-Email: [dead_line@hotmail.com] X-Sender: dead_line@hotmail.com From: "Long Story" To: freebsd-questions@freebsd.org Date: Tue, 17 Aug 2004 15:27:17 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Aug 2004 15:27:17.0586 (UTC) FILETIME=[AE20A320:01C4846E] Subject: hosts.allow Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 15:27:17 -0000 Hello everyone, Because of the MASS failure tries to connect to my server using random passwords I decided to allow only my IP to access the server. I didnot do this before cuz i was worried this restriction will effect any services running.. a question: If i change hosts.allow to accept only my ip adrs and next line is ALL : ALL : deny is this will effect any performance? such as webmail, smtp or other connections/services? After fixing those lines, I used the webMail to send mail, then an SMTP error came saying (access denied) hmm any hint? Example (The IP is an Example): ALL : 192.168.0. : allow ALL : ALL : deny One more stupid question. If i want to allow a whole class of ips, shall i write as ALL : 192.168.0.* : allow (using the star) OR ALL : 192.168.0. : allow (leave it empty) Thanks for the help. Marwan. _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus