Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The trouble with computers is that they do what you tell them, not what you want. -- D. Cohen


devel / comp.unix.shell / Check a socks5 proxy with netcat.

SubjectAuthor
* Check a socks5 proxy with netcat.hongy...@gmail.com
+* Re: Check a socks5 proxy with netcat.Janis Papanagnou
|+- Re: Check a socks5 proxy with netcat.Kenny McCormack
|`- Re: Check a socks5 proxy with netcat.Kees Nuyt
`* Re: Check a socks5 proxy with netcat.Jalen Q
 `- Re: Check a socks5 proxy with netcat.Jalen Q

1
Check a socks5 proxy with netcat.

<255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6033&group=comp.unix.shell#6033

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ae9:c116:0:b0:742:4d08:a8bd with SMTP id z22-20020ae9c116000000b007424d08a8bdmr1386861qki.4.1677936579222;
Sat, 04 Mar 2023 05:29:39 -0800 (PST)
X-Received: by 2002:a05:6870:c384:b0:16e:2f74:e5c1 with SMTP id
g4-20020a056870c38400b0016e2f74e5c1mr1307752oao.8.1677936578435; Sat, 04 Mar
2023 05:29:38 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sat, 4 Mar 2023 05:29:38 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=208.86.32.27; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 208.86.32.27
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com>
Subject: Check a socks5 proxy with netcat.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Sat, 04 Mar 2023 13:29:39 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2679
 by: hongy...@gmail.com - Sat, 4 Mar 2023 13:29 UTC

Based on the comments here [1-2], I tried to test the availability of my socks5 proxy, but failed to get the information I needed:

werner@X10DAi:~$ echo 050100 | xxd -p -r | netcat 127.0.0.1 18888
^C
werner@X10DAi:~$ printf "\x05\x01\x00\r\n" | nc 127.0.0.1 18888 | hd
^C

But curl will return useful information as follows:

werner@X10DAi:~$ curl -Ivx socks5h://127.0.0.1:18888 www.baidu.com
* Trying 127.0.0.1:18888...
* SOCKS5 connect to www.baidu.com:80 (remotely resolved)
* SOCKS5 request granted.
* Connected to (nil) (127.0.0.1) port 18888 (#0)
> HEAD / HTTP/1.1
> Host: www.baidu.com
> User-Agent: curl/7.85.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Accept-Ranges: bytes
Accept-Ranges: bytes
< Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
< Connection: keep-alive
Connection: keep-alive
< Content-Length: 277
Content-Length: 277
< Content-Type: text/html
Content-Type: text/html
< Date: Sat, 04 Mar 2023 13:24:38 GMT
Date: Sat, 04 Mar 2023 13:24:38 GMT
< Etag: "575e1f6f-115"
Etag: "575e1f6f-115"
< Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
< Pragma: no-cache
Pragma: no-cache
< Server: bfe/1.0.8.18
Server: bfe/1.0.8.18

<
* Connection #0 to host (nil) left intact

Any tips/comments/explanations for this problem will be appreciated.

[1] https://superuser.com/questions/303251/how-to-check-if-a-socks5-proxy-works
[2] https://stackoverflow.com/questions/52530515/how-use-netcat-to-test-socks5-server

Regards,
Zhao

Re: Check a socks5 proxy with netcat.

<ttvjcf$104kc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6034&group=comp.unix.shell#6034

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: Check a socks5 proxy with netcat.
Date: Sat, 4 Mar 2023 15:08:14 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <ttvjcf$104kc$1@dont-email.me>
References: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 4 Mar 2023 14:08:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="348a64df03c5235d4b95dce9cd15debb";
logging-data="1053324"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gYIZYhSxJbsBPMRxXNQDA"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:UxmP0MTXbcSfaQzR8h5aBb1piXw=
In-Reply-To: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com>
 by: Janis Papanagnou - Sat, 4 Mar 2023 14:08 UTC

On 04.03.2023 14:29, hongy...@gmail.com wrote:
> Based on the comments here [1-2], I tried to test the availability of my socks5 proxy, but failed to get the information I needed:
> [...]

Aren't all those recent postings from the OP off-topic here and
better placed in either of c.u.questions, c.u.admin, c.u.misc,
etc.?

Janis

Re: Check a socks5 proxy with netcat.

<ttvjr8$l36a$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6035&group=comp.unix.shell#6035

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: Check a socks5 proxy with netcat.
Date: Sat, 4 Mar 2023 14:16:08 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <ttvjr8$l36a$1@news.xmission.com>
References: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com> <ttvjcf$104kc$1@dont-email.me>
Injection-Date: Sat, 4 Mar 2023 14:16:08 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="691402"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Sat, 4 Mar 2023 14:16 UTC

In article <ttvjcf$104kc$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>On 04.03.2023 14:29, hongy...@gmail.com wrote:
>> Based on the comments here [1-2], I tried to test the availability of my socks5
>proxy, but failed to get the information I needed:
>> [...]
>
>Aren't all those recent postings from the OP off-topic here and
>better placed in either of c.u.questions, c.u.admin, c.u.misc,
>etc.?

Really, they should be posted to alt.dev.null (if that exists).

Most of this guy's ("hongy") postings are of the form:

Hey! I just noticed that the sun is shining. How does that work?
Isn't that amazing?

--
Nov 4, 2008 - the day when everything went
from being Clinton's fault to being Obama's fault.

Re: Check a socks5 proxy with netcat.

<abm90i1tf16966c4rthpihgkmhi353n1ru@dim53.demon.nl>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6037&group=comp.unix.shell#6037

  copy link   Newsgroups: comp.unix.shell
From: k.n...@nospam.demon.nl (Kees Nuyt)
Newsgroups: comp.unix.shell
Subject: Re: Check a socks5 proxy with netcat.
Date: Sun, 05 Mar 2023 19:04:10 +0100
Reply-To: k.nuyt@nospam.demon.nl
Message-ID: <abm90i1tf16966c4rthpihgkmhi353n1ru@dim53.demon.nl>
References: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com> <ttvjcf$104kc$1@dont-email.me>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!feeder.usenetexpress.com!tr1.eu1.usenetexpress.com!94.232.112.245.MISMATCH!feed.abavia.com!abe005.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 16
Injection-Date: Sun, 05 Mar 2023 19:04:12 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: Kees Nuyt - Sun, 5 Mar 2023 18:04 UTC

On Sat, 4 Mar 2023 15:08:14 +0100, Janis Papanagnou
<janis_papanagnou+ng@hotmail.com> wrote:

>On 04.03.2023 14:29, hongy...@gmail.com wrote:
>> Based on the comments here [1-2], I tried to test the availability of my socks5 proxy, but failed to get the information I needed:
>> [...]
>
>Aren't all those recent postings from the OP off-topic here and
>better placed in either of c.u.questions, c.u.admin, c.u.misc,
>etc.?

Yes, you're right. Thanks for the heads up.
I'll be more selective in my replies.
--
Kees Nuyt

Re: Check a socks5 proxy with netcat.

<e4254f87-11cf-4b9c-9750-9e0dda2af09fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6039&group=comp.unix.shell#6039

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ad4:5503:0:b0:56e:b032:db3a with SMTP id pz3-20020ad45503000000b0056eb032db3amr2195911qvb.1.1678063809402;
Sun, 05 Mar 2023 16:50:09 -0800 (PST)
X-Received: by 2002:a05:6870:4356:b0:176:6103:6dc5 with SMTP id
x22-20020a056870435600b0017661036dc5mr3145970oah.11.1678063809076; Sun, 05
Mar 2023 16:50:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sun, 5 Mar 2023 16:50:08 -0800 (PST)
In-Reply-To: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:e82:d400:88c2:f590:191c:6cdb;
posting-account=rR5tnAoAAAC2kIBHWh0n6frMCTGowyvE
NNTP-Posting-Host: 2600:1700:e82:d400:88c2:f590:191c:6cdb
References: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e4254f87-11cf-4b9c-9750-9e0dda2af09fn@googlegroups.com>
Subject: Re: Check a socks5 proxy with netcat.
From: jalen...@gmail.com (Jalen Q)
Injection-Date: Mon, 06 Mar 2023 00:50:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jalen Q - Mon, 6 Mar 2023 00:50 UTC

On Saturday, March 4, 2023 at 7:29:42 AM UTC-6, hongy...@gmail.com wrote:
> Based on the comments here [1-2], I tried to test the availability of my socks5 proxy, but failed to get the information I needed:
>
> werner@X10DAi:~$ echo 050100 | xxd -p -r | netcat 127.0.0.1 18888
> ^C
> werner@X10DAi:~$ printf "\x05\x01\x00\r\n" | nc 127.0.0.1 18888 | hd
> ^C
>
> But curl will return useful information as follows:
>
> werner@X10DAi:~$ curl -Ivx socks5h://127.0.0.1:18888 www.baidu.com
> * Trying 127.0.0.1:18888...
> * SOCKS5 connect to www.baidu.com:80 (remotely resolved)
> * SOCKS5 request granted.
> * Connected to (nil) (127.0.0.1) port 18888 (#0)
> > HEAD / HTTP/1.1
> > Host: www.baidu.com
> > User-Agent: curl/7.85.0
> > Accept: */*
> >
> * Mark bundle as not supporting multiuse
> < HTTP/1.1 200 OK
> HTTP/1.1 200 OK
> < Accept-Ranges: bytes
> Accept-Ranges: bytes
> < Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
> Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
> < Connection: keep-alive
> Connection: keep-alive
> < Content-Length: 277
> Content-Length: 277
> < Content-Type: text/html
> Content-Type: text/html
> < Date: Sat, 04 Mar 2023 13:24:38 GMT
> Date: Sat, 04 Mar 2023 13:24:38 GMT
> < Etag: "575e1f6f-115"
> Etag: "575e1f6f-115"
> < Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
> Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
> < Pragma: no-cache
> Pragma: no-cache
> < Server: bfe/1.0.8.18
> Server: bfe/1.0.8.18
>
> <
> * Connection #0 to host (nil) left intact
>
> Any tips/comments/explanations for this problem will be appreciated.
>
> [1] https://superuser.com/questions/303251/how-to-check-if-a-socks5-proxy-works
> [2] https://stackoverflow.com/questions/52530515/how-use-netcat-to-test-socks5-server
>
> Regards,
> Zhao
rrcrrrrfrffrrfrrrrrrfrfrftrd

Re: Check a socks5 proxy with netcat.

<f87a222b-3b60-4bcf-b980-375072688ed0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6108&group=comp.unix.shell#6108

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ad4:4e07:0:b0:5ee:e5d8:ac5f with SMTP id dl7-20020ad44e07000000b005eee5d8ac5fmr1439976qvb.9.1681319287485;
Wed, 12 Apr 2023 10:08:07 -0700 (PDT)
X-Received: by 2002:a05:6870:241f:b0:184:806d:12d5 with SMTP id
n31-20020a056870241f00b00184806d12d5mr1896816oap.1.1681319287221; Wed, 12 Apr
2023 10:08:07 -0700 (PDT)
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Wed, 12 Apr 2023 10:08:06 -0700 (PDT)
In-Reply-To: <e4254f87-11cf-4b9c-9750-9e0dda2af09fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:e82:d400:e5cb:ec4d:b7d7:1ca6;
posting-account=rR5tnAoAAAC2kIBHWh0n6frMCTGowyvE
NNTP-Posting-Host: 2600:1700:e82:d400:e5cb:ec4d:b7d7:1ca6
References: <255f349e-97ee-4f94-a58a-251c2926eff7n@googlegroups.com> <e4254f87-11cf-4b9c-9750-9e0dda2af09fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f87a222b-3b60-4bcf-b980-375072688ed0n@googlegroups.com>
Subject: Re: Check a socks5 proxy with netcat.
From: jalen...@gmail.com (Jalen Q)
Injection-Date: Wed, 12 Apr 2023 17:08:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jalen Q - Wed, 12 Apr 2023 17:08 UTC

On Sunday, March 5, 2023 at 6:50:12 PM UTC-6, Jalen Q wrote:
> On Saturday, March 4, 2023 at 7:29:42 AM UTC-6, hongy...@gmail.com wrote:
> > Based on the comments here [1-2], I tried to test the availability of my socks5 proxy, but failed to get the information I needed:
> >
> > werner@X10DAi:~$ echo 050100 | xxd -p -r | netcat 127.0.0.1 18888
> > ^C
> > werner@X10DAi:~$ printf "\x05\x01\x00\r\n" | nc 127.0.0.1 18888 | hd
> > ^C
> >
> > But curl will return useful information as follows:
> >
> > werner@X10DAi:~$ curl -Ivx socks5h://127.0.0.1:18888 www.baidu.com
> > * Trying 127.0.0.1:18888...
> > * SOCKS5 connect to www.baidu.com:80 (remotely resolved)
> > * SOCKS5 request granted.
> > * Connected to (nil) (127.0.0.1) port 18888 (#0)
> > > HEAD / HTTP/1.1
> > > Host: www.baidu.com
> > > User-Agent: curl/7.85.0
> > > Accept: */*
> > >
> > * Mark bundle as not supporting multiuse
> > < HTTP/1.1 200 OK
> > HTTP/1.1 200 OK
> > < Accept-Ranges: bytes
> > Accept-Ranges: bytes
> > < Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
> > Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
> > < Connection: keep-alive
> > Connection: keep-alive
> > < Content-Length: 277
> > Content-Length: 277
> > < Content-Type: text/html
> > Content-Type: text/html
> > < Date: Sat, 04 Mar 2023 13:24:38 GMT
> > Date: Sat, 04 Mar 2023 13:24:38 GMT
> > < Etag: "575e1f6f-115"
> > Etag: "575e1f6f-115"
> > < Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
> > Last-Modified: Mon, 13 Jun 2016 02:50:23 GMT
> > < Pragma: no-cache
> > Pragma: no-cache
> > < Server: bfe/1.0.8.18
> > Server: bfe/1.0.8.18
> >
> > <
> > * Connection #0 to host (nil) left intact
> >
> > Any tips/comments/explanations for this problem will be appreciated.
> >
> > [1] https://superuser.com/questions/303251/how-to-check-if-a-socks5-proxy-works
> > [2] https://stackoverflow.com/questions/52530515/how-use-netcat-to-test-socks5-server
> >
> > Regards,
> > Zhao
> rrcrrrrfrffrrfrrrrrrfrfrftrd
fffffrfrfrgfyrftttrtrrttttfttrrtrtrtrrtrtrtrtttrtrttftttt

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor