[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]