Solved

NFS  and syslogd on linux

Posted on 2011-02-23
4
823 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
[X]
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
  • 2
4 Comments
 
LVL 78

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 78

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

726 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