View previous topic :: View next topic |
Author |
Message |
shash Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Apr 2003 Posts: 220 Location: India
|
Posted: Thu Sep 18, 2003 3:22 pm Post subject: iptables and the kernel - unresolved symbols |
|
|
I'm having a very painful problem right about now. My need is to set up a NAT server and a firewall for my little LAN. So, I installed iptables.
Trouble is, when I try to load iptables, it gives me unresolved symbols in iptables.o. The symbols are nf_unregister_sockopt and nf_register_sockopt. I assumed that I had compiled the kernel wrong, and that the error points to netfilter, but I'm not able to find the actual fault.
Does anyone know how to work this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lord Tocharian Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/716004673edcc390768cf.jpg)
Joined: 11 Mar 2003 Posts: 75
|
Posted: Thu Sep 18, 2003 4:36 pm Post subject: |
|
|
Can you post the relevant part of your kernel config? It appears that your kernel was compiled without netfilter support. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ank Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_korgan.gif)
Joined: 06 Aug 2003 Posts: 185 Location: Maribor, Slovenia
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shash Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Apr 2003 Posts: 220 Location: India
|
Posted: Fri Sep 19, 2003 7:58 pm Post subject: |
|
|
I actually followed the instructions from that page to the T when compiling Netlink, and most of it I compiled as hard-code rather than modules for testing, and then as modules again. Didn't make any difference.
I'm going to try with a different kernel version. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ank Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_korgan.gif)
Joined: 06 Aug 2003 Posts: 185 Location: Maribor, Slovenia
|
Posted: Fri Sep 19, 2003 8:27 pm Post subject: |
|
|
If you use Gentoo-Sources kernel, that kernel didn´t work for me either.
When i switch to Grsec-Sources kernel all works fine ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|