I have a strange behaviour.
If I type in my browser (Firefox) this address:
http://<my_site>?login=<my_login>&password=<my_password>
I can enter and get authorized. If I use the same line from my
useragent or even from wget, the site diverts me to an error page and
doesn't let me in.
here are some snippets taken from an etherreal session:
FROM THE BROWSER:
Hypertext Transfer Protocol
GET /alice/portal/service/entry.do?service=sms&from=alice HTTP/1.1\r\n
Request Method: GET
Request URI: /alice/portal/service/entry.do?service=sms&from=alice
Request Version: HTTP/1.1
Host: www.rossoalice.virgilio.it\r\n
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.12)
Gecko/20051010 Firefox/1.0.4 (Ubuntu package 1.0.7)\r\n
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Language: it,it-it;q=0.8,en-us;q=0.5,en;q=0.3\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
Cookie: kp=80.23.61.194.1128499183660059;
JSESSIONID=DMFScOLfRWokil5pC6FEGboZvuNaHfoNAT4Z29uDNuVw9YgBAisW!-1047046649;
ra11=Y3rnqDn1VDOpGHbeyTBiBq3vYp/M4EEbMNTwGKnvWL+K7LIeSN921T70GTUSD7797AIHYx2UP69uRZVPPbYea8MbAa3MF92HxekcW+nIrbyz8HD2fGb
\r\n
.......
......
Hypertext Transfer Protocol
HTTP/1.1 200 OK\r\n
Request Version: HTTP/1.1
Response Code: 200
Date: Tue, 11 Oct 2005 18:18:43 GMT\r\n
Server: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284\r\n
Keep-Alive: timeout=20, max=19999\r\n
Connection: Keep-Alive\r\n
Transfer-Encoding: chunked\r\n
Content-Type: text/html; charset=ISO-8859-1\r\n
Content-Language: it\r\n
\r\n
HTTP chunked response
Data chunk (757 octets)
Chunk size: 757 octets
Data (757 bytes)
0000 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 <!DOCTYPE HTML P
******************************************************************************************
FROM LWP
Hypertext Transfer Protocol
GET /alice/portal/service/entry.do?service=sms HTTP/1.1\r\n
Request Method: GET
Request URI: /alice/portal/service/entry.do?service=sms
Request Version: HTTP/1.1
Keep-Alive: 300\r\n
Connection: Keep-Alive\r\n
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Language: it,it-it;q=0.8,en-us;q=0.5,en;q=0.3\r\n
Host: www.rossoalice.virgilio.it\r\n
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.12)
Gecko/20051010 Firefox/1.0.4 (Ubuntu package 1.0.7)\r\n
Cookie:
JSESSIONID=DNCBa1HlP8oxk6ciTG1K3N73PfHlCTdh4qcPSbTAaVNRqCzCKRee!-1720153440;
kp=82.57.176.190.1129136834217268;
ra-1=a=1813739:o=A:t=0:s=C:p=1:m=1:;
ra11="Y3rnqDn1VDOpGHbeyTBiBquqoglSPuqACQeoLjgq/4piyYhMCUsnBZtkQmyFplnC+ZGsjPtqLk3n
\r\n
........................
....................
Hypertext Transfer Protocol
HTTP/1.1 200 OK\r\n
Request Version: HTTP/1.1
Response Code: 200
Date: Wed, 12 Oct 2005 17:07:14 GMT\r\n
Server: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284\r\n
Keep-Alive: timeout=20, max=20000\r\n
Connection: Keep-Alive\r\n
Transfer-Encoding: chunked\r\n
Content-Type: text/html; charset=ISO-8859-1\r\n
Content-Language: it\r\n
\r\n
HTTP chunked response
[Unreassembled Packet: HTTP]
No. Time Source Destination Protocol Info
30 0.710024 81.74.238.6 192.168.1.3 HTTP
Continuation or non-HTTP traffic
********************************************
Where is the problem? I am getting lost..
Thanks to all