Netcat Problems - Security

This is a discussion on Netcat Problems - Security ; Whenever I try to connect to my web server using the following command: nc -v XXX.XXX.XXX.XXX 80 I get the following result: nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND I don't get it. Is netcat trying to lookup an ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Netcat Problems

  1. Netcat Problems

    Whenever I try to connect to my web server using the following
    command:

    nc -v XXX.XXX.XXX.XXX 80

    I get the following result:

    nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND

    I don't get it. Is netcat trying to lookup an IP address when I've
    already supplied one? Also, very very infrequently, the connection
    succeeds, so I know that my syntax is correct, but 99% of the time
    this is the error message I get. This seems to be the simplest of
    netcat commands, and I can't get off of the ground even with this.
    Help!

    Devon

  2. Re: Netcat Problems

    Devon Reed wrote:

    > nc -v XXX.XXX.XXX.XXX 80


    > nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND


    Use telnet (without -v) for testing, since netcat has bad error reporting.
    --
    Top 100 things you don't want the sysadmin to say:
    0. I just made an extra 2 meg of space in /, I stripped /vmunix.
    Oh, so that's why ps doesn't work.
    Friß, Spammer: zqk0@posting.7eggert.dyndns.org nodmmoney_opertune@success.com

  3. Re: Netcat Problems

    Bodo Eggert <7eggert@fsmtpd.7eggert.dyndns.org> wrote in message news:<0n1k6c.17o.ln@msgid.7eggert.dyndns.org>...
    > Devon Reed wrote:
    >
    > > nc -v XXX.XXX.XXX.XXX 80

    >
    > > nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND

    >
    > Use telnet (without -v) for testing, since netcat has bad error reporting.


    I did this. Telnet works while netcat does not. Any thoughts?

  4. Re: Netcat Problems

    devon@jiffysquid.com (Devon Reed) wrote in
    news:272e9ef7.0404262146.11a77aae@posting.google.c om:

    > I did this. Telnet works while netcat does not. Any thoughts?
    >


    Netcat will try to resolve an address anyway, except if you use the
    modifier -n, RTFM or nc -h ;-)
    A lot of tools have the same behaviour.
    Cheers,

    --
    Nekromancer
    PUF (FAQ) del grupo:
    http://usuarios.lycos.es/n3kr0m4nc3r/
    Apuntes de seguridad:
    http://www.pclandia.net/nekromancer/

    "El nivel de conocimientos adquiridos es
    inversamente proporcional a la temperatura del cafe"

+ Reply to Thread