Re: Semi-functional networking?

Jonathan Lassoff <[email protected]> Sun, 22 Aug 2004 23:19:55 -0700
Newsgroups gmane.linux.bbc.general
Message-ID <[email protected]>
Shon wrote:

>On Sun, 2004-08-22 at 06:34, Niall O Broin wrote:
>  
>
>>On 21 Aug 2004, at 21:37, Shon wrote:
>>
>>    
>>
>>>My NIC is configured by DCHP, I can then ping my router (192.168.64.1),
>>>my ISP's DNS servers, and an internal server.  I can SSH to the 
>>>internal
>>>server. But the instant I attempt to HTTP anywhere, I never get
>>>replies.  I've sniffed the traffic in LNX-BBC, but couldn't find a
>>>problem (although, I'm not the best protocol analyst).
>>>
>>>My entire network is NAT'd to the outside world and all works fine.  I
>>>just seem to be missing something with LNX-BBC
>>>      
>>>
>>Is it maybe a name resolution issue? Can you ping hosts in the outside 
>>world by name rather than IP address? Can you use dig to look up IP 
>>addresses? From what you say about your NIC being configured by DHCP 
>>this SHOULD be working but you didn't say anything to show that it is.
>>
>>Please accept my apologies if this provokes a response along the lines 
>>of "What kind of an idiot do you think I am?" :-)
>>
>>
>>
>>
>>Niall
>>
>>
>>    
>>
>
>What kind of ...  just kidding.
>
>DNS works fine, too.  Andrew Scott asked off-line about firewalls and
>how I'm HTTPing.  I do have a Linksys router doing NAT for the entire
>network, and the PC I'm using for LNX-BBX is getting the same IP from
>the Linksys DHCP server that it does when I'm booting Windows - so I
>doubt it's a firewall/NAT problem. HTTP: I first used Browsex, then
>tried Lynx, then tried telnet to port 80. None received a response from
>any server (internal or external). I immediately SSH'd to one of my
>local servers and telnet'd to port 80 at www.intel.com, typed 'GET
>/<ENTER><ENTER>' and received some nice HTML.
>
>So, from LNX-BBC, I'm getting DHCP data (IP, DNS, etc), I can ping
>within my network and outside it to my ISP (my ISP block ICMP to/from
>its network, so I can never ping Intel, Slashdot, etc), I can resolve
>names, I can SSH - but I can't get HTTP replies.
>
>The trace file I mentioned is available at:
>http://digitaldarkarts.com/shon/lnx-bbx-trace.dat (3.1K)
>
>--S
>
>
>_______________________________________________
>lnx-bbc mailing list
>[email protected]
>http://zork.net/mailman/listinfo/lnx-bbc
>  
>
Perhaps you could try and use HTTP/1.1? I don't think that using 
HTTP/1.0 and a Host: field would break anything, but I would reckon to 
try something like:

[leetdude@foo:~]$ telnet google.com 80
Trying someiphere...
Connected to google.com [someiphere].
 > GET / HTTP/1.1
 > Host: google.com
(return twice)