From owner-freebsd-stable Wed Jul 26 14:55: 8 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 5C46F37C1F7 for ; Wed, 26 Jul 2000 14:55:05 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 160729B1C; Wed, 26 Jul 2000 17:55:04 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 0AFCDBA11; Wed, 26 Jul 2000 17:55:04 -0400 (EDT) Date: Wed, 26 Jul 2000 17:55:04 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: noor@comrax.com Cc: stable@FreeBSD.ORG Subject: Re: one IP, multiple hosts. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 26 Jul 2000 noor@comrax.com wrote: > > Hi all, > > I'm wondering about a certain issue I would like to get help on. Suppose > you have one IP, 192.168.10.80, which is the IP of many hosted domains > (and their respective hosts) on a certain web server. > > Using Apache's NameVirtualHost and VirtualHost directives, I can direct > the flow of packets being sent to the same IP to different hosts. > > My question is: using tcpdump, trafshow, snort, or any other program I > don't know about, how can I know which host is being accessed when the > only information I got is: IP address, and port number (80 for web) ? > By using one of the above programs, you should be able to sniff and find out what host/page was requested (HTTP is plain text). Of course, you can also look in apache's logs. Also, since this really doesn't pertain specifically to FreeBSD -stable branches, freebsd-questions@FreeBSD.org would probably have been more appropriate. ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message