Hans Dedecker
a83f049b5b
netifd: Add configurable DHCP release behavior
...
Make sending a DHCP release configurable when the client exits allowing to clean up
IP/mac state info in intermediate devices.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-04-28 13:44:47 +02:00
Hans Dedecker
81a5f1ac9e
netifd: Send DHCP release when client exits
...
Let DHCP client send a release when it exists so the DHCP server is
informed the IP address is released and allowing to clean up IP/mac
state info in intermediate devices.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-03-31 12:18:29 +02:00
Jo-Philipp Wich
564330e013
netifd: fix default ip rules
...
Update to latest HEAD in order to remove the faulty "prelocal" ip rule leading
to unexpected policy rule precedence.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-03-31 00:05:02 +02:00
Jo-Philipp Wich
dab37abc4d
netifd: fix build error
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48920
2016-03-04 18:37:45 +00:00
Jo-Philipp Wich
81399345fe
netifd: fix VTI ikey/okey endianess
...
Ensure that ikey and okey are sent in network byte order to the kernel.
Also don't mangle external IP addrs and routes when reconfiguring iinterfaces.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48919
2016-03-04 17:48:18 +00:00
Felix Fietkau
208b3098f0
netifd: update to the latest version, adds many fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48595
2016-02-01 12:02:05 +00:00
Felix Fietkau
c49bc55669
netifd: update to the latest version, adds a cosmetic fix for a wpa related variable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48397
2016-01-20 19:11:41 +00:00
Jo-Philipp Wich
5cf88bb032
netifd: fix PKG_VERSION ( #21630 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48280
2016-01-17 17:15:01 +00:00
Felix Fietkau
eb1ac66ce7
netifd: update to the latest version, adds VTI support and a policy routing fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48273
2016-01-17 11:05:53 +00:00
Felix Fietkau
9cd6162b63
packages: use OPENWRT_GIT to point at the main openwrt git repo
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48118
2016-01-04 15:11:49 +00:00
Felix Fietkau
a99c78a09a
netifd: update to the latest version, fixes more route table issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47897
2015-12-16 23:15:15 +00:00
Felix Fietkau
513702e658
netifd: update to the latest version, fixes reload issues on routing table changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47893
2015-12-15 11:01:47 +00:00
Felix Fietkau
6fb259b6df
netifd: ifup-shellscript - fix wrong usage of 'local'
...
this error was not visible until recent bump to
busybox 1.24.1 stable which introduced a warning message
when keyword 'local' is not used with a shell-function.
this does not change behavior and is a cosmetic cleanup.
fixes the following output:
root@box:~ ifup <interface>
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 1: not in a function
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 47828
2015-12-10 12:53:30 +00:00
Felix Fietkau
59dbc9fa4e
netifd: update to the latest version, fixes an issue with moving a wifi iface to a different network
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47683
2015-12-02 13:52:08 +00:00
Jo-Philipp Wich
49b3fc70e5
netifd: fix device status reporting for external interfaces
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47493
2015-11-17 16:34:43 +00:00
Felix Fietkau
e4859508be
netifd: update to the latest version, contains several fixes, including one for interface ip4/ip6table for device routes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47460
2015-11-12 00:24:27 +00:00
Felix Fietkau
38182373e0
netifd: update to the latest version, fixes spurious client isolation in unbridged AP configurations ( #20574 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47053
2015-09-26 23:18:40 +00:00
Felix Fietkau
ced2b641e2
base-files: set kernel.core_pattern in sysctl.conf
...
Move the pattern setting from netifd's service script to
/etc/sysctl.conf. Put the timestamp component '%t' just after
executable name '%e' for more natural order from output of ls command.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 46867
2015-09-11 16:35:17 +00:00
Felix Fietkau
7e57d753a1
netifd: update to the latest version, fixes a WDS STA mode regression caused by multicast-to-unicast handling ( #20466 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46841
2015-09-10 21:00:19 +00:00
Felix Fietkau
d4e9c8d7ef
netifd: update to the latest version, adds multicast-to-unicast fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46719
2015-08-25 07:24:53 +00:00
Steven Barth
9f67c7fc8a
netifd: various updates
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46718
2015-08-25 06:27:37 +00:00
Felix Fietkau
26d71e9b25
netifd: update to the latest version, fixes setting RPS/XPS for wlan devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46421
2015-07-18 23:14:19 +00:00
Steven Barth
a742fcaf3b
netifd: add mtu6 option to override IPv6 MTU
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46135
2015-06-29 06:47:19 +00:00
Steven Barth
ebfe8d8b08
netifd: bump to latest, various fixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45926
2015-06-08 11:04:10 +00:00
Steven Barth
e6f9641df1
netifd: fix and optimize ipv6 onlink-route handling
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45768
2015-05-26 12:48:12 +00:00
Felix Fietkau
4eeeb91661
netifd: bump to current HEAD
...
This introduces a new config parameter "no-proto-task" useful for
xl2tpd.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45748
2015-05-25 21:15:31 +00:00
Steven Barth
241dbffcf9
netifd: improve IPv6 onlink-route handling
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45701
2015-05-19 09:01:34 +00:00
Felix Fietkau
bf84a53f9b
netifd-dhcp: supply parameters to user-script
...
hand over parameters to user-script e.g. $1=deconfig
Signed-off-by: Leon George <leon@georgemail.de>
Signed-off-by: Christian Mehlis <christian@m3hlis.de>
SVN-Revision: 45626
2015-05-08 10:44:19 +00:00
Steven Barth
a132313238
dhcp: add option specifying overriding custom-routes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45594
2015-05-02 07:44:55 +00:00
Felix Fietkau
fe14e2a674
netifd: update to the latest version, fixes retry when proto handlers exit without changing the state
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45550
2015-04-21 12:11:07 +00:00
Felix Fietkau
a285a0a034
netifd: update to the latest version, fixes more interface device config handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45503
2015-04-19 09:50:49 +00:00
Felix Fietkau
6293aae9d3
netifd: update to the latest version, fixes more device config handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45497
2015-04-18 21:35:16 +00:00
Felix Fietkau
bdd241ee29
netifd: update to the latest version, fixes issues in handling device config from interfaces
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45483
2015-04-17 19:28:10 +00:00
Steven Barth
6b062ad848
network: shorten names of generated interfaces
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45476
2015-04-17 13:10:19 +00:00
John Crispin
dcdd5c1ecb
netifd: Interface last error support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45334
2015-04-09 10:33:05 +00:00
Steven Barth
4a1f19e15d
netifd: revert policy routing (broke some custom user rules)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45185
2015-03-31 13:14:40 +00:00
Steven Barth
edf9b7a2a5
netifd: add metric argument for ipv4 proto routes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45182
2015-03-31 11:36:20 +00:00
Steven Barth
7edbd6b4d7
netifd: adjust default local policy rules
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45059
2015-03-27 14:19:10 +00:00
John Crispin
242e37454a
netifd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45020
2015-03-26 10:59:40 +00:00
Felix Fietkau
7cacd6bdb6
netifd: fix default initialization of RPS/XPS
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44944
2015-03-22 17:40:39 +00:00
Felix Fietkau
78692595e7
netifd: update to the latest version, adds support for configuring RPS/XPS (enabled by default where available)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44943
2015-03-22 16:42:44 +00:00
Steven Barth
8cfe2fb30b
netifd: fix ipv6 route regression
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44919
2015-03-21 18:28:08 +00:00
Steven Barth
b27efd6e07
netifd: device update fixes, improvements in policy routing
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44899
2015-03-20 07:50:45 +00:00
Jo-Philipp Wich
eb7f470e7b
netifd: dhcp: install host route to gateway ( #19182 )
...
Certain DHCP servers push a gateway outside of the assigned interface subnet,
to support those situations install a host route towards the gateway.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44789
2015-03-15 14:48:18 +00:00
John Crispin
59c20174f8
json-c: update to 0.12 and bump all depending services
...
Version 0.12 deprecates json_object_object_get and moves the header files around
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44657
2015-03-11 15:54:33 +00:00
Steven Barth
c975f83cc2
netifd: various device config / event fixes (thx Hans Dedecker)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44480
2015-02-17 14:14:51 +00:00
Felix Fietkau
00d422fc60
netifd: update to the latest version, reverts a commit causing MTU issues ( fixes #18869 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44461
2015-02-16 09:07:19 +00:00
Steven Barth
6ee8d1f178
netifd: fix device config handling and add some config options
...
Thanks to Hans Dedecker
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44331
2015-02-09 08:30:06 +00:00
Felix Fietkau
ea638e4eba
netifd: fix a regression with some VLAN configurations introduced in the last update
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44098
2015-01-24 14:16:36 +00:00
Felix Fietkau
18d4b8783c
netifd: do not stop service on shutdown, only call ifdown
...
Also add a small delay, like on restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44096
2015-01-24 13:41:04 +00:00