From owner-freebsd-questions Fri Apr 7 16:59:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id 821EF37BC3F for ; Fri, 7 Apr 2000 16:59:15 -0700 (PDT) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.10.0/8.10.0) id e37NxDG16385; Fri, 7 Apr 2000 16:59:13 -0700 (PDT) From: Bhishan Hemrajani Message-Id: <200004072359.e37NxDG16385@cytosine.dhs.org> Subject: Re: Access to outbound if's IP address? In-Reply-To: <002001bfa0e7$ac071ca0$6400a8c0@teamsoftech.com> from Kai Peters at "Apr 7, 2000 04:19:06 pm" To: Kai Peters Date: Fri, 7 Apr 2000 16:59:12 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How about this... create say a hotmail account. Edit the crontab on the gateways. Put this in a normal user's crontab: 59 1 * * * ifconfig -a | sendmail user@hotmail.com That way, every day, the machine will send a mail to user@hotmail.com with the new ip address. Then, you just go to the hotmail account, and you can see the ip address of that box. --bhishan > > > > > What's easiest to do, is have them go to one of your fbsd boxes http > > server, and then do a tail on the access_log. > > > > If you have apache installed, it should be: > > /usr/local/apahche/logs/access_log > > I had thought about something like that (equivalent to going to a site > like http://privacy.net/analyze) which would also give them their > current IP. > > Most of our sites don't run apache though; they are plain vanilla > gateways... > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message