LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-12-2005, 04:01 AM   #1
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Rep: Reputation: 15
can delete Iptable and reinstall?


can i delete the iptable version 1.2.11 and install version 1.2.9?
how to do that???
is it fedora core 2 only can use iptable 1.2.9?
iptable 1.2.11 is not compatible with fedora core 2?


can guide me?

thanks...
 
Old 01-12-2005, 05:01 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you can do that, but is there any reason you would want to downgrade your firewall ?

uninstall the RPM, then either find an onder version in RPM form, or download the iptables source code of that version and use the usuan, configure, amke, make install.

iptables is actually just an interface to the real firewall built into the kernel.
im not sure what you are trying to acumplish.

Last edited by qwijibow; 01-12-2005 at 05:03 AM.
 
Old 01-12-2005, 05:34 AM   #3
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
It is because when i try to run the bandwidth allocation script from
http://l7-filter.sourceforge.net/L7-Netfilter-example
it promt out the message:

iptables v1.2.11: Couldn't load match 'layer7':/usr/local/lib/iptables/libipt_layer7.so:cannot open shared object file:No such file or directory

so my friend said that the iptabels v1.2.11 is only for fedora core 3,
on the other hand, fedora core 2 should use iptabels v1.2.9. ( i am using fedora core 2).
 
Old 01-12-2005, 05:37 AM   #4
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
i have tried to uninstall using rpm -e
but there is an error message :

error: Failed dependencies:
iptables >= 1.2.8 is needed by (installed) system-config-securitylevel-tui-1.3.12-1

what error is that?
 
Old 01-12-2005, 10:38 AM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
the package system-config-securitylevel-tui-1.3.12-1 NEEDS a firewall.

but you can ignore this error message as you are going to replace a irewall, you can force an uninstall with "rpm -e --nodeps"

that script SHOULD work with your firewall, minor version number like that are usuallt just bug fixes.. im which case downgrading is not a good idea.
 
Old 01-12-2005, 08:30 PM   #6
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
che wan,
this is the list...

[root@jin root]# ls /usr/local/lib/iptables/

libip6t_HL.so libipt_MARK.so libipt_helper.so
libip6t_LOG.so libipt_MASQUERADE.so libipt_icmp.so
libip6t_MARK.so libipt_MIRROR.so libipt_iprange.so
libip6t_TRACE.so libipt_NETMAP.so libipt_length.so
libip6t_eui64.so libipt_NOTRACK.so libipt_limit.so
libip6t_hl.so libipt_REDIRECT.so libipt_mac.so
libip6t_icmpv6.so libipt_REJECT.so libipt_mark.so
libip6t_length.so libipt_SAME.so libipt_multiport.so
libip6t_limit.so libipt_SNAT.so libipt_owner.so
libip6t_mac.so libipt_TARPIT.so libipt_physdev.so
libip6t_mark.so libipt_TCPMSS.so libipt_pkttype.so
libip6t_multiport.so libipt_TOS.so libipt_realm.so
libip6t_owner.so libipt_TRACE.so libipt_rpc.so
libip6t_standard.so libipt_TTL.so libipt_sctp.so
libip6t_tcp.so libipt_ULOG.so libipt_standard.so
libip6t_udp.so libipt_ah.so libipt_state.so
libipt_CLASSIFY.so libipt_connlimit.so libipt_tcp.so
libipt_CONNMARK.so libipt_connmark.so libipt_tcpmss.so
libipt_DNAT.so libipt_conntrack.so libipt_tos.so
libipt_DSCP.so libipt_dscp.so libipt_ttl.so
libipt_ECN.so libipt_ecn.so libipt_udp.so
libipt_LOG.so libipt_esp.so libipt_unclean.so
 
Old 01-12-2005, 08:50 PM   #7
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
this is the error i face :

[root@jin iptables-1.2.9]# make KERNEL_DIR=/usr/src/linux-2.6.5-1.358
Extensions found: IPv4:layer7 IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/linux-2.6.5-1.358/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.cIn file included from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4.h:8,
from /usr/src/linux-2.6.5-1.358/include/linux/netfilter_ipv4/ip_tables.h:25,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/usr/src/linux-2.6.5-1.358/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] Error 1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM
Will Reinstall delete /home? crayiii Mandriva 1 01-03-2004 11:58 AM
i thought delete/reinstall would fix it, guess not...(xine on mandrake 9.0) sirpelidor Linux - Newbie 3 11-06-2003 11:57 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration