0
Bug Description
当frpc代理配置remote_port=0时,即意味着由frps自动分配端口,在这种情况下NewProxy类型插件却未上报remote_port值
frpc Version0.46.0
frps Version0.46.0
System Architecturelinux/amd64
Configurationsfrpc.ini
[common]
server_addr = 127.0.0.1
server_port = 7000
user=sn000001
[eppbox]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 0
meta_key=aaa
frps.ini
[common]
bind_port = 7000
[plugin.epp-notify]
addr = 127.0.0.1:8081
path = /handler
ops = NewProxy,CloseProxy,NewWorkConn,NewUserConn
Logs
这是插件收到的消息体:
{
"version":"0.1.0",
"op":"NewProxy",
"content":{
"user":{"user":"sn000001","metas":null,"run_id":"03fd2277703bcb59"},
"proxy_name":"sn000001.eppbox",
"proxy_type":"tcp",
"metas":{"key":"aaa"}
}
}