> Shoot!

Well, per Frank's otherwise good advise, I removed the package and then
dowloaded the latest IPF version from
http://anders.fix.no/solaris/pkg/sol8/sparc32-64/
(ipf-3.4.27-sol8-sparc32-64.gz) and successfully installed it with a pkgadd
command, but it did not install ipnat.  I make this statement because I see
no /dev/ipnat (device?  file?).  As before, and thankfully,  ipf.conf does
work.

I shall state another thing, just in case it is relevant.  As one can see
below, when prompted to install ipf or ipfx, I only chose ipfx since ipfx is
in 64-bit mode and my kernal is only running in 32-bit mode.

In case one is interested, here is the output when I installed the package.

[root@cassie /export/home/esauer/ipfilter]# pkgadd -d
ipf-3.4.27-sol8-sparc32-64


The following packages are available:
  1  ipf      IP Filter
              (sparc) 3.4.27
  2  ipfx     IP Filter (64-bit)
              (sparc) 3.4.27

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance <ipf> from
</export/home/esauer/ipfilter/ipf-3.4.27-
sol8-sparc32-64>

IP Filter
(sparc) 3.4.27

Copyright (C) 1993-2001 by Darren Reed.

The author accepts no responsibility for the use of this software and
provides it on an ``as is'' basis without express or implied warranty.

Redistribution and use in source and binary forms are permitted
provided that this notice is preserved and due credit is given
to the original author and the contributors.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I hate legaleese, don't you ?

## Processing package information.
## Processing system information.
   15 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
* /etc/opt/ipf <attribute change only>

* - conflict with a file which does not belong to any package.

Do you want to install these conflicting files [y,n,?,q] y
## 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 <ipf> [y,n,?] y

Installing IP Filter as <ipf>

## Installing part 1 of 1.
/etc/init.d/ipfboot
/opt/ipf/bin/ipftest
/opt/ipf/bin/ipmon <symbolic link>
/opt/ipf/bin/ipresend
/opt/ipf/bin/ipsend
/opt/ipf/bin/mkfilters
/opt/ipf/examples/BASIC.NAT
/opt/ipf/examples/BASIC_1.FW
/opt/ipf/examples/BASIC_2.FW
/opt/ipf/examples/example.1
/opt/ipf/examples/example.10
/opt/ipf/examples/example.11
/opt/ipf/examples/example.12
/opt/ipf/examples/example.13
/opt/ipf/examples/example.2
/opt/ipf/examples/example.3
/opt/ipf/examples/example.4
/opt/ipf/examples/example.5
/opt/ipf/examples/example.6
/opt/ipf/examples/example.7
/opt/ipf/examples/example.8
/opt/ipf/examples/example.9
/opt/ipf/examples/example.sr
/opt/ipf/examples/firewall
/opt/ipf/examples/ftp-proxy
/opt/ipf/examples/ftppxy
/opt/ipf/examples/nat-setup
/opt/ipf/examples/nat.eg
/opt/ipf/examples/server
/opt/ipf/examples/tcpstate
/opt/ipf/man/man1/ipftest.1
/opt/ipf/man/man1/mkfilters.1
/opt/ipf/man/man4/ipf.4
/opt/ipf/man/man4/ipl.4
/opt/ipf/man/man4/ipnat.4
/opt/ipf/man/man5/ipf.5
/opt/ipf/man/man5/ipnat.5
/opt/ipf/man/man8/ipf.8
/opt/ipf/man/man8/ipfs.8
/opt/ipf/man/man8/ipfstat.8
/opt/ipf/man/man8/ipmon.8
/opt/ipf/man/man8/ipnat.8
/sbin/ipf <symbolic link>
/sbin/ipfs <symbolic link>
/sbin/ipfstat <symbolic link>
/sbin/ipnat <symbolic link>
/usr/include/netinet/ip_auth.h
/usr/include/netinet/ip_compat.h
/usr/include/netinet/ip_fil.h
/usr/include/netinet/ip_frag.h
/usr/include/netinet/ip_nat.h
/usr/include/netinet/ip_proxy.h
/usr/include/netinet/ip_state.h
/usr/kernel/drv/ipf
/usr/kernel/drv/ipf.conf
/usr/sbin/sparcv7/ipf
/usr/sbin/sparcv7/ipfs
/usr/sbin/sparcv7/ipfstat
/usr/sbin/sparcv7/ipmon
/usr/sbin/sparcv7/ipnat
[ verifying class <none> ]
/etc/rc2.d/S65ipfboot <linked pathname>
/usr/sbin/ipf <linked pathname>
/usr/sbin/ipfs <linked pathname>
/usr/sbin/ipfstat <linked pathname>
/usr/sbin/ipmon <linked pathname>
/usr/sbin/ipnat <linked pathname>
## Executing postinstall script.
May  5 10:19:25 unknown ipf: IP Filter: attach to [hme0,0] - IPv4
May  5 10:19:25 unknown ipf: IP Filter: v3.4.27, attaching complete.

Installation of <ipf> was successful.

> ----- Original Message -----
> From: "Frank Lewandowski" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, May 04, 2002 11:22 PM
> Subject: RE: Solaris 8 with no IPnat
>
> > Hi Eric,
> >
> > The installation you chose is for Solaris 2.x versions, so all prior to
> > version 7, as you can see from your uname output, you run Solaris 5.8,
> > which is 8 in fact, most installation/build files are called "Solaris",
> > not "sol2", this indicates older builds of Solaris.
> >
> > For Solaris 8, you can get pre-built versions on www.sunfreeware.com,
> > choose "Solaris 8" on top right frame, or you go to
> > http://anders.fix.no/solaris/pkg/sol8/sparc32-64/ , where you find more
> > pre-builds for Solaris 8, including the current IPFilter version in
> > 32/64 bit, I used this one, and it runs perfect for me, including NAT.
> >
> > You may read through your "INSTALL.Sol2" and "INSTALL.solaris" files to
> > find more details about the differences.
> >
> > Cheers, Frank
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On Behalf Of Eric A. Sauer
> > Sent: Saturday, May 04, 2002 11:38 PM
> > To: [EMAIL PROTECTED]
> > Subject: Solaris 8 with no IPnat
> >
> >
> > [Hello:
> >
> > I am running, as indicated below, Solaris 8 on an Ultra 5 machine and I
> > am attempting to use IP Filter 3.4.25.  I followed the directions for
> > installation per the file "INSTALL.Sol2" and the installation appeared
> > to go smoothly (ipf.conf appears to be working); however, I did not get
> > /dev/ipnat and as one can imagine am unable to run ipnat.  Per the FAQ
> > directions, I am including the designated commands and their output.
> >
> > Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
> > # uname -a
> > SunOS unknown 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10
> > # isainfo -vk
> > 32-bit sparc kernel modules
> > # ifconfig -a
> > lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
> >         inet 127.0.0.1 netmask ff000000
> > hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
> > 2
> >         inet 12.253.225.130 netmask fffffc00 broadcast 12.253.227.255
> >         ether 8:0:20:b9:38:5d
> > # netstat -rn
> >
> > Routing Table: IPv4
> >   Destination           Gateway           Flags  Ref   Use   Interface
> > -------------------- -------------------- ----- ----- ------ ---------
> > 12.253.224.0         12.253.225.130        U        1      3  hme0
> > default              12.253.224.1          UG       1     23
> > 127.0.0.1            127.0.0.1             UH      22   6454  lo0
> > # netstat -i
> > Name  Mtu  Net/Dest      Address        Ipkts  Ierrs Opkts  Oerrs Collis
> > Queue
> > lo0   8232 loopback      localhost      6482   0     6482   0     0
> > 0
> > hme0  1500 dhcp-87-4618  dhcp-87-4618   4803   0     796    0     20
> > 0
> >
> > # netstat -s -P ip
> >
> >
> > IPv4    ipForwarding        =     2     ipDefaultTTL        =   255
> >         ipInReceives        =   828     ipInHdrErrors       =     0
> >         ipInAddrErrors      =     0     ipInCksumErrs       =     0
> >         ipForwDatagrams     =     0     ipForwProhibits     =     0
> >         ipInUnknownProtos   =     0     ipInDiscards        =     0
> >         ipInDelivers        =  7360     ipOutRequests       =   791
> >         ipOutDiscards       =     0     ipOutNoRoutes       =     0
> >         ipReasmTimeout      =    60     ipReasmReqds        =     0
> >         ipReasmOKs          =     0     ipReasmFails        =     0
> >         ipReasmDuplicates   =     0     ipReasmPartDups     =     0
> >         ipFragOKs           =     0     ipFragFails         =     0
> >         ipFragCreates       =     0     ipRoutingDiscards   =     0
> >         tcpInErrs           =     0     udpNoPorts          =     0
> >         udpInCksumErrs      =     0     udpInOverflows      =     0
> >         rawipInOverflows    =     0     ipsecInSucceeded    =     0
> >         ipsecInFailed       =     0     ipInIPv6            =     0
> >         ipOutIPv6           =     0     ipOutSwitchIPv6     =     1
> > # ipf -V
> > ipf: IP Filter: v3.4.25 (432)
> > Kernel: IP Filter: v3.4.25
> > Running: yes
> > Log Flags: 0 = none set
> > Default: pass all, Logging: available
> > Active list: 1
> > # ipfstat
> > dropped packets:        in 0    out 0
> > non-data packets:       in 5    out 5
> > no-data packets:        in 0    out 0
> > non-ip packets:         in 0    out 0
> >    bad packets:         in 0    out 0
> > copied messages:        in 0    out 126
> >  IPv6 packets:          in 0 out 0
> >  input packets:         blocked 66 passed 828 nomatch 0 counted 0 short
> > 0
> > output packets:         blocked 0 passed 791 nomatch 0 counted 0 short 0
> >
> >  input packets logged:  blocked 4 passed 0
> > output packets logged:  blocked 0 passed 0
> >  packets logged:        input 0 output 0
> >  log failures:          input 0 output 0
> > fragment state(in):     kept 0  lost 0
> > fragment state(out):    kept 0  lost 0
> > packet state(in):       kept 0  lost 0
> > packet state(out):      kept 133        lost 0
> > ICMP replies:   0       TCP RSTs sent:  0
> > Invalid source(in):     0
> > Result cache hits(in):  60      (out):  0
> > IN Pullups succeeded:   0       failed: 0
> > OUT Pullups succeeded:  0       failed: 0
> > Fastroute successes:    0       failures:       0
> > TCP cksum fails(in):    0       (out):  0
> > Packet log flags set: (0)
> >         none
> > # ipfstat -io
> > pass out quick on hme0 proto tcp from 12.253.225.130/32 to any keep
> > state
> > pass out quick on hme0 proto udp from 12.253.225.130/32 to any keep
> > state
> > pass out quick on hme0 proto icmp from 12.253.225.130/32 to any keep
> > state
> > block in quick on hme0 from any to 255.255.255.255/32
> > pass in quick on hme0 from 12.253.227.119/32 to any
> > block return-rst in log proto tcp from any to 12.253.225.130/32
> > block return-icmp-as-dest(port-unr) in log on hme0 proto udp from any to
> > 12.253.225.130/32
> > block in log quick on hme0 from any to any
> > # ipnat -slv
> > /dev/ipnat: open: No such file or directory
> >
> > Please advise.  Thank you.
> >
> > Eric Sauer]
> >
> >

Reply via email to