Problemas al comp. Kernel con soporte para enmascarar IP
Hola:
Bueno, estoy requemado :-)
Llevó casí el día intentando compilar un kernel que contenga entre
Opciones para red
necesarias para poder configurar luego un cortafuegos con ipchains.
Por lo tanto elegí estás opciones:
<*> Packet socket
[ ] Kernel/User netlink socket
[*] Network firewalls
[*] Socket Filtering
<*> Unix domain sockets
[*] TCP/IP networking
[ ] IP: multicasting
[ ] IP: advanced router
[ ] IP: kernel-level configuration support
[*] IP: firewalling (NEW)
[*] IP: transparent proxy support (NEW)
[*] IP: masquerading (NEW)
--- Protocol-specific masquerading support will be built as
modules.
[*] IP: ICMP masquerading (NEW)
--- Protocol-specific masquerading support will be built as
modules.
[*] IP: masquerading special modules support (NEW)
<M> IP: ipautofw masq support (EXPERIMENTAL) (NEW)
<M> IP: ipportfw masq support (EXPERIMENTAL) (NEW)
<M> IP: ip fwmark masq-forwarding support (EXPERIMENTAL) (NEW)
[ ] IP: optimize as router not host
< > IP: tunneling
< > IP: GRE tunnels over IP
[ ] IP: aliasing support
[*] IP: TCP syncookie support (not enabled per default)
--- (it is safe to leave these untouched)
<M> IP: Reverse ARP
[ ] IP: Allow large windows (not recommended if <16Mb of
memory)
< > The IPv6 protocol (EXPERIMENTAL) (NEW)
---
< > The IPX protocol
< > Appletalk DDP
< > CCITT X.25 Packet Layer (EXPERIMENTAL) (NEW)
< > LAPB Data Link Driver (EXPERIMENTAL) (NEW)
[ ] Bridging (EXPERIMENTAL) (NEW)
[ ] Frame Diverter (EXPERIMENTAL) (NEW)
[ ] 802.2 LLC (EXPERIMENTAL) (NEW)
< > Acorn Econet/AUN protocols (EXPERIMENTAL) (NEW)
< > WAN router (NEW)
[ ] Fast switching (read help!) (NEW)
[ ] Forwarding between high speed interfaces (NEW)
-----------------------------------
Ahora el tema es que luego de hacer make dep, make clean y make
bzImage...
obtengo este error al intentar compilar:
make -C ipv4
make[2]: Entering directory `/usr/src/linux/net/ipv4'
make all_targets
make[3]: Entering directory `/usr/src/linux/net/ipv4'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -DEXPORT_SYMTAB -c ip_masq.c
ip_masq.c: In function `ip_fw_masquerade':
ip_masq.c:1297: structure has no member named `fwmark'
ip_masq.c:1298: structure has no member named `fwmark'
make[3]: *** [ip_masq.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_dir_net] Error 2
---------------------------------------------------------------------
Ya probé quitando opciones, pero nada... sigo igual, pregunta ¿Qué tengo
mal?
Ayuda!!!
;-)
Gracias
Andrés
Reply to: