19 #ifndef LIBMDM_MDM_FIREWALL_H 20 #define LIBMDM_MDM_FIREWALL_H 22 #include "mdm_client_type.h" 1277 #endif // LIBMDM_MDM_FIREWALL_H mdm_result_t mdm_clean_iptables_reroute_rules(void)
API to clean "reroute rules" in iptables.
mdm_result_t mdm_get_allow_iptables_option(int *p_value)
API to query whether "allow", "deny", and "reroute" rules are enabled or not.
mdm_data_t * mdm_get_iptables_allow_rules(void)
API to get "allow rules".
This structure is used to store GList.
mdm_data_t * mdm_get_iptables_rules(void)
API to get all "allow", "deny", "reroute", and "redirect exceptions" rules.
mdm_result_t mdm_remove_iptables_rules(void)
API to remove "allow", "deny", and "reroute" from iptables.
mdm_result_t mdm_clean_iptables_deny_rules(void)
API to clean "deny rules" in iptables.
mdm_result_t mdm_set_allow_iptables_proxy_option(mdm_status_t status)
API to enable or disable "proxy rule" on iptables.
mdm_result_t mdm_set_allow_iptables_option(mdm_status_t status)
API to enable or disable all "allow", "deny", "reroute", and "redirect exceptions" rules on iptables...
mdm_status_t
MDM Policy status.
mdm_result_t mdm_get_allow_iptables_proxy_option(int *p_value)
API to query whether "proxy" rules are enabled or not.
mdm_result_t mdm_add_iptables_reroute_rules(void *p_ruleslist)
API to add "reroute rules" in iptables.
mdm_result_t mdm_remove_iptables_allow_rules(void *p_ruleslist)
API to remove "allow rules" from iptables.
mdm_result_t mdm_set_iptables_proxy_rules(char *ip, char *port)
API to set a "proxy rule" on iptables. This API is used to setup a transparent HTTP proxy by defining...
mdm_result_t mdm_remove_iptables_reroute_rules(void *p_ruleslist)
API to remove "reroute rules" from iptables.
mdm_result_t mdm_set_iptables_deny_rules(void *p_ruleslist)
API to set "deny rules" to iptables.
mdm_data_t * mdm_get_iptables_proxy_rules(void)
API to get "proxy rules".
mdm_result_t mdm_add_iptables_allow_rules(void *p_ruleslist)
API to add "allow rules" in iptables.
mdm_result_t mdm_clean_iptables_allow_rules(void)
API to clean "allow rules" in iptables.
mdm_result_t
MDM API result.
mdm_result_t mdm_add_iptables_deny_rules(void *p_ruleslist)
API to add "deny rules" in iptables.
mdm_data_t * mdm_get_iptables_reroute_rules(void)
API to get "reroute rules".
mdm_result_t mdm_set_iptables_allow_rules(void *p_ruleslist)
API to set "allow rules" to iptables.
mdm_result_t mdm_set_iptables_reroute_rules(void *p_ruleslist)
API to set "reroute rules" on iptables.
mdm_result_t mdm_clean_iptables_proxy_rules(void)
API to clean "proxy rules" in iptables.
mdm_result_t mdm_remove_iptables_deny_rules(void *p_ruleslist)
API to remove "deny rules" from iptables.
mdm_data_t * mdm_get_iptables_deny_rules(void)
API to get "deny rules".