2014-11-13 7 views
16

ho notato che la mia applicazione in esecuzione nel simulatore stampato questa linea nella console:Che cos'è pancake.apple.com?

RTCReporting: resolve from http://pancake.apple.com/bags/hls?version=4.12 

Ora, c'è già un question, che tenta di rispondere perché questa eccezione è in corso, ma francamente avrei preferito ora cos'è pancake.apple.com e perché restituisce un plist? A cosa serve questo plist e, inoltre, cos'è pancake.apple.com, ci sono altri casi in cui viene chiamato questo endpoint?

Ed ecco i contenuti in tutta la loro base di 64 decodificato gloria:

Questa è la "borsa"

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
<plist version="1.0"> 
<dict> 
    <key>apple_internal</key> 
    <dict> 
     <key>dashboard</key> 
     <dict> 
      <key>display_url</key> 
      <string>https://hls.apple.com/dashboard/</string> 
      <key>ip</key> 
      <string>17.197.13.203</string> 
      <key>port</key> 
      <integer>16384</integer> 
     </dict> 
     <key>power</key> 
     <dict> 
      <key>foo</key> 
      <string>bar</string> 
     </dict> 
     <key>splunk</key> 
     <dict> 
      <key>clients</key> 
      <array> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>netflix,vega,hulu</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>Netflix</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>iPhone</string> 
         <string>iPad</string> 
         <string>iPod touch</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
       </dict> 
       <dict> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>hierarchy</key> 
        <integer>1</integer> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_itr_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>tilt</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>itunes.extras</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>YouTube</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>iPhone</string> 
         <string>iPad</string> 
         <string>iPod touch</string> 
        </array> 
        <key>event_threshold</key> 
        <integer>50</integer> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
       </dict> 
      </array> 
     </dict> 
    </dict> 
    <key>development</key> 
    <dict> 
     <key>dashboard</key> 
     <dict> 
      <key>display_url</key> 
      <string>https://hls.apple.com/dashboard-dev/</string> 
      <key>ip</key> 
      <string>17.197.13.218</string> 
      <key>port</key> 
      <integer>16384</integer> 
      <key>reliable</key> 
      <integer>500</integer> 
     </dict> 
     <key>power</key> 
     <dict> 
      <key>foo</key> 
      <string>bar</string> 
     </dict> 
     <key>splunk</key> 
     <dict> 
      <key>clients</key> 
      <array> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>0.9</real> 
        <key>service</key> 
        <string>netflix,vega,hulu</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>Netflix</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>iPhone</string> 
         <string>iPad</string> 
         <string>iPod touch</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
       </dict> 
       <dict> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>sha256</string> 
          <key>key</key> 
          <string>URI</string> 
          <key>method</key> 
          <integer>1</integer> 
          <key>status</key> 
          <integer>0</integer> 
         </dict> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>hierarchy</key> 
        <integer>1</integer> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>0</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_itr_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>tilt</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>sha256</string> 
          <key>key</key> 
          <string>URI</string> 
          <key>method</key> 
          <integer>1</integer> 
          <key>status</key> 
          <integer>0</integer> 
         </dict> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>0.9</real> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>netflix</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>iPhone</string> 
         <string>iPad</string> 
         <string>iPod touch</string> 
        </array> 
        <key>filters</key> 
        <array/> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>0.9</real> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>itunes.extras</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>iTunes</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Mac</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
       </dict> 
      </array> 
     </dict> 
    </dict> 
    <key>release</key> 
    <dict> 
     <key>splunk</key> 
     <dict> 
      <key>clients</key> 
      <array> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>0</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>netflix,vega,hulu</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>Netflix</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>iPhone</string> 
         <string>iPad</string> 
         <string>iPod touch</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>0</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
       </dict> 
       <dict> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>hierarchy</key> 
        <integer>1</integer> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_itr_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>tilt</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>AppleTV</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>Apple TV</string> 
        </array> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>1</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_atv_qos</string> 
        <key>sampling_threshold</key> 
        <real>1.0</real> 
        <key>service</key> 
        <string>itunes.extras</string> 
       </dict> 
       <dict> 
        <key>client</key> 
        <string>YouTube</string> 
        <key>device_whitelist</key> 
        <array> 
         <string>iPhone</string> 
         <string>iPad</string> 
         <string>iPod touch</string> 
        </array> 
        <key>event_threshold</key> 
        <integer>50</integer> 
        <key>filters</key> 
        <array> 
         <dict> 
          <key>action</key> 
          <string>remove</string> 
          <key>key</key> 
          <string>URI</string> 
         </dict> 
        </array> 
        <key>locale_whitelist</key> 
        <array> 
         <string>US</string> 
        </array> 
        <key>override_dnu</key> 
        <integer>0</integer> 
        <key>post_url</key> 
        <string>https://xp.apple.com/report/2/img_qos</string> 
        <key>sampling_threshold</key> 
        <real>0.25</real> 
       </dict> 
      </array> 
     </dict> 
    </dict> 
    <key>version</key> 
    <string>1.0.0-41-g98d9515</string> 
</dict> 
</plist> 

E la "chiave" è un file binario.

+11

Non so, ma sembra gustoso. – rickster

+0

Prendi il contenuto della stringa dict/stringa e decodificalo, vedrai cosa contiene. Base64 – epascarello

+0

@epascarello è come scartare un regalo di natale – stevebot

risposta

2

Guardando i dati ricevuti da pancake.apple.com (è un plist codificato in base64), sembra che stia appena restituendo una verifica per verificare se un dispositivo è autorizzato o meno per la condivisione domestica.

Problemi correlati