summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2013-05-13IPv6: Set loopback-policy for output trafficSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-05-13Use logical instead of physical name for tunnel underlying link.Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-05-13Add support for IPv6 and interface target-routes & dependenciesSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-05-13Add support for IP in IPv6 tunnels (DS-Lite)Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-05-11IPv6: Use source-routing to allow multi-wanSteven Barth
2013-05-08IPv6: Use key=val format for prefix optionsSteven Barth
2013-05-02utils: use list_add_tail() in vlist_simple_add() to preserve user-defined ↵Jo-Philipp Wich
order of entries
2013-04-27bridge: disable multicast snooping by defaultJo-Philipp Wich
2013-04-25interface: fix removing main_dev on config reload changes if ifname is reset ↵Felix Fietkau
to NULL Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-25interface: rework reload, ensure that all changes are applied before ↵Felix Fietkau
restarting the interface Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-23set default bridge priority to 0x7FFFJo-Philipp Wich
2013-04-23add bridge priority optionNiels Boehm
[netifd] add bridge priority option Using the bridge priority (lower numbers are higher in the hierarchy), one can ensure that the router is chosen as root bridge in a setup with spanning tree protocol. For instance, one can set the priority of network lan to 32767, causing the router to win over all directly and indirectly connected nodes that have a default priority of 32768. The reason for doing that is that otherwise it has a default priority 32768 as well and any other connected node could win and get root bridge. In a home setup, those nodes are often desktop or laptop boxes and get switched off from time to time. As a consequence, root bridges vanish or new root bridges get chosen relatively often, resulting in frequent topology changes to the STP network. While the new topology has not settled, packets can get lost, causing noticeable interruptions of network traffic. Setting the router's bridge on a lower numbered priority (and thus higher in the selection hierarchy) solves the problem in the vast majority of the cases by ensuring that the device that is most likely powered on 24/7 gets chosen as root and prevents topology changes. Signed-off-by: Niels Boehm <blubberdiblub@gmail.com>
2013-04-19IPv6: Try harder to assign prefix partsSteven Barth
2013-04-15device: use safe_list for device event, fixes some hang issuesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-09IPv6: Remove local ULA if there is an external oneSteven Barth
2013-04-09Fix comparisation conditions in route_cmp()Jo-Philipp Wich
2013-04-05Fix a memory corruption when updating IPv6 prefixesSteven Barth
2013-04-05Maintain config order of ip rules unless user explicitely provides priorityJo-Philipp Wich
2013-04-05fix route sorting orderFelix Fietkau
New sorting order: - prefix length (descending) - metric (ascending) - flags - target address Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-05Add myself to header for IPv6 workSteven Barth
2013-04-05Fix system_resolve_rt_table() stub in system-dummy.cJo-Philipp Wich
2013-04-05Incorperate route table into avl keyJo-Philipp Wich
2013-04-04Expose route table if route is not in the main tableJo-Philipp Wich
2013-04-04Add support for ip rulesJo-Philipp Wich
2013-04-04Implement support for route / route6 table attributeJo-Philipp Wich
2013-04-03Rewrite IPv6 prefix assignmentSteven Barth
2013-03-19Fix IPv6 RDNSS writing to resolv.conf (buffer was too short)Steven Barth
2013-03-04fix libnl detectionThomas Gstädtner
2013-02-19Only update resolv.conf if changed (avoid logspam)Steven Barth
2013-02-11prefer to link against libjson-c over libjson (the new library name in git ↵Felix Fietkau
versions of json-c) Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-02-10device: protect device event broadcast against simultaneous deletions of ↵Felix Fietkau
multiple receivers in the callback (can happen with aliases) Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-02-10proto: default to 128 instead of the "netmask" option for ipv6 addressesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-02-01Improved IPv6 featuresetSteven Barth
* Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes
2013-01-29proto-shell: use the new network.interface objectFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-29ubus: add a network.interface object to access network.interface.* methods ↵Felix Fietkau
without racing wrt. object add/remove Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-29fix cleaning up interface state for reloadFelix Fietkau
Do not clean up config related state or interface dependencies Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-29Add deprecation for static IPv6 prefixesSteven Barth
2013-01-29IPv6 prefixes: conform to RFC 6204 requirement L13Steven Barth
2013-01-28alias: set ifindex on alias device to fix setting addresses/routesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-22alias: if the underlying device changes (or goes away), set the device ↵Felix Fietkau
present status to false to make its users shut down Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-22Don't segfault with an unset ula_prefixSteven Barth
2013-01-21Fix segfaults in prefix handlingSteven Barth
2013-01-20alias: rework device updatesFelix Fietkau
Apply immediately if alias device is not claimed, otherwise defer until release Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-16alias: use layer 3 device instead of main deviceSteven Barth
2013-01-15Fix a race-condition in prefix-assignmentSteven Barth
2013-01-15interface-ip: use calloc_a to get rid of an extra allocationFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-15interface-ip: replace prefix_assignment_cmp with avl_strcmpFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-15remove commented out TODO itemsFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-15Initial IPv6 prefix supportSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-01-15add mac os x compat #define for in6_addr s6_addr32Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>