1. 16 Dec, 2013 1 commit
  2. 02 Oct, 2013 2 commits
  3. 04 Oct, 2012 3 commits
  4. 03 Oct, 2012 2 commits
  5. 23 Sep, 2012 1 commit
  6. 21 Sep, 2012 2 commits
  7. 17 Sep, 2012 2 commits
  8. 12 Sep, 2012 1 commit
  9. 11 Sep, 2012 1 commit
    • Dimitris Aragiorgis's avatar
      Fix bug that causes nfdhcpd to freeze · 8d3dcc3b
      Dimitris Aragiorgis authored
      
      
      nfdhcpd opens a socket during init. socket.send() blocks in case
      SO_SNDBUF is full. This might happen when packages are pushed to
      buffer but never consumed (e.g. VM is shuting down).
      
      To fix this we use non-blocking send with MSG_DONTWAIT and catch
      the error when the resource is not available.
      
      In order to empty the socket buffer we close the socket and re-open it.
      To this end we need CAP_NET_RAW capability otherwise operation
      (socket.socket()) is not permitted.
      
      Add various logging messages (during client creation, opening a
      socket, etc.)
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      8d3dcc3b
  10. 06 Sep, 2012 5 commits
  11. 05 Sep, 2012 2 commits
  12. 30 Aug, 2012 1 commit
  13. 07 Aug, 2012 3 commits
  14. 06 Aug, 2012 1 commit
  15. 19 Jul, 2012 1 commit
  16. 03 Jul, 2012 1 commit
    • Dimitris Aragiorgis's avatar
      Refactor nfdhcp · de1a1bb2
      Dimitris Aragiorgis authored
      
      
      Get all info from binding file. Do not parse routing tables. Keep
      track of clients depending on their mac. Support clients connected
      on bridges. Insteed of patching NFQUEUE add new slot in bindings
      that shows the physical device the incomming request originates (tap).
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      de1a1bb2
  17. 02 Apr, 2012 1 commit
  18. 27 Mar, 2012 1 commit
    • Costas Drogos's avatar
      Option for serving domain from nfdhcpd to clients · 26ba9dba
      Costas Drogos authored
          On some occasions the clients do not send an fqdn as hostname,
          so another way to send a domain is needed.
      
          For that, a new optional config directive is introduced, called
          "domain", as a way to hardcode the domain we serve.
      
          If this directive is not defined, the traditional
          'find domain through hostname' technique is used.
      26ba9dba
  19. 12 Oct, 2011 1 commit
    • Vangelis Koukis's avatar
      Handle pidfile properly, redirect stderr in daemon · df3e8fac
      Vangelis Koukis authored
      Handle pidfile creation properly, as part of daemonization process.
      Parse config file and setup logging before daemonization.
      Redirect stderr to logfile upon daemonization, otherwise numerous
      unexpected exceptions get lost.
      df3e8fac
  20. 03 Jun, 2011 3 commits
  21. 22 Mar, 2011 1 commit
  22. 21 Mar, 2011 1 commit
  23. 14 Mar, 2011 2 commits
  24. 11 Mar, 2011 1 commit