Re: Disable syslogd 514..
On 1/17/07, Agus [EMAIL PROTECTED] wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. # echo 'syslogd_flags=-ss' /etc/rc.conf # /etc/rc.d/syslogd restart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
Agus wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. thanxsss ___ I assume your syslogd is running with -s. If you use -s twice it will disable listening on network sockets completely. See man syslogd Cheers, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
On Jan 17, 2007, at 12:33 PM, Agus wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. thanxsss Check the syslog.conf manpage. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
Agus wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. The -ss option of syslogd will disable all network sockets, so setting this in rc.conf will help: syslogd_flags=-ss Don't forget to restart syslogd of course. greetings philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
On Thu, 18 Jan 2007 01:33:13 +0500, Agus [EMAIL PROTECTED] wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. From syslogd(8): -s Operate in secure mode. Do not log messages from remote machines. If specified twice, no network socket will be opened at all, which also disables logging to remote machines. So 'syslogd_flags=-ss' can be added to /etc/rc.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
[EMAIL PROTECTED] wrote: On Thu, 18 Jan 2007 01:33:13 +0500, Agus [EMAIL PROTECTED] wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. From syslogd(8): -s Operate in secure mode. Do not log messages from remote machines. If specified twice, no network socket will be opened at all, which also disables logging to remote machines. So 'syslogd_flags=-ss' can be added to /etc/rc.conf. ___ BTW: It can be written like 'syslogd_flags=-s -s' to your /etc/rc.conf Both are perfectly valid. Cheers, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]