deny the network to log the messages in my machine --
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
deny the network to log the messages in my machine --
deny the network to log the messages in my machine --
[network should not log any kind messages to my machine].
means that syslog should not log masseges logged from the network. how ??
This question dosn't make any sense. Try rewording it or telling us what you are trying to do.
It sounds like there are messages (e-mails?) from some kind of network (LAN Internet) that arrive at your machine. You want to allow the messages, but you don't want them to appear in a log file. Is this correct?
say two machines are there in local network.
host1 10.18.7.12
host2 10.18.7.13
At host1, syslog.conf is configured like below
auth.info @10.18.7.13
At host2, syslog.conf is configured like below
auth.info /var/log/auth
Whenever authentication type of events(e.g logging in to machine) is generated at 10.18.7.12,that events will be logged into the file /var/log/auth at 10.18.7.13.
But, i dont want to accept any messages from any host at 10.18.7.13.
How can i block those messages delivered from remote hosts??
say two machines are there in local network.
host1 10.18.7.12
host2 10.18.7.13
At host1, syslog.conf is configured like below
auth.info @10.18.7.13
At host2, syslog.conf is configured like below
auth.info /var/log/auth
Whenever authentication type of events(e.g logging in to machine) is generated at 10.18.7.12,that events will be logged into the file /var/log/auth at 10.18.7.13.
But, i dont want to accept any messages from any host at 10.18.7.13.
How can i block those messages delivered from remote hosts??
This would imply that on 10.18.7.13 syslogd was deliberately configured to accept remote messages (by using the "-r" option). So you could either stop it from listening by removing the "-r" option (from whatever config file your syslogd uses) or you could also just firewall UDP port 514.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.