From owner-freebsd-current@FreeBSD.ORG Fri Jun 13 15:19:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0B6E37B401; Fri, 13 Jun 2003 15:19:31 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FBA743FD7; Fri, 13 Jun 2003 15:19:25 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h5DMJKVd048242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jun 2003 01:19:20 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h5DMJIAR048237; Sat, 14 Jun 2003 01:19:18 +0300 (EEST) (envelope-from ru) Date: Sat, 14 Jun 2003 01:19:18 +0300 From: Ruslan Ermilov To: Vaclav Petricek Message-ID: <20030613221918.GH29368@sunbay.com> References: <20030608220507.GA84706@sunbay.com> <20030608230204.GB88799@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IR1Y5IvQhrKgS4e6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: current@freebsd.org cc: security@freebsd.org Subject: Re: redirect unauthorized users to a login page (natd as a transparent proxy) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 22:19:32 -0000 --IR1Y5IvQhrKgS4e6 Content-Type: multipart/mixed; boundary="+Z7/5fzWRHDJ0o7Q" Content-Disposition: inline --+Z7/5fzWRHDJ0o7Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2003 at 11:53:48AM +0200, Vaclav Petricek wrote: [...] > The patch works. Thank you very much. I attach my attempt on a patch that > should make it possible to ommit the alias_address and interface options > in case proxy_only is specified. IMHO in that situation these options are > not used and should not be required by natd.. >=20 Certainly. I've committed a variation of your patch to natd.c, and the corresponding documentation changes to natd.8. MFC is planned in two weeks (see attached). Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --+Z7/5fzWRHDJ0o7Q Content-Type: message/rfc822 Content-Disposition: inline Received: from whale.sunbay.crimea.ua (root@localhost)h5DMFxXD047769 for ; Sat, 14 Jun 2003 01:15:59 +0300 (EEST) (envelope-from owner-src-committers@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) h5DMFtuY047760 for ; Sat, 14 Jun 2003 01:15:58 +0300 (EEST) (envelope-from owner-src-committers@FreeBSD.org) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 89EBD56E20 for ; Fri, 13 Jun 2003 15:15:52 -0700 (PDT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id C84A537B483; Fri, 13 Jun 2003 15:15:48 -0700 (PDT) Delivered-To: ru@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 2853337B404; Fri, 13 Jun 2003 15:15:45 -0700 (PDT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E7AF37B401; Fri, 13 Jun 2003 15:15:43 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D212443F75; Fri, 13 Jun 2003 15:15:42 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5DMFg0U025540; Fri, 13 Jun 2003 15:15:42 -0700 (PDT) (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5DMFgQf025539; Fri, 13 Jun 2003 15:15:42 -0700 (PDT) Message-Id: <200306132215.h5DMFgQf025539@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 13 Jun 2003 15:15:42 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/natd natd.8 natd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG ru 2003/06/13 15:15:42 PDT FreeBSD src repository Modified files: sbin/natd natd.8 natd.c Log: If the -proxy_only option is used, the -alias_address/-interface options are not required. Suggested by: Vaclav Petricek MFC after: 2 weeks Revision Changes Path 1.58 +5 -2 src/sbin/natd/natd.8 1.42 +4 -2 src/sbin/natd/natd.c --+Z7/5fzWRHDJ0o7Q-- --IR1Y5IvQhrKgS4e6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+6k3mUkv4P6juNwoRAinyAJ0V5Bi5D/emPttBAu6YTPlxRPZdnACdFv+l ErlKqn5B/RbnrDJqC67b+Sw= =7gMR -----END PGP SIGNATURE----- --IR1Y5IvQhrKgS4e6--