Skip to content

ICMP

名称: icmp

状态: Alpha

ICMP拨号器使用ICMP协议建立数据通道。

gost -L :8080 -F http+icmp://:12345
services:
- name: service-0
  addr: ":8080"
  handler:
    type: auto
    chain: chain-0
  listener:
    type: tcp
chains:
- name: chain-0
  hops:
  - name: hop-0
    nodes:
    - name: node-0
      addr: :12345
      connector:
        type: http
      dialer:
        type: icmp

参数列表

keepAlive (bool, default=false)
开启心跳检测。
ttl (duration, default=10s)
心跳间隔时长,当keepAlive为true时有效。
handshakeTimeout (duration, default=5s)
握手超时时长
maxIdleTimeout (duration, default=30s)
最大空闲时长