<div>hi All!</div>
<div>&nbsp;</div>
<div>I am running syslog-ng logging in msyql database with phpsyslog-ng as front end. </div>
<div>&nbsp;</div>
<div>1) Now i have 1 problem. The Devices which are sending logs don't have any hostnames associated with them nor i am running any DNS server. As a result the listing of hosts i am getting are in the form of IP addresses of hosts. 
</div>
<div>&nbsp;</div>
<div>Is it possible to show hostname against IP adresses?? Like x.x.x.x will be shown as ABC-ROUTER ??</div>
<div>&nbsp;</div>
<div>if i define ABC-Router as x.x.x..x in /etc/hosts .. what configuration do i need to make in syslog-ng.conf??</div>
<div>&nbsp;</div>
<div>2)&nbsp; I want to Allow only specific hosts to send logs to loghost.&nbsp; But when i tried to put IP of hosts in configuration it gave me errors.</div>
<div>Starting system logger: io.c: bind_inet_socket() bind failed 61.x.x.x:514 Cannot assign requested address</div>
<div>I used following configuration</div>
<div>&nbsp;</div>
<div>source net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp(ip(61.x.x.x) port(514) );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp(ip(62.x.x.x) port(514) );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp(ip(63.x.x.x) port(514) );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</div>
<div>&nbsp;</div>
<div>Do i have to allow this policy on firewall or syslog-ng also supports it?? bcause with only udp(); Every device on internet can start sending me logs and my server will be under attack.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>-Geni</div>