From: Michael Richardson Subject: Re: mountd gives "illegal port" Date: Wed, 27 Oct 2004 17:04:33 -0400 Sender: nfs-admin@lists.sourceforge.net Message-ID: <3412.1098911073@marajade.sandelman.ottawa.on.ca> References: <20041027124228.GJ4724@fi.muni.cz> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Cc: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1CMuya-00044t-SW for nfs@lists.sourceforge.net; Wed, 27 Oct 2004 14:05:00 -0700 Received: from cyphermail.sandelman.ottawa.on.ca ([205.150.200.161] helo=noxmail.sandelman.ottawa.on.ca) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CMuyX-0004Ql-LM for nfs@lists.sourceforge.net; Wed, 27 Oct 2004 14:05:00 -0700 To: Jan Kasprzak In-Reply-To: Message from Jan Kasprzak of "Wed, 27 Oct 2004 14:42:28 +0200." <20041027124228.GJ4724@fi.muni.cz> Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- >>>>> "Jan" == Jan Kasprzak writes: Jan> I have discovered the following problem in Linux NFS: When you What version are you using? On client? on server? Jan> And in NFS server the following is added to syslog: Jan> Oct 27 14:28:48 nfs-server rpc.mountd: refused mount request Jan> from nfs-client.fi.muni.cz for /tmp/nfs/6 (/tmp/nfs/6): illegal Jan> port 54071 Does your server expect to see reserved ports only (<1024). Can you do a tcpdump of the mounts? To do this, on the server do: rpcinfo -p localhost note the port number of the mountd service. Let's say it is X. tcpdump -s 1600 -i eth0 -n -p -w somefile.pcap udp port X or tcp port X tcpdump -r somefile.pcap -T rpc -n - -- ] "Elmo went to the wrong fundraiser" - The Simpson | firewalls [ ] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[ ] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys iQCVAwUBQYANXoqHRg3pndX9AQGncAP/bj6qf9FcHKdu0I37JGPzisrdeiI9VBV7 wYjwONqRjfyhub+STaM5Upid8uwpzSw3rs1ixZJeXX5PklSmDz5XW0Gik/oauwWL OfPik8NEUsZNjSnS6sjaLCRRUC7PKAB3wTap6IMq/cskLjBTACJ6Gzj2vNYu9sSD 96BPplHUrcs= =liY1 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs