Skip to content
Snippets Groups Projects
  1. Jun 30, 2020
  2. Jun 29, 2020
  3. Mar 22, 2020
  4. Jun 17, 2019
  5. Jun 14, 2018
  6. May 07, 2018
  7. Apr 27, 2018
  8. Jun 12, 2017
  9. Feb 12, 2017
  10. Sep 12, 2016
    • Antoine Beaupré's avatar
      run daemon as the irker user (Close: #832758) · 1980b7cb
      Antoine Beaupré authored
      this is an improvement upon the default .service file. it requires a
      irker user to be created, something which is automatically handled by
      the debian package, but should be handled by other distributions when
      deploying the .service file.
      
      there are obvious dangers in running irkerd as root: a compromise
      would be catastrophic, and since it runs on public servers that are
      traditionnally pretty hostile (IRC), it seems critical that rights of
      the daemon be limited.
      1980b7cb
    • Laurent Bachelier's avatar
      Only HTTPError has a code attribute · 7b5019b8
      Laurent Bachelier authored
      7b5019b8
  11. Aug 04, 2016
  12. Jul 28, 2016
    • Daniel Kahn Gillmor's avatar
      improve irkerd.service · 99dc4e7c
      Daniel Kahn Gillmor authored
      irkerd should not be launched as root.
      
      admins might not remember whether the service is called "irkerd" or
      "irker".
      
      "irker daemon" doesn't really describe the service to someone who
      doesn't already know what it is.
      
      the .service file does not currently point to the relevant
      documentation.
      
      this patch addresses all of the above issues.
      99dc4e7c
    • Antoine Beaupré's avatar
      do not hardcode syslog devices · 5ebfea3b
      Antoine Beaupré authored
      in my specific use case (Debian Jessie), multiple of the candidates
      exist, which makes the whole thing *crash* because there are more than
      one candidates.
      
      regardless, we shouldn't have to guess where syslog can be: it's the
      stdlib's job to do the right thing and find the right device here.
      
      otherwise this should be configurable. so revert part of the previous
      commits and restore sanity.
      5ebfea3b
  13. Jun 02, 2016
  14. May 25, 2016
  15. Apr 15, 2016
  16. Mar 25, 2016
    • Eric S. Raymond's avatar
      Merge branch 'master' into 'master' · 86178b06
      Eric S. Raymond authored
      Fix irk for Python 3 and Unicode input
      
      There were several issues:
      - json.dumps does not have an encoding parameter in Python 3.
      - Forcing the json.dumps encoding to ASCII prevents any non-ASCII
        character in the message. To avoid having non-ASCII characters in the
        *dump*, the only needed parameter is ensure_ascii=True which is the
        default.
      - To coerce a str to bytes in Python 3, an encoding must be provided
        even when it only contains ASCII characters.
        The solution is to use the encode() method which is available in both
        versions.
      
      See merge request !7
      86178b06
    • Laurent Bachelier's avatar
      Fix irk for Python 3 and Unicode input · 0764f07c
      Laurent Bachelier authored
      There were several issues:
      - json.dumps does not have an encoding parameter in Python 3.
      - Forcing the json.dumps encoding to ASCII prevents any non-ASCII
        character in the message. To avoid having non-ASCII characters in the
        *dump*, the only needed parameter is ensure_ascii=True which is the
        default.
      - To coerce a str to bytes in Python 3, an encoding must be provided
        even when it only contains ASCII characters.
        The solution is to use the encode() method which is available in both
        versions.
      0764f07c
  17. Mar 14, 2016
Loading