code: def deny(ip,
          port=None,
          proto='tcp',
          direction='in',
          port_origin='d',
          ip_origin='d',
          ttl=None,
          comment=''):
      '''
      Add an rule to csf denied hosts
      See :func:`_access_rule`.
      1- Deny an IP:
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' csf.deny 127.0.0.1
          salt '*' csf.deny 127.0.0.1 comment="Too localhosty"
      '''
      return _access_rule('deny', ip, port, proto, direction, port_origin, ip_origin, commentf deny(ip,
          port=None,
          proto='tcp',
          direction='in',
          port_origin='d',
          ip_origin='d',
          ttl=None,
          comment=''):
      '''
      Add an rule to csf denied hosts
      See :func:`_access_rule`.
      1- Deny an IP:
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' csf.deny 127.0.0.1
          salt '*' csf.deny 127.0.0.1 comment="Too localhosty"
      '''
      return _access_rule('deny', ip, port, proto, direction, port_origin, ip_origin, comment)
docs: Add an rule to csf denied hosts
      See :func:`_access_rule`.
      1- Deny an IP:
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' csf.deny 127.0.0.1
          salt '*' csf.deny 127.0.0.1 comment="Too localhosty"