Linux Netfilter discussions
 help / color / mirror / Atom feed
* ip_tables.o not loading - nf_unregister_sockopt error
@ 2003-09-02 19:03 Doc Nielsen
  2003-09-08  6:06 ` Dharmendra.T
  0 siblings, 1 reply; 3+ messages in thread
From: Doc Nielsen @ 2003-09-02 19:03 UTC (permalink / raw)
  To: netfilter

hey guys

Im having some trouble compiling and using iptables/netfilter
Its enabled in the kernel, and the modules are there, but when I try to load
them I get this:

root@server:~# modprobe ip_tables
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol
nf_unregister_sockopt
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol
nf_register_sockopt
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables
failed

What am I doing wrong?

Please CC mail directly to me, as Im not subscribed to the list.
And yes, I have browsed the archives with no luck.

- Doc



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ip_tables.o not loading - nf_unregister_sockopt error
  2003-09-02 19:03 ip_tables.o not loading - nf_unregister_sockopt error Doc Nielsen
@ 2003-09-08  6:06 ` Dharmendra.T
  2003-09-08 12:46   ` ip_tables.o not loading - nf_unregister_sockopt error [FIXED] Doc Nielsen
  0 siblings, 1 reply; 3+ messages in thread
From: Dharmendra.T @ 2003-09-08  6:06 UTC (permalink / raw)
  To: Doc Nielsen; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]

On Wed, 2003-09-03 at 00:33, Doc Nielsen wrote:

    hey guys
    
    Im having some trouble compiling and using iptables/netfilter
    Its enabled in the kernel, and the modules are there, but when I try to load
    them I get this:
    
    root@server:~# modprobe ip_tables
    /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol
    nf_unregister_sockopt
    /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol
    nf_register_sockopt
    /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod
    /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed
    /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables
    failed
    
    What am I doing wrong?
    
    Please CC mail directly to me, as Im not subscribed to the list.
    And yes, I have browsed the archives with no luck.
    
    - Doc
    
    Could you tell me how you have compiled your kernel?

-- 
Regards
Dharmendra.T
dharmu@nsecure.net
Linux Security and Admin

[-- Attachment #2: Type: text/html, Size: 2656 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ip_tables.o not loading - nf_unregister_sockopt error [FIXED]
  2003-09-08  6:06 ` Dharmendra.T
@ 2003-09-08 12:46   ` Doc Nielsen
  0 siblings, 0 replies; 3+ messages in thread
From: Doc Nielsen @ 2003-09-08 12:46 UTC (permalink / raw)
  To: Dharmendra.T; +Cc: netfilter

On Monday 08 September 2003 08:06, Dharmendra.T wrote:
> On Wed, 2003-09-03 at 00:33, Doc Nielsen wrote:
>>
>>     hey guys
>>
>>     Im having some trouble compiling and using iptables/netfilter
>>     Its enabled in the kernel, and the modules are there, but when I try to
>> load them I get this:
>>
>>     root@server:~# modprobe ip_tables
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved
>> symbol nf_unregister_sockopt
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved
>> symbol nf_register_sockopt
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod
>> ip_tables failed
>>
>>     What am I doing wrong?
>>
>>     Please CC mail directly to me, as Im not subscribed to the list.
>>     And yes, I have browsed the archives with no luck.
>>
>>     - Doc
>
>     Could you tell me how you have compiled your kernel?

It's the debian kernel-source-2.4.20.deb
make menuconfig && make dep && make bzlilo modules modules_install

A complete recompile solved the problem, or went around it...

cp /usr/src/kernel-source-2.4.20/.config /usr/src/config.txt
rm -rf /usr/src/kernel-source-2.4.20 
tar xjf kernel-source-2.4.20.tar.bz2
cp /usr/src/config.txt /usr/src/kernel-source-2.4.20/.config
cd /usr/src/kernel-source-2.4.20/
make menuconfig && make dep && make bzlilo modules modules_install

- Doc



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-08 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-02 19:03 ip_tables.o not loading - nf_unregister_sockopt error Doc Nielsen
2003-09-08  6:06 ` Dharmendra.T
2003-09-08 12:46   ` ip_tables.o not loading - nf_unregister_sockopt error [FIXED] Doc Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox