mirror of
				https://github.com/Xahau/xahaud.git
				synced 2025-11-04 10:45:50 +00:00 
			
		
		
		
	Use CIDR notation for admin and secure_gateway
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Nik Bougalis
					
				
			
			
				
	
			
			
			
						parent
						
							dc213a4fab
						
					
				
				
					commit
					8f82b62e0d
				
			@@ -200,9 +200,19 @@
 | 
			
		||||
#
 | 
			
		||||
#   admin = [ IP, IP, IP, ... ]
 | 
			
		||||
#
 | 
			
		||||
#       A comma-separated list of IP addresses.
 | 
			
		||||
#       A comma-separated list of IP addresses or subnets. Subnets
 | 
			
		||||
#       should be represented in "slash" notation, such as:
 | 
			
		||||
#         10.0.0.0/8
 | 
			
		||||
#         172.16.0.0/12
 | 
			
		||||
#         192.168.0.0/16
 | 
			
		||||
#       Those examples are ipv4, but ipv6 is also supported.
 | 
			
		||||
#       When configuring subnets, the address must match the
 | 
			
		||||
#       underlying network address. Otherwise, the desired IP range is
 | 
			
		||||
#       ambiguous. For example, 10.1.2.3/24 has a network address of
 | 
			
		||||
#       10.1.2.0. Therefore, that subnet should be configured as
 | 
			
		||||
#       10.1.2.0/24.
 | 
			
		||||
#
 | 
			
		||||
#       When set, grants administrative command access to the specified IP
 | 
			
		||||
#       When set, grants administrative command access to the specified
 | 
			
		||||
#       addresses. These commands may be issued over http, https, ws, or wss
 | 
			
		||||
#       if configured on the port. If not provided, the default is to not allow
 | 
			
		||||
#       administrative commands.
 | 
			
		||||
@@ -233,9 +243,10 @@
 | 
			
		||||
#
 | 
			
		||||
#   secure_gateway = [ IP, IP, IP, ... ]
 | 
			
		||||
#
 | 
			
		||||
#       A comma-separated list of IP addresses.
 | 
			
		||||
#       A comma-separated list of IP addresses or subnets. See the
 | 
			
		||||
#       details for the "admin" option above.
 | 
			
		||||
#
 | 
			
		||||
#       When set, allows the specified IP addresses to pass HTTP headers
 | 
			
		||||
#       When set, allows the specified addresses to pass HTTP headers
 | 
			
		||||
#       containing username and remote IP address for each session. If a
 | 
			
		||||
#       non-empty username is passed in this way, then resource controls
 | 
			
		||||
#       such as often resulting in "tooBusy" errors will be lifted. However,
 | 
			
		||||
@@ -250,9 +261,9 @@
 | 
			
		||||
#       proxies. Since rippled trusts these hosts, they must be
 | 
			
		||||
#       responsible for properly authenticating the remote user.
 | 
			
		||||
#
 | 
			
		||||
#       The same IP address cannot be used in both "admin" and "secure_gateway"
 | 
			
		||||
#       lists for the same port. In this case, rippled will abort with an error
 | 
			
		||||
#       message to the console shortly after startup
 | 
			
		||||
#       If some IP addresses are included for both "admin" and
 | 
			
		||||
#       "secure_gateway" connections, then they will be treated as
 | 
			
		||||
#       "admin" addresses.
 | 
			
		||||
#
 | 
			
		||||
#   ssl_key = <filename>
 | 
			
		||||
#   ssl_cert = <filename>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user