Solved

NFS  and syslogd on linux

Posted on 2011-02-23
4
817 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 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
lunix and unix command 21 117
linux SFTP 8 78
IP 10.0.1.2 / 255.0.0.0 61 79
UM7 Stop Sending packets with GPS Sensor 1 21
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

749 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