home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / protocol / appletal / 4294 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.7 KB

  1. Xref: sparky comp.protocols.appletalk:4294 comp.unix.ultrix:9101
  2. Path: sparky!uunet!decwrl!pa.dec.com!mogul
  3. From: mogul@pa.dec.com (Jeffrey Mogul)
  4. Newsgroups: comp.protocols.appletalk,comp.unix.ultrix
  5. Subject: Re: CAP & Ultrix 4.3 -- PF patches needed?
  6. Date: 29 Dec 1992 01:50:25 GMT
  7. Organization: DEC Western Research
  8. Lines: 29
  9. Message-ID: <1hoat1INNms6@usenet.pa.dec.com>
  10. References: <1992Dec17.171508.12289@ircam.fr> <Bzp8MA.3zr@alsvid.une.edu.au>
  11. NNTP-Posting-Host: jove.pa.dec.com
  12.  
  13. In article <Bzp8MA.3zr@alsvid.une.edu.au> mark@alsvid.une.edu.au (Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859) writes:
  14. >> We just upgraded to 4.3, and recompiled CAP after having removed the
  15. >> ULT42PFBUG definition.  The incantation used to start it comprizes
  16. >> 
  17. >>         pfconfig -a +c +p
  18. >
  19. >    that -a  is all  +c means copyall  +p means promiscous
  20. >
  21. >> 
  22. >> (_without_ the ifconfig .. copyall) and it works fine.  We didn't have
  23. >> to install any patches into the kernel.
  24. >
  25. >    Having refreshed my memory with packet filter option. You should not
  26. >do this. It works with out it and defeats the purpose. It was a work around
  27. >for some bugs in the packetfilter code and is nolonger required.
  28.  
  29. Actually, the original posting was right:
  30.     DO do: pfconfig -a +c +p
  31.     DON'T do: ifconfig .. copyall
  32. also, there was a patch for CAP that sets the ENCOPYALL mode bit for
  33. the packet filter file descriptor; that should NOT be used.
  34.  
  35. Background: "ifconfig ... copyall" sets the driver into copy-all mode,
  36. no matter what.  "pfconfig -a +c" allows an application to ask for
  37. copy-all mode, which is necessary for some uses of tcpdump (and not
  38. necessary for CAP any more).  As long as CAP doesn't set the ENCOPYALL
  39. mode bit, the interface driver won't actually be in copy-all mode.
  40.  
  41. -Jeff
  42.