1. 01 Sep, 2016 1 commit
  2. 31 Aug, 2016 1 commit
  3. 29 Aug, 2016 4 commits
  4. 14 Aug, 2016 2 commits
  5. 12 Aug, 2016 1 commit
  6. 05 Aug, 2016 1 commit
  7. 24 Jul, 2016 1 commit
  8. 23 Jul, 2016 3 commits
  9. 17 Jul, 2016 2 commits
  10. 12 Jul, 2016 4 commits
    • Simon Kelley's avatar
      d6dce53e
    • Kevin Darbyshire-Bryant's avatar
      Fix problem with --dnssec-timestamp · 06093a9a
      Kevin Darbyshire-Bryant authored
      whereby receipt of SIGHUP would erroneously engage timestamp checking.
      06093a9a
    • Ivan Kokshaysky's avatar
      Fix logic error in Linux netlink code. · 1d07667a
      Ivan Kokshaysky authored
      This could cause dnsmasq to enter a tight loop on systems
      with a very large number of network interfaces.
      1d07667a
    • Simon Kelley's avatar
      Fix bad behaviour with some DHCP option arrangements. · 591ed1e9
      Simon Kelley authored
      The check that there's enough space to store the DHCP agent-id
      at the end of the packet could succeed when it should fail
      if the END option is in either of the oprion-overload areas.
      That could overwrite legit options in the request and cause
      bad behaviour. It's highly unlikely that any sane DHCP client
      would trigger this bug, and it's never been seen, but this
      fixes the problem.
      
      Also fix off-by-one in bounds checking of option processing.
      Worst case scenario on that is a read one byte beyond the
      end off a buffer with a crafted packet, and maybe therefore
      a SIGV crash if the memory after the buffer is not mapped.
      
      Thanks to Timothy Becker for spotting these.
      591ed1e9
  11. 11 Jul, 2016 3 commits
  12. 07 Jul, 2016 5 commits
  13. 18 May, 2016 3 commits
  14. 16 May, 2016 1 commit
  15. 15 May, 2016 3 commits
  16. 12 May, 2016 2 commits
  17. 11 May, 2016 1 commit
  18. 04 May, 2016 2 commits
    • Neil Jerram's avatar
      Fix for DHCP in transmission interface when --bridge-interface in use. · ff325644
      Neil Jerram authored
      From f3d832b41f44c856003517c583fbd7af4dca722c Mon Sep 17 00:00:00 2001
      From: Neil Jerram <Neil.Jerram@metaswitch.com>
      Date: Fri, 8 Apr 2016 19:23:47 +0100
      Subject: [PATCH] Fix DHCPv4 reply via --bridge-interface alias interface
      
      Sending a DHCPv4 reply through a --bridge-interface alias interface
      was inadvertently broken by
      
        commit 65c72120
        Author: Lung-Pin Chang <changlp@cs.nctu.edu.tw>
        Date:   Thu Mar 19 23:22:21 2015 +0000
      
            dhcp: set outbound interface via cmsg in unicast reply
      
              If multiple routes to the same network exist, Linux blindly picks
              the first interface (route) based on destination address, which might not be
              the one we're actually offering leases. Rather than relying on this,
              always set the interface for outgoing unicast DHCP packets.
      
      because in the aliasing case, iface_index is changed from the index of
      the interface on which the packet was received, to be the interface
      index of the 'bridge' interface (where the DHCP context is expected to
      be defined, and so needs to be looked up).
      
      For the cmsg code that the cited commit added, we need the original
      iface_index; so this commit saves that off before the aliasing code
      can change it, as rcvd_iface_index, and then uses rcvd_iface_index
      instead of iface_index for the cmsg code.
      ff325644
    • Simon Kelley's avatar