pfsyncd would be a good place to start, I believe.
Can be found here :
http://www.greyhats.org/openbsd/openbsd.html#pfsyncd
BTW, I have not received as many feedback as I expected : don't hesitate to send me mails about it ;)
Kind regards
Julien
pfsyncd would be a good place to start, I believe.