- May 25, 2017
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- May 22, 2017
-
-
Hans Dedecker authored
7573880 system-linux: parse 6rd specific settings as nested json data object a063705 system-linux: remove redundant check for strtoul() return value e6ebe0b build: disable unknown warning option error in clang 08d8f47 interface: add new "ifup-failed" hotplug event 20a1bac bridge: reset primary only after marking the member not present 6b9c267 build: suppress format truncation warnings to avoid errors with gcc7 Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Apr 24, 2017
-
-
Hans Dedecker authored
Based on a patch by Alexandru Ardelean. netifd ubus reload call returns the actual reload error status; return error status as well in reload_service Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Hans Dedecker authored
11cb9cf ubus: add interface method to trigger renew event 4375d1b system-linux: allow "throw" route type 5fbd904 netifd: propagate error code on netifd_reload() 6e0acec interface-ip: fix device name for IPv6 link-local DNS server Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Apr 03, 2017
-
-
Hans Dedecker authored
Fix fw3 warnings in dhcp script in case fw3 is not enabled Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Mar 28, 2017
-
-
Yousong Zhou authored
These are recommended practices by REC-22 and REC-24 of RFC6092: "Recommended Simple Security Capabilities in Customer Premises Equipment (CPE) for Providing Residential IPv6 Internet Service" Fixes FS#640 Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Mar 21, 2017
-
-
Hans Dedecker authored
a032166 interface-ip: set prefix indicator flag when IPv6 prefix lifetime changes b4f8984 system-linux: parse vti specific settings as nested json data object 7e3b89a system-linux: parse gre specific settings as nested json data object Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Hans Dedecker authored
Add vti specific settings ikey and okey as a nested data json object Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Hans Dedecker authored
Add gre specific settings ikey, okey, iseqno, oseqno, icsum and ocsum as a nested data json object Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Mar 10, 2017
-
-
Matthias Schiffer authored
Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
- Mar 09, 2017
-
-
Matthias Schiffer authored
91810ec system-linux: add VXLAN support Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
- Mar 02, 2017
-
-
Florian Fainelli authored
Fixes linking failures observed with external toolchains: /home/florian/dev/toolchains/stbgcc-4.8-1.5/bin/../lib/gcc/mipsel-linux-gnu/4.8.5/../../../../mipsel-linux-gnu/bin/ld: warning: libubox.so, needed by /home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so, not found (try using -rpath or -rpath-link) /home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so: undefined reference to `blobmsg_open_nested' /home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so: undefined reference to `blobmsg_parse' /home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so: undefined reference to `blob_nest_end' /home/florian/dev/openwrt/trunk/staging_dir/target-mipsel-unknown-linux-gnu_glibc/usr/lib/libuci.so: undefined reference to `blobmsg_add_field' Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
- Feb 23, 2017
-
-
Ben Kelly authored
When not defining 'device' or 'vlan' in relevant switch_port uci sections, behaviour is inconsistent due to *devn, *port and *vlan pointers not being zero initialized. Signed-off-by:
Ben Kelly <ben@benjii.net>
-
Felix Fietkau authored
stop() is overwritten by rc.common, so implement stop_service instead. While at it, remove the now unnecessary restart() override Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Feb 19, 2017
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Feb 15, 2017
-
-
Felix Fietkau authored
fq_codel is built-in, and xt_CONNMARK is provided by the xt_connmark module Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Feb 12, 2017
-
-
Hans Dedecker authored
f107656 netifd: Add option to configure locktime for each device cdc0e80 interface: add prefix assignment priority support 6397f5e device: add veth support 6228d0f wireless: fix _wireless_add_process 7cc2f10 treewide: fix white space errors Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Jan 26, 2017
-
-
Hans Dedecker authored
650758b interface-ip: route proto config support (FS#170) Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Jan 24, 2017
-
-
Mathias Kresin authored
The packages can't be build as shared packages due to the unmet dependencies. Fixes FS#418. Signed-off-by:
Mathias Kresin <dev@kresin.me>
-
- Jan 17, 2017
-
-
Hans Dedecker authored
a057f6e device: fix DEV_OPT_SENDREDIRECTS definition Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Jan 13, 2017
-
-
Jo-Philipp Wich authored
Packets which are merely forwarded by the router and which are neither involved in any DNAT/SNAT nor originate locally, are considered INVALID from a conntrack point of view, causing them to get dropped in the zone_*_dest_ACCEPT chains, since those only allow stream with state NEW or UNTRACKED. Remove the ctstate restriction on dest accept chains to properly pass- through unrelated 3rd party traffic. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Felix Fietkau authored
This disables IGMP snooping by default, which was causing various issues over time, like FS#95 Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jan 03, 2017
-
-
Roger Pueyo Centelles authored
This commit modifies the /lib/netifd/proto/gre.sh script so that, when GRE-TAP tunnels are created, either IPv4 or IPv6, the prefix before the chosen interface name contains the "tap" substring, to differentiate them from non-TAP GRE tunnels. Right now, both GRE and GRE-TAP tunnel (either IPv4 or IPv6) interfaces defined in /etc/config/network are named equally ("gre-"+$ifname or "grev6"+$ifname) upon creation. For instance, the following tunnels: config interface 'tuna' option peeraddr '172.30.22.1' option proto 'gre' config interface 'tunb' option peeraddr '192.168.233.4' option proto 'gretap' config interface 'tunc' option peer6addr 'fdc5:7c9e:e93d:45af::1' option proto 'grev6' config interface 'tund' option peer6addr 'fdc0:6071:1348:31ff::2' option proto 'grev6tap' are named, respectively, "gre-tuna", "gre-tunb", "grev6-tunc" and "grev6-tund". The current change makes that each GRE tunnel interface of the four different types available (gre, gretap, grev6 and grev6tap) gets a different prefix. Therefore, the abovementioned tunnels will be named, respectively: "gre4-tuna", "gre4t-tunb", "gre6-tunc" and "gre6t-tund". This is coherent with other types of virtual interfaces (i.e. PPP, PPPoE, PPPoA) where the whole protocol name is used. For instance, a PPPoA interface named "p1" and a PPPoE interface named "p2" will respectively appear as "pppoa-p1" and "pppoe-p2", not as "ppp-p1" and "ppp-p2"). Since Linux interfaces names are limited to 15 characters, these prefixes leave, for the worst case (TAP tunnels), 9 characters for the actual name. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
- Dec 25, 2016
-
-
Hans Dedecker authored
64a655d proto: allow configuring deprecated static IPv6 addresses c99182e remove obsolete /opt/local prefix on Mac OS X 0249d5f system-linux: Don't set gre tunnel ttl by default to 64 (#FS312) edc15ca ubus: Display the IPv6 prefix assigned address Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Hans Dedecker authored
Don't assign a default ttl of 64 for gre tunnels as netifd takes care of the default ttl assignment Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Dec 22, 2016
-
-
Felix Fietkau authored
Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Alexandru Ardelean authored
Same as for grev4 & grev6 Signed-off-by:
Alexandru Ardelean <ardeleanalex@gmail.com>
-
Alexandru Ardelean authored
Build seems to fail with: ``` Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for X: * grev4 * * opkg_install_cmd: Cannot install package X ``` After adding an empty install rule, the failure goes away. Signed-off-by:
Alexandru Ardelean <ardeleanalex@gmail.com>
-
- Dec 16, 2016
-
-
Felix Fietkau authored
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Dec 14, 2016
-
-
Felix Fietkau authored
Reduces binary size Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Jo-Philipp Wich authored
Update to current HEAD in order to drop automatic generation of per-zone NOTRACK rules. The NOTRACK rules used to provide a little performance improvement but the later introduction of the netfilter conntrack cache made those rules largely unnecessary. Additionally, those rules caused various issues which broke stateful firewalling in some scenarios. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Nov 22, 2016
-
-
Felix Fietkau authored
Fixes config reload on bridge MAC address changes Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Nov 08, 2016
-
-
Jo-Philipp Wich authored
Update to latest Git head in order to import several fixes and enhancements. - Disable drop invalid by default (FS#73, FS#154) Instead of dropping packets with conntrack state INVALID, only allow streams with explicit NEW or UNTRACKED conntrack state. This change gives user defined rules the chance to accept traffic like ICMPv6 multicast which would be filtered away by the very early ctstate INVALID drop rule otherwise. The old behaviour can be restored by explicitely setting "drop_invalid" to 1 in the global firewall config section. - Fix re-initialization of loadable iptables extensions on musl (FS#31) Since musl does not implement actual dlclose() semantics, it is impossible to re-run initializers on subsequent dlopen() calls. The firewall3 executable now intercepts the extension registration calls instead in order to be able to re-call them when needed. This also allowed us to switch to libxtables' builtin extension loader as a positive side-effect. - Fix masquerade rules for multiple negated IP addresses (FS#248) When building MASQUERADE rules for zones which specify multiple negated addresses in masq_src or masq_dest, emit -j RETURN rules which jump out of the masquerading chain instead of creating multiple rules with inverted "-s" arguments. - Tag own rules using comments Instead of relying on the nonstandard xt_id match, use the xt_comment match to mark own rules. Existing comments are prefixed with "!fw3: " while uncommented rules are marked with a sole "!fw3" string. This allows removing the xt_id match entirely in a later commit. - Make missing ubus connection nonfatal Technically, firewall3 is able to operate without ubus just fine as long as the zones are declared using "option device" or "option subnet" instead of "option network" so do not abort execution if ubus could not be connected or of no network namespace is exported in ubus. This allows running firewall3 on ordinary Linux systems. - Fix conntrack requirement detection for indirectly connected zones The current code fails to apply the conntrack requirement flag recursively to zones, leading to stray NOTRACK rules which break conntrack based traffic policing. Change the implementation to iteratively reapply the conntrack fixup logic until no more zones had been changed in order to ensure that all directly and indirectly connected zones receive the conntrack requirement flag. - Add support for iptables 1.6.x Adds support for the xtables version 11 api in order to allow building against iptables 1.6.x Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Oct 27, 2016
-
-
John Crispin authored
Signed-off-by:
John Crispin <john@phrozen.org>
-
- Oct 26, 2016
-
-
Hans Dedecker authored
Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Baptiste Jonglez authored
This option, defined by RFC3442, allows a DHCP server to send static routes to a client. But the client has to request this option explicitely. Static routes are useful when the gateway configured by DHCP cannot be in the same subnet as the client. This happens, for instance, when using DHCP to hand out addresses in /32 subnets. A new configuration option "classlessroute" is available, allowing users to disable this feature (the option defaults to true). Other DHCP clients already request this option by default (dhcpcd, for instance, and possibly Windows). If a DHCP server does not support this option, it will simply ignore it. Signed-off-by:
Baptiste Jonglez <git@bitsofnetworks.org>
-
- Oct 15, 2016
-
-
Alexandru Ardelean authored
Signed-off-by:
Alexandru Ardelean <ardeleanalex@gmail.com>
-
- Oct 06, 2016
-
-
Daniel Engberg authored
* Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by:
Daniel Engberg <daniel.engberg.lists@pyret.net>
-
- Oct 04, 2016
-
-
Hans Dedecker authored
Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Sep 28, 2016
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-