Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 18:21:04 +0000
From:      =?utf-8?Q?Pivot=20Point?= <team@pivotpointresearch.com>
To:        =?utf-8?Q?*=5Burl=5D*?= <freebsd-questions@freebsd.org>
Subject:   =?utf-8?Q?Please=20complete=20this=20=20survey=20on=20development=20tools=20for=20a=20nice=20incentive=21?=
Message-ID:  <ca43e8b1f0e9c72628074f77581b96126c3.20140826182036@mail155.atl121.mcsv.net>

next in thread | raw e-mail | index | archive | help
** Please complete an important survey on development tools and receive a=
 nice reward!
------------------------------------------------------------

Our partner=2C Naxion Research=2C is conducting a survey for one of the le=
ading technology companies on development tools and they very much would a=
ppreciate hearing from you.  This brief survey will take just a few minute=
s to complete and for your time we would like to offer you a nice reward w=
hich includes a payment of $25 USD or a 1 in 30 chance to win $300 USD.  W=
e are only inviting a limited number of software developers from certain c=
ountries to participate in this survey so we very much appreciate your qui=
ck response.

You will need to enter this unique user ID and password to complete the su=
rvey:

Your user ID is 200800761

Your password is DWH5349

Just click this link (http://www.naquest.com/qx24_269.asp)  to complete the survey.  (please=
 make sure to disable any  browser pop up blocker settings)

If you happen to get a message that the survey is closed we will follow up=
 later with another invitation.

Thank you in advance.

The Pivot Point Team


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Copyright =C2=A9 2014 Pivot Point Research Group=2C All rights reserved.
 Pivotal Perspectives Panel

Our mailing address is:
Pivot Point Research Group
40 Lake Bellevue Drive
Suite 100
Bellevue=2C Wa 98004
USA
** unsubscribe from this list (http://pivotpointresearch.us8.list-manage.c=
om/unsubscribe?u=3Dca43e8b1f0e9c72628074f775&id=3D13f8406f3f&e=3D81b96126c3&=
c=3Db04c6c9077)
** update subscription preferences (http://pivotpointresearch.us8.list-man=
age.com/profile?u=3Dca43e8b1f0e9c72628074f775&id=3D13f8406f3f&e=3D81b96126c3=
)
 Email Marketing Powered by MailChimp
http://www.mailchimp.com/monkey-rewards/?utm_source=3Dfreemium_newsletter&=
utm_medium=3Demail&utm_campaign=3Dmonkey_rewards&aid=3Dca43e8b1f0e9c726280=
74f775&afl=3D1
From owner-freebsd-questions@FreeBSD.ORG  Tue Aug 26 19:39:33 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C004FE50
 for <freebsd-questions@freebsd.org>; Tue, 26 Aug 2014 19:39:33 +0000 (UTC)
Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 899B23116
 for <freebsd-questions@freebsd.org>; Tue, 26 Aug 2014 19:39:33 +0000 (UTC)
Received: from [192.168.0.27] (rbn1-216-180-76-240.adsl.hiwaay.net
 [216.180.76.240]) (authenticated bits=0)
 by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s7QJdV4T016581
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO)
 for <freebsd-questions@freebsd.org>; Tue, 26 Aug 2014 14:39:31 -0500
Message-ID: <53FCE3E9.8030201@hiwaay.net>
Date: Tue, 26 Aug 2014 14:45:45 -0500
From: "William A. Mahaffey III" <wam@hiwaay.net>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org>
Subject: Re: NFS on unprivileged ports ....
References: <53FC99E6.7080509@hiwaay.net>
In-Reply-To: <53FC99E6.7080509@hiwaay.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2014 19:39:33 -0000


Sooooo tacky to self reply, but it might be useful to someone else ....

in /etc/rc.conf:

weak_mountd_authentication="yes"

followed by:

# service mountd forcerestart

& I am off to the races !!!! *Booooyah* !!!!


On 08/26/14 09:29, William A. Mahaffey III wrote:
>
>
> .... I have nfsd running on my FBSD 9.3 desktop, exporting /home (~3.6 
> TiB). I can mount/see/use it from all other machines on my LAN (all 
> Linux boxen) *except* for a CentOS 5.n VM running on one of the other 
> boxen. When the VM tries to (auto)mount the exported partition on the 
> FBSD box ('jaguar'), I get the following (from earlier this A.M.):
>
>
> [root@centos-5:/etc, Tue Aug 26, 06:28 AM] 1008 # lf 
> /net/jaguar/home/  /net/q6600/home/   /net/opty165a/work/ 
> /net/opty165a/home/   /net/cube/home/
> ls: /net/jaguar/home/: No such file or directory
> /net/cube/home/:
> Opty165A/  Q6600/  VMs/  archive/  lost+found/  makedepend*  pub/ wam/
>
> /net/opty165a/home/:
> FTP/  RPMs/  SGI/  archive/  lost+found/  rsync/  wam/
>
> /net/opty165a/work/:
> FTP/  ISOs/  RPMs/  VMs/  archive/  lost+found/  vmware/  wam/
>
> /net/q6600/home/:
> FTP/  ISOs/  VMs/  archive/  lost+found/  rsync/  wam/  work/
> [root@centos-5:/etc, Tue Aug 26, 06:29 AM] 1009 # df ; w ; 
> /sbin/swapon -s ; free -m ; uname -a ; hwclock  -r;  date
> Filesystem    Type   1K-blocks      Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>               ext3    46691248   7505344  36775820  17% /
> /dev/hda1     ext3      101086     26854     69013  29% /boot
> tmpfs        tmpfs     1029372         0   1029372   0% /dev/shm
> q6600:/home    nfs   1906370560 1025951744 783581184  57% /net/q6600/home
> opty165a:/work nfs   480719104 410868736  45431040  91% 
> /net/opty165a/work
> opty165a:/home nfs   473086208 351912192  96754944  79% 
> /net/opty165a/home
> cube:/home     nfs   155794432 143113728   4638976  97% /net/cube/home
>  06:29:20 up 121 days, 12:12,  3 users,  load average: 0.04, 0.02, 0.00
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
> wam      pts/0    192.168.122.1    Thu07   46:20m  1.96s  1.96s -tcsh
> root     pts/1    192.168.122.1    Sun08   46:11m  0.09s  0.09s -bash
> root     pts/2    192.168.122.1    Sun08    0.00s  0.09s  0.08s -bash
> Filename                                Type            Size Used    
> Priority
> /dev/mapper/VolGroup00-LogVol01         partition       4095992 
> 76      -1
>              total       used       free     shared    buffers cached
> Mem:          2010       1891        118          0 327        943
> -/+ buffers/cache:        620       1389
> Swap:         3999          0       3999
> Linux centos-5.6-vm 2.6.18-371.8.1.el5.centos.plus #1 SMP Thu Apr 24 
> 18:32:18 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
> Tue Aug 26 06:29:28 2014  -1.008094 seconds
> Tue Aug 26 06:29:21 CDT 2014
> [root@centos-5:/etc, Tue Aug 26, 06:29 AM] 1010 #
>
>
> i.e., it can see all other exported partitions except the FBSD 
> (jaguar). On the FBSD box, I get the following:
>
>
>
> [root@kabini1, /etc, 6:24:31am] 708 %  grep vfs LIST.sysctl-A.txt | 
> grep nfs | grep priv
> vfs.nfsd.nfs_privport: 0
> [root@kabini1, /etc, 6:24:50am] 709 %  service  mountd  status
> Cannot 'status' mountd. Set mountd_enable to YES in /etc/rc.conf or 
> use 'onestatus' instead of 'status'.
> [root@kabini1, /etc, 6:26:08am] 710 %  service mountd onestatus
> mountd is running as pid 718.
> [root@kabini1, /etc, 6:26:16am] 711 %  ps -aux | grep mountd
> root         718   0.0  0.0  16180  3836 ??  Is   15Aug14 0:00.03 
> /usr/sbin/mountd -r
> root       51859   0.0  0.0  16332  2024 10  S+    6:26AM 0:00.00 grep 
> mountd
> wam        51820   0.0  0.0  14544  2428 17  I+    6:22AM 0:00.01 
> /bin/sh /usr/bin/man mountd
> [root@kabini1, /etc, 6:26:35am] 712 %  grep -i mountd rc.d/*
> rc.d/mountd:# $FreeBSD: releng/9.3/etc/rc.d/mountd 231792 2012-02-15 
> 22:59:15Z dougb $
> rc.d/mountd:# PROVIDE: mountd
> rc.d/mountd:name="mountd"
> rc.d/mountd:rcvar="mountd_enable"
> rc.d/mountd:start_precmd="mountd_precmd"
> rc.d/mountd:mountd_precmd()
> rc.d/mountd:    # mountd flags will differ depending on rc.conf settings
> rc.d/mountd:            if checkyesno weak_mountd_authentication; then
> rc.d/mountd:                    rc_flags="${mountd_flags} -n"
> rc.d/mountd:            if checkyesno mountd_enable; then
> rc.d/mountd:                    checkyesno weak_mountd_authentication 
> && rc_flags="-n"
> rc.d/mountd:    rm -f /var/db/mountdtab
> rc.d/mountd:    ( umask 022 ; > /var/db/mountdtab ) ||
> rc.d/mountd:        err 1 'Cannot create /var/db/mountdtab'
> rc.d/nfsd:# REQUIRE: mountd hostname gssd nfsuserd
> rc.d/nfsd:      force_depend mountd || return 1
> [root@kabini1, /etc, 6:27:19am] 713 %  (tail -10 /var/log/messages ; 
> date)
> Aug 24 08:09:44 kabini1 mountd[718]: mount request from 192.168.0.9 
> from unprivileged port
> Aug 24 08:18:12 kabini1 mountd[718]: mount request from 192.168.0.9 
> from unprivileged port
> Aug 24 08:18:51 kabini1 su: wam to root on /dev/pts/19
> Aug 24 08:52:04 kabini1 mountd[718]: mount request from 192.168.0.9 
> from unprivileged port
> Aug 24 09:10:23 kabini1 ntpd[804]: time reset +0.186836 s
> Aug 24 11:37:21 kabini1 dbus[738]: [system] Failed to activate service 
> 'org.freedesktop.Avahi': timed out
> Aug 24 11:38:57 kabini1 dbus[738]: [system] Failed to activate service 
> 'org.freedesktop.Avahi': timed out
> Aug 24 11:40:21 kabini1 dbus[738]: [system] Failed to activate service 
> 'org.freedesktop.Avahi': timed out
> Aug 24 11:48:49 kabini1 last message repeated 7 times
> Aug 26 06:29:25 kabini1 mountd[718]: mount request from 192.168.0.9 
> from unprivileged port
> Tue Aug 26 06:30:14 CDT 2014
> [root@kabini1, /etc, 6:30:14am] 714 %
>
>
> i.e., the mount request from the VM is apparently coming in on an 
> unprivileged port & the FBSD box's mountd is dropping/ignoring it. The 
> other boxen handle it OK. I have ipfw dropping all such traffic *not* 
> originating on my LAN, so I don't mind using the unprivileged port (I 
> don't think there are any security issues). How do I get FBSD's 
> nfsd/mountd to allow/handle the mount request on unprivileged ports ? 
> TIA ....
>
>
>

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca43e8b1f0e9c72628074f77581b96126c3.20140826182036>