Steven Barth
6831883100
firewall: fix typo in ESP rule
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46506
9 years ago
Steven Barth
f6abd042c2
firewall: comply with REC-22, REC-24 of RFC 6092
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46478
9 years ago
Felix Fietkau
26d71e9b25
netifd: update to the latest version, fixes setting RPS/XPS for wlan devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46421
9 years ago
John Crispin
d42b6c1afb
swconfig: libsw.so should be installed into /usr/lib/
...
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>
SVN-Revision: 46406
9 years ago
John Crispin
c71ef0499b
swconfig: Split libsw out of swconfig for reuse in other packages
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 46358
9 years ago
Felix Fietkau
7a04fd0e3a
swconfig: swlib.c: Fix another memleak
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 46275
9 years ago
John Crispin
5da98f3478
swconfig: swlib.c: free name and description of attributes
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 46232
9 years ago
John Crispin
294907aa3a
swconfig: swlib.c: free portmaps in swlib_free()
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 46231
9 years ago
John Crispin
2b9bdf4d6f
swconfig: swlib.c: remove const qualifier for val.s since this is supposed to be free'd
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 46230
9 years ago
John Crispin
08d4d4921d
swconfig: swlib.c: free device name and alias
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 46229
9 years ago
Steven Barth
a742fcaf3b
netifd: add mtu6 option to override IPv6 MTU
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46135
9 years ago
Matteo Croce
1090df82be
ltq-vdsl-app: build fix for MUSL
...
SVN-Revision: 46006
9 years ago
Steven Barth
ebfe8d8b08
netifd: bump to latest, various fixes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45926
9 years ago
Steven Barth
e6f9641df1
netifd: fix and optimize ipv6 onlink-route handling
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45768
9 years ago
Jo-Philipp Wich
35497a0400
firewall: link iptables extensions dynamically
...
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>
SVN-Revision: 45764
9 years ago
Felix Fietkau
4eeeb91661
netifd: bump to current HEAD
...
This introduces a new config parameter "no-proto-task" useful for
xl2tpd.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45748
9 years ago
Steven Barth
241dbffcf9
netifd: improve IPv6 onlink-route handling
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45701
9 years ago
Felix Fietkau
bf84a53f9b
netifd-dhcp: supply parameters to user-script
...
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>
SVN-Revision: 45626
9 years ago
Steven Barth
d534883a52
firewall: Allow IGMP and MLD input on WAN
...
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>
SVN-Revision: 45613
9 years ago
Steven Barth
a132313238
dhcp: add option specifying overriding custom-routes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45594
9 years ago
Felix Fietkau
fe14e2a674
netifd: update to the latest version, fixes retry when proto handlers exit without changing the state
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45550
9 years ago
Felix Fietkau
a285a0a034
netifd: update to the latest version, fixes more interface device config handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45503
9 years ago
Felix Fietkau
6293aae9d3
netifd: update to the latest version, fixes more device config handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45497
9 years ago
Felix Fietkau
bdd241ee29
netifd: update to the latest version, fixes issues in handling device config from interfaces
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45483
9 years ago
Felix Fietkau
c909a0354a
qos-scripts: drop obsolete depdendency on iptabes-mod-filter ( #19506 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45482
9 years ago
Steven Barth
6b062ad848
network: shorten names of generated interfaces
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45476
9 years ago
Felix Fietkau
bdb6c313de
qos-scripts: remove layer7 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45425
9 years ago
John Crispin
dcdd5c1ecb
netifd: Interface last error support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45334
9 years ago
Steven Barth
4a1f19e15d
netifd: revert policy routing (broke some custom user rules)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45185
9 years ago
Steven Barth
edf9b7a2a5
netifd: add metric argument for ipv4 proto routes
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45182
9 years ago
Steven Barth
7edbd6b4d7
netifd: adjust default local policy rules
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45059
9 years ago
John Crispin
242e37454a
netifd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45020
9 years ago
Felix Fietkau
7cacd6bdb6
netifd: fix default initialization of RPS/XPS
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44944
9 years ago
Felix Fietkau
78692595e7
netifd: update to the latest version, adds support for configuring RPS/XPS (enabled by default where available)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44943
9 years ago
Steven Barth
8cfe2fb30b
netifd: fix ipv6 route regression
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44919
9 years ago
Steven Barth
b27efd6e07
netifd: device update fixes, improvements in policy routing
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44899
9 years ago
Jo-Philipp Wich
eb7f470e7b
netifd: dhcp: install host route to gateway ( #19182 )
...
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>
SVN-Revision: 44789
9 years ago
John Crispin
59c20174f8
json-c: update to 0.12 and bump all depending services
...
Version 0.12 deprecates json_object_object_get and moves the header files around
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44657
9 years ago
Steven Barth
0f365e4cb9
firewall: fix some more null-pointer accesses
...
thanks to Hans Dedecker
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44540
10 years ago
Steven Barth
c975f83cc2
netifd: various device config / event fixes (thx Hans Dedecker)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44480
10 years ago
Felix Fietkau
00d422fc60
netifd: update to the latest version, reverts a commit causing MTU issues ( fixes #18869 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44461
10 years ago
Steven Barth
6ee8d1f178
netifd: fix device config handling and add some config options
...
Thanks to Hans Dedecker
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44331
10 years ago
Felix Fietkau
ea638e4eba
netifd: fix a regression with some VLAN configurations introduced in the last update
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44098
10 years ago
Felix Fietkau
18d4b8783c
netifd: do not stop service on shutdown, only call ifdown
...
Also add a small delay, like on restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44096
10 years ago
Felix Fietkau
c71cf8e6e4
netifd: update to the latest version, fixes bridge reload ( #18351 ) and device config issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44093
10 years ago
Jo-Philipp Wich
1f6411e436
netifd: store additional DHCP lease information
...
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>
SVN-Revision: 44092
10 years ago
Steven Barth
99fa07d07e
netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44050
10 years ago
Jo-Philipp Wich
a6a142caf6
firewall: respect src_dip option for reflection ( #18544 )
...
Also fix wrong IPv4 netmask calculation on x86-64, thanks Ulrich Weber.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43874
10 years ago
Jo-Philipp Wich
7f6af5ddc9
qos-scripts: bump PKG_REVISION and copyright year
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43860
10 years ago
Steven Barth
4746ffd7a6
netifd: minor fixes, add mldversion option
...
thanks to Hans Dedecker
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43771
10 years ago