Changeset 5205


Ignore:
Timestamp:
2006-10-18T15:21:13+02:00 (11 years ago)
Author:
nico
Message:

enable native ipsec modules on 2.6, add ipsec kernel modules

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/network.mk

    r5183 r5205  
    3535$(eval $(call KernelPackage,atmtcp)) 
    3636 
     37 
    3738define KernelPackage/ipip 
    3839  TITLE:=IP in IP encapsulation support 
     
    5556  AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4) 
    5657endef 
     58 
     59 
     60define KernelPackage/ipsec 
     61  TITLE:=IPsec related modules (IPv4 and IPv6) 
     62  DESCRIPTION:=\ 
     63        Kernel modules for IPsec support in both IPv4 and IPv6.\\\ 
     64        Includes:\\\ 
     65        - af_key\\\ 
     66        - xfrm_user 
     67  SUBMENU:=$(NSMENU) 
     68  DEPENDS:=@LINUX_2_6 
     69  FILES:=\ 
     70        $(MODULES_DIR)/kernel/net/key/af_key.$(LINUX_KMOD_SUFFIX) \ 
     71        $(MODULES_DIR)/kernel/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX) 
     72endef 
     73$(eval $(call KernelPackage,ipsec)) 
     74 
     75define KernelPackage/ipsec4 
     76  TITLE:=IPsec related modules (IPv4) 
     77  DESCRIPTION:=\ 
     78        Kernel modules for IPsec support in IPv4.\\\ 
     79        Includes:\\\ 
     80        - ah4\\\ 
     81        - esp4\\\ 
     82        - ipcomp\\\ 
     83        - xfrm4_tunnel 
     84  SUBMENU:=$(NSMENU) 
     85  DEPENDS:=kmod-ipsec 
     86  FILES:=\ 
     87        $(MODULES_DIR)/kernel/net/ipv4/{ah4,esp4,ipcomp,xfrm4_tunnel}.$(LINUX_KMOD_SUFFIX) 
     88endef 
     89$(eval $(call KernelPackage,ipsec4)) 
     90 
     91define KernelPackage/ipsec6 
     92  TITLE:=IPsec related modules (IPv6) 
     93  DESCRIPTION:=\ 
     94        Kernel modules for IPsec support in IPv6.\\\ 
     95        Includes:\\\ 
     96        - ah6\\\ 
     97        - esp6\\\ 
     98        - ipcomp6\\\ 
     99        - xfrm6_tunnel 
     100  SUBMENU:=$(NSMENU) 
     101  DEPENDS:=kmod-ipsec 
     102  FILES:=\ 
     103        $(MODULES_DIR)/kernel/net/ipv6/{ah6,esp6,ipcomp6,xfrm6_tunnel}.$(LINUX_KMOD_SUFFIX) 
     104endef 
     105$(eval $(call KernelPackage,ipsec6)) 
     106 
    57107 
    58108define KernelPackage/ipv6 
  • trunk/target/linux/aruba-2.6/config

    r4670 r5205  
    240240CONFIG_PACKET_MMAP=y 
    241241CONFIG_UNIX=y 
    242 # CONFIG_NET_KEY is not set 
     242CONFIG_XFRM=y 
     243CONFIG_XFRM_USER=m 
     244CONFIG_NET_KEY=m 
    243245CONFIG_INET=y 
    244246# CONFIG_IP_MULTICAST is not set 
     
    248250CONFIG_NET_IPIP=m 
    249251# CONFIG_NET_IPGRE is not set 
    250 # CONFIG_IPSEC_NAT_TRAVERSAL is not set 
     252CONFIG_IPSEC_NAT_TRAVERSAL=y 
    251253# CONFIG_ARPD is not set 
    252254# CONFIG_SYN_COOKIES is not set 
    253 # CONFIG_INET_AH is not set 
    254 # CONFIG_INET_ESP is not set 
    255 # CONFIG_INET_IPCOMP is not set 
    256 # CONFIG_INET_XFRM_TUNNEL is not set 
     255CONFIG_INET_AH=m 
     256CONFIG_INET_ESP=m 
     257CONFIG_INET_IPCOMP=m 
     258CONFIG_INET_XFRM_TUNNEL=m 
    257259CONFIG_INET_TUNNEL=m 
    258260# CONFIG_INET_DIAG is not set 
     
    267269# CONFIG_IPV6_PRIVACY is not set 
    268270# CONFIG_IPV6_ROUTER_PREF is not set 
    269 # CONFIG_INET6_AH is not set 
    270 # CONFIG_INET6_ESP is not set 
    271 # CONFIG_INET6_IPCOMP is not set 
    272 # CONFIG_INET6_XFRM_TUNNEL is not set 
     271CONFIG_INET6_AH=m 
     272CONFIG_INET6_ESP=m 
     273CONFIG_INET6_IPCOMP=m 
     274CONFIG_INET6_XFRM_TUNNEL=m 
    273275# CONFIG_INET6_TUNNEL is not set 
    274276# CONFIG_IPV6_TUNNEL is not set 
     
    295297CONFIG_NETFILTER_XT_MATCH_MAC=m 
    296298CONFIG_NETFILTER_XT_MATCH_MARK=m 
     299CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    297300CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m 
    298301# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set 
  • trunk/target/linux/brcm-2.6/config

    r4646 r5205  
    257257CONFIG_PACKET_MMAP=y 
    258258CONFIG_UNIX=y 
    259 # CONFIG_NET_KEY is not set 
     259CONFIG_XFRM=y 
     260CONFIG_XFRM_USER=m 
     261CONFIG_NET_KEY=m 
    260262CONFIG_INET=y 
    261263CONFIG_IP_MULTICAST=y 
     
    277279# CONFIG_ARPD is not set 
    278280# CONFIG_SYN_COOKIES is not set 
    279 # CONFIG_INET_AH is not set 
    280 # CONFIG_INET_ESP is not set 
    281 # CONFIG_INET_IPCOMP is not set 
    282 # CONFIG_INET_XFRM_TUNNEL is not set 
     281CONFIG_INET_AH=m 
     282CONFIG_INET_ESP=m 
     283CONFIG_INET_IPCOMP=m 
     284CONFIG_INET_XFRM_TUNNEL=m 
    283285CONFIG_INET_TUNNEL=m 
    284286CONFIG_INET_DIAG=m 
     
    306308CONFIG_IPV6_ROUTER_PREF=y 
    307309# CONFIG_IPV6_ROUTE_INFO is not set 
    308 # CONFIG_INET6_AH is not set 
    309 # CONFIG_INET6_ESP is not set 
    310 # CONFIG_INET6_IPCOMP is not set 
    311 # CONFIG_INET6_XFRM_TUNNEL is not set 
     310CONFIG_INET6_AH=m 
     311CONFIG_INET6_ESP=m 
     312CONFIG_INET6_IPCOMP=m 
     313CONFIG_INET6_XFRM_TUNNEL=m 
    312314# CONFIG_INET6_TUNNEL is not set 
    313315# CONFIG_IPV6_TUNNEL is not set 
     
    337339CONFIG_NETFILTER_XT_MATCH_MAC=m 
    338340CONFIG_NETFILTER_XT_MATCH_MARK=m 
     341CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    339342CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y 
    340343# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set 
  • trunk/target/linux/magicbox-2.6/config

    r4753 r5205  
    191191CONFIG_PACKET_MMAP=y 
    192192CONFIG_UNIX=y 
    193 # CONFIG_NET_KEY is not set 
     193CONFIG_XFRM=y 
     194CONFIG_XFRM_USER=m 
     195CONFIG_NET_KEY=m 
    194196CONFIG_INET=y 
    195197# CONFIG_IP_MULTICAST is not set 
     
    199201CONFIG_NET_IPIP=m 
    200202# CONFIG_NET_IPGRE is not set 
    201 # CONFIG_IPSEC_NAT_TRAVERSAL is not set 
     203CONFIG_IPSEC_NAT_TRAVERSAL=y 
    202204# CONFIG_ARPD is not set 
    203205# CONFIG_SYN_COOKIES is not set 
    204 # CONFIG_INET_AH is not set 
    205 # CONFIG_INET_ESP is not set 
    206 # CONFIG_INET_IPCOMP is not set 
    207 # CONFIG_INET_XFRM_TUNNEL is not set 
     206CONFIG_INET_AH=m 
     207CONFIG_INET_ESP=m 
     208CONFIG_INET_IPCOMP=m 
     209CONFIG_INET_XFRM_TUNNEL=m 
    208210CONFIG_INET_TUNNEL=m 
    209211# CONFIG_INET_DIAG is not set 
     
    218220# CONFIG_IPV6_PRIVACY is not set 
    219221# CONFIG_IPV6_ROUTER_PREF is not set 
    220 # CONFIG_INET6_AH is not set 
    221 # CONFIG_INET6_ESP is not set 
    222 # CONFIG_INET6_IPCOMP is not set 
    223 # CONFIG_INET6_XFRM_TUNNEL is not set 
     222CONFIG_INET6_AH=m 
     223CONFIG_INET6_ESP=m 
     224CONFIG_INET6_IPCOMP=m 
     225CONFIG_INET6_XFRM_TUNNEL=m 
    224226# CONFIG_INET6_TUNNEL is not set 
    225227# CONFIG_IPV6_TUNNEL is not set 
     
    246248CONFIG_NETFILTER_XT_MATCH_MAC=m 
    247249CONFIG_NETFILTER_XT_MATCH_MARK=m 
     250CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    248251CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m 
    249252# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set 
  • trunk/target/linux/rb532-2.6/config

    r4620 r5205  
    252252CONFIG_PACKET_MMAP=y 
    253253CONFIG_UNIX=y 
    254 # CONFIG_NET_KEY is not set 
     254CONFIG_XFRM=y 
     255CONFIG_XFRM_USER=m 
     256CONFIG_NET_KEY=m 
    255257CONFIG_INET=y 
    256258CONFIG_IP_MULTICAST=y 
     
    272274# CONFIG_ARPD is not set 
    273275# CONFIG_SYN_COOKIES is not set 
    274 # CONFIG_INET_AH is not set 
    275 # CONFIG_INET_ESP is not set 
    276 # CONFIG_INET_IPCOMP is not set 
    277 # CONFIG_INET_XFRM_TUNNEL is not set 
     276CONFIG_INET_AH=m 
     277CONFIG_INET_ESP=m 
     278CONFIG_INET_IPCOMP=m 
     279CONFIG_INET_XFRM_TUNNEL=m 
    278280CONFIG_INET_TUNNEL=m 
    279281CONFIG_INET_DIAG=m 
     
    301303CONFIG_IPV6_ROUTER_PREF=y 
    302304# CONFIG_IPV6_ROUTE_INFO is not set 
    303 # CONFIG_INET6_AH is not set 
    304 # CONFIG_INET6_ESP is not set 
    305 # CONFIG_INET6_IPCOMP is not set 
    306 # CONFIG_INET6_XFRM_TUNNEL is not set 
     305CONFIG_INET6_AH=m 
     306CONFIG_INET6_ESP=m 
     307CONFIG_INET6_IPCOMP=m 
     308CONFIG_INET6_XFRM_TUNNEL=m 
    307309# CONFIG_INET6_TUNNEL is not set 
    308310# CONFIG_IPV6_TUNNEL is not set 
     
    332334CONFIG_NETFILTER_XT_MATCH_MAC=m 
    333335CONFIG_NETFILTER_XT_MATCH_MARK=m 
     336CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    334337CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y 
    335338# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set 
  • trunk/target/linux/rdc-2.6/config

    r5177 r5205  
    264264CONFIG_PACKET_MMAP=y 
    265265CONFIG_UNIX=y 
    266 # CONFIG_NET_KEY is not set 
     266CONFIG_XFRM=y 
     267CONFIG_XFRM_USER=m 
     268CONFIG_NET_KEY=m 
    267269CONFIG_INET=y 
    268270CONFIG_IP_MULTICAST=y 
     
    284286# CONFIG_ARPD is not set 
    285287# CONFIG_SYN_COOKIES is not set 
    286 # CONFIG_INET_AH is not set 
    287 # CONFIG_INET_ESP is not set 
    288 # CONFIG_INET_IPCOMP is not set 
    289 # CONFIG_INET_XFRM_TUNNEL is not set 
     288CONFIG_INET_AH=m 
     289CONFIG_INET_ESP=m 
     290CONFIG_INET_IPCOMP=m 
     291CONFIG_INET_XFRM_TUNNEL=m 
    290292CONFIG_INET_TUNNEL=m 
    291293CONFIG_INET_DIAG=m 
     
    313315CONFIG_IPV6_ROUTER_PREF=y 
    314316# CONFIG_IPV6_ROUTE_INFO is not set 
    315 # CONFIG_INET6_AH is not set 
    316 # CONFIG_INET6_ESP is not set 
    317 # CONFIG_INET6_IPCOMP is not set 
    318 # CONFIG_INET6_XFRM_TUNNEL is not set 
     317CONFIG_INET6_AH=m 
     318CONFIG_INET6_ESP=m 
     319CONFIG_INET6_IPCOMP=m 
     320CONFIG_INET6_XFRM_TUNNEL=m 
    319321# CONFIG_INET6_TUNNEL is not set 
    320322# CONFIG_IPV6_TUNNEL is not set 
     
    344346CONFIG_NETFILTER_XT_MATCH_MAC=m 
    345347CONFIG_NETFILTER_XT_MATCH_MARK=m 
     348CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    346349CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m 
    347350CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m 
  • trunk/target/linux/sibyte-2.6/config

    r5177 r5205  
    270270CONFIG_UNIX=y 
    271271CONFIG_XFRM=y 
    272 # CONFIG_XFRM_USER is not set 
    273 # CONFIG_NET_KEY is not set 
     272CONFIG_XFRM_USER=m 
     273CONFIG_NET_KEY=m 
    274274CONFIG_INET=y 
    275275CONFIG_IP_MULTICAST=y 
     
    291291# CONFIG_ARPD is not set 
    292292# CONFIG_SYN_COOKIES is not set 
    293 # CONFIG_INET_AH is not set 
    294 # CONFIG_INET_ESP is not set 
    295 # CONFIG_INET_IPCOMP is not set 
     293CONFIG_INET_AH=m 
     294CONFIG_INET_ESP=m 
     295CONFIG_INET_IPCOMP=m 
     296CONFIG_INET_XFRM_TUNNEL=m 
    296297CONFIG_INET_TUNNEL=m 
    297298CONFIG_INET_DIAG=m 
     
    317318CONFIG_IPV6=m 
    318319# CONFIG_IPV6_PRIVACY is not set 
    319 # CONFIG_INET6_AH is not set 
    320 # CONFIG_INET6_ESP is not set 
    321 # CONFIG_INET6_IPCOMP is not set 
     320CONFIG_INET6_AH=m 
     321CONFIG_INET6_ESP=m 
     322CONFIG_INET6_IPCOMP=m 
     323CONFIG_INET6_XFRM_TUNNEL=m 
    322324# CONFIG_INET6_TUNNEL is not set 
    323325# CONFIG_IPV6_TUNNEL is not set 
     
    345347CONFIG_NETFILTER_XT_MATCH_MAC=m 
    346348CONFIG_NETFILTER_XT_MATCH_MARK=m 
     349CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    347350# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set 
    348351# CONFIG_NETFILTER_XT_MATCH_REALM is not set 
  • trunk/target/linux/uml-2.6/config

    r5003 r5205  
    223223CONFIG_UNIX=y 
    224224CONFIG_XFRM=y 
    225 # CONFIG_XFRM_USER is not set 
    226 # CONFIG_NET_KEY is not set 
     225CONFIG_XFRM_USER=m 
     226CONFIG_NET_KEY=m 
    227227CONFIG_INET=y 
    228228CONFIG_IP_MULTICAST=y 
  • trunk/target/linux/x86-2.6/config

    r5026 r5205  
    294294CONFIG_PACKET_MMAP=y 
    295295CONFIG_UNIX=y 
    296 # CONFIG_NET_KEY is not set 
     296CONFIG_XFRM=y 
     297CONFIG_XFRM_USER=m 
     298CONFIG_NET_KEY=m 
    297299CONFIG_INET=y 
    298300CONFIG_IP_MULTICAST=y 
     
    314316# CONFIG_ARPD is not set 
    315317# CONFIG_SYN_COOKIES is not set 
    316 # CONFIG_INET_AH is not set 
    317 # CONFIG_INET_ESP is not set 
    318 # CONFIG_INET_IPCOMP is not set 
    319 # CONFIG_INET_XFRM_TUNNEL is not set 
     318CONFIG_INET_AH=m 
     319CONFIG_INET_ESP=m 
     320CONFIG_INET_IPCOMP=m 
     321CONFIG_INET_XFRM_TUNNEL=m 
    320322CONFIG_INET_TUNNEL=m 
    321323CONFIG_INET_DIAG=m 
     
    343345CONFIG_IPV6_ROUTER_PREF=y 
    344346# CONFIG_IPV6_ROUTE_INFO is not set 
    345 # CONFIG_INET6_AH is not set 
    346 # CONFIG_INET6_ESP is not set 
    347 # CONFIG_INET6_IPCOMP is not set 
    348 # CONFIG_INET6_XFRM_TUNNEL is not set 
     347CONFIG_INET6_AH=m 
     348CONFIG_INET6_ESP=m 
     349CONFIG_INET6_IPCOMP=m 
     350CONFIG_INET6_XFRM_TUNNEL=m 
    349351# CONFIG_INET6_TUNNEL is not set 
    350352# CONFIG_IPV6_TUNNEL is not set 
     
    374376CONFIG_NETFILTER_XT_MATCH_MAC=m 
    375377CONFIG_NETFILTER_XT_MATCH_MARK=m 
     378CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    376379CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y 
    377380CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m 
  • trunk/target/linux/xscale-2.6/config

    r4639 r5205  
    223223CONFIG_PACKET_MMAP=y 
    224224CONFIG_UNIX=y 
    225 # CONFIG_NET_KEY is not set 
     225CONFIG_XFRM=y 
     226CONFIG_XFRM_USER=m 
     227CONFIG_NET_KEY=m 
    226228CONFIG_INET=y 
    227229CONFIG_IP_MULTICAST=y 
     
    238240# CONFIG_ARPD is not set 
    239241CONFIG_SYN_COOKIES=y 
    240 # CONFIG_INET_AH is not set 
    241 # CONFIG_INET_ESP is not set 
    242 # CONFIG_INET_IPCOMP is not set 
    243 # CONFIG_INET_XFRM_TUNNEL is not set 
     242CONFIG_INET_AH=m 
     243CONFIG_INET_ESP=m 
     244CONFIG_INET_IPCOMP=m 
     245CONFIG_INET_XFRM_TUNNEL=m 
    244246# CONFIG_INET_TUNNEL is not set 
    245247CONFIG_INET_DIAG=m 
     
    266268# CONFIG_IPV6_PRIVACY is not set 
    267269# CONFIG_IPV6_ROUTER_PREF is not set 
    268 # CONFIG_INET6_AH is not set 
    269 # CONFIG_INET6_ESP is not set 
    270 # CONFIG_INET6_IPCOMP is not set 
    271 # CONFIG_INET6_XFRM_TUNNEL is not set 
     270CONFIG_INET6_AH=m 
     271CONFIG_INET6_ESP=m 
     272CONFIG_INET6_IPCOMP=m 
     273CONFIG_INET6_XFRM_TUNNEL=m 
    272274# CONFIG_INET6_TUNNEL is not set 
    273275# CONFIG_IPV6_TUNNEL is not set 
     
    298300CONFIG_NETFILTER_XT_MATCH_MAC=m 
    299301CONFIG_NETFILTER_XT_MATCH_MARK=m 
     302CONFIG_NETFILTER_XT_MATCH_POLICY=m 
    300303CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m 
    301304# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set 
Note: See TracChangeset for help on using the changeset viewer.