I have a really strange problem. My local network accesses the Internet through a firewall which consults a websense server before permitting access to the Internet.
From Windows, I can access basically anything I want to, with the occasional Websense page if I accidentally click on a forbidden link.
From Linux, there are some sites that are giving me an error, presumably directly from the firewall -- no Websense logo/message -- saying:
Code:
Error
FW-1 at AL-NHU-ALEMANIA: Access denied.
As I can access the sites from Windows, even using Firefox, it seems to me that I should be able to access the same sites from Linux.
I've been trying to experiment with telnetting to port 80, but I'm not good enough at manually accessing.
Code:
$ telnet easyjet.com 80
Trying 213.174.196.170...
Connected to easyjet.com.
Escape character is '^]'.
get / http/1.1
HTTP/1.0 301 Moved Permanently
Location: http://www.easyjet.com/
Connection: Keep-Alive
Content-Length: 0
I don't know how to follow that 301, and so I don't know if I am actually "out there". But I think that I am, because the result is different on youtube:
Code:
$ telnet www.youtube.com 80
Trying 216.239.59.139...
Connected to www.youtube.com.
Escape character is '^]'.
get / http/1.1
Host: www.youtube.com:80
HTTP/1.0 400 Bad Request
Content-Type: text/html; charset=UTF-8
Content-Length: 1350
Date: Wed, 21 Apr 2010 14:22:12 GMT
Server: GFE/2.0
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>400 Bad Request</title>
<style><!--
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
//--></style>
<script><!--
var rc=400;
//-->
</script>
</head>
<body text=#000000 bgcolor=#ffffff>
<table border=0 cellpadding=2 cellspacing=0 width=100%><tr><td rowspan=3 width=1% nowrap>
<b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font> </b>
<td> </td></tr>
<tr><td bgcolor="#3366cc"><font face=arial,sans-serif color="#ffffff"><b>Error</b></td></tr>
<tr><td> </td></tr></table>
<blockquote>
<H1>Bad Request</H1>
Your client has issued a malformed or illegal request.
<p>
</blockquote>
<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor="#3366cc"><img alt="" width=1 height=4></td></tr></table>
</body></html>
Connection closed by foreign host.
Any ideas of why I can seeming communicate with these sites with Telnet, but not with Firefox? Or ideas as to how I can further debug this?
Thanks for any suggestions.