?
Solved

NFS  and syslogd on linux

Posted on 2011-02-23
4
Medium Priority
?
831 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 79

Accepted Solution

by:
arnold earned 1000 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 79

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 1000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
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…
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

765 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