Felix Fietkau
|
875e9e4b93
rewrite resolv.conf after interface up setting updates
|
11 anni fa |
Jo-Philipp Wich
|
3e3bc60378
interface-ip.c: fix possible null pointer access if calloc() fails
|
12 anni fa |
Felix Fietkau
|
1f11f552ce
memset the on-stack device route when clearing local subnet routes
|
12 anni fa |
Jo-Philipp Wich
|
55c7d8f55b
interface-ip.{c,h}: add new flag DEVROUTE_MTU and set it for per-route mtu overrides
|
12 anni fa |
Felix Fietkau
|
a667ba53a2
add support for using <addr>/<mask> in route/route6 config sections
|
12 anni fa |
Felix Fietkau
|
88ae5a835d
add support for defaultroute "host" dependencies
|
12 anni fa |
Felix Fietkau
|
44c23888ad
fix return code in interface_ip_add_target_route
|
12 anni fa |
Felix Fietkau
|
a11944f52c
fix a memleak in host route dependency handling
|
12 anni fa |
Felix Fietkau
|
8758677c03
fix endian handling of the ipv4 broadcast address
|
12 anni fa |
Felix Fietkau
|
bb05211c9c
preserve subnet routes on interface update by not putting them in the route vlist
|
12 anni fa |
Felix Fietkau
|
575b1fe1bc
replace the kernel's implicit network routes if the metric is set
|
12 anni fa |
Felix Fietkau
|
0079ac42fc
pass interface route metric to routes when adding them
|
12 anni fa |
Felix Fietkau
|
b0b11b2295
move dns server/search list parsing to interface core to support peerdns=0 + static entries
|
12 anni fa |
Felix Fietkau
|
69c5043fdc
implement a generic peerdns option to suppress proto handler dns entries
|
12 anni fa |
Felix Fietkau
|
bfe5db1ea8
add copyright headers
|
12 anni fa |
Felix Fietkau
|
23bb091077
add a ubus interface to dynamically create host routes to a particular ip address, returns the interface that the route goes through
|
12 anni fa |
Felix Fietkau
|
46d52638f0
move route interface assignment to the vlist update
|
12 anni fa |
Felix Fietkau
|
0cd5498ea5
store a pointer to the active interface as part of the device route
|
12 anni fa |
Felix Fietkau
|
0f738b8f6c
include route/address flags in vlist comparison
|
12 anni fa |
Felix Fietkau
|
15f0776e8c
keep config routes disabled at interface statup
|
12 anni fa |
Felix Fietkau
|
b7d1c27b75
move l3 device tracking to interface core to enforce proper order of address/route removal on device or interface state changes
|
12 anni fa |
Felix Fietkau
|
a609b5e8f3
add support for updating route metrics
|
12 anni fa |
Felix Fietkau
|
257bfc6392
add a flag to keep track of route metric overrides
|
12 anni fa |
Felix Fietkau
|
395199fcd4
fix ipv6 routes
|
12 anni fa |
Felix Fietkau
|
a63479ad89
always create device routes
|
12 anni fa |
Felix Fietkau
|
73cb255e78
make route metrics default to 0
|
12 anni fa |
Felix Fietkau
|
c6e1778d44
simplify vlist, move avl key handling to vlist_add()
|
12 anni fa |
Felix Fietkau
|
73a32ab092
move broadcast address handling to the core
|
12 anni fa |
Felix Fietkau
|
58d36928da
remove device_{route,addr}->device
|
12 anni fa |
Felix Fietkau
|
fb8c31126f
initialize route->metric to -1
|
12 anni fa |