Subject: Some IPF 4.1.22 regression tests fail
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 05/16/2007 14:35:30
Anyone else having problems with the regression tests?

Martti


ROOT n106:/usr/src/regress/sys/kern/ipf> uname -srm
NetBSD 4.99.19 i386


ROOT n106:/usr/src/regress/sys/kern/ipf> ipf -V
ipf: IP Filter: v4.1.22 (396)
Kernel: IP Filter: v4.1.22 
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
Feature mask: 0x10e


ROOT n106:/usr/src/regress/sys/kern/ipf> make -k
n4...
/usr/src/regress/sys/kern/ipf/expected/n4 results/n4 differ: char 2466, line 56
*** Error code 1 (continuing)
n9...
/usr/src/regress/sys/kern/ipf/expected/n9 results/n9 differ: char 26, line 1
*** Error code 1 (continuing)
ni23...
/usr/src/regress/sys/kern/ipf/expected/ni23 results/ni23 differ: char 205, line 5
*** Error code 1 (continuing)
in2...
/usr/src/regress/sys/kern/ipf/expected/in2 results/in2 differ: char 4567, line 69
*** Error code 1 (continuing)
l1...
/usr/src/regress/sys/kern/ipf/expected/l1 results/l1 differ: char 716, line 9
*** Error code 1 (continuing)
`all' not remade because of errors.


ROOT n106:/usr/src/regress/sys/kern/ipf> for i in n4 n9 ni23 in2 l1; do diff -u expected/$i results/$i; done
--- expected/n4 2007-05-01 22:08:48.000000000 +0300
+++ results/n4  2007-05-16 14:27:06.000000000 +0300
@@ -53,14 +53,14 @@
  ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
  ip #0 40(20) 6 10.1.1.1,53 > 10.3.3.3,12345
  -------------------------------
-ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,23
+ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,23
  ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12345
-ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,53
+ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53
  ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345
  ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23
  ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346
-ip #0 28(20) 17 10.3.3.3,12345 > 10.2.2.1,53
+ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53
  ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345
  ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53
-ip #0 40(20) 6 10.1.1.1,53 > 10.3.3.3,12345
+ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345
  -------------------------------
--- expected/n9 2007-05-01 22:08:49.000000000 +0300
+++ results/n9  2007-05-16 14:27:06.000000000 +0300
@@ -1,9 +1,9 @@
-4500 0054 8bc1 0000 ff01 17d9 0202 0202 0a0a 0a01 0800 efdf 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637 
+4500 0054 8bc1 0000 ff01 23dc 0202 0202 0404 0404 0800 efdf 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637

-4500 0054 3fd5 4000 ff01 2fc8 0404 0404 0202 0202 0000 f7df 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637 
+4500 0054 3fd5 4000 ff01 23c5 0a0a 0a01 0202 0202 0000 f7df 6220 0000 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637

-4500 0054 8bc1 0000 ff01 17d9 0202 0202 0a0a 0a01 0800 efde 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637 
+4500 0054 8bc1 0000 ff01 23dc 0202 0202 0404 0404 0800 efde 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637

-4500 0054 3fd5 4000 ff01 2fc8 0404 0404 0202 0202 0000 f7de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637 
+4500 0054 3fd5 4000 ff01 23c5 0a0a 0a01 0202 0202 0000 f7de 6220 0001 3f6f 6e80 000b 0d02 0809 0a0b 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637

  -------------------------------
--- expected/ni23       2007-05-01 22:08:49.000000000 +0300
+++ results/ni23        2007-05-16 14:27:06.000000000 +0300
@@ -2,7 +2,7 @@
  ip #0 28(20) 17 2.2.2.2,4500 > 3.3.3.1,6700
  ip #0 28(20) 17 1.1.2.3,4500 > 3.3.3.1,6700
  List of active MAP/Redirect filters:
-rdr le0,bge0 1.1.0.0/16 -> 2.2.2.2 ip
+rdr le0,bge0 1.1.0.0/16 -> 2.2.2.2 hopopt
  map hme0,ppp0 3.3.3.0/24 -> 4.4.4.4/32

  List of active sessions:
--- expected/in2        2007-05-01 22:08:47.000000000 +0300
+++ results/in2 2007-05-16 14:27:06.000000000 +0300
@@ -66,6 +66,6 @@
  rdr ge0 9.8.7.6/32 port 21 -> 1.1.1.1 port 21 tcp proxy ftp
  rdr le0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1 port 5555 tcp
  rdr le0 9.8.7.6/32 port 1000-2000 -> 1.1.1.1 port = 5555 tcp
-rdr le0 0.0.0.0/0 -> 254.220.186.152 ip
-rdr le0 0.0.0.0/0 -> 254.220.186.152,254.220.186.152 ip
+rdr le0 0.0.0.0/0 -> 254.220.186.152 hopopt
+rdr le0 0.0.0.0/0 -> 254.220.186.152,254.220.186.152 hopopt
  rdr adsl0,ppp0 0.0.0.0/0 port 25 -> 127.0.0.1 port 25 tcp
--- expected/l1 2007-05-01 22:08:48.000000000 +0300
+++ results/l1  2007-05-16 14:27:06.000000000 +0300
@@ -6,7 +6,7 @@
  01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
  01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
  01/01/1970 00:00:00.000000 2x anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
-01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
+01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR hopopt len 20 (20) IN
  01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
  01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 PR udp len 20 28 IN
  --------
@@ -17,7 +17,7 @@
  pass in log body quick from 2.2.2.2 to any
  01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,25 -> 1.1.1.1,1025 PR tcp len 20 40 -AS IN
  01/01/1970 00:00:00.000000 2x anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
-01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
+01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2 -> 4.4.4.4 PR hopopt len 20 (20) IN
  --------
  pass in log quick proto tcp from 1.1.1.1 to any flags S keep state
  01/01/1970 00:00:00.000000 anon0 @0:1 p 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S K-S IN
@@ -41,8 +41,8 @@
  01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
  01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
  01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
-01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
-01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
+01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR hopopt len 20 (20) IN
+01/01/1970 00:00:00.000000 anon0 @0:3 p 2.2.2.2 -> 4.4.4.4 PR hopopt len 20 (20) IN
  01/01/1970 00:00:00.000000 anon0 @-1:-1 L 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
  01/01/1970 00:00:00.000000 anon0 @100:1 p 3.3.3.3,1023 -> 1.1.1.1,2049 PR udp len 20 28 IN
  01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,2049 -> 3.3.3.3,1023 PR udp len 20 28 IN