summaryrefslogtreecommitdiffhomepage
path: root/proto-shell.c
AgeCommit message (Collapse)Author
2013-05-13Add support for IPv6 and interface target-routes & dependenciesSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2013-01-05proto-shell: use calloc_aFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-30proto-shell: ensure that the teardown timeout gets killedFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-29use FD_CLOEXEC instead of tracking lists of fdsFelix Fietkau
2012-06-19proto-shell.c: mark device present after reclaiming it, fixes ubus ↵Jo-Philipp Wich
network.device status call after the protocol has been reconnected
2012-05-19move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau
static entries
2012-05-14add a command for allowing the setup task to schedule a restartFelix Fietkau
2012-05-14proto-shell: clear dependencies on freeFelix Fietkau
2012-05-05proto-shell: implement host route dependenciesFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-04-29proto-shell: add support for appending configuration data over multiple ↵Felix Fietkau
update_link notifications
2012-04-12proto-shell: set sm to S_IDLE once the interface is upFelix Fietkau
2012-03-23allow proto handlers to attach data items in notifyFelix Fietkau
2012-03-23move l3 device tracking to interface core to enforce proper order of ↵Felix Fietkau
address/route removal on device or interface state changes
2012-03-19properly flush routes and l3 devices when tearing down interfacesFelix Fietkau
2012-03-19proto-shell: fix potential use-after-freeFelix Fietkau
2012-03-15shell: add tunnel supportFelix Fietkau
2012-02-26proto: move the dns search option handling to the coreFelix Fietkau
2012-02-26proto-shell: process some common notify options using proto_apply_ip_settings()Felix Fietkau
2012-01-22proto-shell: merge setup/teardown task into oneFelix Fietkau
2012-01-21proto-shell: rework task statemachineFelix Fietkau
Make handling setup/proto/teardown tasks more explicit and easier to read. Should hopefully prevent some forms of deadlocks.
2011-10-27proto-shell: handle the "available" config flagFelix Fietkau
2011-10-27proto-shell: add a notify command for setting interface availabilityFelix Fietkau
2011-10-21fix the exit status for the proto-shell task, use WEXITSTATUSFelix Fietkau
2011-10-21proto-shell: allow protocol handlers to add interface error messages and ↵Felix Fietkau
block interface restart
2011-10-21proto-shell: pass the return code of the proto task to the teardown handlerFelix Fietkau
2011-10-20reduce stack usageFelix Fietkau
2011-10-20proto-shell: fix parsing of long proto handler descriptions, simplify codeFelix Fietkau
2011-10-20do not clear device state for devices created by proto-up with ↵Felix Fietkau
address-external set
2011-10-19make a few more functions staticFelix Fietkau
2011-10-19rework route handling, move parser code to interface-ip.c, add extra options ↵Felix Fietkau
and add further support for pulling routes from config
2011-10-19add support for keeping multiple ip addr/route/dns listsFelix Fietkau
2011-10-18proto-shell: reset l3 device if it was set beforeFelix Fietkau
2011-10-18defer releasing the l3 dev so that the generic code can take care of ↵Felix Fietkau
cleaning system settings
2011-10-16detach stdin/stdout/stderr from child processes, implement a separate ↵Felix Fietkau
logging pipe and relay log messages with prefix
2011-10-15add support for tracking open file descriptors of modules and closing them ↵Felix Fietkau
for created child processes
2011-10-15move netifd_start_process dir_fd to the data structureFelix Fietkau
2011-10-15keep track of all running child processes in one placeFelix Fietkau
2011-10-14proto-shell: fix parsing route netmaskFelix Fietkau
2011-10-14proto-shell: allow proto handlers to export variables to child processesFelix Fietkau
2011-10-14proto-shell: add dns search domainsFelix Fietkau
2011-10-14proto-shell: allow passing netmask in ip address formatFelix Fietkau
2011-10-14proto-shell: allow proto setups without ifname (if interface main dev is ↵Felix Fietkau
present)
2011-10-14add support for killing running proto-shell tasks with an arbitrary signal ↵Felix Fietkau
and waiting for their completion
2011-10-13proto-shell: fix updating settings, only issue ifup event after ↵Felix Fietkau
configuration has been applied
2011-10-13proto-shell: add dns server supportFelix Fietkau
2011-10-12kill the proto task after teardown is complete, ignore proto task completion ↵Felix Fietkau
event while teardown is pending or active
2011-10-12add support for launching a long running command from a proto-shell handler ↵Felix Fietkau
that keeps the connection running. bring down the interface if that command dies
2011-10-09proto-shell: add _GNU_SOURCE define to get O_DIRECTORYFelix Fietkau
2011-10-03proto-shell: remove the device user before issuing the protocol down eventFelix Fietkau