Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 00:08:36 -0700 (PDT)
From:      "Jason C. Wells" <jcwells@nwlink.com>
To:        Noor Dawod <noor@comrax.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: one IP, multiple hosts.
Message-ID:  <Pine.SOL.3.96.1000727000232.8103A-100000@utah>
In-Reply-To: <PHEBIOJOBJJLIIJCOINKCEDJCEAA.noor@comrax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Jul 2000, Noor Dawod wrote:

> 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) ?

I am going to answer a completely different question than you asked. :)

You could set different log files in each of your <VirtualHost>
directives.  Your log analyzer would then tell you which virtual host
received what traffic. 

It's just an idea and may utterly not suit what you are trying to
accomplish.

I don't think those networked tools will help you unless you can make them
spit out resolved names instead of IP addresses. I am not much of a
networking guy. Be warned.

Thank you,
Jason C. Wells



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.1000727000232.8103A-100000>