On Thu, May 23, 2013 at 19:55, Gregory Edigarov wrote: >> That's just a string compare. The remote host can send any string it >> wants. >> > yes, it doesn't do any host resolution itself and there is no need in this, > because syslogd already does this. (the resolution happens in main cycle, > namely cvthname() function call). > the changes just compare the hostname given in configs and the hostname > reported by cvthname, then act accordinly.
Oh, my mistake. I thought host, like program, came via the network. Thanks for explaining that. I should have looked at the whole program again.