DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-04-05 21:01:10

dayre
Member
Registered: 2007-04-03
Posts: 6

problems using netcat + kittens

I'm trying to fetch my WAN ip using the www.whatismyip.org service.  I'd like to try to use this to update my /etc/ftpaccess file for correctly handling external FTP connections through my NATing router into my internal network.

On OSX, i run the following nc command and get the following:

Code:

$ nc -v -v www.whatismyip.org 80 < get.txt
DNS fwd/rev mismatch: www.whatismyip.org != am3.am.net
www.whatismyip.org [206.176.224.3] 80 (http) open
HTTP/1.1 200 OK
Connection: close
Content-Length: 159
Date: Thu, 05 Apr 2007 17:46:33 GMT
Content-Type: text/plain
Server: AOLserver/4.0
MIME-Version: 1.0

Error: blank User-Agent header is not allowed! Please ask the author of your IP address checking client to specify their client's name in the User-Agent header sent 16, rcvd 323

On the DNS-323, i do the same thing using the nc provided by KRH and get the following:

Code:

# ./nc -v -v www.whatismyip.org 80 < get.txt
Notice: Real hostname for www.whatismyip.org [206.176.224.3] is am3.am.net
Total received bytes: 0
Total sent bytes: 0

Why are there no bytes being sent from the DNS-323 ?  Any help would be greatly appreciated... 

Here is a picture of some kittens if this helps answer the question.

http://www.nemr.net/~poppy1/Pollie.jpg

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB