ipfinder v1.0.0 Ipfinder.Validation.Firewallvalidation View Source

Documentation for Firewall validation.

Link to this section Summary

Functions

Helper method for validating an IPFINDER Firewall and Format

Link to this section Functions

Link to this function

validate(by, format)

View Source (since 1.0.0)

Helper method for validating an IPFINDER Firewall and Format

## Parameters

  • by - AS number as (e.g. AS1) or country ISO 3166-1 alpha-2 country code (e.g. US)
  • format - formats supported are apache_allow, apache_deny,nginx_allow,nginx_deny, CIDR, linux_iptables, netmask, inverse_netmask, web_config_allow, web_config_deny, cisco_acl, peer_guardian_2, network_object, cisco_bit_bucket, juniper_junos, microtik