Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is my ISP blocking `nc`?

31 views
Skip to first unread message

Unknown

unread,
Mar 17, 2013, 5:54:05 AM3/17/13
to

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

Pascal Hambourg

unread,
Mar 17, 2013, 6:24:04 AM3/17/13
to
Hello,

Unknown a ᅵcrit :
> 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?

What do you want to achieve ?

Unknown

unread,
Mar 21, 2013, 1:16:00 AM3/21/13
to
On Sun, 17 Mar 2013 11:24:04 +0100, Pascal Hambourg wrote:

> Hello,
>
> Unknown a écrit :
>> 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?
>
> What do you want to achieve ?

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.


Pascal Hambourg

unread,
Mar 21, 2013, 4:36:58 AM3/21/13
to
Unknown a ᅵcrit :
> On Sun, 17 Mar 2013 11:24:04 +0100, Pascal Hambourg wrote:
>
>> Unknown a ᅵcrit :
>>> 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?
>> What do you want to achieve ?
>
> 1. increase my knowledge of using `nc` & NOW

$ man nc

> 2. Consulting my log: to dedudce what I WAS trying to achieve:-
> -> nc -vv -w 80 -n 78.46.70.116 119
> .....
> apparently <testing nc to dialog with NNTP:78.46.70.116>

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.
0 new messages