TCP Analyzer page is not HTTP/1.0 compatible.

Please post any questions, comments, concerns, issues, bugs, or feature requests about the site/forums/server here.
Post Reply
tsuneo
New Member
Posts: 5
Joined: Tue Jan 24, 2006 5:10 am

TCP Analyzer page is not HTTP/1.0 compatible.

Post by tsuneo »

Hello

Following page is not HTTP/1.0 compatible.
http://www.speedguide.net:8080/

If I connect this page, I got response like following.
# telnet http://www.speedguide.net 8080
Trying 63.217.30.70...
Connected to http://www.speedguide.net.
Escape character is '^]'.
GET / HTTP/1.0

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><head>

And, there is no response line like "HTTP/1.0 200 OK\r\n\r\n".
So, this page cannot be displayed through some proxy server.
Could you please add "HTTP/1.0 200 OK\r\n\r\n" before response
body to be obey HTTP/1.0.

Thank you !
---
tsuneo.
CableDude
SG VIP
Posts: 26801
Joined: Sat Jun 02, 2001 12:00 pm

Post by CableDude »

Works fine for me.
User avatar
Philip
SG VIP
Posts: 11758
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

This behaviour most likely indicates Analyzer server at this address/port does not recognize your machine and can't continue analyzing packets from you to complete the page with the correct redirect to the analyzer.php parser.

At this point it is waiting for a packet from your client in order to analyze it and complete the page, which should look something like:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function loadurl(url) {
        if (document.images)
                window.location.replace(url);
        else
                window.location.href = url;}
//-->
</script>
<title>Connection Diagnostics</title></head><body bgcolor="white">
<SCRIPT LANGUAGE="JavaScript">
<!--
window.loadurl('http://www.speedguide.net/analyzer.php?DATA_OFFSET=40&TCP_Options_string=020405b40103030201010402&IP_MTU_DISCOVER=1&WIN=64240&RWIN=256960&MSS=1460&SCALE=2&TTL=54&TSOPT=0&SACK_PERM=1&IP_TOS=0&IP=70.124.x.x&timestamp=1138481394');
//--> </SCRIPT><h1>Connection parameters retrieved</h1></body> </html>
I hope this helps...
tsuneo
New Member
Posts: 5
Joined: Tue Jan 24, 2006 5:10 am

Post by tsuneo »

There is no problem on response *body*, but there is problem on
response *header*.
Normal HTTP server have response line adn response header
before response body like following.

==================
HTTP/1.0 200 OK <== response line
Server: Apache <== response header

Body.... <=== response body
==================
Could you please check it ?
User avatar
Philip
SG VIP
Posts: 11758
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Hmm, seems you're right on the response headers. We were using some stripped down to minimum server for the Analyzer. I'll look into it.

However, it can not work through proxies, simply because it looks into, and analyzes the request packets to extract the information from tcp/ip headers.
tsuneo
New Member
Posts: 5
Joined: Tue Jan 24, 2006 5:10 am

I am waiting...

Post by tsuneo »

Because of this issue, we cannot use TCP analizer and just see blank page
through proxy.
TCP anylizer is very helpful page, and I cannot another site cool than the site.
So, I would very appreciate it if you can handle this...

Thank you !

:rotfl:
tsuneo
New Member
Posts: 5
Joined: Tue Jan 24, 2006 5:10 am

Schedule ?

Post by tsuneo »

Is there any plan to handle this case ?
If possible, can I get the schedule to do ?

Thank you !
User avatar
Philip
SG VIP
Posts: 11758
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Excuse the delay in getting back to you.

It's been uodated to send standard response headers, something like:

Code: Select all

HTTP/1.1 200 OK
Server: SG TCP/IP Analyzer
Expires: Mon, 27 Feb 2006 14:14:14 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Encoding: ISO-8859-1
Content-Type: text/html
How does that work with your 1.0 request ?
tsuneo
New Member
Posts: 5
Joined: Tue Jan 24, 2006 5:10 am

Thank you!

Post by tsuneo »

Thank you very much for your handling !
Now, we can use TCP analyzer without problem.

Thank you very much for providing very useful tool !
User avatar
Philip
SG VIP
Posts: 11758
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Thanks for the constructive feedback ! :)
Post Reply