Re: 2.4.22: iptables/ipchains conflict
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Kernel > Re: 2.4.22: iptables/ipchains conflict




Pages (5): [1] 2 3 4 5 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM



Here is some make output, to see where it appears.
See how ipchains.o and ipfwadm.o get compiled  in ?





rm -f netfilter.o
ld -m elf_i386  -r -o netfilter.o ip_conntrack.o ip_conntrack_ftp.o
ip_conntrack_irc.o ip_nat_ftp.o
ip_nat_irc.o ip_tables.o iptable_filter.o iptable_mangle.o
iptable_nat.o ipt_helper.o ipt_limit.o
ipt_mark.o ipt_mac.o ipt_pkttype.o ipt_multiport.o ipt_owner.o
ipt_tos.o ipt_ecn.o ipt_dscp.o ipt_ah.o
ipt_esp.o ipt_length.o ipt_ttl.o ipt_state.o ipt_conntrack.o
ipt_unclean.o ipt_tcpmss.o ipt_REJECT.o
ipt_MIRROR.o ipt_TOS.o ipt_ECN.o ipt_DSCP.o ipt_MARK.o
ipt_MASQUERADE.o ipt_REDIRECT.o
ip_nat_snmp_basic.o ipt_LOG.o ipt_ULOG.o ipt_TCPMSS.o arp_tables.o
arptable_filter.o ipchains.o ipfwadm.o
ip_queue.o
ipchains.o(.text.init+0x70): In function `ip_conntrack_init':
: multiple definition of `ip_conntrack_init'
ip_conntrack.o(.text.init+0x10): first defined here
ipchains.o(.text+0x83b0): In function `ip_nat_cleanup':
: multiple definition of `ip_nat_cleanup'
iptable_nat.o(.text+0x27b0): first defined here
ipchains.o(.text+0x7910): In function `place_in_hashes':
: multiple definition of `place_in_hashes'
iptable_nat.o(.text+0x1d10): first defined here






[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

On Tue, 23 Sep 2003 16:13:04 +0200, the right honourable "J.O. Aho"
<user@example.net> wrote:
quote:
>€®ik wrote: > >ipchain is only in the kernel for backward compability, for networking to g et >work I guess you must have iptables in one or another way. >I do suggest you do switch to iptables, as most of the modules for ipchains is >kernel 2.2 only. > > > //Aho
yes, sure, but when I do that, I get multiple definitions errors like a waterfall... The point is, you can have both ipchains and iptables when compiling them as modules. But when compiling IPtables into the kernel, you must exclude Ipchains. This exlcuding is done automatically in menuconfig. I think incorrectly, because when you do that in 2.4.22, you get multiple definitions of a lot of variable.. frgr Erik




[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

On Tue, 23 Sep 2003 16:13:04 +0200, the right honourable "J.O. Aho"
<user@example.net> wrote:
quote:
>€®ik wrote: > >ipchain is only in the kernel for backward compability, for networking to g et >work I guess you must have iptables in one or another way. >I do suggest you do switch to iptables, as most of the modules for ipchains is >kernel 2.2 only. > > > //Aho
yes, sure, but when I do that, I get multiple definitions errors like a waterfall... The point is, you can have both ipchains and iptables when compiling them as modules. But when compiling IPtables into the kernel, you must exclude Ipchains. This exlcuding is done automatically in menuconfig. I think incorrectly, because when you do that in 2.4.22, you get multiple definitions of a lot of variable.. frgr Erik




[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

On Tue, 23 Sep 2003 16:13:04 +0200, the right honourable "J.O. Aho"
<user@example.net> wrote:
quote:
>€®ik wrote: > >ipchain is only in the kernel for backward compability, for networking to g et >work I guess you must have iptables in one or another way. >I do suggest you do switch to iptables, as most of the modules for ipchains is >kernel 2.2 only. > > > //Aho
yes, sure, but when I do that, I get multiple definitions errors like a waterfall... The point is, you can have both ipchains and iptables when compiling them as modules. But when compiling IPtables into the kernel, you must exclude Ipchains. This exlcuding is done automatically in menuconfig. I think incorrectly, because when you do that in 2.4.22, you get multiple definitions of a lot of variable.. frgr Erik




[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

right now, i'm trying the 2.4.23-pre5 patches.






[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

right now, i'm trying the 2.4.23-pre5 patches.






[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
€®ik


Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

right now, i'm trying the 2.4.23-pre5 patches.






[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
J.O. Aho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

€®ik wrote:
quote:
> yes, sure, but when I do that, I get multiple definitions errors like > a waterfall... > The point is, you can have both ipchains and iptables when compiling > them as modules. But when compiling IPtables into the kernel, you must > exclude Ipchains. > This exlcuding is done automatically in menuconfig. > I think incorrectly, because when you do that in 2.4.22, you get > multiple definitions of a lot of variable..
Maybe the .config file don't get clean enough from the ipchain setting, just that the menuconfig (or xconfig) disables ipchain option in the "GUI". Do a bug report (check www.kernel.org to how to do that). I don't see the point of having both compiled into the kernel, as you can't use both at the same time. While when you have modules, you can choose which one to use, but still not be able to use both at the same time. //Aho




[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
J.O. Aho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

€®ik wrote:
quote:
> yes, sure, but when I do that, I get multiple definitions errors like > a waterfall... > The point is, you can have both ipchains and iptables when compiling > them as modules. But when compiling IPtables into the kernel, you must > exclude Ipchains. > This exlcuding is done automatically in menuconfig. > I think incorrectly, because when you do that in 2.4.22, you get > multiple definitions of a lot of variable..
Maybe the .config file don't get clean enough from the ipchain setting, just that the menuconfig (or xconfig) disables ipchain option in the "GUI". Do a bug report (check www.kernel.org to how to do that). I don't see the point of having both compiled into the kernel, as you can't use both at the same time. While when you have modules, you can choose which one to use, but still not be able to use both at the same time. //Aho




[ Post a follow-up to this message ]



    Re: 2.4.22: iptables/ipchains conflict  
J.O. Aho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:26 AM

€®ik wrote:
quote:
> yes, sure, but when I do that, I get multiple definitions errors like > a waterfall... > The point is, you can have both ipchains and iptables when compiling > them as modules. But when compiling IPtables into the kernel, you must > exclude Ipchains. > This exlcuding is done automatically in menuconfig. > I think incorrectly, because when you do that in 2.4.22, you get > multiple definitions of a lot of variable..
Maybe the .config file don't get clean enough from the ipchain setting, just that the menuconfig (or xconfig) disables ipchain option in the "GUI". Do a bug report (check www.kernel.org to how to do that). I don't see the point of having both compiled into the kernel, as you can't use both at the same time. While when you have modules, you can choose which one to use, but still not be able to use both at the same time. //Aho




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:55 PM.      Post New Thread    Post A Reply      
Pages (5): [1] 2 3 4 5 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register