1. 01 Feb, 2015 1 commit
  2. 26 Jan, 2015 1 commit
  3. 22 Jan, 2015 1 commit
  4. 21 Jan, 2015 2 commits
  5. 19 Jan, 2015 2 commits
  6. 13 Jan, 2015 3 commits
  7. 10 Jan, 2015 1 commit
  8. 09 Jan, 2015 1 commit
  9. 08 Jan, 2015 2 commits
  10. 06 Jan, 2015 1 commit
  11. 04 Jan, 2015 1 commit
  12. 27 Dec, 2014 3 commits
  13. 24 Dec, 2014 1 commit
  14. 23 Dec, 2014 1 commit
  15. 22 Dec, 2014 2 commits
  16. 18 Dec, 2014 1 commit
  17. 17 Dec, 2014 3 commits
  18. 16 Dec, 2014 2 commits
  19. 15 Dec, 2014 1 commit
  20. 11 Dec, 2014 2 commits
  21. 10 Dec, 2014 1 commit
  22. 06 Oct, 2014 2 commits
    • Vladislav Grishenko's avatar
      Improve RFC-compliance when unable to supply addresses in DHCPv6 · b9ff5c8f
      Vladislav Grishenko authored
      While testing https://github.com/sbyx/odhcp6c client I have noticed it
      permanently crashes after startup.
      
      The reason was it (odhcp6c) doesn't expect empty IA options in ADVERTISE
      message without any suboptions.
      
      Despite this validation bug of odhcp6c, dnsmasq should not generate
      ADVERTISE messages with IA if there's nothing to advert per  RFC 3315
      17.2.2:
      
         If the server will not assign any addresses to any IAs in a
      
         subsequent Request from the client, the server MUST send an Advertise
      
         message to the client that includes only a Status Code option with
      
         code NoAddrsAvail and a status message for the user, a Server
      
         Identifier option with the server's DUID, and a Client Identifier
      
         option with the client's DUID.
      
      Meanwhile it's need to add status code for every IA in REPLY message per
      RFC3315 18.2.1:
      
         If the server cannot assign any addresses to an IA in the message
         from the client, the server MUST include the IA in the Reply message
         with no addresses in the IA and a Status Code option in the IA
         containing status code NoAddrsAvail.
      
      So, I've changed the logic to skip IA completely from ADVERTISE messages and
      to add NoAddrsAvail subcode into IA of REPLY messages.
      
      As for overhead, yes, I believe it's ok to return NoAddrsAvail twice in IA
      and in global section for compatibility with all old and new clients.
      b9ff5c8f
    • Tomas Hozza's avatar
      Fit example conf file typo. · 3d9d2dd0
      Tomas Hozza authored
      3d9d2dd0
  23. 04 Oct, 2014 2 commits
  24. 03 Oct, 2014 3 commits