Is my ISP blocking `nc`?

Discussion in 'Linux Networking' started by Unknown, Mar 17, 2013.

  1. Unknown

    Unknown Guest

    I get:
    # nc -l -p 119 -vv -w 80 -n 78.46.70.11
    listening on [any] 119 ...
    quit
    ^C sent 0, rcvd 0

    Or is my syntax STILL wrong?

    IIRC I've used nc before on an older installation, so I tried:-
    -> # chroot /mnt/LennyP35 /bin/nc -l -p 119 -vv -w 80 -n 78.46.70.11
    listening on [any] 119 ...
    ^C sent 0, rcvd 0
    bash-3.1# chroot /mnt/LennyP35 /bin/nc -vvv 66.11.225.84 smtp
    66.11.225.84: inverse host lookup failed: Host name lookup failure
    ^C sent 0, rcvd 0
    bash-3.1# chroot /mnt/LennyP35 /bin/nc -vvv gmail.com smtp
    gmail.com: forward host lookup failed: Host name lookup failure
    : Resource temporarily unavailable
    bash-3.1# chroot /mnt/LennyP35 /bin/nc -vvv 78.46.70.11 119
    78.46.70.11: inverse host lookup failed: Host name lookup failure
    78.46.70.11^C sent 0, rcvd 0

    What confuses me too is if/how a `chroot` can communicate with THIS
    <root's pids>; especially since the chrooted-proccesses haven't got
    any /proc/* and /dev/*

    == TIA
     
    Unknown, Mar 17, 2013
    #1
    1. Advertisements

  2. Hello,

    Unknown a écrit :
    What do you want to achieve ?
     
    Pascal Hambourg, Mar 17, 2013
    #2
    1. Advertisements

  3. Unknown

    Unknown Guest

    1. increase my knowledge of using `nc` & NOW

    2. Consulting my log: to dedudce what I WAS trying to achieve:-
    -> nc -vv -w 80 -n 78.46.70.116 119
    (UNKNOWN) [78.46.70.116] 119 (nntp) open
    200 news.eternal-september.org InterNetNews NNRP server INN 2.6.0
    (20130210 snap
    help
    100 Legal commands
    ARTICLE [message-ID|number]
    AUTHINFO USER name|PASS password|SASL mechanism [initial-response]|
    GENERIC pro
    BODY [message-ID|number]
    CAPABILITIES [keyword]
    DATE
    GROUP newsgroup
    ......
    apparently <testing nc to dialog with NNTP:78.46.70.116>

    to build a repetoire of tools, in order to
    eg. analyse if/why/HOW2 smtp:gmail without http.
    The TLS/SSL is 'hidden' and I can't find what method my `links` uses,
    when it indicates <useing SSL>.

    == TIA.
     
    Unknown, Mar 21, 2013
    #3
  4. Unknown a écrit :
    $ man nc
    Then why don't you just run that same command again, instead of the ones
    listed in your first post ? -l puts nc into listening mode, i.e. make it
    act as a server waiting for an inbound connection.
     
    Pascal Hambourg, Mar 21, 2013
    #4
  5. Unknown

    beautifulflower

    Joined:
    Apr 12, 2013
    Messages:
    1
    Likes Received:
    0
    please clarify your question more
     
    beautifulflower, Apr 12, 2013
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.