Felix Fietkau
|
d095bf24cf
config: use the new uci_blob library code
|
11 years ago |
Steven Barth
|
570302d28d
Add support for IPv6 and interface target-routes & dependencies
|
11 years ago |
Felix Fietkau
|
4108e76100
proto-shell: use calloc_a
|
12 years ago |
Felix Fietkau
|
5eb4f53ce6
proto-shell: ensure that the teardown timeout gets killed
|
12 years ago |
Felix Fietkau
|
c173c61004
use FD_CLOEXEC instead of tracking lists of fds
|
12 years ago |
Jo-Philipp Wich
|
fa31a460d8
proto-shell.c: mark device present after reclaiming it, fixes ubus network.device status call after the protocol has been reconnected
|
12 years ago |
Felix Fietkau
|
b0b11b2295
move dns server/search list parsing to interface core to support peerdns=0 + static entries
|
12 years ago |
Felix Fietkau
|
3d49dba94c
add a command for allowing the setup task to schedule a restart
|
12 years ago |
Felix Fietkau
|
c1726af175
proto-shell: clear dependencies on free
|
12 years ago |
Felix Fietkau
|
6c735bda1d
proto-shell: implement host route dependencies
|
12 years ago |
Felix Fietkau
|
bfe5db1ea8
add copyright headers
|
12 years ago |
Felix Fietkau
|
cd4b616312
proto-shell: add support for appending configuration data over multiple update_link notifications
|
12 years ago |
Felix Fietkau
|
f4508267c9
proto-shell: set sm to S_IDLE once the interface is up
|
12 years ago |
Felix Fietkau
|
9b40d469c8
allow proto handlers to attach data items in notify
|
12 years ago |
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 years ago |
Felix Fietkau
|
75baeca6f8
properly flush routes and l3 devices when tearing down interfaces
|
12 years ago |
Felix Fietkau
|
889a60c26d
proto-shell: fix potential use-after-free
|
12 years ago |
Felix Fietkau
|
ad4f8bf014
shell: add tunnel support
|
12 years ago |
Felix Fietkau
|
f5ca090c26
proto: move the dns search option handling to the core
|
12 years ago |
Felix Fietkau
|
f365db4c75
proto-shell: process some common notify options using proto_apply_ip_settings()
|
12 years ago |
Felix Fietkau
|
4bdcb2edfe
proto-shell: merge setup/teardown task into one
|
12 years ago |
Felix Fietkau
|
a12081aa98
proto-shell: rework task statemachine
|
12 years ago |
Felix Fietkau
|
24ccfe7d35
proto-shell: handle the "available" config flag
|
13 years ago |
Felix Fietkau
|
4ff6bcbee0
proto-shell: add a notify command for setting interface availability
|
13 years ago |
Felix Fietkau
|
986c4a1434
fix the exit status for the proto-shell task, use WEXITSTATUS
|
13 years ago |
Felix Fietkau
|
14f7651a6e
proto-shell: allow protocol handlers to add interface error messages and block interface restart
|
13 years ago |
Felix Fietkau
|
31e8b6e9a4
proto-shell: pass the return code of the proto task to the teardown handler
|
13 years ago |
Felix Fietkau
|
268149290f
reduce stack usage
|
13 years ago |
Felix Fietkau
|
4b1a0ddadc
proto-shell: fix parsing of long proto handler descriptions, simplify code
|
13 years ago |
Felix Fietkau
|
fb0e413807
do not clear device state for devices created by proto-up with address-external set
|
13 years ago |