/* ipfwrule.cc 31/12/2008 14.49.18 */ const char *ipfwrule_getsect (FIREWALL_SECTION section); /* ipfw.cc 18/02/2009 14.59.14 */ const char *ipfw_setipcmdpath (void); void ipfw_appendcmd (const char *ctl, ...); void ipfw_heading (SSTRING *collect); bool ipfw_validmask (const char *msk, unsigned long &bmsk); int ipfw_append (FIREWALL_SECTION sectnum, int rulenum, bool doit, SSTRING *collect, int command, struct ip_fw&b, const char *redirhost, const char *dispatch, const char *iptable_args); int ipfw_flush (bool doit, SSTRING *, int command); void ipfw_initacct (void); int ipfw_policy (bool doit, SSTRING *collect, int command, int policy); int ipfw_open (void); void ipfw_close (void); int ipfw_checkports (const SSTRING&, const SSTRING&); int ipfw_checkrange (const SSTRING&); int ipfw_checkproto (const char *protocol); int ipfw_baseinit (int , const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, bool, bool, struct ip_fw&); /* _dict.cc 10/10/2008 14.42.42 */ /* firewall.cc 18/02/2009 11.03.32 */ int firewall_setup (IPFW_RULES_INPUT&brules, IPFW_RULES_FORWARD&frules, IPFW_RULES_OUTPUT&orules, IPFW_RULES_ACCT&arules); int firewall_setup (CONFDB *db); int firewall_reset (CONFDB *db); bool firewall_smartupdates (void); bool firewall_useipchains (void); bool firewall_useiptable (void); void firewall_editc (CONFDB *db); void firewall_editc (void); void firewall_editf (CONFDB *db); void firewall_editb (CONFDB *db); void firewall_edito (CONFDB *db); void firewall_edita (CONFDB *db); /* mod_firewall.cc 03/12/2008 16.18.26 */ /* flushchains.cc 10/10/2008 14.42.42 */ /* rules.tlcc 18/02/2009 14.59.18 */ /* fwstatus.cc 10/10/2008 14.42.42 */ void fw_status (void); /* config.tlcc 18/02/2009 14.59.18 */ int config_loadold (void); /* chains.tlcc 18/02/2009 14.59.18 */ void chains_reset (void); int chains_write (void); int chains_format (FIREWALL_SECTION sectnum, int rulenum, const char *dispatch, const char *chain, const char *proto, unsigned long from, unsigned long from_mask, const char *fromport, unsigned long to, unsigned long to_mask, const char *toport, const char *interface, const char *cmd, bool no_order); int chains_validdispatch (const char *dispatch, const char *proto, const char *interface); void chains_resetfw (void); void chains_confirm (const char *chain);