From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: nfswatch / pfopen
Date: 1996/01/12 [thread overview]
Message-ID: <werme.821454630@alingo.zk3.dec.com> (raw)
In-Reply-To: 4cun6j$nm7@mserv1.dl.ac.uk
kcm@tca1.dl.ac.uk (Kevin Maguire) writes:
># ./nfswatch -all
>./nfswatch: (null): No such file or directory
>#
Meguesses that you may not have the packet filter special devices. (And/or
you don't have the packetfilter option set in the kernel.) What do tcpdump
and pfconfig report?
Here are a couple hints:
1) Installing packet filter support
tcpdump relies on a kernel option that ordinarily isn't enabled. You can fix
this either by adding "options PACKETFILTER" to the system's configuration
file and rebuilding (via doconfig -c <FILE>) or by:
# doconfig
*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***
Enter a name for the kernel configuration file. [ALINGO]: FILTER
You want to name the configuration file 'FILTER'
Is that correct? (y/n) [y]: y
*** KERNEL OPTION SELECTION ***
Selection Kernel Option
---------------------------------------------------------------
1 System V Devices
2 Logical Volume Manager (LVM)
3 Kernel Breakpoint Debugger (KDEBUG)
4 Packetfilter driver (PACKETFILTER)
5 STREAMS pckt module (PCKT)
6 Data Link Bridge (DLPI V2.0 Service Class 1)
7 X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
8 File on File File System (FFM)
9 ISO 9660 Compact Disc File System (CDFS)
10 Audit Subsystem
11 Local Area Transport Support
12 All of the above
13 None of the above
---------------------------------------------------------------
Enter the selection number for each kernel option you want.
For example, 1 3 : 4
You selected the following kernel options:
Packetfilter driver (PACKETFILTER)
Is that correct? (y/n) [y]:
...
Rebuild and boot the new kernel.
2) Create the packetfilter devices:
# cd /dev
# ./MAKEDEV pfilt
MAKEDEV: special file(s) for pfilt:
pfilt0 pfilt1 pfilt2 pfilt3 pfilt4 pfilt5 pfilt6 ... pfilt63
3) Enable local copy promiscuous mode
# pfconfig +p +c ln0 (or tu0 or whatever)
At this point tcpdump should work, as will /usr/sbin/nfswatch (essentially
nfswatch 4.1, I think with a few changes to file handle handling).
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
prev parent reply other threads:[~1996-01-12 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-09 5:00 nfswatch / pfopen Kevin Maguire
1996-01-10 5:00 ` Jeffrey Mogul
1996-01-12 5:00 ` Eric Werme [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox