|
主要测试客户端为qq,只要有用户连到socks服务器段,那么在socks系统日志每隔1分钟就会出现如下两条日志。没用户就不会出现。但是使用上又没有发现异常。
socketoptdup(): setsockopt(0, 32): Invalid argument (errno = 22)
请达人指点
sockd.conf内容如下:
logoutput: /var/log/sockd/sockd.log
internal: 172.25.52.201 port = 8080
external: 172.25.52.201
method: username none
user.privileged: sockd
user.notprivileged: sockd
compatibility: sameport
extension: bind
connecttimeout: 30
iotimeout: 0
client pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
log: connect disconnect
}
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind
log: connect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bindreply udpreply
log: connect error
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
} |
|