This file is indexed.

/etc/yate/ysockschan.conf is in yate-core 5.0.0-1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
; This file keeps the configuration for the SOCKS channel

[general]
; Global settings of SOCKS engine

; auth-timeout: integer: The time (in milliseconds) a connection can wait
;  to receive a message. This value is used until a connection has sent or
;  received a SOCKS request (command)
; The allowed interval is 3000..30000
; Defaults to 10000
;auth-timeout=10000

; reply-timeout: integer: The time (in milliseconds) a connection can wait
;  for a reply after sending or receiving a SOCKS request (command)
; The allowed interval is 5000..120000
; Defaults to 30000
;reply-timeout=30000

; connect_timeout: integer: The time (in milliseconds) to wait to connect
; Set it to 0 to wait for system default, minimum allowed value is 1000,
;  maximum allowed value is 120000
; This parameter can be overridden in chan.socks messages
; Defaults to 10000
;connect_timeout=10000

; buflen: integer: The number of bytes in receive buffer
; Can't be less then 1024
; Defaults to 4096 (4KB)
;buflen=4096

; print-msg: boolean: Print sent/received messages to output or debug log
; Defaults to no
;print-msg=no

; print-extended: boolean: Print sent/received messages extended data (such as
;  field names and hexadecimal message dump) to output or debug log.
; Ignored if print-msg is not enabled.
; Defaults to no
;print-extended=no


[server]
; This section configures a SOCKS server used for local endpoints

; enable: boolean: Enable or disable the server
; This option is applied on reload.
; NOTE: Destroying the server listener will not terminate already authenticated
;  incoming connections
; Defaults to no
;enable=no

; address: string: The IP address used to listen for incoming connections
; This parameter is required
;address=

; port: integer: The port to listen for incoming connection
; This parameter is required
;port=

; external_address: string: The external (public) IP or domain
; This parameter is used when the server is behind a NAT with the port forwarded to
;  the machine running it.
; This address will be used to advertise the server's address to remote users
;  whishing to connect to the server
;external_address=

; username: string: Username used to authenticate incoming SOCKS connections
; password: string: Password used to authenticate incoming SOCKS connections
; If username or password is empty, incoming SOCKS connections will
;  be accepted without authentication
;username=
;password=