From: chisholm@grimsel.uucp (Rory Chisholm)
Subject: Configuring Ultrix kernel with packetfilter
Date: 9 Jun 1994 10:04:46 GMT [thread overview]
Message-ID: <2t6pfu$1g6@aragorn.unibe.ch> (raw)
I'm having several problems getting a packetfilter application to work
under ultrix 4.3 on a dec 5000/200 mips machine. Basically I read the
ultrix faq, and followed the suggestions, rebuilding the kernel with
options PACKETFILTER and pseudo-device packetfilter, as the manual
suggested.
I've even created the /dev/pf/pfilt* files with MAKEDEV pfilt.
I did the MAKDEV before the kernel rebuild but this should make no
difference.
However,
as yet nothing appears to work. any applications I have that call
pfopen() fail with xxx: no such device. where xxx is any interface I
try. this, as you can see also applies to the systems utilities, say for
instance, pfconfig. Sometimes I also get an error of OPTION packetfilter
not configured for interface xxx. This is very perplexing...
Any sugestions would be very welcome.
> uname -a
ULTRIX avalon 4.3 1 RISC
> /etc/ifconfig ln0
ln0: 130.60.48.150 netmask ffffff00 flags=0x463<DYNPROTO,RUNNING,NOTRAILERS,BROADCAST,UP>
broadcast: 130.60.48.0
> super pfconfig +promisc ln0
ln0: No such device
csh> nm /vmununix | fgrep pfilt
008005e8b8 T attachpfilter
008005e83c T attachpfilter_ethernet
008005e92c T attachpfilter_fddi
00801d4b68 B lk_pfilt
008019f150 G lock_pfilt_d
008005b954 T pfilt_attach
008005a848 T pfilt_filter
008005b9fc T pfilt_newaddress
> pfstat
Scavenges: 0 (0 packets dropped)
Freeq(801d4518): 256 (Min 256) [801d2118,801d44f4]
Queue priority reorderings: 0
Space allocated for descriptors: 0 bytes
pf0:
Xcnt: 0 Rcnt: 0
Xdrops: 0 Rdrops: 0
Rmissed: 0 Runwanted: 0
AllowPromisc: no AllowCopyAll: no
UserMaxWaiting: 32
Device type: 10Mb Interface: ln0
Address Length: 6 Header Length: 14 MTU: 1514
Interface Address: 08:00:2b:1c:8b:51
Broadcast Address: ff:ff:ff:ff:ff:ff
Desq(c16e0898): 0/256 open files [c16e0898,c16e0898]:
AllDescriptors:
# LOC LINK-QUEUE STATE WAIT-QUEUE NQ'D TOUT MODE SIG PROC(PID)
Filters:
# COUNT DROPS PRI LEN FILTER
pf1:
Xcnt: 0 Rcnt: 0
Xdrops: 0 Rdrops: 0
Rmissed: 0 Runwanted: 0
AllowPromisc: no AllowCopyAll: no
UserMaxWaiting: 32
Device type: 10Mb Interface: ln1 not up
Address Length: 6 Header Length: 14 MTU: 1514
Interface Address: 08:00:2b:1a:c4:0d
Broadcast Address: ff:ff:ff:ff:ff:ff
Desq(c16e0918): 0/256 open files [c16e0918,c16e0918]:
AllDescriptors:
# LOC LINK-QUEUE STATE WAIT-QUEUE NQ'D TOUT MODE SIG PROC(PID)
Filters:
# COUNT DROPS PRI LEN FILTER
QueueElts:
LOC LINK-QUEUE COUNT REF FLAGS DROP TIME
> pfstat ln0
ldopen: cannot open ln0
PACKETFILTER option is not configured in ln0
rory chisholm, email chisholm@math-stat.unibe.ch
reply other threads:[~1994-06-09 10:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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