/* _dict.cc 03/05/1998 00.53.08 */ /* chains.tlcc 30/09/2002 22.00.40 */ 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); /* firewall.cc 30/09/2002 22.00.36 */ 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); /* flushchains.cc 10/05/2001 13.16.48 */ /* fwstatus.cc 12/05/2001 23.25.24 */ void fw_status (void); /* ipfw.cc 30/09/2002 21.47.38 */ 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); 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&); /* ipfwrule.cc 18/04/2002 22.44.18 */ const char *ipfwrule_getsect (FIREWALL_SECTION section); /* mod_firewall.cc 12/05/2001 23.07.54 */ /* rules.tlcc 30/09/2002 22.00.40 */