From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,afdde92705a6301f,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,afdde92705a6301f,start X-Google-Attributes: gid10b612,public X-Google-Thread: 10650a,afdde92705a6301f,start X-Google-Attributes: gid10650a,public X-Google-ArrivalTime: 1994-06-09 03:10:58 PST Path: nntp.gmd.de!xlink.net!scsing.switch.ch!aragorn.unibe.ch!grimsel!chisholm From: chisholm@grimsel.uucp (Rory Chisholm) Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.unix.internals Subject: Configuring Ultrix kernel with packetfilter Followup-To: comp.unix.ultrix Date: 9 Jun 1994 10:04:46 GMT Organization: University of Berne, Switzerland Distribution: world Message-ID: <2t6pfu$1g6@aragorn.unibe.ch> NNTP-Posting-Host: grimsel.unibe.ch Xref: nntp.gmd.de comp.unix.ultrix:14369 comp.sys.dec:16025 comp.unix.internals:3482 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 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