Ok, here is patch #3. This is the final patch short of bug fixes: fetch http://apollo.backplane.com/DFlyMisc/pickups03.patch * Added set keep-policy to set the default stateful inspection policy. * Removed NetBSD's window scale patch. After playing with keep state for the last few days I understand now why OpenBSD made it the default. I wound up having to put it on every single pass rule I had on my router. However, I continue believe quite strongly that keep state w/ flags S/SA is an inappropriate default due to the adverse effect it has on pre-existing TCP connections, so I wanted to come up with a solution that would be acceptable to projects that might have a different opinion. I came up with set keep-policy in your pf.conf. For example: set keep-policy keep state (pickups) This will cause all pass rules to use the specified policy by default, so it does not have to be specified for each rule. The policy can be overriden in each rule. I implemented the OpenBSD 'no keep' feature as well so it can also be turned off. I did not see a similar feature to my 'set keep-policy' in OpenBSD. I think this is the best solution. This way the fact that stateful inspection is being used is explicitly specified in the pf.conf, which should satisfy everyone, plus additional features such as 'pickups' can be specified cleanly. Unless something comes up I am going to commit this to DragonFly on Friday and call it done. I would be pleased if other projects picked up some or all of the work. Max, if you make fixes or further enhancements to this for any porting you do to FreeBSD could you give me a heads up? I'd like to keep them in sync at least for a little while. -Matt
| Ingo Molnar | Re: [patch] paravirt: VDSO page is essential |
| Johannes Weiner | Re: Versioning file system |
| Matt Mackall | [PATCH 1/13] maps: Uninline some functions in the page walker |
| Greg KH | [patch 00/49] 2.6.25-stable review |
git: | |
| Johannes Schindelin | Re: [PATCH 1/4] Move redo merge code in a function |
| Dmitry Potapov | Re: [RFC] Git User's Survey 2008 |
| Johannes Schindelin | Re: [PATCH] Teach 'git apply' to look at $GIT_DIR/config |
| Shawn O. Pearce | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Brian A. Seklecki | sshd_config(5) PermitRootLogin yes |
| Richard Stallman | Real men don't attack straw men |
| ropers | Re: low-MHz server |
| Diego Fernando Nieto Moreno | Intel DG33 Support |
| Holger Schurig | Re: Linux Wireless Mini-Summit -- Ottawa -- July 22, 2008 |
| Tilman Schmidt | Re: 2.6.25-rc8: FTP transfer errors |
| Eric Dumazet | Re: [rfc][patch 3/3] use SLAB_ALIGN_SMP |
| Lennert Buytenhek | [PATCH 21/39] mv643xx_eth: move port_receive() into its only caller |
| high memory | 14 hours ago | Linux kernel |
| semaphore access speed | 17 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 18 hours ago | Linux kernel |
| Easter Eggs in windows XP | 21 hours ago | Windows |
| Shared swap partition | 22 hours ago | Linux general |
| Root password | 22 hours ago | Linux general |
| Where/when DNOTIFY is used? | 1 day ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 1 day ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 1 day ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
