Hi again,
After applying the pkt.c patch for pfil-2.1.11 for Solaris 7
(SPARC/32bit), suggested and kindly provided by Hans Werner Strube
(please see http://marc.theaimsgroup.com/?t=115307303000002&r=1&w=2),
I've now managed to successfully compile and build the pfil package
under Solaris 7.
Now I'm stuck on another issue when installing the pfil[.pkg] package
with pkgadd. Please see the included commands and output below. I once
again would appreciate Your kind advise on how to circumvent this issue.
BTW, I found http://marc.theaimsgroup.com/?t=115013542500009&r=1&w=2
which, at least to my understanding, recommended using pfil-2.1.11 (i.e.
the one I'm using) instead of pfil-2.1.10. This was supposed to resolve
the issue, at least for Solaris 8. To my understanding though, this
doesn't seem to work w/ Solaris 7 :-(
And I see similar messages in the sys log, i.e.:
> Jul 17 12:33:15 somehost unix: pseudo-device: devinfo0
> Jul 17 12:33:15 somehost unix: devinfo0 is /pseudo/[EMAIL PROTECTED]
> Jul 17 12:33:16 somehost unix: /kernel/drv/pfil: undefined symbol
'ire_refrele'
> Jul 17 12:33:16 somehost unix: WARNING: mod_load: cannot load module
'pfil'
Thank You again for Your kind support!
// Rolf
# pwd
Path is : /tmp
#
# isainfo -vk
32-bit sparc kernel modules
# uname -a
SunOS somehost 5.7 Generic_106541-25 sun4m sparc SUNW,SPARCstation-5
#
#
# ls -ald pfil.pkg
-rw-r--r-- 1 root other 68608 Jul 17 12:24 pfil.pkg
lavahost(59)#
lavahost(59)# pkgadd -d pfil.pkg
The following packages are available:
1 pfil Packet Filtering Interface
(sparc) 2.1.11,REV=12:24:14 07/17/06
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <pfil> from </tmp/pfil.pkg>
Packet Filtering Interface
(sparc) 2.1.11,REV=12:24:14 07/17/06
This software is copyright to Darren Reed.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
11 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <pfil> [y,n,?] y
Installing Packet Filtering Interface as <pfil>
## Executing preinstall script.
## Installing part 1 of 1.
/etc/init.d/pfil
/kernel/drv/pfil
/kernel/drv/pfil.conf
/usr/include/net/pfil.h
/usr/include/net/qif.h
[ verifying class <none> ]
/etc/rc2.d/S10pfil <linked pathname>
/etc/rcS.d/S10pfil <linked pathname>
/kernel/strmod/pfil <linked pathname>
## Executing postinstall script.
devfsadm: driver failed to attach: pfil
Warning: Driver (pfil) successfully added to system but failed to attach
grep: can't open "//etc/opt/pfil/iu.ap"
No services defined
Installation of <pfil> was successful.
#
PS: After postinstall /etc/opt/pfil/iu.ap *does exist* and defines the
le interface.
___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_