Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13648

allow ezodf conversion daemon to only listen to connections from localhost

    XMLWordPrintable

Details

    Description

      By default it listens to connections made by any host, which is unnecessary given the very specific task it has to carry out.

      Fix: add a setting, at the top of the file itself where the other settings are located, where you specify the addresses of the hosts that can connect.
      Then, after accepting a connection, use socket_getpeername() to find out the ip of the caller, and if it is not in the whitelist just close the connection.

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: