Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Hugo Mills
On Tue, Jul 06, 2010 at 12:08:57AM +0100, Vic wrote:
> 
> >I think we're talking at cross purposes, then. I've just tried
> > Google's server, and it definitely needs two CR/LFs at the end of the
> > process: one to terminate the final header line, and another to
> > terminate the header block.
> 
> Here's my transcript :-
> 
> [...@bombardier ~]$ telnet google.com 80
> Trying 66.249.92.104...
> Connected to google.com.
> Escape character is '^]'.
> GET /
> HTTP/1.0 302 Found

   Aah, you're using the deprecated version of the protocol. Here's
mine:

h...@ruth:~$ telnet google.co.uk 80
Trying 74.125.79.147...
Connected to google.co.uk.
Escape character is '^]'.
GET / HTTP/1.1
Host: google.co.uk

HTTP/1.1 301 Moved Permanently
Location: http://www.google.co.uk/
Content-Type: text/html; charset=UTF-8
Date: Mon, 05 Jul 2010 22:46:04 GMT
[...]

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- People are too unreliable to be replaced by machines. ---  


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Vic

>I think we're talking at cross purposes, then. I've just tried
> Google's server, and it definitely needs two CR/LFs at the end of the
> process: one to terminate the final header line, and another to
> terminate the header block.

Here's my transcript :-

[...@bombardier ~]$ telnet google.com 80
Trying 66.249.92.104...
Connected to google.com.
Escape character is '^]'.
GET /
HTTP/1.0 302 Found
Location: http://www.google.co.uk/
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Set-Cookie:
PREF=ID=4630d25aed4bba9d:TM=1278371187:LM=1278371187:S=7W2iP3GjX1CgU4ng;
expires=Wed, 04-Jul-2012 23:06:27 GMT; path=/; domain=.google.com
Set-Cookie:
NID=36=f1kCiqpQ01deXG-9ci65gvZSQmKNQ28YVh4yF9-j5POFMBRbMjG0P0w0c9s14DWckZElxE68J96U7ZexmEwbpd-AyHwvaBybPNq7cMA1Mlz-0A3cuxbuPI0B8owGB9-k;
expires=Tue, 04-Jan-2011 23:06:27 GMT; path=/; domain=.google.com;
HttpOnly
Date: Mon, 05 Jul 2010 23:06:27 GMT
Server: gws
Content-Length: 221
X-XSS-Protection: 1; mode=block


302 Moved
302 Moved
The document has moved
http://www.google.co.uk/";>here.

Connection closed by foreign host.
[...@bombardier ~]$


You can see where I typed "GET /", and then hit return once.

Vic.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Hugo Mills
On Mon, Jul 05, 2010 at 11:41:51PM +0100, Vic wrote:
> 
> >> My Apache servers do not behave in that way...
> >
> >I bet they do.
> 
> I bet they don't. None of my servers require the second CRLF. Nor does
> Google's. Nor does lug.org.uk's. Try a few...

   I think we're talking at cross purposes, then. I've just tried
Google's server, and it definitely needs two CR/LFs at the end of the
process: one to terminate the final header line, and another to
terminate the header block.

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- "What's so bad about being drunk?" "You ask a glass of water" ---  
 


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Vic

>> My Apache servers do not behave in that way...
>
>I bet they do.

I bet they don't. None of my servers require the second CRLF. Nor does
Google's. Nor does lug.org.uk's. Try a few...

>> Either something very odd is going on with this hardware, or $ISP is
>> lying
>> to me about which subscriber is attached to this IP address.
>
>Either one of those is plausible, although the latter is more
> likely, IMO.

It's a sad indictment of the quality we expect from ISPs, but that is what
I'm leaning towards as well :-(

Vic.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Jan Henkins
Hello Vic and Hugo,

On 05/07/10 23:20, Hugo Mills wrote:
> Either one of those is plausible, although the latter is more
> likely, IMO

I agree with this as the more plausible one of the two. If you have 
somebody on-site that can connect through the router you have in mind, 
please ask them to surf over to:

http://www.whatismyip.com/

This site will at least tell you what the outside IP address of their 
router is.

-- 
Regards,
Jan Henkins


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Hugo Mills
On Mon, Jul 05, 2010 at 10:48:37PM +0100, Vic wrote:
> 
> >> Yes - and trying "GET /" or similar gets a 404 response (although I
> >> always
> >> have to hit return twice).
> >
> >Yup, that's part of the HTTP protocol. The empty line indicates the
> > end of the headers.
> 
> My Apache servers do not behave in that way...

   I bet they do. Mine do. It's part of the HTTP RFC: CR/LF at the end
of each line of the header, and a CR/LF at the end of an empty line to
indicate the end of the headers. (Section 5, RFC 2616)

> >> But it's a web-ish server running on port , and claiming to be on
> >> Fedora 6. That's the bit I don't understand...
> >
> >I'm guessing UPnP in an embedded device of some kind.
> 
> ...Which has now disappeared[1].
> 
> Either something very odd is going on with this hardware, or $ISP is lying
> to me about which subscriber is attached to this IP address.

   Either one of those is plausible, although the latter is more
likely, IMO.

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- "What's so bad about being drunk?" "You ask a glass of water" ---  
 


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Vic

>> Yes - and trying "GET /" or similar gets a 404 response (although I
>> always
>> have to hit return twice).
>
>Yup, that's part of the HTTP protocol. The empty line indicates the
> end of the headers.

My Apache servers do not behave in that way...

>> But it's a web-ish server running on port , and claiming to be on
>> Fedora 6. That's the bit I don't understand...
>
>I'm guessing UPnP in an embedded device of some kind.

...Which has now disappeared[1].

Either something very odd is going on with this hardware, or $ISP is lying
to me about which subscriber is attached to this IP address.

Vic.

[1] I had very different results earlier; it looked like a totally
different network...

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Hugo Mills
On Mon, Jul 05, 2010 at 10:22:38PM +0100, Vic wrote:
> 
> > The reply from the line starting 501 looks like the reply one would
> > expect from a web server when throwing something un-http at it.
> 
> Yes - and trying "GET /" or similar gets a 404 response (although I always
> have to hit return twice).

   Yup, that's part of the HTTP protocol. The empty line indicates the
end of the headers. If you had a POST request, you would then start
the post body...

> But it's a web-ish server running on port , and claiming to be on
> Fedora 6. That's the bit I don't understand...

   I'm guessing UPnP in an embedded device of some kind.

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- You know... I'm sure this code would seem a lot better if I ---   
 never tried running it. 


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Vic

> It's not difficult to configure apache or for that matter most other web
> servers to run on any non-used port.

Yes I know - but I administer the server there, and it isn't running FC6,
and it isn't running apache on .

Hence the appeal as to whether or not anyone knows what is going on...

Vic.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Jim Kissel

It's not difficult to configure apache or for that matter most other web 
servers to run on any non-used port.  The default for httpd is to run on 
port 80, or 443 for shttp requests.  "non-standard" ports use to be 
quite common in the early days of the web.

It would require some manual configuration to change which ever web 
server to run on  on Fedora 6. Either that, or someone may have 
hacked the server or at sometime a hacked version of httpd was installed 
on it.

ymmv

Vic wrote:
>> The reply from the line starting 501 looks like the reply one would
>> expect from a web server when throwing something un-http at it.
> 
> Yes - and trying "GET /" or similar gets a 404 response (although I always
> have to hit return twice).
> 
> But it's a web-ish server running on port , and claiming to be on
> Fedora 6. That's the bit I don't understand...
> 
> Vic.
> 
> 

-- 
Life is too short.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Hugo Mills
On Mon, Jul 05, 2010 at 10:09:38PM +0100, Vic wrote:
> 
> Hi All.
> 
> This might be OT for the list, but I know there are some decent network
> admins reading it...
> 
> A customer of mine has a static IP address with a server on the back of
> it, running a few odds and ends. Nothing special - mail, web, news, ftp.
> 
> He can't currently talk to his server - and nor can I (ssh is open to my
> address). Running nmap against his address currently[1] gives me a single
> port open - . So I connected to it...
> 
> [...@goliath ~]$ telnet  
> Trying ...
> Connected to .
> Escape character is '^]'.

   What happens if you do something like:

GET / HTTP/1.1


here?

   It may give you some clues as to what the device is.

>  501 Not Implemented
> Content-Type: text/html
> Connection: close
> Content-Length: 149
> Server: FedoraCore/6 UPnP/1.0 miniupnpd/1.0

   UPnP and miniupnpd would suggest that it's either some kind of
router, that uses UPnP to push things through a firewall, or it's some
kind of media server.

> Now I'm only expecting one machine there to be running Linux at all - and
> it's not running FC6. There might be an embedded Linux somewhere - it's a
> Belkin router; I don't know what they run inside.

   FC6 is pretty old, so some kind of embedded device seems plausible.

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- You know... I'm sure this code would seem a lot better if I ---   
 never tried running it. 


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Vic

> The reply from the line starting 501 looks like the reply one would
> expect from a web server when throwing something un-http at it.

Yes - and trying "GET /" or similar gets a 404 response (although I always
have to hit return twice).

But it's a web-ish server running on port , and claiming to be on
Fedora 6. That's the bit I don't understand...

Vic.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT?] This is odd...

2010-07-05 Thread Jim Kissel
The reply from the line starting 501 looks like the reply one would 
expect from a web server when throwing something un-http at it.

Vic wrote:
> Hi All.
> 
> This might be OT for the list, but I know there are some decent network
> admins reading it...
> 
> A customer of mine has a static IP address with a server on the back of
> it, running a few odds and ends. Nothing special - mail, web, news, ftp.
> 
> He can't currently talk to his server - and nor can I (ssh is open to my
> address). Running nmap against his address currently[1] gives me a single
> port open - . So I connected to it...
> 
> [...@goliath ~]$ telnet  
> Trying ...
> Connected to .
> Escape character is '^]'.
> 
> 
>  501 Not Implemented
> Content-Type: text/html
> Connection: close
> Content-Length: 149
> Server: FedoraCore/6 UPnP/1.0 miniupnpd/1.0
> 
> 501 Not ImplementedNot
> ImplementedThe HTTP Method is not implemented by this
> server.
> Connection closed by foreign host.
> 
> (I hit return twice at the point where there is a gap above).
> 
> Now I'm only expecting one machine there to be running Linux at all - and
> it's not running FC6. There might be an embedded Linux somewhere - it's a
> Belkin router; I don't know what they run inside.
> 
> I rang the ISP, who claimed to be certain that this customer was
> definitely connected on this IP address.
> 
> Anyone know what's going on?
> 
> Thanks.
> 
> Vic.
> 
> [1] nmap has given me several very different results over the course of
> the day.
> 
> 

-- 
Life is too short.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


[Hampshire] [OT?] This is odd...

2010-07-05 Thread Vic

Hi All.

This might be OT for the list, but I know there are some decent network
admins reading it...

A customer of mine has a static IP address with a server on the back of
it, running a few odds and ends. Nothing special - mail, web, news, ftp.

He can't currently talk to his server - and nor can I (ssh is open to my
address). Running nmap against his address currently[1] gives me a single
port open - . So I connected to it...

[...@goliath ~]$ telnet  
Trying ...
Connected to .
Escape character is '^]'.


 501 Not Implemented
Content-Type: text/html
Connection: close
Content-Length: 149
Server: FedoraCore/6 UPnP/1.0 miniupnpd/1.0

501 Not ImplementedNot
ImplementedThe HTTP Method is not implemented by this
server.
Connection closed by foreign host.

(I hit return twice at the point where there is a gap above).

Now I'm only expecting one machine there to be running Linux at all - and
it's not running FC6. There might be an embedded Linux somewhere - it's a
Belkin router; I don't know what they run inside.

I rang the ISP, who claimed to be certain that this customer was
definitely connected on this IP address.

Anyone know what's going on?

Thanks.

Vic.

[1] nmap has given me several very different results over the course of
the day.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] suggest a laptop

2010-07-05 Thread James Ashburner
On 04/07/2010 10:16, pavithran wrote:
> I am looking for a light weight laptop which is powerfull and also is
> supported in GNU/linux ( hopes for all free drivers)
>
> It would be nice if the laptop could run compiz + openoffice+ firefox(
> 10 tabs +gmail) without any delays .
>
> Regards,
> Pavithran
>
>
>
>
The HP EliteBook 2530p may fit your requirements.

James

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--