Prevent log flooding
DmitryMyadzelets opened this issue · 4 comments
DmitryMyadzelets commented
The outside agent floods the log when receives UDP packets while there is no any inside agent connected:
new client conection from x.x.x.x:40587
could not find tunnel connection for client, dropping package
new client conection from x.x.x.x:40587
could not find tunnel connection for client, dropping package
new client conection from x.x.x.x:40587
could not find tunnel connection for client, dropping package
...
A better approach would be to show such message just once and wait until at least one tunnel is created, e.g.:
new client conection from x.x.x.x:40587
could not find tunnel connection for client, dropping all following packages
waiting for incoming reverse tunnel
prof7bit commented
Yes, this is a good idea.
freecode505 commented
@DmitryMyadzelets What are the client and server commands, how should they work?
freecode505 commented
Hello, how should it work?
Server:
./udp-tunnel -l 9092
customer
/udp-tunnel -o 51.79.84.21:9092 -s 127.0.0.1:445 -t 10
127.0.0.1:445
Is the listener for my ovpn server in UDP? true but I can't make a connection on this port