Network Traffic: Difference between revisions

From Sharpfin
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= Network Communication =
= Network Communication =
* Example [[Network Traffic]]: transactions


== Acquiring Station List ==
== Acquiring Station List ==
Line 25: Line 23:
</pre>
</pre>


<h3>Key Generation?</h3>
== Key Generation ==
<table border="1" width="100%">
 
  <tr>
'''Sent'''
    <td width="100%"><font color="#000080"><br>
 
      HEAD /portal/stats_key_gen.xml?serial=XXXXXXXX HTTP/1.1<br>
<pre>
      Host: portal14.7803986842.com<br>
HEAD /portal/stats_key_gen.xml?serial=XXXXXXXX HTTP/1.1
      Pragma: no-cache<br>
Host: portal14.7803986842.com
      Accept: */*</font><br>
Pragma: no-cache
      <br>
Accept: */*
      <font color="#800080">HTTP/1.1 302 Redirecting to portal<br>
</pre>
      Date: Fri, 29 Sep 2006 11:07:41 GMT<br>
 
      Server: Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e<br>
'''Received'''
      Location: http://kegan.reciva.com/portal-v2/stats_key_gen.xml?serial=XXXXXXXX<br>
 
      Content-Type: text/plain<br>
<pre>
      </font></td>
HTTP/1.1 302 Redirecting to portal
  </tr>
Date: Fri, 29 Sep 2006 11:07:41 GMT
</table>
Server: Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e
<h3>Station Streaming</h3>
Location: http://kegan.reciva.com/portal-v2/stats_key_gen.xml?serial=XXXXXXXX
<table border="1" width="100%">
Content-Type: text/plain
  <tr>
</pre>  
    <td width="100%"><font color="#000080"><br>
 
      GET /alouette.m3u HTTP/1.1<br>
== Station Streaming ==
      User-Agent: RMA/1.0.(compatible;.RealMedia)<br>
 
      Host: www.alouette.fr<br>
'''Sent'''
      Pragma: no-cache<br>
 
      Accept: */*</font><br>
<pre>
      <br>
GET /alouette.m3u HTTP/1.1
      <font color="#800080">HTTP/1.1 200 OK<br>
User-Agent: RMA/1.0.(compatible;.RealMedia)
      Date: Fri, 29 Sep 2006 11:05:10 GMT<br>
Host: www.alouette.fr
      Server: Apache/1.3.33 (Debian GNU/Linux)<br>
Pragma: no-cache
      Vary: Host<br>
Accept: */*
      Last-Modified: Mon, 08 Aug 2005 09:11:03 GMT<br>
</pre>
      ETag: "dac079-b3-42f721a7"<br>
 
      Accept-Ranges: bytes<br>
'''Received'''
      Content-Length: 179<br>
 
      Content-Type: audio/mpegurl<br>
<pre>
      <br>
HTTP/1.1 200 OK
      #EXTM3U<br>
Date: Fri, 29 Sep 2006 11:05:10 GMT
      #EXTINF:-1, (ALOUETTE EN LIVE ! www.alouette.fr)&nbsp;<br>
Server: Apache/1.3.33 (Debian GNU/Linux)
      http://ns57.ovh.net:80/<br>
Vary: Host
      #EXTINF:-1, (ALOUETTE EN HIFI SUR LE WEB ! AACplus SBR (www.alouette.fr)&nbsp;<br>
Last-Modified: Mon, 08 Aug 2005 09:11:03 GMT
      http://213.186.61.129</font>
ETag: "dac079-b3-42f721a7"
      <p><font color="#000080">GET / HTTP/1.1<br>
Accept-Ranges: bytes
      User-Agent: RMA/1.0.(compatible;.RealMedia)<br>
Content-Length: 179
      Host: ns57.ovh.net<br>
Content-Type: audio/mpegurl
      Pragma: no-cache<br>
 
      Accept: */*</font><br>
#EXTM3U
      <br>
#EXTINF:-1, (ALOUETTE EN LIVE ! www.alouette.fr)  
      <font color="#800080">ICY 200 OK<br>
http://ns57.ovh.net:80/
      icy-notice1:&lt;BR>This stream requires &lt;a href="http://www.winamp.com/">Winamp&lt;/a>&lt;BR><br>
#EXTINF:-1, (ALOUETTE EN HIFI SUR LE WEB ! AACplus SBR (www.alouette.fr)  
      icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.5&lt;BR><br>
http://213.186.61.129  
      icy-name:ALOUETTE EN LIVE www.alouette.fr<br>
GET / HTTP/1.1
      icy-genre:Pop Rock Dance Top 40<br>
User-Agent: RMA/1.0.(compatible;.RealMedia)
      icy-url:http://www.alouette.fr<br>
Host: ns57.ovh.net
      content-type:audio/mpeg<br>
Pragma: no-cache
      icy-pub:1<br>
Accept: */*
      icy-br:128</font></p>
 
      <p><font color="#800080">.... audio stream ....<br>
ICY 200 OK
      </font></td>
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
  </tr>
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.5<BR>
</table>
icy-name:ALOUETTE EN LIVE www.alouette.fr
<h3>Browsing Stations</h3>
icy-genre:Pop Rock Dance Top 40
<table border="1" width="100%">
icy-url:http://www.alouette.fr
  <tr>
content-type:audio/mpeg
    <td width="100%"><font color="#000080"><br>
icy-pub:1
      HEAD /portal/stations.xml?serial=XXXXXXXX;sp=v255-c-084;hw=1012;display_language=en_GB;radioswversion=v583-a-033;language;rm=mode1 HTTP/1.1<br>
icy-br:128
      Host: portal15.7803986842.com<br>
 
      Pragma: no-cache<br>
.... audio stream ....
      Accept: */*</font><br>
 
      <br>
</pre>
      <font color="#800080">HTTP/1.1 302 Redirecting to portal<br>
      Date: Fri, 29 Sep 2006 11:03:59 GMT<br>
== Browsing Stations ==
      Server: Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.1 mod_ssl/2.0.54
 
      OpenSSL/0.9.7d mod_perl/1.999.21 Perl/v5.8.4<br>
'''Sent'''
      Location: http://copper.reciva.com/portal-newformat/stations.xml?serial=XXXXXXXX<br>
      Content-Type: text/x-perl<br>
      </font></td>
  </tr>
</table>
<h3><font face="Arial">Stats Collection !</font></h3>


<table border="1" width="100%">
<pre>
  <tr>
HEAD /portal/stations.xml?serial=XXXXXXXX;sp=v255-c-084;hw=1012;display_language=en_GB;radioswversion=v583-a-033;language;rm=mode1 HTTP/1.1
    <td width="100%"><br>
Host: portal15.7803986842.com
      <font color="#000080">POST /cgi-bin/stats-incoming.pl HTTP/1.1<br>
Pragma: no-cache
      Host: stats-incoming.reciva.com<br>
Accept: */*
      Pragma: no-cache<br>
</pre>
      Accept: */*<br>
 
      Content-Length: 277<br>
'''Received'''
      Content-Type: application/x-www-form-urlencoded<br>
 
      <br>
<pre>
      serial=XXXXXXXX&amp;data=089424bc7d6b8315a44038b711ecde1d19041e09c586f6281910e8084755054ba52620b80eafb69a191a7544da723889fa0f611eb32dfeb627ecdf11fcb5e1e943c9a8e56a133576ccb3782e7bcc01c6b2da66fe39789044000affde0c0f0ad6e4bed7e873a2df6f9caab5564901814532265ef687e1c61624152d9c2d3e736d</font>
HTTP/1.1 302 Redirecting to portal
      <p><font color="#800080">HTTP/1.1 200 OK<br>
Date: Fri, 29 Sep 2006 11:03:59 GMT
      Date: Fri, 29 Sep 2006 11:08:06 GMT<br>
Server: Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.1 mod_ssl/2.0.54 OpenSSL/0.9.7d mod_perl/1.999.21 Perl/v5.8.4
      Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29 PHP/4.3.11<br>
Location: http://copper.reciva.com/portal-newformat/stations.xml?serial=XXXXXXXX
      Transfer-Encoding: chunked<br>
Content-Type: text/x-perl
      Content-Type: text/html; charset=ISO-8859-1<br>
</pre>
      <br>
      0</font><br>
      <font color="#000080"><br>
      POST /cgi-bin/stats-incoming.pl HTTP/1.1<br>
      Host: stats-incoming.reciva.com<br>
      Pragma: no-cache<br>
      Accept: */*<br>
      Content-Length: 277<br>
      Content-Type: application/x-www-form-urlencoded</font><br>
      <br>
      <font color="#800080">serial=XXXXXXXX&amp;data=7c8f845406ec560be5ec9a76990f1f0d6661125f5fec43a69c2f9e3e71e38838ffbed25255589561246b506525155db0572836908ba4ef8d44092344a9fa58b4854667e3f601c732aa3c70ac2f6a56ccc05e551602c593aa83e4aa20221fe4649ae5214c55a6167b92772865660e721eb85964c3938afac8d5e69aed34b7063c</font></p>
      <p><font color="#800080">HTTP/1.1 200 OK<br>
      Date: Fri, 29 Sep 2006 11:08:42 GMT<br>
      Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29 PHP/4.3.11<br>
      Transfer-Encoding: chunked<br>
      Content-Type: text/html; charset=ISO-8859-1<br>
      <br>
      0<br>
      </font></td>
  </tr>
</table>


Service Pack Update
== Stats Collection ! ==
 
'''Sent'''


<table border="1" width="100%">
<pre>
  <tr>
POST /cgi-bin/stats-incoming.pl HTTP/1.1
    <td width="100%"><font color="#000080"><br>
Host: stats-incoming.reciva.com
      GET /cgi-local//service-pack.pl?serial=XXXXXXXX&amp;sp=v255-c-084&amp;hw=1012&amp;sv=02&amp;check=1 HTTP/1.1<br>
Pragma: no-cache
      User-Agent: RMA/1.0.(compatible;.RealMedia)<br>
Accept: */*
      Host: www.reciva.com<br>
Content-Length: 277
      Pragma: no-cache<br>
Content-Type: application/x-www-form-urlencoded
      Accept: */*</font><br>
 
      <br>
serial=XXXXXXXX&data=089424bc7d6b8315a44038b711ecde1d19041e09c586f6281910e8084755054ba52620b80eafb69a191a7544da723889fa0f611eb32dfeb627ecdf11fcb5e1e943c9a8e56a133576ccb3782e7bcc01c6b2da66fe39789044000affde0c0f0ad6e4bed7e873a2df6f9caab5564901814532265ef687e1c61624152d9c2d3e736d
      <font color="#800080">HTTP/1.1 301 Moved Permanently<br>
</pre>
      Date: Fri, 29 Sep 2006 11:41:28 GMT<br>
 
      Server: Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4-0.0bpo1 mod_ssl/2.0.54 OpenSSL/0.9.7e<br>
'''Received'''
      Location: http://copper.reciva.com/cgi-bin///service-pack.pl?serial=XXXXXXXX&amp;sp=v255-c-084&amp;hw=1012&amp;sv=02&amp;check=1<br>
 
      Content-Length: 464<br>
<pre>
      Content-Type: text/html; charset=iso-8859-1<br>
HTTP/1.1 200 OK
      <br>
Date: Fri, 29 Sep 2006 11:08:06 GMT
      &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br>
Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29 PHP/4.3.11
      &lt;html>&lt;head><br>
Transfer-Encoding: chunked
      &lt;title>301 Moved Permanently&lt;/title><br>
Content-Type: text/html; charset=ISO-8859-1
      &lt;/head>&lt;body><br>
 
      &lt;h1>Moved Permanently&lt;/h1><br>
0
      &lt;p>The document has moved &lt;a href="http://copper.reciva.com/cgi-bin///service-pack.pl?serial=XXXXXXXX&amp;amp;sp=v255-c-084&amp;amp;hw=1012&amp;amp;sv=02&amp;amp;check=1">here&lt;/a>.&lt;/p><br>
</pre>
      &lt;hr><br>
 
      &lt;address>Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4-0.0bpo1 mod_ssl/2.0.54 OpenSSL/0.9.7e Server at www.reciva.com Port 80&lt;/address><br>
'''Sent'''
      &lt;/body>&lt;/html></font><br>
 
      <br>
<pre>
      <font color="#000080">GET /cgi-bin///service-pack.pl?serial=XXXXXXXX&amp;sp=v255-c-084&amp;hw=1012&amp;sv=02&amp;check=1 HTTP/1.1<br>
POST /cgi-bin/stats-incoming.pl HTTP/1.1
      User-Agent: RMA/1.0.(compatible;.RealMedia)<br>
Host: stats-incoming.reciva.com
      Host: copper.reciva.com<br>
Pragma: no-cache
      Pragma: no-cache<br>
Accept: */*
      Accept: */*<br>
Content-Length: 277
      </font><br>
Content-Type: application/x-www-form-urlencoded
      <font color="#800080">HTTP/1.0 200 OK<br>
 
      Content-type: text/plain<br>
serial=XXXXXXXX&data=7c8f845406ec560be5ec9a76990f1f0d6661125f5fec43a69c2f9e3e71e38838ffbed25255589561246b506525155db0572836908ba4ef8d44092344a9fa58b4854667e3f601c732aa3c70ac2f6a56ccc05e551602c593aa83e4aa20221fe4649ae5214c55a6167b92772865660e721eb85964c3938afac8d5e69aed34b7063c
      <br>
</pre>
      none</font><br>
 
    </td>
'''Received'''
  </tr>
 
</table>
<pre>
HTTP/1.1 200 OK
Date: Fri, 29 Sep 2006 11:08:42 GMT
Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29 PHP/4.3.11
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
 
0
 
</pre>
 
== Service Pack Update ==
 
'''Sent'''
 
<pre>
GET /cgi-local//service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1 HTTP/1.1
User-Agent: RMA/1.0.(compatible;.RealMedia)
Host: www.reciva.com
Pragma: no-cache
Accept: */*
</pre>
 
'''Received'''
 
<pre>
HTTP/1.1 301 Moved Permanently
Date: Fri, 29 Sep 2006 11:41:28 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4-0.0bpo1 mod_ssl/2.0.54 OpenSSL/0.9.7e
Location: http://copper.reciva.com/cgi-bin///service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1
Content-Length: 464
Content-Type: text/html; charset=iso-8859-1
 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://copper.reciva.com/cgi-bin///service-pack.pl?serial=XXXXXXXX&amp;sp=v255-c-084&amp;hw=1012&amp;sv=02&amp;check=1">here</a>.</p>
<hr>
<address>Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4-0.0bpo1 mod_ssl/2.0.54 OpenSSL/0.9.7e Server at www.reciva.com Port 80</address>
</body></html>
</pre>
 
'''Sent'''
 
<pre>
GET /cgi-bin///service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1 HTTP/1.1
User-Agent: RMA/1.0.(compatible;.RealMedia)
Host: copper.reciva.com
Pragma: no-cache
Accept: */*
</pre>
 
'''Received'''
<pre>
HTTP/1.0 200 OK
Content-type: text/plain
 
none
</pre>

Revision as of 19:46, 28 October 2006

Network Communication

Acquiring Station List

Sent

HEAD /portal/stations.xml?serial=XXXXXXXX;sp=v255-c-084 HTTP/1.1
Host: portal1.7803986842.com
Pragma: no-cache
Accept: */*

Received

HTTP/1.1 302 Redirecting to portal
Date: Fri, 29 Sep 2006 11:07:39 GMT
Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29
PHP/4.3.11
Location: http://kegan.reciva.com/portal-newformat/stations.xml?serial=XXXXXXXX
Content-Type: text/plain

Key Generation

Sent

HEAD /portal/stats_key_gen.xml?serial=XXXXXXXX HTTP/1.1
Host: portal14.7803986842.com
Pragma: no-cache
Accept: */*

Received

HTTP/1.1 302 Redirecting to portal
Date: Fri, 29 Sep 2006 11:07:41 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e
Location: http://kegan.reciva.com/portal-v2/stats_key_gen.xml?serial=XXXXXXXX
Content-Type: text/plain

Station Streaming

Sent

GET /alouette.m3u HTTP/1.1
User-Agent: RMA/1.0.(compatible;.RealMedia)
Host: www.alouette.fr
Pragma: no-cache
Accept: */*

Received

HTTP/1.1 200 OK
Date: Fri, 29 Sep 2006 11:05:10 GMT
Server: Apache/1.3.33 (Debian GNU/Linux)
Vary: Host
Last-Modified: Mon, 08 Aug 2005 09:11:03 GMT
ETag: "dac079-b3-42f721a7"
Accept-Ranges: bytes
Content-Length: 179
Content-Type: audio/mpegurl

#EXTM3U
#EXTINF:-1, (ALOUETTE EN LIVE ! www.alouette.fr) 
http://ns57.ovh.net:80/
#EXTINF:-1, (ALOUETTE EN HIFI SUR LE WEB ! AACplus SBR (www.alouette.fr) 
http://213.186.61.129 
GET / HTTP/1.1
User-Agent: RMA/1.0.(compatible;.RealMedia)
Host: ns57.ovh.net
Pragma: no-cache
Accept: */*

ICY 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.5<BR>
icy-name:ALOUETTE EN LIVE www.alouette.fr
icy-genre:Pop Rock Dance Top 40
icy-url:http://www.alouette.fr
content-type:audio/mpeg
icy-pub:1
icy-br:128

.... audio stream ....

Browsing Stations

Sent

HEAD /portal/stations.xml?serial=XXXXXXXX;sp=v255-c-084;hw=1012;display_language=en_GB;radioswversion=v583-a-033;language;rm=mode1 HTTP/1.1
Host: portal15.7803986842.com
Pragma: no-cache
Accept: */*

Received

HTTP/1.1 302 Redirecting to portal
Date: Fri, 29 Sep 2006 11:03:59 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.1 mod_ssl/2.0.54 OpenSSL/0.9.7d mod_perl/1.999.21 Perl/v5.8.4
Location: http://copper.reciva.com/portal-newformat/stations.xml?serial=XXXXXXXX
Content-Type: text/x-perl

Stats Collection !

Sent

POST /cgi-bin/stats-incoming.pl HTTP/1.1
Host: stats-incoming.reciva.com
Pragma: no-cache
Accept: */*
Content-Length: 277
Content-Type: application/x-www-form-urlencoded

serial=XXXXXXXX&data=089424bc7d6b8315a44038b711ecde1d19041e09c586f6281910e8084755054ba52620b80eafb69a191a7544da723889fa0f611eb32dfeb627ecdf11fcb5e1e943c9a8e56a133576ccb3782e7bcc01c6b2da66fe39789044000affde0c0f0ad6e4bed7e873a2df6f9caab5564901814532265ef687e1c61624152d9c2d3e736d 

Received

HTTP/1.1 200 OK
Date: Fri, 29 Sep 2006 11:08:06 GMT
Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29 PHP/4.3.11
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

0

Sent

POST /cgi-bin/stats-incoming.pl HTTP/1.1
Host: stats-incoming.reciva.com
Pragma: no-cache
Accept: */*
Content-Length: 277
Content-Type: application/x-www-form-urlencoded

serial=XXXXXXXX&data=7c8f845406ec560be5ec9a76990f1f0d6661125f5fec43a69c2f9e3e71e38838ffbed25255589561246b506525155db0572836908ba4ef8d44092344a9fa58b4854667e3f601c732aa3c70ac2f6a56ccc05e551602c593aa83e4aa20221fe4649ae5214c55a6167b92772865660e721eb85964c3938afac8d5e69aed34b7063c

Received

HTTP/1.1 200 OK
Date: Fri, 29 Sep 2006 11:08:42 GMT
Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d mod_perl/1.29 PHP/4.3.11
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

0

Service Pack Update

Sent

GET /cgi-local//service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1 HTTP/1.1
User-Agent: RMA/1.0.(compatible;.RealMedia)
Host: www.reciva.com
Pragma: no-cache
Accept: */*

Received

HTTP/1.1 301 Moved Permanently
Date: Fri, 29 Sep 2006 11:41:28 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4-0.0bpo1 mod_ssl/2.0.54 OpenSSL/0.9.7e
Location: http://copper.reciva.com/cgi-bin///service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1
Content-Length: 464
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://copper.reciva.com/cgi-bin///service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1">here</a>.</p>
<hr>
<address>Apache/2.0.54 (Debian GNU/Linux) PHP/5.1.4-0.0bpo1 mod_ssl/2.0.54 OpenSSL/0.9.7e Server at www.reciva.com Port 80</address>
</body></html>

Sent

GET /cgi-bin///service-pack.pl?serial=XXXXXXXX&sp=v255-c-084&hw=1012&sv=02&check=1 HTTP/1.1
User-Agent: RMA/1.0.(compatible;.RealMedia)
Host: copper.reciva.com
Pragma: no-cache
Accept: */*

Received

HTTP/1.0 200 OK
Content-type: text/plain

none