Failed to clone the git repo of lyx.
Hongyi Zhao
hongyi.zhao at gmail.com
Mon Jan 15 00:43:30 UTC 2024
On Mon, Jan 15, 2024 at 8:20 AM Hongyi Zhao <hongyi.zhao at gmail.com> wrote:
>
> On Mon, Jan 15, 2024 at 1:29 AM Richard Kimberly Heck
> <rikiheck at gmail.com> wrote:
> >
> > On 1/13/24 20:06, Hongyi Zhao wrote:
> > > Hi,
> > >
> > > I'm trying to clone the git repo of lyx, but always fail, as shown below:
> > >
> > > werner at X10DAi:~$ git clone git at git.lyx.org:lyx
> > > Cloning into 'lyx'...
> > > kex_exchange_identification: Connection closed by remote host
> > > Connection closed by 127.0.0.1 port 18888
> > > fatal: Could not read from remote repository.
> > >
> > > Please make sure you have the correct access rights
> > > and the repository exists.
> > > werner at X10DAi:~$ git clone git://git.lyx.org/lyx
> > > Cloning into 'lyx'...
> > > fatal: Could not read from remote repository.
> > > Please make sure you have the correct access rights
> > > and the repository exists.
> >
> > It should work now.
>
> Yes. It works now. as shown below, what's wrong with it before?
>
> $ pkill proxychains4-da
> $ proxychains4-daemon &
> [1] 10604
>
> $ grep -Ev '^[ ]*(#|$)' proxychains-ng-socks5.conf
> strict_chain
> proxy_dns_daemon 127.0.0.1:1053
> remote_dns_subnet 224
> tcp_read_time_out 15000
> tcp_connect_time_out 8000
> localnet 127.0.0.0/255.0.0.0
> localnet 10.0.0.0/255.0.0.0
> localnet 172.16.0.0/255.240.0.0
> localnet 192.168.0.0/255.255.0.0
> [ProxyList]
> socks5 127.0.0.1 18888
>
>
> # Monitor it by the following command in another terminal:
> $ sudo tcpdump -i lo port 18888 -w - |pv >/dev/null
> # Test as follows:
> $ proxychains4 -f proxychains-ng-socks5.conf /bin/git clone
> https://github.com/torvalds/linux.git
> [proxychains] config file found: proxychains-ng-socks5.conf
> [proxychains] preloading /usr/local/lib/libproxychains4.so
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> Cloning into 'linux'...
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> 127.0.0.1:56126 requested ip for github.com (224.0.0.1)
> [proxychains] Strict chain ... 127.0.0.1:18888 127.0.0.1:59568
> requested name for 224.0.0.1 (github.com)
> ... github.com:443 127.0.0.1:47780 requested name for 224.0.0.1 (github.com)
> ... OK
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> remote: Enumerating objects: 9955539, done.
> ^Cceiving objects: 1% (149402/9955539), 72.91 MiB | 7.70 MiB/s
>
> $ grep -Ev '^[ ]*(#|$)' proxychains-ng-http.conf
> strict_chain
> proxy_dns_daemon 127.0.0.1:1053
> remote_dns_subnet 224
> tcp_read_time_out 15000
> tcp_connect_time_out 8000
> localnet 127.0.0.0/255.0.0.0
> localnet 10.0.0.0/255.0.0.0
> localnet 172.16.0.0/255.240.0.0
> localnet 192.168.0.0/255.255.0.0
> [ProxyList]
> http 127.0.0.1 8080
>
> # Monitor it by the following command in another terminal:
> $ sudo tcpdump -i lo port 8080 -w - |pv >/dev/null
> # Test as follows:
> $ proxychains4 -f proxychains-ng-http.conf /bin/git clone
> https://github.com/torvalds/linux.git
> [proxychains] config file found: proxychains-ng-http.conf
> [proxychains] preloading /usr/local/lib/libproxychains4.so
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> Cloning into 'linux'...
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> 127.0.0.1:36062 requested ip for github.com (224.0.0.1)
> [proxychains] Strict chain ... 127.0.0.1:8080 127.0.0.1:57894
> requested name for 224.0.0.1 (github.com)
> ... github.com:443 127.0.0.1:41307 requested name for 224.0.0.1 (github.com)
> ... OK
> [proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
> remote: Enumerating objects: 9955539, done.
> ^Cceiving objects: 2% (199111/9955539), 96.58 MiB | 14.91 MiB/s
Sorry but I should have tested using the lyx git repo, and it still
doesn't work, as shown below:
$ pkill proxychains4-da
$ proxychains4-daemon &
[1] 10604
$ grep -Ev '^[ ]*(#|$)' proxychains-ng-socks5.conf
strict_chain
proxy_dns_daemon [127.0.0.1:1053](http://127.0.0.1:1053/)
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet [127.0.0.0/255.0.0.0](http://127.0.0.0/255.0.0.0)
localnet [10.0.0.0/255.0.0.0](http://10.0.0.0/255.0.0.0)
localnet [172.16.0.0/255.240.0.0](http://172.16.0.0/255.240.0.0)
localnet [192.168.0.0/255.255.0.0](http://192.168.0.0/255.255.0.0)
[ProxyList]
socks5 127.0.0.1 18888
# Monitor it by the following command in another terminal:
$ sudo tcpdump -i lo port 18888 -w - |pv >/dev/null
# Test as follows:
$ proxychains4 -f
/home/werner/Public/repo/github.com/rofl0r/proxychains-ng-socks5.conf
/bin/git clone git://git.lyx.org/lyx.git
[proxychains] config file found:
/home/werner/Public/repo/github.com/rofl0r/proxychains-ng-socks5.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
Cloning into 'lyx'...
[proxychains] Strict chain ... 127.0.0.1:18888 ... git.lyx.org:9418 ... OK
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ grep -Ev '^[ ]*(#|$)' proxychains-ng-http.conf
strict_chain
proxy_dns_daemon [127.0.0.1:1053](http://127.0.0.1:1053/)
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet [127.0.0.0/255.0.0.0](http://127.0.0.0/255.0.0.0)
localnet [10.0.0.0/255.0.0.0](http://10.0.0.0/255.0.0.0)
localnet [172.16.0.0/255.240.0.0](http://172.16.0.0/255.240.0.0)
localnet [192.168.0.0/255.255.0.0](http://192.168.0.0/255.255.0.0)
[ProxyList]
http 127.0.0.1 8080
# Monitor it by the following command in another terminal:
$ sudo tcpdump -i lo port 8080 -w - |pv >/dev/null
# Test as follows:
$ proxychains4 -f
/home/werner/Public/repo/github.com/rofl0r/proxychains-ng-http.conf
/bin/git clone git://git.lyx.org/lyx.git
[proxychains] config file found:
/home/werner/Public/repo/github.com/rofl0r/proxychains-ng-http.conf
[proxychains] preloading /usr/local/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-18-g1d0bc34
Cloning into 'lyx'...
[proxychains] Strict chain ... 127.0.0.1:8080 ... git.lyx.org:9418 ... OK
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
>
> > Riki
>
> Regards,
> Zhao
More information about the lyx-users
mailing list