boutell / rinetd

ARCHIVED: rinetd: a user-mode TCP port redirection server. You should use Sam Hocevar's version (see website link).
https://github.com/samhocevar/rinetd
200 stars 47 forks source link

Unable to log request log #1

Open siitao opened 5 years ago

siitao commented 5 years ago

The request cannot be written to the log. The last requested log is only logged when the service is restarted.

this is my config

0.0.0.0 13307 172.16.1.123 3307
allow *.*.*.*
logfile /var/log/rinetd.log                         
boutell commented 5 years ago

True. I think what's needed is an fflush() after some sort of debounced interval to prevent inefficiency.