Netfilter Upgrade
Justin Porteous
justin@mercdata.co.za
Wed, 17 Oct 2001 14:04:58 +0200
[root@popcorn utils]# rpm -Uhv iptables-1.2.3-2.i386.rpm
error: failed dependencies:
iptables = 1.2.1a is needed by iptables-ipv6-1.2.1a-1
OR
[root@popcorn utils]# rpm -Uhv iptables-1.2.3-2.i386.rpm --nodeps
Preparing... ###########################################
[100%]
1:iptables ###########################################
[100%]
service iptables does not support chkconfig
error: execution of %post scriptlet from iptables-1.2.3-2 failed, exit
status 1
OR
[root@popcorn utils]# rpm -ivh iptables-1.2.3-2.i386.rpm --force
Preparing... ###########################################
[100%]
1:iptables ###########################################
[100%]
service iptables does not support chkconfig
error: execution of %post scriptlet from iptables-1.2.3-2 failed, exit
status 1
-----Original Message-----
From: Wolfgang Pichler [mailto:wpichler@dialog-gruppe.at]
Sent: Wednesday, October 17, 2001 2:16 PM
To: iptables maillinglist
Subject: AW: Netfilter Upgrade
How about rpm -ivh iptables-1.2.3-2.i386.rpm --force ?
-----Ursprüngliche Nachricht-----
Von: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org]Im Auftrag von Justin Porteous
Gesendet: Mittwoch, 17. Oktober 2001 13:33
An: 'netfilter@lists.samba.org.'
Betreff: Netfilter Upgrade
Hi
I've installed Red Hat 7.1
I've been using ipchains till now, and have decided to go with iptables
instead.
it was complaining about something about device not ready ect ect, and
somethnig about insmod... ?
then I went into ntsysv (or setup / services) and disabled ipchains and
left iptables there
My version is :
[root@popcorn /]# iptables --version
iptables v1.2.1a
How do I up grade b'cos
[root@popcorn utils]# rpm -i iptables-1.2.3-2.i386.rpm
file /lib/iptables/libipt_DNAT.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_FTOS.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_LOG.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_MARK.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_MASQUERADE.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_MIRROR.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_REDIRECT.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_REJECT.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_SNAT.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_TCPMSS.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_TOS.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_TTL.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_ULOG.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_ah.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_esp.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_icmp.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_iplimit.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_limit.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_mac.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_mark.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_multiport.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_owner.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_standard.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_state.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_tcp.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_tcpmss.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_tos.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_ttl.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_udp.so from install of iptables-1.2.3-2 conflicts
with file from package iptables-1.2.1a-1
file /lib/iptables/libipt_unclean.so from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /sbin/iptables from install of iptables-1.2.3-2 conflicts with file
from package iptables-1.2.1a-1
file /sbin/iptables-restore from install of iptables-1.2.3-2 conflicts with
file from package iptables-1.2.1a-1
file /sbin/iptables-save from install of iptables-1.2.3-2 conflicts with
file from package iptables-1.2.1a-1
file /usr/share/man/man8/iptables-restore.8.gz from install of
iptables-1.2.3-2 conflicts with file from package iptables-1.2.1a-1
file /usr/share/man/man8/iptables-save.8.gz from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
file /usr/share/man/man8/iptables.8.gz from install of iptables-1.2.3-2
conflicts with file from package iptables-1.2.1a-1
How doI check if it works?
My List
[root@popcorn /]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:rsync
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
state NEW
REJECT tcp -- anywhere anywhere reject-with
tcp-reset
REJECT udp -- anywhere anywhere reject-with
icmp-port-unreachable
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:rsync
state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
state NEW
REJECT tcp -- anywhere anywhere reject-with
tcp-reset
REJECT udp -- anywhere anywhere reject-with
icmp-port-unreachable
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Regards,
Justin Porteous
IT Administor
Mercedes Datakor PTY LTD
Tel (011) 654-9030
Fax (011) 654-9200
Cell (082) 346-6600