Date: Thu, 27 Jul 2000 11:13:39 +0200 From: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> To: "Noor Dawod" <noor@comrax.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: one IP, multiple hosts. Message-ID: <155580301839.20000727111339@buz.ch> In-Reply-To: <PHEBIOJOBJJLIIJCOINKCEDJCEAA.noor@comrax.com> References: <PHEBIOJOBJJLIIJCOINKCEDJCEAA.noor@comrax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Noor, Thursday, July 27, 2000, 9:10:21 AM, you 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) ? You need to look at the application level layer (in this case HTTP and there at HTTP_HOST (not sure how the field is called in HTTP, that's the name that CGI uses for it)). Best regards, Gabriel 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?155580301839.20000727111339>