Giter Site home page Giter Site logo

ahri's People

Contributors

gavinguan24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ahri's Issues

您好,这个怎么回事呢

2021-06-09 18:01:28.175 Crash - listen tcp 58.215.87.40:5555: bind: cannot assign requested address
core.NewAhriServer(0x7ffe0e87f651, 0xd, 0x7ffe0e87f662, 0x4, 0x7ffe0e87f66a, 0x6, 0x7ffe0e87f674, 0x13, 0x7ffe0e87f68b, 0x12, ...)
/usr/local/go/src/core/ahriServer.go:314 +0x522
main.main()
/root/go/ahri/product/server/server.go:66 +0x625

编译服务器端遇错

hi.

[root@hs gopath]# go get -u -v github.com/GavinGuan24/ahri/product/server/
github.com/GavinGuan24/ahri (download)
github.com/GavinGuan24/ahri/core

github.com/GavinGuan24/ahri/core

src/github.com/GavinGuan24/ahri/core/utils.go:58:10: undefined: strings.ReplaceAll
[root@hs gopath]#

怎么解决?

断断续续

断断续续
用的HK ALI 的服务器

`
2019-10-12 09:59:47.424 Warn - Failed to read data from the real tcp connection, Err(EOF).
2019-10-12 09:59:47.424 Debug - Connect(24) data read-err: cannot read a closed AhriConn
2019-10-12 09:59:48.427 * - Registered to the server successfully.
2019-10-12 09:59:56.643 Debug - Connect(24) data read-err: read tcp 10.192.2.238:23456->10.192.2.238:55562: use of closed network connection
2019-10-12 09:59:56.643 Debug - Connect(24) Closed.
2019-10-12 09:59:59.536 * - Connect(25) Target AhriAddr(name: S, atyp: 3, dstAddr: www.google.com, port: 443).
2019-10-12 09:59:59.643 * - Connect(26) Target AhriAddr(name: S, atyp: 3, dstAddr: clients1.google.com, port: 443).
2019-10-12 10:00:00.430 Warn - Failed to read data from the real tcp connection, Err(EOF).
2019-10-12 10:00:00.430 Warn - Connect(26) dial target(AhriAddr(name: S, atyp: 3, dstAddr: clients1.google.com, port: 443)) err: failed to dial target, network is unavailable
2019-10-12 10:00:00.430 Warn - Connect(25) dial target(AhriAddr(name: S, atyp: 3, dstAddr: www.google.com, port: 443)) err: failed to dial target, network is unavailable
2019-10-12 10:00:00.493 * - Connect(27) Target AhriAddr(name: S, atyp: 3, dstAddr: www.google.com, port: 443).
2019-10-12 10:00:00.493 Warn - Connect(27) dial target(AhriAddr(name: S, atyp: 3, dstAddr: www.google.com, port: 443)) err: failed to dial target, network is unavailable
2019-10-12 10:00:00.666 * - Connect(28) Target AhriAddr(name: S, atyp: 3, dstAddr: www.google.com, port: 443).

sockets代理国内网站正常,代理国外网站乱码网页无法显示,是什么原因?

操作命令:
$ curl --socks5 127.0.0.1:23456 www.baidu.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2381 100 2381 0 0 74406 0 --:--:-- --:--:-- --:--:-- 74406

<title>百度一下,你就知道</title>
新闻 hao123 地图 视频 贴吧 登录 <script>document.write('登录');</script> 更多产品

关于百度 About Baidu

©2017 Baidu 使用百度前必读  意见反馈 京ICP证030173号 

dell@DESKTOP-N0L4O5J MINGW64 ~/Desktop
$ curl --socks5 127.0.0.1:23456 https://www.github.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

日志信息:

Ahri Client (0.9.3) is running.

2020-11-13 10:33:19.144 Debug - Ignored line in the File(E:\workspace\go\src\ahri\product\client\ahri.hosts: 5).
2020-11-13 10:33:19.154 Debug - Ignored line in the File(E:\workspace\go\src\ahri\product\client\ahri.hosts: 13).
2020-11-13 10:33:19.258 * - Registered to the server successfully.
2020-11-13 10:33:26.792 * - Connect(1) Target AhriAddr(name: L, atyp: 1, dstAddr: 36.152.44.95, port: 80).
2020-11-13 10:33:26.792 Debug - This is already an ipv4 address.
2020-11-13 10:33:26.803 Debug - Connect(1) data: GET / HTTP/1.1
Host: www.baidu.com
User-Agent: curl/7.61.1
Accept: /

2020-11-13 10:33:26.814 Debug - Connect(1) data: HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 2381
Content-Type: text/html
Date: Fri, 13 Nov 2020 02:33:27 GMT
Etag: "588604f8-94d"
Last-Modified: Mon, 23 Jan 2017 13:28:24 GMT
Pragma: no-cache
Server: bfe/1.0.8.18
Set-Cookie: BDORZ=27315; max-age=86400; domain=.baidu.com; path=/

<title>百度一下,你就知道</title>
新闻 hao123 地图 视频 贴吧 登录 <script>document.write('登录');</script> 更多产品

关于百度 About Baidu

©2017 Baidu 使用百度前必读  意见反馈 京ICP证030173号 

2020-11-13 10:33:26.815 Debug - Connect(1) data read-err: EOF
2020-11-13 10:33:31.816 Debug - Connect(1) data read-err: read tcp 192.168.0.235:62482->36.152.44.95:80: use of closed network connection
2020-11-13 10:33:31.816 Debug - Connect(1) Closed.

===============================================================

2020-11-13 10:33:39.306 * - Connect(2) Target AhriAddr(name: L, atyp: 1, dstAddr: 13.229.188.59, port: 443).
2020-11-13 10:33:39.306 Debug - This is already an ipv4 address.
2020-11-13 10:33:39.453 Debug - Connect(2) data: ���� � ����^����t��H���[f[ �iIUn�w�>s���� ��0�,�(�$���
��
�� �3 � � �www.github.com � �� ��

������������������������������� � ��3t � � �hhttp/1.1 � �
2020-11-13 10:33:39.526 Debug - Connect(2) data: ��� l� h����C#�kc�[��իY���^��$kDOWNGRD� (� ��o����CQ�v!�����#������U�/ �� � � �� �� � � http/1.1������ �� �� ��0���0�����������W��(&��{
���� 0p1�0 ��U����US1�0���U�
220510120000Z0f1�0 ��U����US1�0���U�
San Francisco1�0���U�
� GitHub, Inc.1�0���U���
���� ���� 0��
���� �2��؞���y)L+��\Cԓ;�x�0T����/�����g�T �Z�����ք�,�-ND&���7��������Lk&� ��Y�D[�������_�_�6ذ��o�"T��)CUR����h{�VQ�Ч��ZG��<��r��6����,.����IwU��J�ۋ)�5g��� �y� xs�(u���1�� 6���-F�%+v����}�h�;�3^T*ߛ�����@���k�=+Ӎ�_��k���u�<&7/1����7���t3��{ �r����k����� ����s0��o0���U�#��0���Qh�����u<��edb���Yr;0���U������c��]�_���Z��v�6��,�H0%��U����0�� github.com��www.github.com0���U�����������0���U�%��0�+�������+�������0u��U���n0l04�2�0�.http://crl3.digicert.com/sha2-ha-server-g6.crl04�2�0�.http://crl4.digicert.com/sha2-ha-server-g6.crl0L��U� �E0C07� �H���l��0
0(+���������https://www.digicert.com/CPS��g� ���0��+��������w0u0$+�����0���http://ocsp.digicert.com0M+�����0��Ahttp://cacerts.digicert.com/DigiCertSHA2HighAssuranceServerCA.crt0 ��U�������0 0��|�
+�����y������l���h�f u )y��99!�Vs�c�w�W}� ���� ���� �2�������:D�q $���X1̪���� ůĻ�_��jB�!�%�k,7�*��n��O�/��:���0��� ���� 0l1�0 ��U����US1�0���U� 281022120000Z0p1�0 ��U����US1�0���U� ���� ���� 0�� ���� ��/�$��m�_�� x�{�^q�J�������#�M��u�������D5e�S%9�� �c���th ���� ���� ������m�\��h�J���Q/�kD���c��nl�����q�[�4N��y�)�-�j�� �y���G�����Yq}���k�YX=��1%\�8��柂��[�1N�x�����I��'��r�>��A���6���nGI�^�H|����I��&B@�֒��d WT�����^k��Ā��r�V����0��0���N�W��$��+��u��-��}y'�����ꪅ��� (AYC(ҁ���{;w�@b��AE����>��3�g�a.r��i�� W@�p��ɴ����M �I� �A��������r�k��'z�^�^��g��/��_�v�3C�Ld5,�X�����S�(��n�D�����[ǝ�o���� h�V:V�H�^��+��r���O�m��
E
� u���C��X���gK��ӧ��6��hpCL U �" :/H�
�e�i���$�m��jopeO[ ��Q��yS~(�A�v������/���w��5����SW�S^U�(�20|A^��g�@ (���F��{7%���jC��� �Q��4+:e��t6]�1�����;�{�\��Վ��ϻ�]sʚ�W������q������ ��
Z�e,��:��� ����� (x�y�r2lG�W� P`��Y_6���=�5zq�^R�zտg���F�
�����<_��M�
2020-11-13 10:33:39.601 Debug - Connect(2) data: ��� fx�y�r2lH|,bԬ]K�5�� �A"��YGOgܻA���[���]-�Y���ࠋ���}� �^!�p�(I�����Z��N/�
lq���贵]�zѫִ�,Q/��)�p�
ꊚ��)#����5Hl�QΧ� ��ӸQ����G��٦1*{�\�����ޖ�,�{ "�܈���\H���J
�J
2020-11-13 10:33:39.673 Debug - Connect(2) data: ��� �x�y�r2lIw<ފ���4��a)��[/-v
2020-11-13 10:33:39.674 Debug - Connect(2) data read-err: EOF
2020-11-13 10:33:39.745 Debug - Connect(2) data: ��� ���4pk���)�#×2��Ŝ��#,��.P
2020-11-13 10:33:39.745 Debug - Connect(2) data read-err: EOF
2020-11-13 10:33:44.745 Debug - Connect(2) Closed.

希望有一个教程

您好,可能是本人动手能力比较差,研究了下您的readme,还是没有搞定,可否写一个windows下的小白使用教程?谢谢

使用帮助

不好意思,你的文档没有看的很明白,能不能给个在windows上使用的例子,比如,我只是想在家的时候可以远程公司的电脑,那么我在公司的电脑需要ahri-server,家里的电脑ahri-client,反过来我如果在公司的电脑想远程家里的电脑,需要家里ahri-server,公司的电脑ahri-client吗?不好意思,对于vpn这块是个小白,请指教一下

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.