From master@tofu.mamane.lu  Thu Apr  3 19:23:19 2003
Return-Path: <master@tofu.mamane.lu>
Delivered-To: ipv6calc@liston.ferrara.linux.it
Date: Thu, 3 Apr 2003 19:23:18 +0200
From: Lionel Elie Mamane <lionel@mamane.lu>
To: ipv6calc@deepspace6.net
Message-ID: <20030403172318.GA2661@tofu.home.mamane.lu>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw"
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
Sender: Lionel Elie Mamane <master@tofu.mamane.lu>
Subject: [ipv6calc] Suggested output format
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 03 Apr 2003 17:23:19 -0000


--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

ipv6calc currently doesn't support the following format:

network byte order, in octal notation with \-escaping

E.g. 2001:888:19f0:0:210:5aff:fe45:9b17 would be:
\40\1\10\210\31\360\0\0\2\20\132\377\376\105\233\27

There is a non-zero "market" for this, as I felt the need enough to
write a little program that does just this: Take an address, and
translate it to that format :-)

--=20
Lionel
--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj6MbgYACgkQscRzFz57S3NUxQCfc/fIgYUVdsLBWivojoFORdDk
2LIAoPtGDjsCDiXkPDhMCtr25s9/6DI/
=NpoO
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--
From pb@bieringer.de  Thu Apr  3 20:29:41 2003
Return-Path: <pb@bieringer.de>
Delivered-To: ipv6calc@liston.ferrara.linux.it
X-AV-Checked: Thu Apr  3 20:29:39 2003 smtp2.aerasec.de
Date: Thu, 03 Apr 2003 20:29:37 +0200
From: Peter Bieringer <pb@bieringer.de>
To: ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <9320000.1049394577@worker.muc.bieringer.de>
In-Reply-To: <20030403172318.GA2661@tofu.home.mamane.lu>
References: <20030403172318.GA2661@tofu.home.mamane.lu>
X-Mailer: Mulberry/3.0.3 (Linux/x86)
X-URL: http://www.bieringer.de/pb/
X-OS: Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 03 Apr 2003 18:29:41 -0000



--On Thursday, April 03, 2003 07:23:18 PM +0200 Lionel Elie Mamane
<lionel@mamane.lu> wrote:

> ipv6calc currently doesn't support the following format:
> 
> network byte order, in octal notation with \-escaping
> 
> E.g. 2001:888:19f0:0:210:5aff:fe45:9b17 would be:
> \40\1\10\210\31\360\0\0\2\20\132\377\376\105\233\27
> 
> There is a non-zero "market" for this, as I felt the need enough to
> write a little program that does just this: Take an address, and
> translate it to that format :-)

Hmm, never seen. Where is the non-zero "market" located?

Do you have the capabilities to enhance ipv6calc by yourself and submit
patches? If nit, I can do it, but it would need some time (let me say 4
weeks).

BTW: should there be a difference between full expanded, expanded or
compressed format?

        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
From master@tofu.mamane.lu  Thu Apr  3 21:15:24 2003
Return-Path: <master@tofu.mamane.lu>
Delivered-To: ipv6calc@liston.ferrara.linux.it
Date: Thu, 3 Apr 2003 21:15:16 +0200
From: Lionel Elie Mamane <lionel@mamane.lu>
To: Peter Bieringer <pb@bieringer.de>
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <20030403191516.GA4204@tofu.home.mamane.lu>
Mail-Followup-To: Lionel Elie Mamane <lionel@mamane.lu>,
	Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
References: <20030403172318.GA2661@tofu.home.mamane.lu>
	<9320000.1049394577@worker.muc.bieringer.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC"
Content-Disposition: inline
In-Reply-To: <9320000.1049394577@worker.muc.bieringer.de>
User-Agent: Mutt/1.4i
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
Sender: Lionel Elie Mamane <master@tofu.mamane.lu>
cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 03 Apr 2003 19:15:24 -0000


--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 03, 2003 at 08:29:37PM +0200, Peter Bieringer wrote:

> <lionel@mamane.lu> wrote:

>> ipv6calc currently doesn't support the following format:

>> network byte order, in octal notation with \-escaping

>> E.g. 2001:888:19f0:0:210:5aff:fe45:9b17 would be:
>> \40\1\10\210\31\360\0\0\2\20\132\377\376\105\233\27

>> There is a non-zero "market" for this, as I felt the need enough to
>> write a little program that does just this: Take an address, and
>> translate it to that format :-)

> Hmm, never seen. Where is the non-zero "market" located?

Well, OK, here is why I once wanted this format:

 - My mamane.lu domain is hosted, DNS-wise by a host running tinydns
 - I wanted to have AAAA records

And to have AAAA records with (unpatched, pure) tinydns, you need the
IP address in this format.

> Do you have the capabilities to enhance ipv6calc by yourself and
> submit patches?

Hmm... Probably. I can't guarantee it will be "good style" C,
though. I'm not really a C hacker.

> If nit, I can do it, but it would need some time (let me say 4
> weeks).

Oh, take your time. As I told you, I already have written a program
that outputs IP's in that format, so I'm in no hurry.

> BTW: should there be a difference between full expanded, expanded or
> compressed format?

No, just the 16 bytes, raw, each in octal notation with '\'
prepended.

--=20
Lionel
--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj6MiEQACgkQscRzFz57S3NfagCgxyQb9IhrYkF4zHLb1hD7+jvJ
2SIAn2PkWJYIsUBO1QSgpbu3vDp8kBqK
=IAEz
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--
From master@tofu.mamane.lu  Thu Apr  3 22:51:33 2003
Return-Path: <master@tofu.mamane.lu>
Delivered-To: ipv6calc@liston.ferrara.linux.it
Date: Thu, 3 Apr 2003 22:51:29 +0200
From: Lionel Elie Mamane <lionel@mamane.lu>
To: Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <20030403205129.GA6105@tofu.home.mamane.lu>
Mail-Followup-To: Lionel Elie Mamane <lionel@mamane.lu>,
	Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
References: <20030403172318.GA2661@tofu.home.mamane.lu>
	<9320000.1049394577@worker.muc.bieringer.de>
	<20030403191516.GA4204@tofu.home.mamane.lu>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0"
Content-Disposition: inline
In-Reply-To: <20030403191516.GA4204@tofu.home.mamane.lu>
User-Agent: Mutt/1.4i
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
Sender: Lionel Elie Mamane <master@tofu.mamane.lu>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 03 Apr 2003 20:51:33 -0000


--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Thu, Apr 03, 2003 at 09:15:16PM +0200, Lionel Elie Mamane wrote:
> On Thu, Apr 03, 2003 at 08:29:37PM +0200, Peter Bieringer wrote:

>> Do you have the capabilities to enhance ipv6calc by yourself and
>> submit patches?

> Hmm... Probably. I can't guarantee it will be "good style" C,
> though. I'm not really a C hacker.

Here is a patch. You'll certainly want to clean it up before
applying.

--=20
Lionel
--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj6MntEACgkQscRzFz57S3PpeACfefQABHKe07JMw4CKo4QY23mX
NZYAoM02HN2Di9hF2QvsnJRCFlVcXDK4
=dvzx
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--
From master@tofu.mamane.lu  Thu Apr  3 22:53:19 2003
Return-Path: <master@tofu.mamane.lu>
Delivered-To: ipv6calc@liston.ferrara.linux.it
Date: Thu, 3 Apr 2003 22:53:15 +0200
From: Lionel Elie Mamane <lionel@mamane.lu>
To: Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <20030403205315.GB6105@tofu.home.mamane.lu>
Mail-Followup-To: Lionel Elie Mamane <lionel@mamane.lu>,
	Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
References: <20030403172318.GA2661@tofu.home.mamane.lu>
	<9320000.1049394577@worker.muc.bieringer.de>
	<20030403191516.GA4204@tofu.home.mamane.lu>
	<20030403205129.GA6105@tofu.home.mamane.lu>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="wzJLGUyc3ArbnUjN"
Content-Disposition: inline
In-Reply-To: <20030403205129.GA6105@tofu.home.mamane.lu>
User-Agent: Mutt/1.4i
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
Sender: Lionel Elie Mamane <master@tofu.mamane.lu>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 03 Apr 2003 20:53:19 -0000


--wzJLGUyc3ArbnUjN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Apr 03, 2003 at 10:51:29PM +0200, Lionel Elie Mamane wrote:

> Here is a patch. You'll certainly want to clean it up before
> applying.

And I forget to attach it...

-- 
Lionel
--wzJLGUyc3ArbnUjN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="octal_backslash.patch"

Only in ipv6calc-0.45.lio/: config.cache
Only in ipv6calc-0.45.lio/: config.h
Only in ipv6calc-0.45.lio/: config.log
Only in ipv6calc-0.45.lio/: config.status
diff -u --recursive ipv6calc-0.45/contrib/ipv6calc.spec ipv6calc-0.45.lio/contrib/ipv6calc.spec
--- ipv6calc-0.45/contrib/ipv6calc.spec	2002-11-12 20:17:58.000000000 +0100
+++ ipv6calc-0.45.lio/contrib/ipv6calc.spec	2003-04-03 22:26:58.000000000 +0200
@@ -1,6 +1,6 @@
 # Project    : ipv6calc
 # File       : contrib/ipv6calc.spec
-# Version    : $Id: ipv6calc.spec,v 1.14 2002/11/12 19:17:58 peter Exp $
+# Version    : $Id: ipv6calc.spec.in,v 1.18 2002/11/12 18:59:04 peter Exp $
 # Copyright  : 2001-2002 by Peter Bieringer <pb@bieringer.de>
 
 Summary: IPv6 address format change and calculation utility
diff -u --recursive ipv6calc-0.45/ipv6calc/ipv6calc.c ipv6calc-0.45.lio/ipv6calc/ipv6calc.c
--- ipv6calc-0.45/ipv6calc/ipv6calc.c	2002-11-12 20:03:29.000000000 +0100
+++ ipv6calc-0.45.lio/ipv6calc/ipv6calc.c	2003-04-03 22:36:56.000000000 +0200
@@ -583,6 +583,12 @@
 			retval = librfc2874_bitstring_to_ipv6addrstruct(argv[0], &ipv6addr, resultstring);
 			argc--;
 			break;
+
+		case FORMAT_octal_backslash:
+			if (argc < 1) { printhelp_missinginputdata(); exit(EXIT_FAILURE); };
+			retval = octal_backslash_to_ipv6addrstruct(argv[0], resultstring, &ipv6addr);
+			argc--;
+			break;
 			
 		default:
 			fprintf(stderr, " Input-type isn't implemented\n");
@@ -929,6 +935,11 @@
 			};
 			break;
 			
+		case FORMAT_octal_backslash:
+			if (ipv6addr.flag_valid != 1) { fprintf(stderr, "No valid IPv6 address given!\n"); exit(EXIT_FAILURE); };
+			retval = libipv6addr_ipv6addrstruct_to_octal_backslash(&ipv6addr, resultstring);
+			break;
+
 		case FORMAT_ipv4addr:
 			if (ipv4addr.flag_valid != 1) { fprintf(stderr, "No valid IPv4 address given!\n"); exit(EXIT_FAILURE); };
 			retval = libipv4addr_ipv4addrstruct_to_string(&ipv4addr, resultstring, formatoptions);
diff -u --recursive ipv6calc-0.45/ipv6calcweb/ipv6calcweb.cgi ipv6calc-0.45.lio/ipv6calcweb/ipv6calcweb.cgi
--- ipv6calc-0.45/ipv6calcweb/ipv6calcweb.cgi	2002-11-04 21:38:37.000000000 +0100
+++ ipv6calc-0.45.lio/ipv6calcweb/ipv6calcweb.cgi	2003-04-03 22:37:02.000000000 +0200
@@ -28,7 +28,7 @@
 # Program information
 my $program_name = "ipv6calcweb.cgi";
 my $program_copyright = "(P) & (C) 2002 by Peter Bieringer";
-my $program_version = "0.44";       # automatic generated line, don't remove this token: @@VERSION@@
+my $program_version = "0.45";       # automatic generated line, don't remove this token: @@VERSION@@
 
 
 # Debug value
diff -u --recursive ipv6calc-0.45/lib/ipv6calctypes.h ipv6calc-0.45.lio/lib/ipv6calctypes.h
--- ipv6calc-0.45/lib/ipv6calctypes.h	2002-04-21 13:24:08.000000000 +0200
+++ ipv6calc-0.45.lio/lib/ipv6calctypes.h	2003-04-03 22:41:04.000000000 +0200
@@ -47,6 +47,7 @@
 #define FORMAT_NUM_any	 		16
 #define FORMAT_NUM_prefix_mac		17
 #define FORMAT_NUM_revipv4		18
+#define FORMAT_NUM_octal_backslash	19
 #define FORMAT_NUM_undefined		31
 
 #define FORMAT_auto		(uint32_t) 0x00000u
@@ -68,6 +69,7 @@
 #define FORMAT_any	 	(uint32_t) (1 << FORMAT_NUM_any)
 #define FORMAT_prefix_mac	(uint32_t) (1 << FORMAT_NUM_prefix_mac)
 #define FORMAT_revipv4		(uint32_t) (1 << FORMAT_NUM_revipv4)
+#define FORMAT_octal_backslash	(uint32_t) (1 << FORMAT_NUM_octal_backslash)
 #define FORMAT_undefined	(uint32_t) (1 << FORMAT_NUM_undefined)
 
 /* Primary label of format number, keeping also an explanation */
@@ -98,6 +100,7 @@
 	{ FORMAT_any            , "any"            , "any type (currently not supported)", "" },
 	{ FORMAT_revipv4	, "revipv4"        , "reverse IPv4, ending with in-addr.arpa", "" },
 	{ FORMAT_prefix_mac     , "prefix+mac"     , "IPv6 prefix and a MAC address", "" },
+	{ FORMAT_octal_backslash    , "octal_backslash"     , "IPv6 address, network byte order, in octal notation with \\-escaping", "" },
 };
 
 /* Format conversion matrix */
diff -u --recursive ipv6calc-0.45/lib/libipv6addr.c ipv6calc-0.45.lio/lib/libipv6addr.c
--- ipv6calc-0.45/lib/libipv6addr.c	2002-11-04 20:49:45.000000000 +0100
+++ ipv6calc-0.45.lio/lib/libipv6addr.c	2003-04-03 22:32:30.000000000 +0200
@@ -649,6 +649,95 @@
 };
 #undef DEBUG_function_name
 
+/*
+ * function stores an IPv6 address string into a structure
+ *
+ * in : *addrstring = IPv6 address
+ * out: *resultstring = error message
+ * out: ipv6addrp = changed IPv6 address structure
+ * ret: ==0: ok, !=0: error
+ */
+#define DEBUG_function_name "libipv6addr/octal_backslash_to_ipv6addrstruct"
+int octal_backslash_to_ipv6addrstruct(const char *addrstring, char *resultstring, ipv6calc_ipv6addr *ipv6addrp) {
+	int retval = 1, result, i;
+	char tempstring[NI_MAXHOST];
+	int expecteditems = 0;
+	int temp[16];
+	uint32_t scope = 0;
+
+	resultstring[0] = '\0'; /* clear result string */
+
+	if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+		fprintf(stderr, "%s: Got input: %s\n", DEBUG_function_name, addrstring);
+	};
+
+	if (strlen(addrstring) > sizeof(tempstring) - 1) {
+		fprintf(stderr, "Input too long: %s\n", addrstring);
+		return (1);
+	};
+
+	snprintf(tempstring, sizeof(tempstring), "%s", addrstring);
+	
+	ipv6addr_clearall(ipv6addrp);
+
+	/* save prefix length first, if available */
+	ipv6addrp->flag_prefixuse = 0; /* reset flag first */
+
+	ipv6addr_clear(ipv6addrp);
+	
+	expecteditems = 16;
+	result = sscanf(tempstring, "\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o", &temp[0], &temp[1], &temp[2], &temp[3], &temp[4], &temp[5], &temp[6], &temp[7], &temp[8], &temp[9], &temp[10], &temp[11], &temp[12], &temp[13], &temp[14], &temp[15]);
+	
+	if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+		fprintf(stderr, "%s: reading into array, got items: %d\n", DEBUG_function_name, result);
+	};
+
+	if ( result != expecteditems ) {
+		snprintf(resultstring, NI_MAXHOST, "Error splitting address %s, got %d items instead of %d!", addrstring, result, expecteditems);
+		retval = 1;
+		return (retval);
+	};
+
+	/* check address words range */
+	for ( i = 0; i < 16; i++ ) {
+		if ( (temp[i] < 0) || (temp[i] > 0xff) )	{
+			snprintf(resultstring, NI_MAXHOST, "Error, given address '%s' is not valid on position %d (%x)!", addrstring, i, temp[i]);
+			retval = 1;
+			return (retval);
+		};
+	};
+	
+	/* copy into structure */
+	for ( i = 0; i < 16; i++ ) {
+		if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+			fprintf(stderr, "%s: Push octet %u: %04x\n", DEBUG_function_name, (unsigned int) i, (unsigned int) temp[i]);
+		};
+		ipv6addr_setoctett(ipv6addrp, (unsigned int) i, (unsigned int) temp[i]);
+	};
+
+	if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+		fprintf(stderr, "%s: In structure %08x %08x %08x %08x\n", DEBUG_function_name, (unsigned int) ipv6addr_getdword(ipv6addrp, 0), (unsigned int) ipv6addr_getdword(ipv6addrp, 1), (unsigned int) ipv6addr_getdword(ipv6addrp, 2), (unsigned int) ipv6addr_getdword(ipv6addrp, 3));
+		fprintf(stderr, "%s: In structure %04x %04x %04x %04x %04x %04x %04x %04x\n", DEBUG_function_name, (unsigned int) ipv6addr_getword(ipv6addrp, 0), (unsigned int) ipv6addr_getword(ipv6addrp, 1), (unsigned int) ipv6addr_getword(ipv6addrp, 2), (unsigned int) ipv6addr_getword(ipv6addrp, 3), (unsigned int) ipv6addr_getword(ipv6addrp, 4), (unsigned int) ipv6addr_getword(ipv6addrp, 5), (unsigned int) ipv6addr_getword(ipv6addrp, 6), (unsigned int) ipv6addr_getword(ipv6addrp, 7));
+	};
+	
+	scope = ipv6addr_gettype(ipv6addrp); 
+
+	if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+		fprintf(stderr, "%s: Got scope %08x\n", DEBUG_function_name, (unsigned int) scope);
+	};
+
+	ipv6addrp->scope = scope;
+	
+	if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+		fprintf(stderr, "%s: First word is: %04x, address info value: %08x\n", DEBUG_function_name, (unsigned int) ipv6addr_getword(ipv6addrp, 0), (unsigned int) scope);
+		fprintf(stderr, "%s: flag_prefixuse %d\n", DEBUG_function_name, ipv6addrp->flag_prefixuse);
+	};
+	
+	ipv6addrp->flag_valid = 1;
+	retval = 0;
+	return (retval);
+};
+#undef DEBUG_function_name
 
 /*
  * stores the ipv6addr structure in an uncompressed IPv6 format string
@@ -847,6 +936,22 @@
 };
 #undef DEBUG_function_name
 
+#define DEBUG_function_name "libipv6addr/ipv6addrstruct_to_octal_backslash"
+int libipv6addr_ipv6addrstruct_to_octal_backslash(const ipv6calc_ipv6addr *ipv6addrp, char *resultstring) {
+
+	char tempstring[NI_MAXHOST];
+
+	snprintf(tempstring, sizeof(tempstring), "\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o\\%o", (unsigned int) ipv6addrp->in6_addr.s6_addr[0],(unsigned int) ipv6addrp->in6_addr.s6_addr[1],(unsigned int) ipv6addrp->in6_addr.s6_addr[2],(unsigned int) ipv6addrp->in6_addr.s6_addr[3],(unsigned int) ipv6addrp->in6_addr.s6_addr[4],(unsigned int) ipv6addrp->in6_addr.s6_addr[5],(unsigned int) ipv6addrp->in6_addr.s6_addr[6],(unsigned int) ipv6addrp->in6_addr.s6_addr[7],(unsigned int) ipv6addrp->in6_addr.s6_addr[8],(unsigned int) ipv6addrp->in6_addr.s6_addr[9],(unsigned int) ipv6addrp->in6_addr.s6_addr[10], (unsigned int) ipv6addrp->in6_addr.s6_addr[11],(unsigned int) ipv6addrp->in6_addr.s6_addr[12], (unsigned int) ipv6addrp->in6_addr.s6_addr[13], (unsigned int) ipv6addrp->in6_addr.s6_addr[14], (unsigned int) ipv6addrp->in6_addr.s6_addr[15]);
+
+	snprintf(resultstring, NI_MAXHOST, "%s", tempstring);
+	
+	if ( (ipv6calc_debug & DEBUG_libipv6addr) != 0 ) {
+		fprintf(stderr, "%s: result string: %s\n", DEBUG_function_name, resultstring);
+	};
+	
+	return 0;
+};
+#undef DEBUG_function_name
 
 /*
  * mask prefix bits (set suffix bits to 0)
diff -u --recursive ipv6calc-0.45/lib/libipv6addr.h ipv6calc-0.45.lio/lib/libipv6addr.h
--- ipv6calc-0.45/lib/libipv6addr.h	2002-09-04 08:34:51.000000000 +0200
+++ ipv6calc-0.45.lio/lib/libipv6addr.h	2003-04-03 22:25:40.000000000 +0200
@@ -140,9 +140,11 @@
 extern int libipv6addr_get_registry_string(const ipv6calc_ipv6addr *ipv6addrp, char *resultstring);
 
 extern int  addr_to_ipv6addrstruct(const char *addrstring, char *resultstring, ipv6calc_ipv6addr *ipv6addrp);
+extern int  octal_backslash_to_ipv6addrstruct(const char *addrstring, char *resultstring, ipv6calc_ipv6addr *ipv6addrp);
 
 
 extern int  libipv6addr_ipv6addrstruct_to_uncompaddr(const ipv6calc_ipv6addr *ipv6addrp, char *resultstring, const uint32_t formatoptions);
+extern int  libipv6addr_ipv6addrstruct_to_octal_backslash(const ipv6calc_ipv6addr *ipv6addrp, char *resultstring);
 
 /* extern int  ipv6addrstruct_to_fulluncompaddr(const ipv6calc_ipv6addr *ipv6addrp, char *resultstring);*/ /* going obsolete */
 
Only in ipv6calc-0.45.lio/: Makefile
Only in ipv6calc-0.45.lio/: version.h

--wzJLGUyc3ArbnUjN--
From pb@bieringer.de  Fri Apr  4 22:26:25 2003
Return-Path: <pb@bieringer.de>
Delivered-To: ipv6calc@liston.ferrara.linux.it
X-AV-Checked: Fri Apr  4 22:26:23 2003 smtp2.aerasec.de
Date: Fri, 04 Apr 2003 22:26:21 +0200
From: Peter Bieringer <pb@bieringer.de>
To: ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <31220000.1049487981@worker.muc.bieringer.de>
In-Reply-To: <20030403191516.GA4204@tofu.home.mamane.lu>
References: <20030403172318.GA2661@tofu.home.mamane.lu>
 <9320000.1049394577@worker.muc.bieringer.de>
 <20030403191516.GA4204@tofu.home.mamane.lu>
X-Mailer: Mulberry/3.0.3 (Linux/x86)
X-URL: http://www.bieringer.de/pb/
X-OS: Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Fri, 04 Apr 2003 20:26:25 -0000


--On Thursday, April 03, 2003 09:15:16 PM +0200 Lionel Elie Mamane
<lionel@mamane.lu> wrote:

> On Thu, Apr 03, 2003 at 08:29:37PM +0200, Peter Bieringer wrote:
> 
>> <lionel@mamane.lu> wrote:
> 
>>> ipv6calc currently doesn't support the following format:
> 
>>> network byte order, in octal notation with \-escaping
> 
>>> E.g. 2001:888:19f0:0:210:5aff:fe45:9b17 would be:
>>> \40\1\10\210\31\360\0\0\2\20\132\377\376\105\233\27

> No, just the 16 bytes, raw, each in octal notation with '\'
> prepended.

Too easy ;-)

A 15 minute hack does the job:

$ ./ipv6calc --out octal 2001:888:19f0:0:210:5aff:fe45:9b17
No input type specified, try autodetection...found type: ipv6addr
\40\1\10\210\31\360\0\0\2\20\132\377\376\105\233\27


See latest CVS whether it fits all cases. If yes, send a note and I will
create a new release.

BTW: makes it sense to implement this output format also for IPv4? It can
be done, but if not, it saves me about 10 minutes ;-)

        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
From master@tofu.mamane.lu  Sat Apr  5 08:41:56 2003
Return-Path: <master@tofu.mamane.lu>
Delivered-To: ipv6calc@liston.ferrara.linux.it
Date: Sat, 5 Apr 2003 08:41:52 +0200
From: Lionel Elie Mamane <lionel@mamane.lu>
To: Peter Bieringer <pb@bieringer.de>
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <20030405064152.GA13093@tofu.home.mamane.lu>
Mail-Followup-To: Lionel Elie Mamane <lionel@mamane.lu>,
	Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
References: <20030403172318.GA2661@tofu.home.mamane.lu>
	<9320000.1049394577@worker.muc.bieringer.de>
	<20030403191516.GA4204@tofu.home.mamane.lu>
	<31220000.1049487981@worker.muc.bieringer.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <31220000.1049487981@worker.muc.bieringer.de>
User-Agent: Mutt/1.4i
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
Sender: Lionel Elie Mamane <master@tofu.mamane.lu>
cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Sat, 05 Apr 2003 06:41:56 -0000

On Fri, Apr 04, 2003 at 10:26:21PM +0200, Peter Bieringer wrote:

> <lionel@mamane.lu> wrote:

>> No, just the 16 bytes, raw, each in octal notation with '\'
>> prepended.

> Too easy ;-)

> See latest CVS whether it fits all cases.

I suggest this format be accepted as an input format, too.

> BTW: makes it sense to implement this output format also for IPv4?
> It can be done, but if not, it saves me about 10 minutes ;-)

Hmm... I don't see any obvious use to it, but I don't think it would
hurt. Symmetry, completeness, ...

-- 
Lionel
From pb@bieringer.de  Sat Apr  5 10:18:59 2003
Return-Path: <pb@bieringer.de>
Delivered-To: ipv6calc@liston.ferrara.linux.it
X-AV-Checked: Sat Apr  5 10:18:58 2003 smtp2.aerasec.de
Date: Sat, 05 Apr 2003 10:18:53 +0200
From: Peter Bieringer <pb@bieringer.de>
To: ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <165320000.1049530733@gate.muc.bieringer.de>
In-Reply-To: <20030405064152.GA13093@tofu.home.mamane.lu>
References: <20030403172318.GA2661@tofu.home.mamane.lu>
 <9320000.1049394577@worker.muc.bieringer.de>
 <20030403191516.GA4204@tofu.home.mamane.lu>
 <31220000.1049487981@worker.muc.bieringer.de>
 <20030405064152.GA13093@tofu.home.mamane.lu>
X-Mailer: Mulberry/3.0.3 (Linux/x86)
X-URL: http://www.bieringer.de/pb/
X-OS: Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Sat, 05 Apr 2003 08:19:00 -0000



--On Saturday, April 05, 2003 08:41:52 AM +0200 Lionel Elie Mamane
<lionel@mamane.lu> wrote:

> On Fri, Apr 04, 2003 at 10:26:21PM +0200, Peter Bieringer wrote:
> 
>> <lionel@mamane.lu> wrote:
> 
>>> No, just the 16 bytes, raw, each in octal notation with '\'
>>> prepended.
> 
>> Too easy ;-)
> 
>> See latest CVS whether it fits all cases.
> 
> I suggest this format be accepted as an input format, too.

That's not so easy...I will put it on the TODO.

>> BTW: makes it sense to implement this output format also for IPv4?
>> It can be done, but if not, it saves me about 10 minutes ;-)
> 
> Hmm... I don't see any obvious use to it, but I don't think it would
> hurt. Symmetry, completeness, ...

Ok. x + 4 weeks

        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
From master@tofu.mamane.lu  Sat Apr  5 12:34:28 2003
Return-Path: <master@tofu.mamane.lu>
Delivered-To: ipv6calc@liston.ferrara.linux.it
Date: Sat, 5 Apr 2003 12:34:24 +0200
From: Lionel Elie Mamane <lionel@mamane.lu>
To: Peter Bieringer <pb@bieringer.de>
Subject: Re: [ipv6calc] Suggested output format
Message-ID: <20030405103424.GA2787@tofu.home.mamane.lu>
Mail-Followup-To: Lionel Elie Mamane <lionel@mamane.lu>,
	Peter Bieringer <pb@bieringer.de>, ipv6calc@deepspace6.net
References: <20030403172318.GA2661@tofu.home.mamane.lu>
	<9320000.1049394577@worker.muc.bieringer.de>
	<20030403191516.GA4204@tofu.home.mamane.lu>
	<31220000.1049487981@worker.muc.bieringer.de>
	<20030405064152.GA13093@tofu.home.mamane.lu>
	<165320000.1049530733@gate.muc.bieringer.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <165320000.1049530733@gate.muc.bieringer.de>
User-Agent: Mutt/1.4i
X-Operating-System: GNU/Linux
X-Request-PGP: http://www.mamane.lu/openpgp/dh4096.asc
Sender: Lionel Elie Mamane <master@tofu.mamane.lu>
cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: ipv6calc users and developers <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/pipermail/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Sat, 05 Apr 2003 10:34:28 -0000

On Sat, Apr 05, 2003 at 10:18:53AM +0200, Peter Bieringer wrote:
> <lionel@mamane.lu> wrote:

-----> octal backslash-escaped notation <-----

>> I suggest this format be accepted as an input format, too.

> That's not so easy...I will put it on the TODO.

What's wrong about my implementation (the patch I sent to the list)?

-- 
Lionel
From pb@bieringer.de  Mon Aug 30 23:09:20 2004
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from quatresse.ferrara.linux.it (4s.enrico.unife.it [192.167.219.82])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP
	id 6E8A41F7042; Mon, 30 Aug 2004 23:09:06 +0200 (CEST)
Received: from smtp2.aerasec.de (smtp2.aerasec.de [IPv6:2001:7b0:1101:1::1:1])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by quatresse.ferrara.linux.it (Postfix) with ESMTP id 42CD010000B1;
	Mon, 30 Aug 2004 23:08:52 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by smtp2.aerasec.de (Postfix) with SMTP id F3507137F0;
	Mon, 30 Aug 2004 23:07:50 +0200 (CEST)
X-AV-Checked: Mon Aug 30 23:07:51 2004 smtp2.aerasec.de
Received: from [192.168.1.2] (p54800F80.dip.t-dialin.net [84.128.15.128])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client did not present a certificate)
	by smtp2.aerasec.de (Postfix) with ESMTP id 4AECC137EE;
	Mon, 30 Aug 2004 23:07:50 +0200 (CEST)
Date: Mon, 30 Aug 2004 23:07:48 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Maillist ipv6calc <ipv6calc@deepspace6.net>,
	Maillist ipv6calc-accounce <ipv6calc-announce@deepspace6.net>
Message-ID: <3723E3D83E321097E0F48DA2@worker.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
X-URL: http://www.bieringer.de/pb/
X-OS: Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Mon, 30 Aug 2004 23:09:53 +0200
Cc: 
Subject: [ipv6calc] New version in CVS gets a new feature: detection of MS
	6to4 address
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: spam; score: 100.00
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 30 Aug 2004 21:09:21 -0000

Hi,

I added one new feature to showinfo and ipv6logconv: detection of
Microsoft's 6to4 address (usually 2002:<ipv4addr>::<ipv4addr>).

This will give more clarifications on the OUI type statistics:

%reqs:  reqs: host
------: -----: ----
69.82%: 25061: local-scope.ouitype.ipv6calc
 4.88%:  1751: 6to4-microsoft.ouitype.ipv6calc
 4.11%:  1476: 3com.ouitype.ipv6calc
 2.79%:  1002: intel.ouitype.ipv6calc
 1.92%:   690: cisco.ouitype.ipv6calc

<http://mirrors.bieringer.de/stats/distribution-ouitype/>

Before the new feature, the 4.88% were counted to local-scope.

Also I've updated the URLs to the IPv4 databases, they were changed some
time ago.

BTW: am I sure that only Microsoft uses this special IID on 6to4?

If nobody complain, I will release 0.48 in the next week or so.

BTW2: a public available example what can be done with "ipv6logstats" (also
contained by this project) is available here:
<http://mirrors.bieringer.de/stats/timeline.html>

        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Sat Oct 30 15:41:19 2004
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from quatresse.ferrara.linux.it (4s.enrico.unife.it [192.167.219.82])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP
	id EF59A1F705D; Sat, 30 Oct 2004 15:41:18 +0200 (CEST)
Received: from smtp2.aerasec.de (smtp2.aerasec.de [IPv6:2001:7b0:1101:1::1:1])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by quatresse.ferrara.linux.it (Postfix) with ESMTP id 305E51000574;
	Sat, 30 Oct 2004 15:41:18 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by smtp2.aerasec.de (Postfix) with SMTP id E8859137F0;
	Sat, 30 Oct 2004 15:40:43 +0200 (CEST)
X-AV-Checked: Sat Oct 30 15:40:43 2004 smtp2.aerasec.de
Received: from [192.168.1.2] (p54800382.dip.t-dialin.net [84.128.3.130])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client did not present a certificate)
	by smtp2.aerasec.de (Postfix) with ESMTP id 69DCD137EE;
	Sat, 30 Oct 2004 15:40:35 +0200 (CEST)
Date: Sat, 30 Oct 2004 15:40:12 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Maillist ipv6calc <ipv6calc@deepspace6.net>,
	Maillist ipv6calc-accounce <ipv6calc-announce@deepspace6.net>
Message-ID: <5D2C09E2E3C684022206F3A4@worker.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
X-URL: http://www.bieringer.de/pb/
X-OS: Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Sat, 30 Oct 2004 15:54:45 +0200
Cc: 
Subject: [ipv6calc] Replacment of openssl/md5 and supporting of IEEE/iab.txt
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 53.43
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Sat, 30 Oct 2004 13:41:19 -0000

Hi,

because of license issue, I've replaced the usage of openssl/md5 by a copy
from coreutils package.

Also I've updated the databases and add support of IEEE/iab.txt for
extended OUI information.

CVS is updated and you will find a current CVS snapshot tarball at:

<ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/>

Please try out and report any problems.

If there a no problem reports in the next days, I will release version 0.48
soon.

        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Sun Nov 21 17:15:57 2004
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from quatresse.ferrara.linux.it (4s.enrico.unife.it [192.167.219.82])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP
	id 76F551F7055; Sun, 21 Nov 2004 17:15:57 +0100 (CET)
Received: from smtp2.aerasec.de (smtp2.aerasec.de [IPv6:2001:7b0:1101:1::1:1])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by quatresse.ferrara.linux.it (Postfix) with ESMTP id CD3601000BCA;
	Sun, 21 Nov 2004 17:15:47 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by smtp2.aerasec.de (Postfix) with SMTP id 0EE24137EE;
	Sun, 21 Nov 2004 17:15:14 +0100 (CET)
X-AV-Checked: Sun Nov 21 17:15:14 2004 smtp2.aerasec.de
Received: from [192.168.1.2] (pD9E4E765.dip.t-dialin.net [217.228.231.101])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client did not present a certificate)
	by smtp2.aerasec.de (Postfix) with ESMTP id 4BD87137EA;
	Sun, 21 Nov 2004 17:15:13 +0100 (CET)
Date: Sun, 21 Nov 2004 17:15:11 +0100
From: Peter Bieringer <pb@bieringer.de>
To: Maillist ipv6calc-accounce <ipv6calc-announce@deepspace6.net>,
	Maillist ipv6calc <ipv6calc@deepspace6.net>
Message-ID: <424148431808D53164FAFF6F@worker.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
X-URL: http://www.bieringer.de/pb/
X-OS: Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Sun, 21 Nov 2004 17:46:59 +0100
Cc: 
Subject: [ipv6calc] New version 0.48 is available
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 33.77
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Sun, 21 Nov 2004 16:15:57 -0000

Hi,

since my improvements I got no information about troubles, therefore I
published now the final 0.48 version.

Major changes:

 Update databases

 General:
  - replace md5 function from openssl with a copy of coreutils (licence
issue)
  - add support for IEEE/iab.txt database
 ipv6calc:
  - add support for recognizing 6to4 addresses generated by
     Microsoft OS
 ipv6logconv:
  - add support for recognizing 6to4 addresses generated by
     Microsoft OS
  - add support for ISATAP addresses

Hope this helps,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Sun Feb 13 13:04:24 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp2.aerasec.de (gromit.aerasec.de [195.226.187.57])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 2101F1F7043
	for <ipv6calc@deepspace6.net>; Sun, 13 Feb 2005 13:04:24 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by smtp2.aerasec.de (Postfix) with SMTP id 0BE97137F1
	for <ipv6calc@deepspace6.net>; Sun, 13 Feb 2005 13:03:49 +0100 (CET)
X-AV-Checked: Sun Feb 13 13:03:49 2005 smtp2.aerasec.de
Received: from [192.168.1.2] (pD950F746.dip.t-dialin.net [217.80.247.70])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client did not present a certificate)
	by smtp2.aerasec.de (Postfix) with ESMTP id 78170137EE
	for <ipv6calc@deepspace6.net>; Sun, 13 Feb 2005 13:03:48 +0100 (CET)
Date: Sun, 13 Feb 2005 13:03:46 +0100
From: Peter Bieringer <pb@bieringer.de>
To: Maillist ipv6calc <ipv6calc@deepspace6.net>
Message-ID: <49B5CEAD26DD459994564061@worker.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Sun, 13 Feb 2005 13:06:36 +0100
Subject: [ipv6calc] Major speed improvement for ipv6logconv implemented
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 56.11
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Sun, 13 Feb 2005 12:04:24 -0000

Hi,

during analyzing my webserver logfiles I've realized, that one ipv6logconv
run requires more than 20 min per. This was the start for profiling this
tool and implement a major speed improvment.

2 changes were made:

a) ipv6logconv:
     - implement a lookup cache for speed-up
        saved around 50% before implenting b)
        saves around 20% after implementing b)

b) lib/libipv4addr
   databases/ipv4-assignment/dbipv4addr_assignment.h
     - add a hint table for speed-up IPv4 registry lookups
        speed up by 10 times!

New version is now in CVS, if no problems would be reported, I will publish
version 0.49 next weekend.


For those who didn't know what ipv6logconv can do for you, take a look at
the statistics pages on
 <http://mirrors.bieringer.de/>

Hope this helps,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Tue Jul 19 18:14:02 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp4.aerasec.de (pog.aerasec.de [195.226.187.54])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 21BC51F7078
	for <ipv6calc@deepspace6.net>; Tue, 19 Jul 2005 18:14:02 +0200 (CEST)
Received: from [10.3.62.6] (p54995FE1.dip.t-dialin.net [84.153.95.225])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp4.aerasec.de (Postfix) with ESMTP id EFD21BBE2
	for <ipv6calc@deepspace6.net>; Tue, 19 Jul 2005 18:13:59 +0200 (CEST)
Date: Tue, 19 Jul 2005 18:13:56 +0200
From: Peter Bieringer <pb@bieringer.de>
To: ipv6calc@deepspace6.net
Message-ID: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
X-Mailer: Mulberry/3.1.6 (Win32)
Organization: AERAsec Network Services and Security GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Tue, 19 Jul 2005 18:14:49 +0200
Subject: [ipv6calc] some recent news - please test current CVS version
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 11.80
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2005 16:14:02 -0000

Hi,

I've done some work on ipv6calc in the last weeks:

- proper compilation on Solaris 8 (triggered by Dan Pritts)
- move hardcoded IPv6 assignment database to dynamic one like for IPv4
   (credits to Simon Arlott for the patch)

some more fixes for proper compilation and less warnings.

It's currently tested on Linux, Solaris 8 and NetBSD, please test current 
CVS version, I will release a new version next week or so, 
"draft-ietf-ipv6-unique-local-addr" needs to be implemented before.

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Wed Jul 20 08:21:32 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id E44C81F708F
	for <ipv6calc@deepspace6.net>; Wed, 20 Jul 2005 08:21:31 +0200 (CEST)
Received: from ppp-82-135-73-163.mnet-online.de
	(ppp-82-135-69-69.mnet-online.de [82.135.69.69])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id 686E227245;
	Wed, 20 Jul 2005 08:21:30 +0200 (CEST)
Date: Wed, 20 Jul 2005 08:21:29 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Dan Pritts <danno@internet2.edu>
Subject: Re: [ipv6calc] some recent news - please test current CVS version
Message-ID: <100F3D51B722F22BA8A6CADD@gatemuc.muc.bieringer.de>
In-Reply-To: <20050719192250.GA31316@internet2.edu>
References: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
	<20050719192250.GA31316@internet2.edu>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Wed, 20 Jul 2005 08:26:58 +0200
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 48.25
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2005 06:21:32 -0000



--On Tuesday, July 19, 2005 03:22:50 PM -0400 Dan Pritts
<danno@internet2.edu> wrote:

> Hi - 
> 
> I don't have time to track down why, but the --prefix i specify to
> configure isn't making it all the way into the appropriate makefiles.
> 
> this happens on both solaris 8 & macos 10.3 - other than some compiler
> warnings, everything seems to work otherwise (built, and passed the
> preinstall tests).

Hmm, working fine here, but I found that configure has got some magic
exec_prefix feature.

Have you tried like following:
./configure --prefix=/usr/local --bindir /usr/local/bin --mandir
/usr/local/share/man

or

make install exec_prefix=/usr/local


File INSTALLING updated.


BTW: can you send me all the compiler warnings, e.g. by make >make.txt 2>&1

Thank you,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From danno@internet2.edu  Wed Jul 20 20:23:35 2005
Return-Path: <danno@internet2.edu>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from basie.internet2.edu (basie.internet2.edu [207.75.164.22])
	by liston.ferrara.linux.it (Postfix) with ESMTP id 2DE9E1F7095
	for <ipv6calc@deepspace6.net>; Wed, 20 Jul 2005 20:23:35 +0200 (CEST)
Received: from localhost (unknown [127.0.0.1])
	by basie.internet2.edu (Postfix) with ESMTP
	id E231C1CD903; Wed, 20 Jul 2005 14:23:33 -0400 (EDT)
Received: from basie.internet2.edu ([127.0.0.1])
	by localhost (basie.internet2.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 07378-02; Wed, 20 Jul 2005 14:23:33 -0400 (EDT)
Received: by basie.internet2.edu (Postfix, from userid 1122)
	id 9A19D1CD977; Wed, 20 Jul 2005 14:23:33 -0400 (EDT)
Date: Wed, 20 Jul 2005 14:23:33 -0400
From: Dan Pritts <danno@internet2.edu>
To: Peter Bieringer <pb@bieringer.de>
Subject: Re: [ipv6calc] some recent news - please test current CVS version
Message-ID: <20050720182333.GA5096@internet2.edu>
References: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
	<20050719192250.GA31316@internet2.edu>
	<100F3D51B722F22BA8A6CADD@gatemuc.muc.bieringer.de>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh"
Content-Disposition: inline
In-Reply-To: <100F3D51B722F22BA8A6CADD@gatemuc.muc.bieringer.de>
User-Agent: Mutt/1.4.2.1i
X-Virus-Scanned: by mail.internet2.edu virus scanner
X-Mailman-Approved-At: Thu, 21 Jul 2005 08:04:30 +0200
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 95.35
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2005 18:23:35 -0000


--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Jul 20, 2005 at 08:21:29AM +0200, Peter Bieringer wrote:
> > this happens on both solaris 8 & macos 10.3 - other than some compiler
> > warnings, everything seems to work otherwise (built, and passed the
> > preinstall tests).

Whoops, I was wrong - on the mac, the eui64_to_privacy test fails.  The
program segfaults.

attached are make output, make test output. 


ipv6calc/ipv6calc/ipv6calc@st1100% ./ipv6calc --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef
zsh: segmentation fault  ./ipv6calc --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef


Let me know if you can't find a mac - i may be able to get you access
to one here but most of them are laptops.

I will check on the --prefix thing later.

danno
--
dan pritts - systems administrator - internet2
734/352-4953 office        734/834-7224 mobile

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="make.test.out"

for dir in ipv6logconv ipv6logstats ipv6calcweb ipv6calc man lib; do \
		ocwd=`pwd`; \
		cd $dir; \
		make test ; \
		cd $ocwd ; \
	done
make all
make[2]: Nothing to be done for `all'.
./test_ipv6logconv.sh
Run 'ipv6logconv' function tests...

INPUT: 195.226.187.50	- - "IPv4 address"
RIPENCC.ipv4-addr.addrtype.ipv6calc - not-ipv6.ouitype.ipv6calc "IPv4 address"

INPUT: 3ffe:ffff::1	- - "IPv6 address/6bone test"
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc "IPv6 address/6bone test"

INPUT: 3FFE:1a05:510:200:0:5EFE:8CAD:8108 - -
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - ISATAP.ouitype.ipv6calc 
INPUT: ff02::1:ff00:1234 - -
link-local.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc 
INPUT: ff01::1:ff00:1234 - -
unknown.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc 
INPUT: 3ffe::1:ff00:1234 - -
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc 
INPUT: ::1 - -
unknown.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc 
INPUT: ::1.2.3.4 - -
compat-v4.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc 
INPUT: ::ffff:1.2.3.4 - -
mapped.ipv6-addr.addrtype.ipv6calc - unresolvable.ouitype.ipv6calc 
INPUT: 2002:0102:0204::1 - -
6to4.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc 
INPUT: fe80::210:a4ff:fe01:2345 - -
link-local.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc 
INPUT: fe80::210:a489:ab01:2345 - -
link-local.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc 
INPUT: 3ffe:ffff::210:a4ff:fe01:2345 - -
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc 
INPUT: 3ffe:ffff::210:a489:ab01:2345 - -
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - XIRCOM.ouitype.ipv6calc 
INPUT: 3ffe:ffff::000:a4ff:fe01:2345 - -
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc 
INPUT: 3ffe:ffff::000:a489:ab01:2345 - -
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - local-scope.ouitype.ipv6calc 
INPUT: 3ffe:ffff::000:0250:c2ff:fe00:3011 - - "Microsoft"
6BONE.6bone.global-unicast.ipv6-addr.addrtype.ipv6calc - MICROSOFT.ouitype.ipv6calc "Microsoft"

INPUT: fe80::fefc:acff:fe10:fe01 - -
link-local.ipv6-addr.addrtype.ipv6calc - Linux-ISDN-NET+PLIP.ouitype.ipv6calc 
INPUT: 1.2.3.4 - -
ipv4-addr.addrtype.ipv6calc - not-ipv6.ouitype.ipv6calc 
INPUT: 2002:50b5:7940:0000:0000:0000:50b5:7940 - - "Microsoft 6to4 address"
RIPENCC.6to4.global-unicast.ipv6-addr.addrtype.ipv6calc - 6to4-microsoft.ouitype.ipv6calc "Microsoft 6to4 address"

All tests were successfully done!
make all
make[2]: Nothing to be done for `all'.
./test_ipv6logstats.sh
Run 'ipv6logstats' function tests...
Expecting log lines on stdin
Ok, proceeding stdin...
...finished
*Version             1.1
ALL                  3
IPv4                 1
IPv6                 2
UNKNOWN              0
IPv4/APNIC           0
IPv4/ARIN            0
IPv4/RIPE            0
IPv4/LACNIC          0
IPv4/UNKNOWN         1
IPv6/6bone           1
IPv6/IANA            0
IPv6/APNIC           0
IPv6/ARIN            0
IPv6/RIPE            0
IPv6/LACNIC          0
IPv6/RESERVED        0
IPv6/UNKNOWN         0
IPv6/6to4/IANA       0
IPv6/6to4/APNIC      0
IPv6/6to4/ARIN       0
IPv6/6to4/RIPE       1
IPv6/6to4/LACNIC     0
IPv6/6to4/RESERVED   0
IPv6/6to4/UNKNOWN    0

All tests were successfully done!
echo "Currently missing"
Currently missing
make
cd ../ && make lib-make
cd md5 && make
make[4]: Nothing to be done for `all'.
cd databases/ieee-oui && make
test -f dbieee_oui.h || make update
cd databases/ieee-iab && make
test -f dbieee_iab.h || make update
cd databases/ipv4-assignment && make
test -f dbipv4addr_assignment.h || make update
cd databases/ipv6-assignment && make
test -f dbipv6addr_assignment.h || make update
cd lib && make
make[4]: Nothing to be done for `all'.
gcc -o ipv6calc ipv6calc.o showinfo.o ../getopt/getopt.o ../getopt/getopt1.o ../md5/md5.o -lipv6calc -L../lib/
./test_ipv6calc.sh || exit 1
Run 'ipv6calc' function tests...
Test './ipv6calc --addr_to_ip6int 3ffe:ffff:100:f101::1 ' for '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int.'
No input type specified, try autodetection...found type: ipv6addr
Test './ipv6calc --in ipv6 --out revnibbles.int 3ffe:ffff:100:f101::1 ' for '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int.'
Test './ipv6calc --addr_to_ip6int 3ffe:ffff:100:f101::1/64 ' for '1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int.'
No input type specified, try autodetection...found type: ipv6addr
Test './ipv6calc --in revnibbles.int --out ipv6 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.f.f.f.f.e.f.f.3.ip6.int. ' for '3ffe:ffff:100:f101::1/128'
Test './ipv6calc --addr_to_ip6arpa 3ffe::1/64 ' for '0.0.0.0.0.0.0.0.0.0.0.0.e.f.f.3.ip6.arpa.'
No input type specified, try autodetection...found type: ipv6addr
Test './ipv6calc --in ipv6 --out revnibbles.arpa 3ffe::1/64 ' for '0.0.0.0.0.0.0.0.0.0.0.0.e.f.f.3.ip6.arpa.'
Test './ipv6calc -a --uppercase 3ffe::1/64 ' for '0.0.0.0.0.0.0.0.0.0.0.0.E.F.F.3.IP6.ARPA.'
No input type specified, try autodetection...found type: ipv6addr
Test './ipv6calc --addr_to_compressed 3ffe:ffff:0100:f101:0000:0000:0000:0001 ' for '3ffe:ffff:100:f101::1'
Test './ipv6calc --in ipv6 --out ipv6 --printcompressed 3ffe:ffff:0100:f101:0000:0000:0000:0001 ' for '3ffe:ffff:100:f101::1'
Test './ipv6calc --addr_to_compressed 3ffe:ffff:0100:f101:0000:0000:0000:0001/64 ' for '3ffe:ffff:100:f101::1/64'
Test './ipv6calc --addr_to_compressed 0:0:1:2:3:4:0:0 ' for '::1:2:3:4:0:0'
Test './ipv6calc --addr_to_compressed 0:0:1:0:0:1:0:0 ' for '::1:0:0:1:0:0'
Test './ipv6calc --addr_to_compressed 0:0:0:2:3:0:0:0 ' for '::2:3:0:0:0'
Test './ipv6calc --addr_to_compressed 0:0:0:0:3:0:0:0 ' for '::3:0:0:0'
Test './ipv6calc --addr_to_compressed 0:0:0:0:0:4:0:0 ' for '::4:0:0'
Test './ipv6calc --addr_to_compressed 0:0:1:0:0:1:0:0 ' for '::1:0:0:1:0:0'
Test './ipv6calc --addr_to_compressed 0:0:1:2:0:0:0:0 ' for '0:0:1:2::'
Test './ipv6calc --addr_to_compressed 0:0:1:2:3:0:0:0 ' for '0:0:1:2:3::'
Test './ipv6calc --addr_to_compressed 1080:0:0:0:8:800:200c:417a ' for '1080::8:800:200c:417a'
Test './ipv6calc --addr_to_compressed ff01:0:0:0:0:0:0:43 ' for 'ff01::43'
Test './ipv6calc --addr_to_compressed 0:0:0:0:0:0:0:1 ' for '::1'
Test './ipv6calc --addr_to_compressed 0:0:0:0:0:0:0:0 ' for '::'
Test './ipv6calc --addr_to_compressed 0:0:0:0:0:0:13.1.68.3 ' for '::13.1.68.3'
Test './ipv6calc --addr_to_compressed 0:0:0:0:0:ffff:129.144.52.38 ' for '::ffff:129.144.52.38'
Test './ipv6calc --addr_to_compressed --uppercase 0:0:0:0:0:ffff:129.144.52.38 ' for '::FFFF:129.144.52.38'
Test './ipv6calc --in ipv6 --out ipv6 --printcompressed --uppercase 0:0:0:0:0:ffff:129.144.52.38 ' for '::FFFF:129.144.52.38'
Test './ipv6calc --addr_to_uncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:100:f101:0:0:0:1'
Test './ipv6calc --in ipv6 --out ipv6 --printuncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:100:f101:0:0:0:1'
Test './ipv6calc --addr_to_uncompressed 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:100:f101:0:0:0:1/64'
Test './ipv6calc --addr_to_uncompressed ::13.1.68.3 ' for '0:0:0:0:0:0:13.1.68.3'
Test './ipv6calc --addr_to_uncompressed ::013.01.068.0003 ' for '0:0:0:0:0:0:13.1.68.3'
Test './ipv6calc --addr_to_uncompressed ::ffff:13.1.68.3 ' for '0:0:0:0:0:ffff:13.1.68.3'
Test './ipv6calc --addr_to_uncompressed --maskprefix 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:100:f101:0:0:0:0/64'
Test './ipv6calc --addr_to_uncompressed --masksuffix 3ffe:ffff:100:f101:c000::1/64 ' for '0:0:0:0:c000:0:0:1/64'
Test './ipv6calc --addr_to_uncompressed --uppercase ::ffff:13.1.68.3 ' for '0:0:0:0:0:FFFF:13.1.68.3'
Test './ipv6calc --addr_to_uncompressed --printsuffix ::ffff:1.2.3.4/64 ' for '0:ffff:1.2.3.4'
Test './ipv6calc --in ipv6 --out ipv6 --printsuffix --printuncompressed ::ffff:1.2.3.4/64 ' for '0:ffff:1.2.3.4'
Test './ipv6calc --addr_to_uncompressed --printsuffix ::ffff:1.2.3.4/63 ' for '0:0:ffff:1.2.3.4'
Test './ipv6calc --addr_to_uncompressed --printsuffix 3ffe:ffff:100:f101::1/64 ' for '0:0:0:1'
Test './ipv6calc --addr_to_uncompressed --printprefix 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:100:f101'
Test './ipv6calc --addr_to_uncompressed --printprefix 3ffe:ffff:100:f101::1/65 ' for '3ffe:ffff:100:f101:0'
Test './ipv6calc --in ipv6 --out ipv6 --printprefix --printuncompressed 3ffe:ffff:100:f101::1/65 ' for '3ffe:ffff:100:f101:0'
Test './ipv6calc --addr_to_fulluncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:0100:f101:0000:0000:0000:0001'
Test './ipv6calc --in ipv6 --out ipv6 --printfulluncompressed 3ffe:ffff:100:f101::1 ' for '3ffe:ffff:0100:f101:0000:0000:0000:0001'
Test './ipv6calc --addr_to_fulluncompressed 3ffe:ffff:100:f101::1/64 ' for '3ffe:ffff:0100:f101:0000:0000:0000:0001/64'
Test './ipv6calc --addr_to_fulluncompressed ::13.1.68.3 ' for '0000:0000:0000:0000:0000:0000:13.1.68.3'
Test './ipv6calc --addr_to_fulluncompressed ::ffff:13.1.68.3 ' for '0000:0000:0000:0000:0000:ffff:13.1.68.3'
Test './ipv6calc --addr_to_fulluncompressed --uppercase ::ffff:13.1.68.3 ' for '0000:0000:0000:0000:0000:FFFF:13.1.68.3'
Test './ipv6calc --addr_to_ifinet6 3ffe:ffff:100:f101::1 ' for '3ffeffff0100f1010000000000000001 00'
Test './ipv6calc --in ipv6 --out ifinet6 3ffe:ffff:100:f101::1 ' for '3ffeffff0100f1010000000000000001 00'
Test './ipv6calc --addr_to_ifinet6 3ffe:ffff:100:f101::1/64 ' for '3ffeffff0100f1010000000000000001 00 40'
Test './ipv6calc --in ipv6 --out ifinet6 3ffe:ffff:100:f101::1/64 ' for '3ffeffff0100f1010000000000000001 00 40'
Test './ipv6calc --ifinet6_to_compressed 3ffeffff0100f1010000000000000001 ' for '3ffe:ffff:100:f101::1'
Test './ipv6calc --in ifinet6 --out ipv6 --printcompressed 3ffeffff0100f1010000000000000001 ' for '3ffe:ffff:100:f101::1'
Test './ipv6calc --ifinet6_to_compressed 3ffeffff0100f1010000000000000001 40 ' for '3ffe:ffff:100:f101::1/64'
Test './ipv6calc --in ifinet6 --out ipv6 --printcompressed 3ffeffff0100f1010000000000000001 40 ' for '3ffe:ffff:100:f101::1/64'
Test './ipv6calc --addr_to_base85 1080:0:0:0:8:800:200c:417a ' for '4)+k&C#VzJ4br>0wv%Yp'
Test './ipv6calc --in ipv6 --out base85 1080:0:0:0:8:800:200c:417a ' for '4)+k&C#VzJ4br>0wv%Yp'
Test './ipv6calc --base85_to_addr 4)+k&C#VzJ4br>0wv%Yp ' for '1080:0:0:0:8:800:200c:417a'
Test './ipv6calc --mac_to_eui64 00:50:BF:06:B4:F5 ' for '250:bfff:fe06:b4f5'
Test './ipv6calc --mac_to_eui64 00:0:F:6:4:5 ' for '200:fff:fe06:405'
Test './ipv6calc --in mac --out eui64 00:0:F:6:4:5 ' for '200:fff:fe06:405'
No action type specified, try autodetection...found type: geneui64
Test './ipv6calc --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef ' for '4662:bdea:8654:776d 486072ff7074945e'
Error executing 'ipv6calc'!
1
make[1]: Nothing to be done for `test'.
make[1]: Nothing to be done for `test'.

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="make.txt.macos-10.3"

cd md5 && make
gcc  -fPIC -o md5.o -c -s md5.c
cd getopt && make
gcc  -fPIC -o getopt1.o -c -s getopt1.c
gcc  -fPIC -o getopt.o -c -s getopt.c
cd databases/ieee-oui && make
test -f dbieee_oui.h || make update
cd databases/ieee-iab && make
test -f dbieee_iab.h || make update
cd databases/ipv4-assignment && make
test -f dbipv4addr_assignment.h || make update
cd databases/ipv6-assignment && make
test -f dbipv6addr_assignment.h || make update
cd lib && make
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libipv6calc.c
ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c librfc1924.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c librfc1884.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libmac.c
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libeui64.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c librfc3041.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libipv6addr.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c librfc2874.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c librfc1886.c
ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c librfc3056.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
cd ../ && make db-ipv4-assignment-make
cd databases/ipv4-assignment && make
test -f dbipv4addr_assignment.h || make update
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libipv4addr.c
ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libifinet6.c
libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
cd ../ && make db-ieee-oui-make
cd databases/ieee-oui && make
test -f dbieee_oui.h || make update
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c libieee.c
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c ipv6calchelp.c
gcc -O2 -Wall -D__EXTENSIONS__ -I../ -I../getopt/ -I../md5/ -c ipv6calctypes.c
ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
cd ../ && make db-ieee-oui-make
cd databases/ieee-oui && make
test -f dbieee_oui.h || make update
cd ../ && make db-ipv4-assignment-make
cd databases/ipv4-assignment && make
test -f dbipv4addr_assignment.h || make update
echo "Create library"
Create library
ar r libipv6calc.a libipv6calc.o librfc1924.o librfc1884.o libmac.o libeui64.o librfc3041.o libipv6addr.o librfc2874.o librfc1886.o librfc3056.o libipv4addr.o libifinet6.o libieee.o ipv6calchelp.o ipv6calctypes.o
ar: creating archive libipv6calc.a
ranlib libipv6calc.a
cd ipv6calc && make
gcc -O2 -Wall -g -I../getopt/ -I../ -I../lib/ -c ipv6calc.c
../lib/ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
../lib/libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
../lib/libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -g -I../getopt/ -I../ -I../lib/ -c showinfo.c
../lib/ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
../lib/ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
../lib/ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
../lib/ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
../lib/ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
cd ../ && make lib-make
cd md5 && make
make[3]: Nothing to be done for `all'.
cd databases/ieee-oui && make
test -f dbieee_oui.h || make update
cd databases/ieee-iab && make
test -f dbieee_iab.h || make update
cd databases/ipv4-assignment && make
test -f dbipv4addr_assignment.h || make update
cd databases/ipv6-assignment && make
test -f dbipv6addr_assignment.h || make update
cd lib && make
make[3]: Nothing to be done for `all'.
gcc -o ipv6calc ipv6calc.o showinfo.o ../getopt/getopt.o ../getopt/getopt1.o ../md5/md5.o -lipv6calc -L../lib/
cd ipv6calcweb && make
test -x /usr/bin/perl && make update || exit 0
make[2]: Nothing to be done for `update'.
cd ipv6logconv && make
gcc -O2 -Wall -g -D__EXTENSIONS__ -I../getopt/ -I../ -I../lib/ -c ipv6logconv.c
../lib/ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
../lib/ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
../lib/ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
../lib/ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
../lib/libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -g -D__EXTENSIONS__ -I../getopt/ -I../ -I../lib/ -c ipv6logconvhelp.c
../lib/ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
../lib/ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
../lib/ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
../lib/ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
../lib/ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
gcc -o ipv6logconv ipv6logconv.o ipv6logconvhelp.o ../getopt/getopt.o ../getopt/getopt1.o -lipv6calc -L../lib/
cd ipv6logstats && make
gcc -O2 -Wall -g -D__EXTENSIONS__ -I../getopt/ -I../ -I../lib/ -c ipv6logstats.c
../lib/ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
../lib/ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
../lib/ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
../lib/ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
../lib/ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
../lib/libipv6addr.h:97: warning: `ipv6calc_ipv6addrtypestrings' defined but not used
../lib/libipv6addr.h:124: warning: `ipv6calc_ipv6addrregistry' defined but not used
gcc -O2 -Wall -g -D__EXTENSIONS__ -I../getopt/ -I../ -I../lib/ -c ipv6logstatshelp.c
ipv6logstats.h:55: warning: `ipv6logstats_statentries' defined but not used
../lib/ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used
../lib/ipv6calctypes.h:113: warning: `ipv6calc_formatmatrix' defined but not used
../lib/ipv6calctypes.h:171: warning: `ipv6calc_formatoptionstrings' defined but not used
../lib/ipv6calctypes.h:189: warning: `ipv6calc_outputformatoptionmap' defined but not used
../lib/ipv6calctypes.h:228: warning: `ipv6calc_actionstrings' defined but not used
gcc -o ipv6logstats ipv6logstats.o ipv6logstatshelp.o ../getopt/getopt.o ../getopt/getopt1.o -lipv6calc -L../lib/

--jI8keyz6grp/JLjh--

From pb@bieringer.de  Thu Jul 21 00:00:42 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 588AA1F709B
	for <ipv6calc@deepspace6.net>; Thu, 21 Jul 2005 00:00:42 +0200 (CEST)
Received: from ppp-82-135-73-163.mnet-online.de
	(ppp-82-135-15-127.mnet-online.de [82.135.15.127])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id A280F27245;
	Thu, 21 Jul 2005 00:00:40 +0200 (CEST)
Date: Thu, 21 Jul 2005 00:00:39 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Dan Pritts <danno@internet2.edu>
Subject: Re: [ipv6calc] some recent news - please test current CVS version
Message-ID: <D1F224384E00C888DDCBF3DD@gatemuc.muc.bieringer.de>
In-Reply-To: <20050720182333.GA5096@internet2.edu>
References: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
	<20050719192250.GA31316@internet2.edu>
	<100F3D51B722F22BA8A6CADD@gatemuc.muc.bieringer.de>
	<20050720182333.GA5096@internet2.edu>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Thu, 21 Jul 2005 08:04:30 +0200
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 50.25
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2005 22:00:42 -0000



--On Wednesday, July 20, 2005 02:23:33 PM -0400 Dan Pritts
<danno@internet2.edu> wrote:

> On Wed, Jul 20, 2005 at 08:21:29AM +0200, Peter Bieringer wrote:
>> > this happens on both solaris 8 & macos 10.3 - other than some compiler
>> > warnings, everything seems to work otherwise (built, and passed the
>> > preinstall tests).
> 
> Whoops, I was wrong - on the mac, the eui64_to_privacy test fails.  The
> program segfaults.
> 
> attached are make output, make test output. 
> 
> 
> ipv6calc/ipv6calc/ipv6calc@st1100% ./ipv6calc --eui64_to_privacy
> 0123:4567:89ab:cdef 0123456789abcdef zsh: segmentation fault  ./ipv6calc
> --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef

Ooops, a second one, I had currently one on using 

 ./ipv6calc/ipv6calc -i fe80::1

Bad, need some time, so next major release has 3 todos...

> Let me know if you can't find a mac - i may be able to get you access
> to one here but most of them are laptops.

I do not have any Mac OS X access, can you run the command with -d 65535 to
see where it crashes.

In addition, strace of the command would be nice.

        Peter

-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Mon Jul 25 08:30:21 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id ED4051F7062
	for <ipv6calc@deepspace6.net>; Mon, 25 Jul 2005 08:30:20 +0200 (CEST)
Received: from ppp-82-135-70-193.mnet-online.de
	(ppp-82-135-70-193.mnet-online.de [82.135.70.193])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id 2FDAD27245;
	Mon, 25 Jul 2005 08:30:18 +0200 (CEST)
Date: Mon, 25 Jul 2005 08:30:17 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Dan Pritts <danno@internet2.edu>
Subject: Re: [ipv6calc] some recent news - please test current CVS version
Message-ID: <8DD616D01B62E84D4FDB7712@gatemuc.muc.bieringer.de>
In-Reply-To: <D1F224384E00C888DDCBF3DD@gatemuc.muc.bieringer.de>
References: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
	<20050719192250.GA31316@internet2.edu>
	<100F3D51B722F22BA8A6CADD@gatemuc.muc.bieringer.de>
	<20050720182333.GA5096@internet2.edu>
	<D1F224384E00C888DDCBF3DD@gatemuc.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.00
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2005 06:30:21 -0000



--On Thursday, July 21, 2005 12:00:39 AM +0200 Peter Bieringer
<pb@bieringer.de> wrote:

> 
> 
> --On Wednesday, July 20, 2005 02:23:33 PM -0400 Dan Pritts
> <danno@internet2.edu> wrote:
> 
>> On Wed, Jul 20, 2005 at 08:21:29AM +0200, Peter Bieringer wrote:
>>> > this happens on both solaris 8 & macos 10.3 - other than some compiler
>>> > warnings, everything seems to work otherwise (built, and passed the
>>> > preinstall tests).
>> 
>> Whoops, I was wrong - on the mac, the eui64_to_privacy test fails.  The
>> program segfaults.
>> 
>> attached are make output, make test output. 
>> 
>> 
>> ipv6calc/ipv6calc/ipv6calc@st1100% ./ipv6calc --eui64_to_privacy
>> 0123:4567:89ab:cdef 0123456789abcdef zsh: segmentation fault  ./ipv6calc
>> --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef
> 
> Ooops, a second one, I had currently one on using 
> 
>  ./ipv6calc/ipv6calc -i fe80::1
> 
> Bad, need some time, so next major release has 3 todos...

Please try latest CVS version, I removed -O2 from compiler options, this
was causing strange things using gcc-4.0

Regards,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Mon Jul 25 21:18:53 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 8D8251F7061
	for <ipv6calc@deepspace6.net>; Mon, 25 Jul 2005 21:18:53 +0200 (CEST)
Received: from ppp-82-135-70-193.mnet-online.de
	(ppp-82-135-75-237.mnet-online.de [82.135.75.237])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id EA04627245;
	Mon, 25 Jul 2005 21:18:51 +0200 (CEST)
Date: Mon, 25 Jul 2005 21:18:49 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Dan Pritts <danno@internet2.edu>
Subject: Re: [ipv6calc] some recent news - please test current CVS version
Message-ID: <E6F0D75862CF4DAC6FE326CC@gatemuc.muc.bieringer.de>
In-Reply-To: <20050720182333.GA5096@internet2.edu>
References: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
	<20050719192250.GA31316@internet2.edu>
	<100F3D51B722F22BA8A6CADD@gatemuc.muc.bieringer.de>
	<20050720182333.GA5096@internet2.edu>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.00
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2005 19:18:53 -0000





--On Wednesday, July 20, 2005 02:23:33 PM -0400 Dan Pritts
<danno@internet2.edu> wrote:

> On Wed, Jul 20, 2005 at 08:21:29AM +0200, Peter Bieringer wrote:
>> > this happens on both solaris 8 & macos 10.3 - other than some compiler
>> > warnings, everything seems to work otherwise (built, and passed the
>> > preinstall tests).
> 
> Whoops, I was wrong - on the mac, the eui64_to_privacy test fails.  The
> program segfaults.
> 
> attached are make output, make test output. 

The warnings are harmless:

ipv6calctypes.h:87: warning: `ipv6calc_formatstrings' defined but not used

They doesn't occur here, so I think it's depending on compiler. Perhaps one
has a suggestion how to disable this specific warning.


> ipv6calc/ipv6calc/ipv6calc@st1100% ./ipv6calc --eui64_to_privacy
> 0123:4567:89ab:cdef 0123456789abcdef zsh: segmentation fault  ./ipv6calc
> --eui64_to_privacy 0123:4567:89ab:cdef 0123456789abcdef

Did you try a compile without -O2 ?

        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Mon Jul 25 23:00:52 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id ECF501F706E
	for <ipv6calc@deepspace6.net>; Mon, 25 Jul 2005 23:00:51 +0200 (CEST)
Received: from ppp-82-135-70-193.mnet-online.de
	(ppp-82-135-75-237.mnet-online.de [82.135.75.237])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id 6412327245
	for <ipv6calc@deepspace6.net>; Mon, 25 Jul 2005 23:00:50 +0200 (CEST)
Date: Mon, 25 Jul 2005 23:00:48 +0200
From: Peter Bieringer <pb@bieringer.de>
To: ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] some recent news - please test current CVS version
Message-ID: <7D04873A67604F3EA98A06D7@gatemuc.muc.bieringer.de>
In-Reply-To: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
References: <0A8550B8E65F18CEFDF612DB@[10.3.62.6]>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.00
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2005 21:00:52 -0000



--On Tuesday, July 19, 2005 06:13:56 PM +0200 Peter Bieringer
<pb@bieringer.de> wrote:

> "draft-ietf-ipv6-unique-local-addr" needs to be implemented before.

Support is now added, please try CVS version for tests.

Thank you very much,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Thu Sep 15 00:03:15 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id CBD181F708B
	for <ipv6calc@deepspace6.net>; Thu, 15 Sep 2005 00:03:13 +0200 (CEST)
Received: from ppp-62-245-210-115.mnet-online.de
	(ppp-62-245-210-115.mnet-online.de [62.245.210.115])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id 0954827245;
	Thu, 15 Sep 2005 00:03:11 +0200 (CEST)
Date: Thu, 15 Sep 2005 00:03:07 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Maillist ipv6calc-accounce <ipv6ipv6calc-announce@deepspace6.net>,
	Maillist ipv6calc <ipv6calc@deepspace6.net>
Message-ID: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Cc: 
Subject: [ipv6calc] New version 0.49 released
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.02
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Wed, 14 Sep 2005 22:03:15 -0000

Hi,

after a while I released finally version 0.49

Available at:
<ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/>

(and via CVS - note that DS6 currently contain only older versions).


Not-minor changes:

20050914/PB
        Update databases

20050725/PB
        lib/libipv6addr
        ipv6calc/showinfo
         - add support for Unique Local IPv6 Unicast Addresses

20050719/PB
        md5/md5.c
         - fix for proper support of big endian machines
        lib/libipv6addr
         - replace hardcoded IPv6 assignement by dynamic one

20050714/PB
        lib/libipv6addr
         - IPv6 TLA update

20050628/PB
        ipv6calc:
         - replace hardcoded $(root)/bin with $(root)@bindir@ (suggested by
Andrew Walrond)


20050212/PB
        ipv6logconv:
         - implement a lookup cache for speed-up (around 20%)
        lib/libipv4addr
        databases/ipv4-assignment/dbipv4addr_assignment.h
         - add a hint table for speed-up IPv4 registry lookups (around 10
times!)


Happy using,
        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From rvokal@redhat.com  Thu Sep 15 08:32:58 2005
Return-Path: <rvokal@redhat.com>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 5A8871F7057
	for <ipv6calc@deepspace6.net>; Thu, 15 Sep 2005 08:32:57 +0200 (CEST)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j8F6WlmT007162;
	Thu, 15 Sep 2005 02:32:47 -0400
Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com
	[172.16.2.10])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j8F6WdV06394; 
	Thu, 15 Sep 2005 02:32:40 -0400
Received: from vpn83-152.boston.redhat.com (vpn83-152.boston.redhat.com
	[172.16.83.152])
	by pobox.stuttgart.redhat.com (8.12.8/8.12.8) with ESMTP id
	j8F6WaBv022629; Thu, 15 Sep 2005 08:32:38 +0200
Subject: Re: [ipv6calc] New version 0.49 released
From: Radek =?ISO-8859-1?Q?Vok=E1l?= <rvokal@redhat.com>
To: Peter Bieringer <pb@bieringer.de>
In-Reply-To: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>
References: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-h1Ix1jRMgT9EZkcKaH62"
Date: Thu, 15 Sep 2005 08:32:35 +0200
Message-Id: <1126765956.9680.9.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.4.0 (2.4.0-1) 
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>,
	Maillist ipv6calc-accounce <ipv6ipv6calc-announce@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.86
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2005 06:32:59 -0000


--=-h1Ix1jRMgT9EZkcKaH62
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Seems like `make test` is broken

Here's my output

Test './ipv6calc --addr_to_bitstring --uppercase 3ffe:ffff::1' for
'\[x3FFEFFFF000000000000000000000001/128].IP6.ARPA.'
Test './ipv6calc --in bitstring --out ipv6
\[x3FFEFFFF000000000000000000000001/64].IP6.ARPA' for '3ffe:ffff::1/64'
Test './ipv6calc --ipv4_to_6to4addr 11.12.13.14' for '2002:b0c:d0e::'
Test './ipv6calc --in ipv4 --out ipv6 --action conv6to4 11.12.13.14' for
'2002:b0c:d0e::'
Test './ipv6calc --in ipv6 --out ipv4 --action conv6to4 2002:102:304::1'
for '1.2.3.4'
Test './ipv6calc --in prefix+mac fec0:0:0:1:: 01:23:45:67:89:01' for
'fec0::1:323:45ff:fe67:8901'
No action type specified, try autodetection...found type: prefixmac2ipv6
Test './ipv6calc --in ipv4addr --out revipv4 1.2.3.4' for
'4.3.2.1.in-addr.arpa.'
Test './ipv6calc -i fe80::1' for '*'
No input type specified, try autodetection...found type: ipv6addr
No output type specified, try autodetection...found type: ipv6addr
*** stack smashing detected ***: ./ipv6calc terminated
Error executing 'ipv6calc'!
1

Any info I can provide about the system?=20

Radek


On Thu, 2005-09-15 at 00:03 +0200, Peter Bieringer wrote:
> Hi,
>=20
> after a while I released finally version 0.49
>=20
> Available at:
> <ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/>
>=20
> (and via CVS - note that DS6 currently contain only older versions).
>=20
>=20
> Not-minor changes:
>=20
> 20050914/PB
>         Update databases
>=20
> 20050725/PB
>         lib/libipv6addr
>         ipv6calc/showinfo
>          - add support for Unique Local IPv6 Unicast Addresses
>=20
> 20050719/PB
>         md5/md5.c
>          - fix for proper support of big endian machines
>         lib/libipv6addr
>          - replace hardcoded IPv6 assignement by dynamic one
>=20
> 20050714/PB
>         lib/libipv6addr
>          - IPv6 TLA update
>=20
> 20050628/PB
>         ipv6calc:
>          - replace hardcoded $(root)/bin with $(root)@bindir@ (suggested =
by
> Andrew Walrond)
>=20
>=20
> 20050212/PB
>         ipv6logconv:
>          - implement a lookup cache for speed-up (around 20%)
>         lib/libipv4addr
>         databases/ipv4-assignment/dbipv4addr_assignment.h
>          - add a hint table for speed-up IPv4 registry lookups (around 10
> times!)
>=20
>=20
> Happy using,
>         Peter
--=20
Radek Vok=C3=A1l <rvokal@redhat.com>

--=-h1Ix1jRMgT9EZkcKaH62
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDKRWDpPtjDwJDWJMRAjM/AKDkzXJudSN4P9W+agwcB+viFxLwvQCfTpoK
js1e2GgGiidV6GGkQLiRhUA=
=2H1n
-----END PGP SIGNATURE-----

--=-h1Ix1jRMgT9EZkcKaH62--


From pb@bieringer.de  Thu Sep 15 09:00:43 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id B0BA51F7057
	for <ipv6calc@deepspace6.net>; Thu, 15 Sep 2005 09:00:43 +0200 (CEST)
Received: from ppp-62-245-210-115.mnet-online.de
	(ppp-82-135-11-14.mnet-online.de [82.135.11.14])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id ACF6D27245;
	Thu, 15 Sep 2005 09:00:40 +0200 (CEST)
Date: Thu, 15 Sep 2005 09:00:39 +0200
From: Peter Bieringer <pb@bieringer.de>
To: =?ISO-8859-1?Q?Radek_Vok=E1l?= <rvokal@redhat.com>
Subject: Re: [ipv6calc] New version 0.49 released
Message-ID: <C431EDCF0FA99D1878461D2E@gatemuc.muc.bieringer.de>
In-Reply-To: <1126765956.9680.9.camel@localhost.localdomain>
References: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>
	<1126765956.9680.9.camel@localhost.localdomain>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.00
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2005 07:00:43 -0000

Hi Radek,

--On Thursday, September 15, 2005 08:32:35 AM +0200 Radek Vok=E1l
<rvokal@redhat.com> wrote:

> Seems like `make test` is broken
>=20
> Here's my output
>=20
> Test './ipv6calc --addr_to_bitstring --uppercase 3ffe:ffff::1' for
> '\[x3FFEFFFF000000000000000000000001/128].IP6.ARPA.'
> Test './ipv6calc --in bitstring --out ipv6
> \[x3FFEFFFF000000000000000000000001/64].IP6.ARPA' for '3ffe:ffff::1/64'
> Test './ipv6calc --ipv4_to_6to4addr 11.12.13.14' for '2002:b0c:d0e::'
> Test './ipv6calc --in ipv4 --out ipv6 --action conv6to4 11.12.13.14' for
> '2002:b0c:d0e::'
> Test './ipv6calc --in ipv6 --out ipv4 --action conv6to4 2002:102:304::1'
> for '1.2.3.4'
> Test './ipv6calc --in prefix+mac fec0:0:0:1:: 01:23:45:67:89:01' for
> 'fec0::1:323:45ff:fe67:8901'
> No action type specified, try autodetection...found type: prefixmac2ipv6
> Test './ipv6calc --in ipv4addr --out revipv4 1.2.3.4' for
> '4.3.2.1.in-addr.arpa.'
> Test './ipv6calc -i fe80::1' for '*'
> No input type specified, try autodetection...found type: ipv6addr
> No output type specified, try autodetection...found type: ipv6addr
> *** stack smashing detected ***: ./ipv6calc terminated
> Error executing 'ipv6calc'!
> 1

Hmm, I got already such strange terminations in case using -O 2 for gcc.
Therefore I removed them, because I didn't found the reason, what's wrong
with my code.

> Any info I can provide about the system?=20

Would be great, I had a fine rebuild on FC4 but still not tested RHEL3 and
RHEL4.

Perhaps you have more luck by using gdb than me...

        Peter
--=20
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de=20
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Thu Sep 15 11:25:02 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp4.aerasec.de (pog.aerasec.de [195.226.187.54])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 28B8E1F7057
	for <ipv6calc@deepspace6.net>; Thu, 15 Sep 2005 11:25:02 +0200 (CEST)
Received: from [10.3.62.6] (p549973A9.dip.t-dialin.net [84.153.115.169])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp4.aerasec.de (Postfix) with ESMTP id C92B1BBE2;
	Thu, 15 Sep 2005 11:24:59 +0200 (CEST)
Date: Thu, 15 Sep 2005 11:24:57 +0200
From: Peter Bieringer <pb@bieringer.de>
To: =?ISO-8859-1?Q?Radek_Vok=E1l?= <rvokal@redhat.com>
Subject: Re: [ipv6calc] New version 0.49 released [PATCH]
Message-ID: <DDC8C098458F94B7E80513C1@[10.3.62.6]>
In-Reply-To: <1126774058.9680.31.camel@localhost.localdomain>
References: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>	
	<1126765956.9680.9.camel@localhost.localdomain>	
	<C431EDCF0FA99D1878461D2E@gatemuc.muc.bieringer.de>
	<1126774058.9680.31.camel@localhost.localdomain>
X-Mailer: Mulberry/3.1.6 (Win32)
Organization: AERAsec Network Services and Security GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 1.40
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2005 09:25:02 -0000

Hi Radek,

--On Donnerstag, 15. September 2005 10:47 +0200 Radek Vok=E1l=20
<rvokal@redhat.com> wrote:

> Hi Peter,
>
>  so here's the bug I found in your code. Seems like you overwrite the
> stack in ipv6addr_copy, because you shift the address by i in the stack
> and than you "successfully" copy the structure 48x times in the stack.

Ooops...wondering how it has ever worked.

> So correct copying of the structure is just *dst =3D *src (this works as
> copy for structures so no need to do some memcpy stuff)

Thank you very much for the patch, confirmed working, submitted to CVS now.

Looks like this was also the reason that -O2 causes problems, reenabled it=20
now.

I will release version 0.50 tonight MEST.

	Peter
--=20
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Thu Sep 15 13:44:07 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp4.aerasec.de (pog.aerasec.de [195.226.187.54])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 414C21F705D
	for <ipv6calc@deepspace6.net>; Thu, 15 Sep 2005 13:44:07 +0200 (CEST)
Received: from [10.3.62.6] (p549973A9.dip.t-dialin.net [84.153.115.169])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp4.aerasec.de (Postfix) with ESMTP id 68B2ABBE2;
	Thu, 15 Sep 2005 13:44:05 +0200 (CEST)
Date: Thu, 15 Sep 2005 13:44:03 +0200
From: Peter Bieringer <pb@bieringer.de>
To: =?ISO-8859-1?Q?Radek_Vok=E1l?= <rvokal@redhat.com>
Subject: Re: [ipv6calc] New version 0.49 released [PATCH]
Message-ID: <54ACB63C8A01779F1FB1E5BC@[10.3.62.6]>
In-Reply-To: <1126783009.9680.49.camel@localhost.localdomain>
References: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>	
	<1126765956.9680.9.camel@localhost.localdomain>	
	<C431EDCF0FA99D1878461D2E@gatemuc.muc.bieringer.de>	
	<1126774058.9680.31.camel@localhost.localdomain>	
	<DDC8C098458F94B7E80513C1@[10.3.62.6]>
	<1126783009.9680.49.camel@localhost.localdomain>
X-Mailer: Mulberry/3.1.6 (Win32)
Organization: AERAsec Network Services and Security GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Mailman-Approved-At: Thu, 15 Sep 2005 14:33:43 +0200
Cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: unsure; score: 13.98
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2005 11:44:07 -0000



--On Donnerstag, 15. September 2005 13:16 +0200 Radek Vok=E1l=20
<rvokal@redhat.com> wrote:

> Hi Peter,
>
> again looking into the code, I found another stack corruption :)
> It's rather stupid off by one for tempstring when you forget about
> ending \0:
>
> --- ipv6calc/showinfo.c~        2005-09-15 12:49:22.467626560 +0200
> +++ ipv6calc/showinfo.c 2005-09-15 12:49:22.467626560 +0200
> @@ -286,7 +286,7 @@
>  #define DEBUG_function_name "showinfo_ipv6addr"
>  int showinfo_ipv6addr(const ipv6calc_ipv6addr *ipv6addrp1, const
> uint32_t formatoptions) {
>         int retval =3D 1, i, j, flag_prefixuse, registry;
> -       char tempstring[NI_MAXHOST] =3D "", helpstring[NI_MAXHOST] =3D =
"";
> +       char tempstring[NI_MAXHOST+1] =3D "", helpstring[NI_MAXHOST+1] =
=3D
> "";
>         ipv6calc_ipv6addr ipv6addr, *ipv6addrp;
>         ipv6calc_ipv4addr ipv4addr;
>         ipv6calc_macaddr macaddr;
>
> Also using of
>
> snprintf(helpstring, sizeof(tempstring), "%s,", tempstring);
>
> is not very nice but here sort of harmless because helpstring and
> tempstring are the same size. But it's not so right anyway ..

Unfortunately, this bug is everywhere...no wonder that showinfo crashed=20
also by me...will fix them now all.

	Peter
--=20
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Thu Sep 15 14:35:15 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp4.aerasec.de (pog.aerasec.de [195.226.187.54])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id EB22C1F705D
	for <ipv6calc@deepspace6.net>; Thu, 15 Sep 2005 14:35:14 +0200 (CEST)
Received: from [10.3.62.6] (p549973A9.dip.t-dialin.net [84.153.115.169])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp4.aerasec.de (Postfix) with ESMTP id 770BDBBE2;
	Thu, 15 Sep 2005 14:35:13 +0200 (CEST)
Date: Thu, 15 Sep 2005 14:35:11 +0200
From: Peter Bieringer <pb@bieringer.de>
To: =?ISO-8859-1?Q?Radek_Vok=E1l?= <rvokal@redhat.com>
Subject: Re: [ipv6calc] New version 0.49 released [PATCH]
Message-ID: <767796FC6FF45A5E6AC1DEF4@[10.3.62.6]>
In-Reply-To: <54ACB63C8A01779F1FB1E5BC@[10.3.62.6]>
References: <5A8D746CD71233D939F03C71@gatemuc.muc.bieringer.de>
	<1126765956.9680.9.camel@localhost.localdomain>
	<C431EDCF0FA99D1878461D2E@gatemuc.muc.bieringer.de>
	<1126774058.9680.31.camel@localhost.localdomain>
	<DDC8C098458F94B7E80513C1@[10.3.62.6]>
	<1126783009.9680.49.camel@localhost.localdomain>
	<54ACB63C8A01779F1FB1E5BC@[10.3.62.6]>
X-Mailer: Mulberry/3.1.6 (Win32)
Organization: AERAsec Network Services and Security GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.00
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2005 12:35:15 -0000



--On Donnerstag, 15. September 2005 13:44 +0200 Peter Bieringer 
<pb@bieringer.de> wrote:

> Unfortunately, this bug is everywhere...no wonder that showinfo crashed
> also by me...will fix them now all.

Could you please try newest version from CVS for proper compiling and 
running? I've checked that all snprintf size values now have "- 1".

Thank you very much!

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Thu Sep 15 20:12:18 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP
	id 12F7E1F7072; Thu, 15 Sep 2005 20:12:18 +0200 (CEST)
Received: from ppp-62-245-210-115.mnet-online.de
	(ppp-82-135-11-14.mnet-online.de [82.135.11.14])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id 4C51D27245;
	Thu, 15 Sep 2005 20:12:15 +0200 (CEST)
Date: Thu, 15 Sep 2005 20:12:13 +0200
From: Peter Bieringer <pb@bieringer.de>
To: Maillist ipv6calc-accounce <ipv6calc-announce@deepspace6.net>,
	Maillist ipv6calc <ipv6calc@deepspace6.net>
Message-ID: <E34D725814BEE450791B8C97@gatemuc.muc.bieringer.de>
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Cc: 
Subject: [ipv6calc] New version 0.50 released
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 3.22
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2005 18:12:18 -0000

Hi,

sorry, but I had no luck with 0.49, there were some stack overflow and
off-by-one bugs sleeping since longer time, but now rising up during
compiling with some protection options.

Many credits to Radek Vok=E1l for finding bugs and pointing out the =
snprintf
size problems.

Therefore I released now version 0.50:

Available at:
<ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/>

(and via CVS - note that DS6 currently contain only older versions).


Not-minor changes:

20050915/PB
        various c files
         - fix snprintf size parameter (credits to
            Radek Vok=E1l for pointing this out)
        lib/libipv6addr.c#ipv6addr_copy
         - fix bug which causes stack overflow (credits to
            Radek Vok=E1l for finding the bug)
        several Makefiles
         - add compiler switch -O2, reason for segfault was found
         - remove also static on clean
        ipv6logconv:
         - add support for unique local unicast
        update databases


Happier using now...

        Peter
--=20
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de=20
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Wed Oct 26 11:55:22 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 127571F7056
	for <ipv6calc@deepspace6.net>; Wed, 26 Oct 2005 11:55:22 +0200 (CEST)
Received: from aerasec.de (p54993E69.dip.t-dialin.net [84.153.62.105])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp1.aerasec.de (Postfix) with ESMTP id 1B0E727245
	for <ipv6calc@deepspace6.net>; Wed, 26 Oct 2005 11:55:19 +0200 (CEST)
Date: Wed, 26 Oct 2005 11:55:17 +0200
From: Peter Bieringer <pb@bieringer.de>
To: ipv6calc@deepspace6.net
Message-ID: <137F7DCAC7EB5E08E2FC15D1@[10.3.62.6]>
X-Mailer: Mulberry/3.1.6 (Win32)
Organization: AERAsec Network Services and Security GmbH
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Subject: [ipv6calc] New version in CVS: 0.51cvs
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.34
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Wed, 26 Oct 2005 09:55:22 -0000

Hi,

I've added support for AfriNIC registry and Teredo addresses, extend 
registry information generation for IPv6 like in IPv4, and fix a bug 
detecting the local unicast addresses (which affects also detection of 
link-local addresses - stupid bug).

Current ChangeLog:

20051026/PB
        restructure registry database directory
        - process now registry files 2 days ago to prevent problems short 
after local day switches
        add support for new registry AFRINIC
        extend IPv6 registry data from 32 to 64 bits, adapt related 
function in lib/libipv6addr

20051021/PB
        lib/libipv6addr
        - fix bug for unique local unicast detection
        ipv6calc/showinfo
        - minor review
        ipv6calcweb.cgi
        - updates according to changes of showinfo.c

20051020/PB
        lib/libipv6addr
        ipv6calc/showinfo
        ipv6logconv
        ipv6logstats
         - add support for Teredo addresses

20050916/PB
        various make files
         - add missing entries to fullfil NetBSD's make



Please run tests, I plan to release the new version this weekend.

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From pb@bieringer.de  Mon Dec 19 07:47:22 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp1.aerasec.de (pib.aerasec.de [195.226.187.36])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 28BC71F705C
	for <ipv6calc@deepspace6.net>; Mon, 19 Dec 2005 07:47:22 +0100 (CET)
Received: from localhost (pib.aerasec.de [127.0.0.1])
	by smtp1.aerasec.de (Postfix) with ESMTP id C9A9E27245;
	Mon, 19 Dec 2005 07:47:17 +0100 (CET)
Received: from smtp1.aerasec.de ([127.0.0.1])
	by localhost (pib.aerasec.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 02830-01; Mon, 19 Dec 2005 07:47:02 +0100 (CET)
Received: from [IPv6:2001:a60:f000:17::2] (cl-24.muc-02.de.sixxs.net
	[IPv6:2001:a60:f000:17::2]) by smtp1.aerasec.de (Postfix) with ESMTP;
	Mon, 19 Dec 2005 07:47:00 +0100 (CET)
Message-ID: <43A65762.9070903@bieringer.de>
Date: Mon, 19 Dec 2005 07:46:58 +0100
From: Peter Bieringer <pb@bieringer.de>
User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: qm <qm@sonic.net>
References: <200512190156.jBJ1uKe4006401@bolt.sonic.net>
In-Reply-To: <200512190156.jBJ1uKe4006401@bolt.sonic.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: amavisd-new at aerasec.de
Cc: Maillist ipv6calc <ipv6calc@deepspace6.net>
Subject: [ipv6calc] Re: ipv6calc bug with base85 input line starting with
	dash
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.01
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 19 Dec 2005 06:47:22 -0000

qm wrote:
> $ ipv6calc --in ipv6addr 'F677:73F6:11B4:5073:4A06:76C2:CEAE:1474' --out base85
> --------------------
> $ ipv6calc --in base85 '--------------------' --out ipv6addr
> ipv6calc: unrecognized option `--------------------'
> ipv6calc: version 0.50
> (P) & (C) 2001-2005 by Peter Bieringer <pb (at) bieringer.de>
>    Missing or to few input data given!
> $ 
> 
> ipv6calc does not recognize an IPv6 base85 20 character string
> starting with a dash as an argument to be parsed for input.
> 
> This is a bug.
> 
> One method to detect this is a string of twenty characters.  Another
> method to detect it is via the unrecognized option failure.
> 
> Bug also present in 0.45.

Looks like this is a problem caused by the getopt implementation:

$ ipv6calc --in base85 '=F>@nLbSH5WQ%YIL3i%h' --out ipv6addr
fe80::1

$ ipv6calc --in base85 '-F>@nLbSH5WQ%YIL3i%h' --out ipv6addr
ipv6calc: invalid option -- F
ipv6calc: invalid option -- >
ipv6calc: invalid option -- @
ipv6calc: invalid option -- n
ipv6calc: invalid option -- L
ipv6calc: version 0.50
(P) & (C) 2001-2005 by Peter Bieringer <pb (at) bieringer.de>
   Only one command may be specified!


Have to dig into how to work around.

Thank you for reporting.

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D                       mailto:pb@bieringer.de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From simon@arlott.org  Mon Dec 19 10:48:44 2005
Return-Path: <simon@arlott.org>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from blackhole.arlott.org.uk (blackhole.arlott.org.uk [84.92.75.21])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 15BA81F706D
	for <ipv6calc@deepspace6.net>; Mon, 19 Dec 2005 10:48:44 +0100 (CET)
Received: from redrum.arlott.org.uk ([2001:4bd0:1000:0:202:44ff:fe50:91af]
	ident=byte) by blackhole.arlott.org.uk with esmtp (Exim 4.60)
	id 1EoHdJ-0000eX-7p
	for ipv6calc@deepspace6.net; Mon, 19 Dec 2005 09:48:42 +0000
Message-ID: <43A681F4.1040507@arlott.org>
Date: Mon, 19 Dec 2005 09:48:36 +0000
From: Simon Arlott <simon@arlott.org>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051126)
X-Accept-Language: en-GB, en
MIME-Version: 1.0
To: ipv6calc@deepspace6.net
Subject: Re: [ipv6calc] Re: ipv6calc bug with base85 input line starting with
	dash
References: <200512190156.jBJ1uKe4006401@bolt.sonic.net>
	<43A65762.9070903@bieringer.de>
In-Reply-To: <43A65762.9070903@bieringer.de>
X-Enigmail-Version: 0.92.0.0
OpenPGP: id=89C93563
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report/>.
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature";
	boundary="------------enigF4A1638CC2FF4EABC15EBADD"
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 4.52
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 19 Dec 2005 09:48:44 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF4A1638CC2FF4EABC15EBADD
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Peter Bieringer wrote:
> qm wrote:
> 
>>$ ipv6calc --in ipv6addr 'F677:73F6:11B4:5073:4A06:76C2:CEAE:1474' --out base85
>>--------------------
>>$ ipv6calc --in base85 '--------------------' --out ipv6addr
>>ipv6calc: unrecognized option `--------------------'
>>ipv6calc: version 0.50
>>(P) & (C) 2001-2005 by Peter Bieringer <pb (at) bieringer.de>
>>   Missing or to few input data given!
>>$ 
>>
>>ipv6calc does not recognize an IPv6 base85 20 character string
>>starting with a dash as an argument to be parsed for input.
>>
>>This is a bug.
>>
>>One method to detect this is a string of twenty characters.  Another
>>method to detect it is via the unrecognized option failure.
>>
>>Bug also present in 0.45.
> 
> 
> Looks like this is a problem caused by the getopt implementation:
> 
> $ ipv6calc --in base85 '=F>@nLbSH5WQ%YIL3i%h' --out ipv6addr
> fe80::1
> 
> $ ipv6calc --in base85 '-F>@nLbSH5WQ%YIL3i%h' --out ipv6addr
> ipv6calc: invalid option -- F
> ipv6calc: invalid option -- >
> ipv6calc: invalid option -- @
> ipv6calc: invalid option -- n
> ipv6calc: invalid option -- L
> ipv6calc: version 0.50
> (P) & (C) 2001-2005 by Peter Bieringer <pb (at) bieringer.de>
>    Only one command may be specified!
> 
> 
> Have to dig into how to work around.
> 
> Thank you for reporting.
> 
> 	Peter

Using -- stops it reading options:
 > ./ipv6calc --out ipv6addr --in base85 -- '--------------------'
f677:73f6:11b4:5073:4a06:76c2:ceae:1474

-- 
Simon Arlott

--------------enigF4A1638CC2FF4EABC15EBADD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQIVAwUBQ6aB96Rtx1WjQ8ihAQpxcBAArm6Me7O46BuoB5NkWegOg4W92io6vaMc
n4aptK9bfJoR5VFBQm6uv5YXtO/SLTRzuywPMEEMFvOw+RN1TjGYUnDOlc8cKODl
3W6WQ+bR3P4AhdczznAeGydXIvuMujKZUN2hXwor30+l+siYhyAqpFe/YyQkm5n/
WVUTud+AwfN074PySm5GGW6RhjuZFrdiJS/C0e2e4Iq8aufukGf3A5CxwhE0b8ij
VCxxW2/1x6VFejmnpKDQxd1QnFS12auxvzQcswI0R+EibvodNIW/J5ujFF+pf9pU
jVX78+3hSCv+3qmM58tXbF2pahgKlh2SBGBLJEfxPHtgXfNb+RdWwotb1wRsQnXy
XraA3mLhpW9PnmQg9wytVm+KeXygnVYC7JnPD1to+8+nzWBbw7xIdwwADwXEHfUR
kREmNApg3NjoVt13EpK1pxcCqUZF+RvaXlQ/k5f1snMM8x9nXfGPfJeiuGXF1zGs
NvGwDMky00APsyzM4PZ2EoHn5sN61mulEkrg1Y/btlsXTv3Yd2kez/GYHp4LGMMO
nYn37oeS+YWvSsEmlc5JV9ktj1ADzcpDPS5UyKfq5GIxjdTzor3niZsZVU3hsOf+
Go+Du32s4y+nAGfUH+NM63wcnI8tH16thWa3GgrHWLmsdn+KtgMOV3z9YEA4PnSr
/qn0aCHY+1Y=
=M0Vs
-----END PGP SIGNATURE-----

--------------enigF4A1638CC2FF4EABC15EBADD--

From pb@bieringer.de  Mon Dec 19 11:15:15 2005
Return-Path: <pb@bieringer.de>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from smtp4.aerasec.de (pog.aerasec.de [195.226.187.54])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by liston.ferrara.linux.it (Postfix) with ESMTP id 5629F1F706D
	for <ipv6calc@deepspace6.net>; Mon, 19 Dec 2005 11:15:15 +0100 (CET)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp4.aerasec.de (Postfix) with ESMTP id 5F8B7BBE2;
	Mon, 19 Dec 2005 11:15:13 +0100 (CET)
Received: from smtp4.aerasec.de ([127.0.0.1])
	by localhost (pog.aerasec.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 09106-04; Mon, 19 Dec 2005 11:15:09 +0100 (CET)
Received: from [IPv6:2001:a60:f000:17::2] (cl-24.muc-02.de.sixxs.net
	[IPv6:2001:a60:f000:17::2]) by smtp4.aerasec.de (Postfix) with ESMTP;
	Mon, 19 Dec 2005 11:15:09 +0100 (CET)
Message-ID: <43A6882B.20602@bieringer.de>
Date: Mon, 19 Dec 2005 11:15:07 +0100
From: Peter Bieringer <pb@bieringer.de>
User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: qm <qm@sonic.net>
Subject: Re: [ipv6calc] Re: ipv6calc bug with base85 input line starting with
	dash
References: <200512190156.jBJ1uKe4006401@bolt.sonic.net>	<43A65762.9070903@bieringer.de>
	<43A681F4.1040507@arlott.org>
In-Reply-To: <43A681F4.1040507@arlott.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: amavisd-new at aerasec.de
Cc: ipv6calc@deepspace6.net
X-BeenThere: ipv6calc@deepspace6.net
X-Mailman-SpamBayes: ham; score: 0.01
X-Mailman-Version: 2.1.2-spambayes
Precedence: list
List-Id: ipv6calc users and developers  <ipv6calc.deepspace6.net>
List-Unsubscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=unsubscribe>
List-Archive: <http://lists.deepspace6.net/archive/ipv6calc>
List-Post: <mailto:ipv6calc@deepspace6.net>
List-Help: <mailto:ipv6calc-request@deepspace6.net?subject=help>
List-Subscribe: <http://lists.deepspace6.net/listinfo/ipv6calc>,
	<mailto:ipv6calc-request@deepspace6.net?subject=subscribe>
X-List-Received-Date: Mon, 19 Dec 2005 10:15:15 -0000

Simon Arlott wrote:
> Peter Bieringer wrote:
> 
>> qm wrote:
>>
>>> $ ipv6calc --in ipv6addr 'F677:73F6:11B4:5073:4A06:76C2:CEAE:1474'
>>> --out base85
>>> --------------------
>>> $ ipv6calc --in base85 '--------------------' --out ipv6addr
>>> ipv6calc: unrecognized option `--------------------'
>>> ipv6calc: version 0.50
>>> (P) & (C) 2001-2005 by Peter Bieringer <pb (at) bieringer.de>
>>>   Missing or to few input data given!
>>> $
>>> ipv6calc does not recognize an IPv6 base85 20 character string
>>> starting with a dash as an argument to be parsed for input.
>>>
>>> This is a bug.
>>>
>>> One method to detect this is a string of twenty characters.  Another
>>> method to detect it is via the unrecognized option failure.
>>>
>>> Bug also present in 0.45.
>>
>>
>>
>> Looks like this is a problem caused by the getopt implementation:
>>
>> $ ipv6calc --in base85 '=F>@nLbSH5WQ%YIL3i%h' --out ipv6addr
>> fe80::1
>>
>> $ ipv6calc --in base85 '-F>@nLbSH5WQ%YIL3i%h' --out ipv6addr
>> ipv6calc: invalid option -- F
>> ipv6calc: invalid option -- >
>> ipv6calc: invalid option -- @
>> ipv6calc: invalid option -- n
>> ipv6calc: invalid option -- L
>> ipv6calc: version 0.50
>> (P) & (C) 2001-2005 by Peter Bieringer <pb (at) bieringer.de>
>>    Only one command may be specified!
>>
>>
>> Have to dig into how to work around.
>>
>> Thank you for reporting.
>>
>>     Peter
> 
> 
> Using -- stops it reading options:
>> ./ipv6calc --out ipv6addr --in base85 -- '--------------------'
> f677:73f6:11b4:5073:4a06:76c2:ceae:1474

I already expected such, thank you Simon for this quick reply.

So I close this as "no bug".


BTW: I plan to release 0.51 during Christmas Holidays, so if one misses
in current CVS version still some features, trigger me. Check ChangeLog
in CVS version, what's already done since 0.50.

	Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D                       mailto:pb@bieringer.de
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/

From qm@sonic.net  Sun Dec 11 21:29:10 2005
Return-Path: <qm@sonic.net>
X-Original-To: ipv6calc@deepspace6.net
Delivered-To: ipv6calc@liston.ferrara.linux.it
Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by liston.ferrara.