1. 11 Nov, 2019 2 commits
  2. 06 Nov, 2019 1 commit
    • Slava Monich's avatar
      [mms-engine] D-Bus access control. JB#46060 · d05adbc6
      Slava Monich authored
      By default, only privileged and sailfish-mms groups (effective or primary)
      are allowed to call most D-Bus methods.
      
      D-Bus access rules can be configured by adding [DBus] section to
      /etc/mms-engine.conf config file:
      
      [DBus]
      MmsEngineAccess=...
      TransferAccess=...
      TransferListAccess=...
      
      The default rules are:
      
      MmsEngineAccess:
      
        (!group(privileged))&(!group(sailfish-mms))&(cancel()|receiveMessage()|
        sendReadReport()|sendMessage()|push()|pushNotify()|setLogLevel()|
        setLogType()|migrateSettings())=deny
      
      TransferAccess:
      
        (!group(privileged))&(!group(sailfish-mms))&Get()=deny
      
      TransferListAccess:
      
        (!group(privileged))&(!group(sailfish-mms))&(GetAll()|EnableUpdates()|
        DisableUpdates()|GetSendProgress()|GetReceiveProgress())=deny
      d05adbc6
  3. 05 Nov, 2019 2 commits
  4. 04 Nov, 2019 1 commit
  5. 03 Nov, 2019 1 commit
  6. 29 May, 2019 2 commits
  7. 28 May, 2019 1 commit
  8. 11 Apr, 2019 2 commits
  9. 08 Apr, 2019 1 commit
  10. 16 Feb, 2019 2 commits
  11. 02 Feb, 2019 2 commits
  12. 18 Jan, 2019 2 commits
  13. 07 Jan, 2019 2 commits
  14. 28 Nov, 2018 3 commits
  15. 08 Nov, 2018 3 commits
  16. 12 Mar, 2018 3 commits
  17. 02 Jul, 2017 1 commit
  18. 20 Jun, 2017 2 commits
  19. 19 Jun, 2017 2 commits
    • Slava Monich's avatar
    • Slava Monich's avatar
      [mms-lib] Workaround for broken MMS proxy IP address. JB#38990 · d0bf187e
      Slava Monich authored
      Some operators provide IP address of the MMS proxy
      prepending zeros to each number shorter then 3 digits,
      e.g. "192.168.094.023" instead of "192.168.94.23".
      That may look nicer but it's actually wrong because
      the numbers starting with zeros are interpreted as
      octal numbers. In the example above 023 actually means
      16 and 094 is not a valid number at all.
      
      In addition to publishing these broken settings on their
      web sites, some of the operators send them over the air,
      in which case we can't even blame the user for entering
      an invalid IP address. We better be prepared to deal with
      those.
      
      Since nobody in the world seems to be actually using the
      octal notation to write an IP address, let's remove the
      leading zeros if we find them in the host part of the MMS
      proxy URL.
      d0bf187e
  20. 30 Jan, 2017 3 commits
  21. 27 Jan, 2017 1 commit
  22. 26 Jan, 2017 1 commit