DragonFly BSD
DragonFly submit List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

PFIL_HOOKS and pf


From: "Max Laier" <max@xxxxxxxxxxxxxx>
Date: Wed, 26 Nov 2003 02:04:05 +0100

Hello,

(1) http://pf4freebsd.love2party.net/pfil.diff.gz
(2) http://pf4freebsd.love2party.net/pf_df_test.tar.gz

Apply (1) to the tree, build GENERIC kernel with at least:

  options PFIL_HOOKS
  options bpf
  otptions RANDOM_IP_ID    #this is a great default, btw ;)

install includes (or copy sys/net/pfil.h to /usr/net/pfil.h).
Extract (2) and issue:
  make && make install

now you should be able to:

  kldload pfsync
  kldload pflog
  kldload pf
  mknod pf c 73 0 root:wheel

and have fun with pfctl and friends.

This is a test only, I did it to learn what is missing and should be
addressed. As it turned out to be that easy, why not post it for
people who'd like to give it a whirl.

-- 
Best regards,
 Max                          mailto:max@xxxxxxxxxxxxxx





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]