Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

NFS  and syslogd on linux

Posted on 2011-02-23
4
816 Views
Last Modified: 2012-05-11
Hi experts,
  Is there a way to make nfs daemons to listen only on tcp ports. i know we can using proto=tcp on client when we mount. but is there way to make it listen on tcp on the server side.

 Also is there way to make syslogd (514) listen on tcp.  we are running RHEL5.5.
0
Comment
Question by:sangate
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 250 total points
ID: 34963177
No, the syslog event is a stateless event. i.e. a systems sends the event. If it is received fine, if it is not it does not matter to the server sending the notification.

You possible could configure the iptables on your linux server to only allow tcp connections to the NFS share.  The question is what do you think you are gaining through this limitation?
A UDP is stateless and possibly will only have traffic when access to the NFS files are needed while a TCP connection has to keep/maintain a connection sending no operation packet to keep the connection alive for when it is needed.
0
 

Author Comment

by:sangate
ID: 34964994
Thanks. I have firewalled nfs ports and ran nmap from some other server. nmap can still get the listening ports like following

PORT     STATE    SERVICE        VERSION
111/tcp  filtered rpcbind
2049/tcp filtered nfs
4000/tcp filtered remoteanything

is there a way to get rid of filtered ports showing up from nmap results.

0
 
LVL 77

Expert Comment

by:arnold
ID: 34966088
What is the issue you are trying to resolve?
Disable the services that you do not need.  This way the ports will not be listend.
0
 
LVL 5

Assisted Solution

by:bougui
bougui earned 250 total points
ID: 34969709
Hi,

If you want syslog over tcp you will need to go with syslog-ng or rsyslogd you have a complete how-to here http://www.ehow.com/how_5551702_build-log-server-using-syslogng.html

Bye
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 52
Linux server had an unexpected freeze. How to find out cause (sys logs)? 13 47
maybe no no httpd.conf 6 62
sticky session 2 18
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question