Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IpAddress (0.49 sec)

  1. cmd/net.go

    	}
    
    	return apiEndpoints
    }
    
    // isHostIP - helper for validating if the provided arg is an ip address.
    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. docs/multi-user/README.md

    ```
    {
      "Version": "2012-10-17",
      "Statement": {
    	"Effect": "Allow",
    	"Action": "s3:ListBucket*",
    	"Resource": "arn:aws:s3:::mybucket",
    	"Condition": {"IpAddress": {"aws:SourceIp": "203.0.113.0/24"}}
      }
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top