Skip to Content
IPv6 Network Administration
book

IPv6 Network Administration

by Niall Richard Murphy, David Malone
March 2005
Intermediate to advanced
308 pages
10h 32m
English
O'Reilly Media, Inc.
Content preview from IPv6 Network Administration

If All Else Fails...

In some cases you may use software that simply does not support IPv6. In some cases this software can be made to effectively operate over IPv6 using port forwarding. We use the nc6 program, available from http://www.deepspace6.net/projects/netcat6.html, and inetd to do port forwarding. The nc6 program allows you to make a connection to a network service and copies its input/output to that network service. For example, you could say nc6 mail.example.com smtp to get a connection to the SMTP server on mail.example.com.

Tip

There are other more sophisticated solutions using programs, such as ssh. Examples of clever port forwarding tricks can be found in SSH, The Secure Shell by Barrett and Silverman (O'Reilly). These tricks work over IPv4, IPv6, and a mix of both.

So let's consider the example of cvsup. This is a program used by the FreeBSD project for replicating source code trees. cvsup is written in Modula 3 and the version of Modula 3 used does not yet support IPv6. This means that the client and server parts of cvsup can neither make nor receive IPv6 connections.

However the protocol used by cvsup does not care about what it is transported over, thus on a cvsup server we can add a line to /etc/inetd.conf saying:

cvsup stream tcp6 nowait nobody /usr/local/bin/nc6 nc6 127.0.0.1 cvsup

This causes inetd to listen for TCP connections on the cvsup port, and if it gets a connection then nc6 is started and it forwards the connection to 127.0.0.1, where it can be served by ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Deploying IPv6 Networks

Deploying IPv6 Networks

Ciprian Popoviciu, Eric Levy-Abegnoli, Patrick Grossetete
IPv6 Core Protocols Implementation

IPv6 Core Protocols Implementation

Qing Li, Tatuya Jinmei, Keiichi Shima

Publisher Resources

ISBN: 0596009348Errata Page