ImmortalWrt/package
Daniel Golle e4ce8f59f5 netifd: add basic support for jail network namespaces
Prepare netifd for handling procd service jails having their own
network namespace.
Intefaces having the jail attribute will only be brought up inside the
jail's network namespace by procd calling the newly introduced ubus
method 'netns_updown'.
Currently proto 'static' is supported and configuration changes are
not yet being handled (ie. you'll have to restart the jailed service
for changes to take effect).

Example /etc/config/network snippet:
config device 'veth0'
    option type 'veth'
    option name 'vhost0'
    option peer_name 'virt0'

config interface 'virt'
    option type 'bridge'
    list ifname 'vhost0'
    option proto 'static'
    option ipaddr '10.0.0.1'
    option netmask '255.255.255.0'

config interface 'virt0'
    option ifname 'virt0'
    option proto 'static'
    option ipaddr '10.0.0.2'
    option netmask '255.255.255.0'
    option gateway '10.0.0.1'
    option dns '10.0.0.1'
    option jail 'transmission'

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-21 10:25:27 +02:00
..
base-files base-files/functions.sh: use grep -q instead of [] 2020-01-18 00:24:06 +01:00
boot uboot-oxnas: fix memory leak in tool mkox820crc 2020-01-15 23:15:19 +01:00
devel perf: Add libunwind only if selected 2020-01-15 20:34:16 +01:00
firmware ipq40xx: add support for EZVIZ CS-W3-WD1200G EUP 2020-01-12 15:57:58 +01:00
kernel kernel: remove further obsolete kernel version switches 2020-01-18 19:39:05 +01:00
libs libubox: update to version 2020-01-20 2020-01-20 20:57:21 +01:00
network netifd: add basic support for jail network namespaces 2020-01-21 10:25:27 +02:00
system fstools: update to version 2020-01-18 2020-01-20 20:57:21 +01:00
utils busybox: fix build issues 2020-01-15 21:17:47 +01:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00