heiher / hev-socks5-server

A high-performance socks5 server for Unix (Linux/Android/BSD/macOS)
MIT License
185 stars 33 forks source link

[E] socket factory socket #53

Closed lexavey closed 4 weeks ago

lexavey commented 4 weeks ago

What this is mean

[2024-05-31 15:44:58] [D] socks5 proxy init
[2024-05-31 15:44:58] [D] socket factory new
[2024-05-31 15:44:58] [W] set limit nofile
[2024-05-31 15:44:58] [D] socks5 proxy run
[2024-05-31 15:44:58] [D] socks5 proxy task run
[2024-05-31 15:44:58] [D] socket factory get
[2024-05-31 15:44:58] [E] socket factory socket
[2024-05-31 15:44:58] [D] socks5 proxy fini
[2024-05-31 15:44:58] [D] socket factory destroy

config :

main:
  # Worker threads
  workers: 1
  # Listen port
  port: 9080
  # Listen address (ipv4|ipv6)
  listen-address: '0.0.0.0'
  # Listen ipv6 only
  listen-ipv6-only: false
  # Bind source address (ipv4|ipv6)
  bind-address: '::'
  # Bind source network interface
  bind-interface: ''
misc:
   # task stack size (bytes)
#  task-stack-size: 8192
   # udp recv buffer size (bytes)
#  udp-recv-buffer-size: 524288
   # connect timeout (ms)
#  connect-timeout: 5000
   # read-write timeout (ms)
#  read-write-timeout: 60000
   # stdout, stderr or file-path
#  log-file: stderr
   # debug, info, warn or error
  log-level: debug
   # If present, run as a daemon with this pid file
#  pid-file: /run/hev-socks5-server.pid
   # If present, set rlimit nofile; else use default value
  limit-nofile: 65535
heiher commented 4 weeks ago

Enable IPv6 support in kernel.

lexavey commented 4 weeks ago

Enable IPv6 support in kernel.

Can I just use IPv4 only ?

heiher commented 4 weeks ago

No. It only supports IPv4 mapping on IPv6.