[154] in The Cryptographic File System users list
.ANON_xx and nuisance users
daemon@ATHENA.MIT.EDU (Nicholas Brawn)
Fri Oct 8 04:17:36 1999
From owner-cfs-users@nsa.research.att.com Fri Oct 08 08:17:36 1999
Return-Path: <owner-cfs-users@nsa.research.att.com>
Delivered-To: cfs-mtg@CHARON2.mit.edu
Received: (qmail 7674 invoked from network); 8 Oct 1999 08:17:36 -0000
Received: from h-135-207-30-103.research.att.com (HELO mail-green.research.att.com) (135.207.30.103)
by charon2.mit.edu with SMTP; 8 Oct 1999 08:17:36 -0000
Received: from amontillado.research.att.com (amontillado.research.att.com [135.207.24.32])
by mail-green.research.att.com (Postfix) with ESMTP
id 058851E052; Fri, 8 Oct 1999 04:17:27 -0400 (EDT)
Received: from nsa.research.att.com (majordomo@nsa.research.att.com [135.207.24.155])
by amontillado.research.att.com (8.8.7/8.8.7) with ESMTP id EAA16974;
Fri, 8 Oct 1999 04:17:27 -0400 (EDT)
Received: (from majordomo@localhost) by nsa.research.att.com (8.7.3/8.7.3) id EAA19203 for cfs-users-list; Fri, 8 Oct 1999 04:16:18 -0400 (EDT)
X-Authentication-Warning: nsa.research.att.com: majordomo set sender to owner-cfs-users@nsa.research.att.com using -f
Received: from mail-green.research.att.com (mail-green.research.att.com [135.207.30.103]) by nsa.research.att.com (8.7.3/8.7.3) with ESMTP id EAA19199 for <cfs-users@nsa.research.att.com>; Fri, 8 Oct 1999 04:16:15 -0400 (EDT)
Received: by mail-green.research.att.com (Postfix)
id 110BD1E052; Fri, 8 Oct 1999 04:16:06 -0400 (EDT)
Delivered-To: cfs-users@research.att.com
Received: from vasquez.zip.com.au (vasquez.zip.com.au [203.12.97.41])
by mail-green.research.att.com (Postfix) with ESMTP id 8024F1E034
for <cfs-users@research.att.com>; Fri, 8 Oct 1999 04:16:02 -0400 (EDT)
Received: from zipperii.zip.com.au (ncb@zipperii.zip.com.au [203.12.97.87])
by vasquez.zip.com.au (8.9.2/8.9.1) with ESMTP id RAA13105
for <cfs-users@research.att.com>; Fri, 8 Oct 1999 17:59:53 +1000 (EST)
Date: Fri, 8 Oct 1999 18:17:03 +1000 (EST)
From: Nicholas Brawn <ncb@zip.com.au>
To: cfs-users@research.att.com
Subject: .ANON_xx and nuisance users
Message-ID: <Pine.LNX.4.10.9910081803150.6980-100000@zipperii.zip.com.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-cfs-users@research.att.com
Precedence: bulk
Hi there. Before I raise my issue, two vital pieces of information:
OS: FreeBSD (3.1)
CFS Version: cfs-1.3.3.1
To quote from cattach(1)'s manpage:
Ordinarily, the names of all currently attached directo-
ries can be obtained by listing the contents of /crypt
(e.g., with ls(1)). If the specified name begins with a
'.' (dot), however, cfsd will not include the name in
directory listings.
...
The following is an example of the issue I have:
ncb@gw:~$ ls -alF /crypt
total 2
drwxrwxrwx 4 root wheel 8192 Oct 8 17:57 ./
drwxr-xr-x 20 root wheel 512 Oct 8 17:53 ../
ncb@gw:~$ cattach /usr/local/crypt/ncb .test1234
Key:
ncb@gw:~$ ls -alF /crypt
ls: .ANON_47: No such file or directory
total 2
drwxrwxrwx 4 root wheel 8192 Oct 8 18:06 ./
drwxr-xr-x 20 root wheel 512 Oct 8 17:53 ../
ncb@gw:~$ cd /crypt/.test1234
ncb@gw:/crypt/.test1234$
Meanwhile, Mallory is busy in his session being a nuisance:
mallory@gw:~$ ls -alF /crypt
ls: .ANON_47: No such file or directory
total 2
drwxrwxrwx 4 root wheel 8192 Oct 8 18:06 ./
drwxr-xr-x 20 root wheel 512 Oct 8 17:53 ../
mallory@gw:~$ cdetach .ANON_47
mallory@gw:~$
We go back to ncb's account:
ncb@gw:/crypt/.test1234$ ls
ls: .: Stale NFS file handle
ncb@gw:/crypt/.test1234$
The question is whether the .ANON_xx is an OS peculiarity, or is it a CFS
issue. Regardless of what's to blame, is there a way to prevent this
occuring. Lastly, is there a way to prevent illegitimate users detaching
other users "sessions".
Help in this matter would be appreciated.
Nick
--
Email: ncb@zip.com.au (or) nicholas.brawn@hushmail.com
Key fingerprint = 71C5 2EA8 903B 0BC4 8EEE 9122 7349 EADC 49C1 424E