The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats
Personal tools

FAQ/IPV6

From the makers of InspIRCd.

Jump to: navigation, search


Contents

How is IPV6 implemented in InspIRCd?

InspIRCd implements IPV6 in the same way that hybrid does, in short, using 4in6 bindings (e.g. "::ffff:1.2.3.4") is not required. You may still use 4in6 if you wish. Contrast this to UnrealIRCd and OpenSSH, which require use of 4in6 bindings if you are using ipv4 on an ipv6 build.

How can i bind all addresses on both IPV6 and IPV4 for a port?

You can't do this with one bind tag. You should do something like this instead:

<bind address="" port="6667">          # Binds all ipv6 ips on the server
<bind address="1.2.3.4" port="6667">   # Bind the first of 3 ipv4 ips
<bind address="1.2.3.5" port="6667">   # Bind the second of 3 ipv4 ips
<bind address="1.2.3.6" port="6667">   # Bind the third of 3 ipv4 ips

If InspIRCd is built for ipv6, can i still use it if i don't have any IPV6 addresses on my server?

Yes. You may still bind to IPV4 addresses, however attempting to bind to IPV6 addresses will usually generate an error such as:

Address family not supported by protocol family.

Can an IPV6 user connect to an IPV4 address, or vice versa?

Only if you use 4in6 or 6in4. Use of these features is outside the scope of this FAQ, and you should read the correct manual pages for the systems you want to use. It is recommended that you do not use these systems where possible, and instead use native V4 and V6 IP address bindings.