[LEDE-DEV] [PATCH v2] kernel: add kmod-fou

Filip Moc lede at moc6.cz
Wed Dec 20 14:20:31 PST 2017


Hi John,

sure, AutoProbe works as well.

But I noticed that fou no longer works on trunk. It allows you to setup tunnel
with fou encapsulation but setting fou decapsulation for incomming packets
doesn't work. I don't know the cause yet. I'll look into it at the beginning of
new year.

Filip


On Tue, Dec 19, 2017 at 09:00:03PM +0100, John Crispin wrote:
> 
> 
> On 17/12/17 18:44, Filip Moc wrote:
> > Once installed fou kernel module allows you to use FOU (Foo over UDP)
> > and GUE (Generic UDP encapsulation) tunnel protocols.
> > 
> > To get ip fou command working you also need to install ip-full.
> > 
> > Signed-off-by: Filip Moc <lede at moc6.cz>
> Hi Filip,
> 
> sorry for nitpicking ... but ...
> 
> > +define KernelPackage/fou
> > +  SUBMENU:=$(NETWORK_SUPPORT_MENU)
> > +  TITLE:=FOU and GUE decapsulation
> > +  DEPENDS:= \
> > +	+kmod-iptunnel \
> > +	+kmod-udptunnel4 \
> > +	+IPV6:kmod-udptunnel6
> > +  KCONFIG:= \
> > +	CONFIG_NET_FOU \
> > +	CONFIG_NET_FOU_IP_TUNNELS=y
> > +  FILES:=$(LINUX_DIR)/net/ipv4/fou.ko
> > +  AUTOLOAD:=$(call AutoLoad,32,fou)
> why AutoLoad at 32 ? cant we AutoProbe this ?
>     John
> 
> 
> > +endef
> > +
> > +define KernelPackage/fou/description
> > + Kernel module for FOU (Foo over UDP) and GUE (Generic UDP Encapsulation) tunnelling.
> > + Requires Kernel 3.18 or newer.
> > +endef
> > +
> > +$(eval $(call KernelPackage,fou))
> > +
> > +
> >   define KernelPackage/ip6-tunnel
> >     SUBMENU:=$(NETWORK_SUPPORT_MENU)
> >     TITLE:=IP-in-IPv6 tunnelling
> 



More information about the Lede-dev mailing list