Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
RestlessRodent

IPv6 Addressing Standard

Recommended Posts

Since ReMooD is the only port I know of which supports IPv6, i'm going to declare an addressing standard for IPv6 addresses. The same as existing web browsers.

When specifiying an IPv6 address, it must be surrounded by square brackets '[' and ']'. Addresses also use the '%' to specify scope, i.e. "[::1%lo]".

So arguments passed to arguments which connect to actual servers or binds to addresses must use such brackets.

An example: ./yourport -connect '[::1]'
and with a port: ./yourport -connect '[::1]:29500'

And any other usage of addresses, when specifying an IPv6 address must be placed within square brackets also. So in server logs, it would show up as something such as "[::1] has connected.". The same goes for launchers in the IP field (if any).

If you got ban and/or exception lists, they also follow the same format, except with regular expressions. Each regular expression represents only a single digit. There is no '*' wildcard because it would not be very feasable especially with the number of addresses and depending on how the address is specified it is ambigious.

"()" A set of hex-digits to use, ranges can be specified by using a hyphen. Ex: (0123) (0-f) (71-3) (7-13b)
"?" Is the same as saying (0-f)

Example bans
[2001:0db8:85a3:0000:0000:8a2e:0370:7334]
[2001:0db8:85a3::8a2e:0370:7334]
[2001:db8:85a3::0370:7334] (bans [2001:db8:85a3:0000:0000:0000:0370:7334])
[??:0db8:85a3::8a2e:370:7334] (bans [00??:db8:85a3:0000:0000:8a2e:0370:7334])
[2001:db8:????::370:7334] (bans [2001:db8:????:0000:0000:0000:0370:7334])
[2001:db8:85a3::?:?:?] (bans [2001:0db8:85a3:0000:0000:000?:000?:000?]
::? (bans [0000:0000:0000:0000:0000:0000:0000:000?])

etc.
IPv6 addresses are presented as http://en.wikipedia.org/wiki/IPv6_address#Presentation as per standard IPv6.
See also http://msdn.microsoft.com/en-us/library/windows/desktop/ms740593%28v=vs.85%29.aspx.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×