We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用的是:gost_3.0.0-nightly.20240719_linux_amd64v3.tar.gz 服务器端:./gost -C icmp.json ,命令是:./gost -D -L "relay+icmp://:343?bind=true" -api ":18080?accesslog=true" { "services": [ { "name": "service-123", "addr": ":343", "handler": { "type": "relay", "metadata": { "bind": "true" } }, "listener": { "type": "icmp", "metadata": { "bind": "true" } }, "metadata": { "bind": "true" } } ], "log": { "level": "trace" }, "api": { "addr": ":18080", "accesslog": true } }
{ "services": [ { "name": "service-123", "addr": ":343", "handler": { "type": "relay", "metadata": { "bind": "true" } }, "listener": { "type": "icmp", "metadata": { "bind": "true" } }, "metadata": { "bind": "true" } } ], "log": { "level": "trace" }, "api": { "addr": ":18080", "accesslog": true } }
客户端: export GOST_LOGGER_LEVEL=trace ; /tmp/gost -L tcp://:888/127.1.2.3:50088 -F "relay+icmp://10.8.3.1:22345?keepalive=true&ttl=10s&nodelay=true&bind=true" -api ":18080?accesslog=true"
使用命令curl -v http://127.0.0.1:888/,没有数据回来,把服务器的icmp://:343?bind=true ,中bind=true参数去了,就可以通。
但是我想一条命令同时建立正向,反向tcp端口映射: /tmp/gost -L rtcp://:38443/127.7.7.7:8834 -L tcp://:888/127.0.0.3:80 -F "relay+icmp://10.8.3.1:12345?keepalive=true&ttl=10s&nodelay=true";
这是服务器tcpdump抓取的包,没发现TCP PUSH的包:
这是客户端tcpdump抓取的包,看icmp包里没curl的载荷:
The text was updated successfully, but these errors were encountered:
把客户端的nodelay=true选项去掉或在服务端也加上nodelay=true试试。
nodelay=true
Sorry, something went wrong.
No branches or pull requests
使用的是:gost_3.0.0-nightly.20240719_linux_amd64v3.tar.gz
服务器端:./gost -C icmp.json ,命令是:./gost -D -L "relay+icmp://:343?bind=true" -api ":18080?accesslog=true"
{ "services": [ { "name": "service-123", "addr": ":343", "handler": { "type": "relay", "metadata": { "bind": "true" } }, "listener": { "type": "icmp", "metadata": { "bind": "true" } }, "metadata": { "bind": "true" } } ], "log": { "level": "trace" }, "api": { "addr": ":18080", "accesslog": true } }
客户端:
export GOST_LOGGER_LEVEL=trace ;
/tmp/gost -L tcp://:888/127.1.2.3:50088 -F "relay+icmp://10.8.3.1:22345?keepalive=true&ttl=10s&nodelay=true&bind=true" -api ":18080?accesslog=true"
使用命令curl -v http://127.0.0.1:888/,没有数据回来,把服务器的icmp://:343?bind=true ,中bind=true参数去了,就可以通。
但是我想一条命令同时建立正向,反向tcp端口映射:
/tmp/gost -L rtcp://:38443/127.7.7.7:8834 -L tcp://:888/127.0.0.3:80 -F "relay+icmp://10.8.3.1:12345?keepalive=true&ttl=10s&nodelay=true";
这是服务器tcpdump抓取的包,没发现TCP PUSH的包:
这是客户端tcpdump抓取的包,看icmp包里没curl的载荷:
The text was updated successfully, but these errors were encountered: