summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2013-06-17IPv6: Reverse assignment sorting orderSteven Barth
2013-06-17IPv6: Satisfy unhinted assignments ordered by prefix lengthSteven Barth
2013-06-10config: use the new uci_blob library codeFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-10config: replace config_memdup with blob_memdup from libuboxFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-10Change IP reloading orderSteven Barth
2013-06-10Reuse automatic ip6table valueSteven Barth
2013-06-03IPv6: Improve source-routing policiesSteven Barth
* Set a default policy-failed rule per prefix (based on a patch by Jonas Gorski) * Use input interface in addition to source for filtering * Avoid duplicate routing policies
2013-05-31IPv6: fix device_prefix vlist_key to not include prefix classSteven Barth
2013-05-31move excluded prefix and length out of key for device_prefixSteven Barth
2013-05-30Add missing update-triggers for source-based routingSteven Barth
2013-05-30IPv6: reorganize prefix assignmentSteven Barth
* put parameters in a more suitable place * add support for prefix classes
2013-05-30IPv6: Log a warning if users have prefixes but haven't assigned themSteven Barth
2013-05-29IPv6: remove ULA prefix-trigger (unused)Steven Barth
2013-05-28IPv6: fix address-lifetime overflows on 64-bit architecturesSteven Barth
2013-05-28IPv6: fix wrap-arounds in address lifetimesSteven Barth
2013-05-28Make sure that iprule flushing happens after system_init(), otherwise the ↵Jo-Philipp Wich
rtnl_socket is not available
2013-05-27Move iprule flushing to the init function to make the timing predictableJo-Philipp Wich
2013-05-27Move initial iprule flushing to system_add_iprule() to not collide with ↵Jo-Philipp Wich
generic multiwan support
2013-05-17Add option to define target routing table for protocol routes.Steven Barth
This unifies source-routing for both IPv6 and IPv4 (default off). Based on a patch by Kristian Evensen
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>