Skip to content
Snippets Groups Projects
  1. Jan 16, 2017
  2. Jan 15, 2017
  3. Jan 13, 2017
  4. Jan 12, 2017
    • Hans Dedecker's avatar
      map: take over maintainership · d1daf3f3
      Hans Dedecker authored
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      d1daf3f3
    • Hans Dedecker's avatar
      odhcp6c: take over maintainership · 0d49f9f4
      Hans Dedecker authored
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      0d49f9f4
    • Hans Dedecker's avatar
      odhcpd: take over maintainership · 5303d4be
      Hans Dedecker authored
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      5303d4be
    • Hans Dedecker's avatar
      Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'" · ec63e3bf
      Hans Dedecker authored
      
      This causes problem when a FQDN is configured in /etc/config/system. The
      domain name will appear twice in reverse DNS.
      
      Next to that, there seems to be a bug in dnsmasq. From the manual page:
      
      --interface-name=<name>,<interface>[/4|/6]
      Return  a  DNS  record  associating  the  name  with  the primary address
      on the given interface. This flag specifies an A or AAAA record for the
      given name in the same way as an /etc/hosts line, except that the address
      is not constant, but taken from the given interface. The interface may be
      followed by "/4" or "/6" to specify  that  only  IPv4  or  IPv6 addresses
      of the interface should be used. If the interface is down, not configured
      or non-existent, an empty record is returned. The matching PTR record is
      also created, mapping the interface address to the name. More than one name
      may be associated with an interface address by repeating the flag; in that
      case the first instance is used for  the  reverse address-to-name mapping.
      
      It does not just create an A/AAAA record for the primary address, it creates
      one for all addresses. And what is worse, it seems to actually resolve to the
      non-primary address first. This is quite annoying when you use floating IP
      addresses (e.g. VRRP), because when the floating IP is on the other device,
      SSH failes due to incorrect entry in the known hosts file.
      
      I know that this is not a common setup, but it would be nice if there was an
      option to restore the previous behaviour, rather than just forcing this new
      feature on everybody.
      
      Reported-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      ec63e3bf
    • Hans Dedecker's avatar
      map: delete map-t device when tearing down map interface · bb8e9c51
      Hans Dedecker authored
      
      Delete the map-t device when tearing down the map-t interface; as such
      there's no conflict when the map-t interface comes up again when trying
      to add the map-t device as the map-t device was still present
      (Can not add: device 'map-wan6_4' already exists!).
      
      Only call ifdown in teardown for map-e and lw6o4 map interfaces types
      in order to suppress the trace "wan6_4 (6652): Interface wan6_4_ not found"
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      bb8e9c51
  5. Jan 11, 2017
  6. Jan 10, 2017
  7. Jan 09, 2017
    • Hans Dedecker's avatar
      odhcp6c: add option "keep_ra_dnslifetime" · 8d2171e4
      Hans Dedecker authored
      
      Add option keep_ra_dnslifetime which will preserve the received
      lifetime for RDNSS and DNSSL RA records and not overwrite it
      by the RA router lifetime as specified in RFC6106.
      This allows to accept RDNNS records from RAs that don't announce
      a default route by setting router lifetime to 0 in the RAs.
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      8d2171e4
  8. Jan 07, 2017
    • Hans Dedecker's avatar
      odhcpd: bump to git HEAD · 621f8cbf
      Hans Dedecker authored
      
      ef3c563 dhcpv6-ia: filter out prefixes having invalid length
      16cd87e dhcpv6-ia: fix dereference after freeing assignment
      d6b0c99 dhcpv6-ia: log only IPv6 addresses which are effectively
      assigned to a DHCPv6 client
      08a9367 config: respect ignore uci option
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      621f8cbf
  9. Jan 05, 2017
    • Eric Luehrsen's avatar
      dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name' · 612e2276
      Eric Luehrsen authored
      
      'add_local_hostname' previous implementation may drop some addresses.
      Soft addition of IP6 addresses may not cause a reload or restart event.
      dnsmasq '--interface-name' robustly applies DNS to all addresses per
      interface (except fe80::/10).
      
      Change UCI 'add_local_hostname' to expand during each interface assignement
      during add_dhcp().
      Assign '<iface>.<host>.<domain>' as true name (reflexive A, AAAA, and PTR).
      Assign '<host>.<domain>' and '<host>' as convinience aliases (no PTR, not
      technically CNAME).
      This is accomplished with the '--interface-name' order, first is PTR.
      We could also assign each <ip4/6>.<iface>.<host>.<domain> to the respective
      dual stack on the interface.
      That seemed excessive so it was skipped (/4 or /6 suffix to the interface).
      Add UCI 'add_wan_hostname' similar to 'add_local_hostname' function for
      external WAN.
      
      WAN IP4 are less often named by the ISP and rarely WAN IP6 due to complexity.
      For logs, LuCI connection graph, and other uses assigning a WAN name is desired.
      'add_local_hostname' only applies with DHCP and 'add_wam_hostname' only applies
      without DHCP. Common residential users will want to set both options TRUE.
      Businesses will probably have global DNS, static IP, and 'add_wan_hostname' FALSE.
      
      Signed-off-by: default avatarEric Luehrsen <ericluehrsen@hotmail.com>
      612e2276
    • Eric Luehrsen's avatar
    • Felix Fietkau's avatar
  10. Jan 03, 2017
    • Arjen de Korte's avatar
      dnsmasq: add DHCP Unique Identifier for DHCPv6 · 10f91525
      Arjen de Korte authored
      
      Add DHCPv6 matching by DHCP Unique Identifier (RFC-3315) in addition to
      existing MAC-address (RFC-6939). The latter is not widely supported yet.
      
      Signed-off-by: default avatarArjen de Korte <build+lede@de-korte.org>
      10f91525
    • Hans Dedecker's avatar
      odhcpd: bump to git HEAD version · 1175a5b1
      Hans Dedecker authored
      
      091d8a9 dhcpv6-ia: fix static assignment check
      11ce6b5 dhcpv6-ia: coding style fixes
      561890e dhcpv6-ia: update valid_until only for non static DHCPv6 leases
      0b45fce dhcpv4: coding style fixes
      95b76c2 README: Add host leasetime uci parameter
      541219e dhcpv6-ia: fix invalid IPv6/hostname entries in statefile
      13937ab dhcpv6-ia: fix delete logic of an assignment in reconf_timer
      60c3969 dhcpv6-ia : code style fixes
      bf4ebc0 config: use free_lease to delete a lease
      c24782a config: coding style fixes
      0572d1a config: Create statefile dir
      ec833f4 dhcpv6-ia: use free_dhcpv6_assignment where needed
      1d55edb dhcpv6-ia: make free_dhcpv6_assignment static
      f01e538 dhcpv4: make dhcpv4_msg_to_string static
      700f5ab dhcpv4: fix DHCPv4 hostname handling
      4c89614 Limit lifetime of non-static leases in case of release and
      decline
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      1175a5b1
    • Hans Dedecker's avatar
      odhcp6c: bump to git HEAD version · 34fa03ea
      Hans Dedecker authored
      
      5d6fec3 Merge pull request #50 from sartura/libubox_md5_reuse
      33a2ba1 odhcp6c: reuse md5 from libubox
      
      Switch PKG_SOURCE_URL to git.lede-project.org/project/odhcp6c.git
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      34fa03ea
    • Stijn Tintel's avatar
      hostapd: enable SHA256-based algorithms · 388681fe
      Stijn Tintel authored
      
      Enable support for stronger SHA256-based algorithms in hostapd and
      wpa_supplicant when using WPA-EAP or WPA-PSK with 802.11w enabled.
      
      We cannot unconditionally enable it, as it requires hostapd to be
      compiled with 802.11w support, which is disabled in the -mini variants.
      
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      Tested-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>
      388681fe
    • Stijn Tintel's avatar
      hostapd: add function to handle wpa_key_mgmt · 30f14f61
      Stijn Tintel authored
      
      Now that wpa_key_mgmt handling for hostapd and wpa_supplicant are
      consistent, we can move parts of it to a dedicated function.
      
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      Tested-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>
      30f14f61
    • Stijn Tintel's avatar
      wpa_supplicant: rework wpa_key_mgmt handling · bdcffb9b
      Stijn Tintel authored
      
      Rework wpa_key_mgmt handling for wpa_supplicant to be consistent with
      how it is done for hostapd.
      
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      Tested-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>
      bdcffb9b
    • Roger Pueyo Centelles's avatar
      gre: add different per-protocol prefixes to GRE-TAP IPv4/6 tunnel interfaces. · c6d3a629
      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: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
      c6d3a629
    • Rosen Penev's avatar
      curl: Remove PolarSSL and adjust default to mbedTLS · 55868001
      Rosen Penev authored
      
      luci-ssl has already made the switch since mainline support for PolarSSL is
      almost over (2016).
      
      Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
      55868001
  11. Jan 02, 2017
    • Hauke Mehrtens's avatar
      curl: update to version 7.52.1 · 1436e154
      Hauke Mehrtens authored
      
      This fixes the folowing security problems:
      
      CVE-2016-9586: printf floating point buffer overflow
      CVE-2016-9952: Win CE schannel cert wildcard matches too much
      CVE-2016-9953: Win CE schannel cert name out of buffer read
      CVE-2016-9594: unititialized random
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      1436e154
  12. Dec 30, 2016
  13. Dec 27, 2016
Loading