Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2000 17:50:35 -0400 (EDT)
From:      dkrapf@UU.NET (Donald E. Krapf)
To:        stable@freebsd.org
Subject:   Re: one IP, multiple hosts.
Message-ID:  <QQizoh25820.200007262150@npiserve0.corp.us.uu.net>
In-Reply-To: <Pine.BSF.4.10.10007262326050.65280-100000@dns.comrax.com> from "noor@comrax.com" at Jul 26, 2000 11:30:38 PM

next in thread | previous in thread | raw e-mail | index | archive | help
You misunderstand *Virtual* hosts.

Apache's NameVirtualHost allows you to host multiple websites on a single
computer with a single IP address.  This computer acts like multiple hosts
(i.e. Virtual hosts), as far as web service goes, but is not really
different hosts.  It works by examining the HTTP/1.1 "HOST:" header to
associate a request with a website.

Since the multiple hosts are a figment of the webserver's imagination,
the network monitoring tools don't know anything about them.  If you 
happen to catch an HTTP request, you can read the "HOST:" header to see
which virtual host it is destined for.

noor@comrax.com writes:
> 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) ?
> 
> Thanks for your help in advance.
> 
> Noor

Don
-- 
Don Krapf
dkrapf@uu.net


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QQizoh25820.200007262150>