aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config
Commit message (Collapse)AuthorAgeFilesLines
* firewall: comply with REC-22, REC-24 of RFC 6092Steven Barth2015-07-242-13/+12
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes setting RPS/XPS for wlan devicesFelix Fietkau2015-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: libsw.so should be installed into /usr/lib/John Crispin2015-07-171-2/+2
| | | | | | | | | | otherwise it's not picked up by toolchain: staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_musl-1.1.10/lib/gcc/mipsel-openwrt-linux-musl/4.8.3/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lsw Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Split libsw out of swconfig for reuse in other packagesJohn Crispin2015-07-142-3/+15
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: Fix another memleakFelix Fietkau2015-07-081-0/+3
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: free name and description of attributesJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: free portmaps in swlib_free()John Crispin2015-07-072-1/+15
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: remove const qualifier for val.s since this is supposed ↵John Crispin2015-07-072-2/+2
| | | | | | | | to be free'd Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: swlib.c: free device name and aliasJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add mtu6 option to override IPv6 MTUSteven Barth2015-06-291-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: build fix for MUSLMatteo Croce2015-06-161-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bump to latest, various fixesSteven Barth2015-06-081-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix and optimize ipv6 onlink-route handlingSteven Barth2015-05-261-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: link iptables extensions dynamicallyJo-Philipp Wich2015-05-261-7/+2
| | | | | | | | | | | | | | Use shared libipt{,4,6}ext.so libraries instead of statically linking the userspace matches into the fw3 executable. As a side effect the match initialization is extremely simplified compared to the weak function pointer juggling performed before. This also fixes the initialization of the multiport match. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bump to current HEADFelix Fietkau2015-05-251-2/+2
| | | | | | | | | This introduces a new config parameter "no-proto-task" useful for xl2tpd. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve IPv6 onlink-route handlingSteven Barth2015-05-191-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd-dhcp: supply parameters to user-scriptFelix Fietkau2015-05-081-1/+1
| | | | | | | | | hand over parameters to user-script e.g. $1=deconfig Signed-off-by: Leon George <leon@georgemail.de> Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: Allow IGMP and MLD input on WANSteven Barth2015-05-051-0/+19
| | | | | | | | | | | | The WAN port should at least respond to IGMP and MLD queries as otherwise a snooping bridge/switch might drop traffic. RFC4890 recommends to leave IGMP and MLD unfiltered as they are always link-scoped anyways. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dhcp: add option specifying overriding custom-routesSteven Barth2015-05-023-3/+9
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes retry when proto handlers exit ↵Felix Fietkau2015-04-211-2/+2
| | | | | | | | without changing the state Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes more interface device config ↵Felix Fietkau2015-04-191-2/+2
| | | | | | | | handling issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes more device config handling issuesFelix Fietkau2015-04-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes issues in handling device config ↵Felix Fietkau2015-04-171-1/+1
| | | | | | | | from interfaces Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: drop obsolete depdendency on iptabes-mod-filter (#19506)Felix Fietkau2015-04-171-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network: shorten names of generated interfacesSteven Barth2015-04-172-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: remove layer7 supportFelix Fietkau2015-04-131-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Interface last error supportJohn Crispin2015-04-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: revert policy routing (broke some custom user rules)Steven Barth2015-03-311-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add metric argument for ipv4 proto routesSteven Barth2015-03-311-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: adjust default local policy rulesSteven Barth2015-03-271-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest git HEADJohn Crispin2015-03-261-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix default initialization of RPS/XPSFelix Fietkau2015-03-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds support for configuring RPS/XPS ↵Felix Fietkau2015-03-221-2/+2
| | | | | | | | (enabled by default where available) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix ipv6 route regressionSteven Barth2015-03-211-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: device update fixes, improvements in policy routingSteven Barth2015-03-201-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: dhcp: install host route to gateway (#19182)Jo-Philipp Wich2015-03-152-1/+2
| | | | | | | | | Certain DHCP servers push a gateway outside of the assigned interface subnet, to support those situations install a host route towards the gateway. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-111-2/+2
| | | | | | | | Version 0.12 deprecates json_object_object_get and moves the header files around Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix some more null-pointer accessesSteven Barth2015-02-261-2/+2
| | | | | | | | thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various device config / event fixes (thx Hans Dedecker)Steven Barth2015-02-171-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, reverts a commit causing MTU issues ↵Felix Fietkau2015-02-162-13/+2
| | | | | | | | (fixes #18869) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix device config handling and add some config optionsSteven Barth2015-02-091-2/+2
| | | | | | | | Thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a regression with some VLAN configurations introduced in the ↵Felix Fietkau2015-01-241-2/+2
| | | | | | | | last update Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: do not stop service on shutdown, only call ifdownFelix Fietkau2015-01-241-1/+1
| | | | | | | | Also add a small delay, like on restart Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes bridge reload (#18351) and ↵Felix Fietkau2015-01-241-2/+2
| | | | | | | | device config issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: store additional DHCP lease informationJo-Philipp Wich2015-01-231-7/+7
| | | | | | | | | Extend the DHCPv4 handler script to store additional information from the DHCP lease in the per-interface data object. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)Steven Barth2015-01-191-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: respect src_dip option for reflection (#18544)Jo-Philipp Wich2015-01-081-3/+3
| | | | | | | | Also fix wrong IPv4 netmask calculation on x86-64, thanks Ulrich Weber. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: bump PKG_REVISION and copyright yearJo-Philipp Wich2015-01-061-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: minor fixes, add mldversion optionSteven Barth2014-12-231-2/+2
| | | | | | | | thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Set source IP for DHCP static routes as wellSteven Barth2014-12-121-2/+1
| | | | | | | | | | | | | Commit ce92f6650bd8a86db04c7a6cbb58e7fdb200a7e6 added source IP support for DHCP default routes. As a side effect of this change the default route could be present twice in netifd (once with source IP set and once with source IP unset) if it was sent by the server in both the router and static route options. Therefore add source IP support as well for static routes as this case was not considered. Additional remove unused parameter type. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43645 3c298f89-4303-0410-b956-a3cf2f4a3e73