https://github.com/grooverdan/fail2ban/blob/bsd/config/action.d/bsd-ipfw.conf is now in a pull request. It uses the tables feature of ipfw to store the banned items rather than each on their individual rules.