Online Connections: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{wikify}}
= Game Related =


'''Note:''' there is some reference on the [[Talk:Online_Connections|talk page]]
PlayStation 4 games and applications induce connection to internet to download updates, be downloaded in the case of contents bought on the PlayStation store, and some specific games use more connections for online gaming or diverse additional contents.


== Game Description JSON ==


== Online Connections ==
Format:
* http://tmdb.np.dl.playstation.net/tmdb2/<NP Title ID>_<NP Title ID Hash>/<NP Title ID>.json


=== Game Related ===
Example:
'''Playroom used as example for Game Update URLs'''
* http://tmdb.np.dl.playstation.net/tmdb2/CUSA00001_00_C32A667A087A40C2AD1889435907AA4B0D9DBA1F/CUSA00001_00.json


Game Description File:
== Game Update Description XML ==
http://tmdb.np.dl.playstation.net/tmdb2/CUSA00001_00_C32A667A087A40C2AD1889435907AA4B0D9DBA1F/CUSA00001_00.json


Game Update Description File:
Contains link to the Delta Package if it exists, the PlayGo Manifest XML and the Description JSON.
http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.json


Game Update .pkg File:
Format:
http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.pkg
* http://gs-sec.ww.np.dl.playstation.net/plo/np/<Title ID>/<Hash>/<Title ID>-ver.xml


'''Final Fantasy XV Holiday Pack (Free) used as example for DLC related URLs'''
Example:
* http://gs-sec.ww.np.dl.playstation.net/plo/np/CUSA00135/9228795a710cf58e86af98f8496dc2db2ec104abd199812ba9780b8b691327a9/CUSA00135-ver.xml


DLC Description File:
== Game Update Description JSON ==
http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.json


DLC Package File:
Contains links to the chunks of PKG files for the non-cumulative patch.
http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.pkg


DLC SHA Digest Validation File:
Format:
http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.sha
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/<Content ID>-A<Application Version>-V<Version>.json


==== Planet Side 2 ====
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100.json
 
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.json
 
== PlayGo Manifest XML ==
 
Contains information on how the package should be downloaded and installed.
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/playgo-manifest.xml
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/playgo-manifest.xml
 
== Game Update PKG ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/<Content ID>-A<Application Version>-V<Version><Suffix>.pkg
* It can be derived from the JSON url by removing ".json" and appending "<Suffix>.pkg".
* Suffix can be blank or "-DP" for a Delta Package (i.e. a Cumulative Patch) or "_n" where n is a decimal digit representing the chunk number.
 
Example of a single non-cumulative update PKG:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00001_00/4/f_3b8e420561f0b85ff65ac428a15092895f3131e8c4cfd63b1547b32adb6d8370/f/IP9100-CUSA00001_00-PLAYROOM00000000-A0102-V0100.pkg
Example of a single Delta Package update PKG:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100-DP.pkg
Example of chunks of non-cumulative update PKG:
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100_0.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100_1.pkg
* http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/CUSA00135_00/21/f_06da3b33d65c72bc25dac70c5d3c5669addbe50a94e87cc644e5b9471101303f/f/EP1018-CUSA00135_00-BATMANARKHAMKNHT-A0118-V0100_2.pkg
 
== Additional Content JSON ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/<Content ID>.json
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA00135_00/312/f_c94f67a31c1380b702bf7afd2ec4e12ba15228414d0b7fb9c10e278cc8a28513/f/EP1018-CUSA00135_00-ETH0000000000079.json
 
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.json
 
== Additional Content PKG ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/<Content ID>.pkg
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA00135_00/312/f_c94f67a31c1380b702bf7afd2ec4e12ba15228414d0b7fb9c10e278cc8a28513/f/EP1018-CUSA00135_00-ETH0000000000079.pkg
 
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.pkg
 
== Additional Content PKG Digest ==
 
Format:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/<Content ID>.sha
 
Example:
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA00135_00/312/f_c94f67a31c1380b702bf7afd2ec4e12ba15228414d0b7fb9c10e278cc8a28513/f/EP1018-CUSA00135_00-ETH0000000000079.sha
 
* http://gs2.ww.prod.dl.playstation.net/gs2/acpkgo/prod/CUSA01633_00/19/f_4176f85e114c462425174e17f4434b7ba201d6af8226a549388552e169b4c85d/f/UP0082-CUSA01633_00-HOLIDAYFREE00001.sha
 
== Planet Side 2 ==


The [https://en.wikipedia.org/wiki/PlanetSide_2 Planet Side 2] game on PS4 hosted some files on a server owned by Sony. Most URLs had the prefix
The [https://en.wikipedia.org/wiki/PlanetSide_2 Planet Side 2] game on PS4 hosted some files on a server owned by Sony. Most URLs had the prefix
Line 36: Line 96:
</pre>
</pre>


=== Guides ===
= Applications under "TV & Video" =
 
See [[Media Services]].
 
As a side reference, on PlayStation 3 (WebMAF), the user-agent of TV & Video applications used to be mostly <code>"Mozilla/5.0 (PlayStation 3) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code> whilst on PS4 it is mostly <code>Mozilla/5.0 (PlayStation 4) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code>.
 
= Unsorted =
 
== ps4-eb servicelist.xml ==
 
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/servicelist/servicelist.xml
 
It is a white/black list for unknown usage.
 
Content:
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<servicelist version="1.0" platform="ps4">
  <service name="SNS001" default="allow">
  </service>
  <service name="SNS002" default="allow">
  </service>
  <service name="SNS003" default="allow">
  </service>
  <service name="SNS004" default="allow">
  </service>
  <service name="SNS005" default="deny">
    <allow country="jp"/>
  </service>
  <service name="SYS001" default="allow">
    <deny country="de"/>
  </service>
</servicelist>
</source>
 
== ps4-eb applaunchlink.xml ==


* http://wololo.net/2013/12/05/howto-use-a-proxy-server-with-your-ps4-to-sniff-psn-traffic-skfu-pr0xy/
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/applaunchlink/applaunchlink.xml


=== Tools ===
It is a white/black list for unknown usage.


* [http://www.skfu.xxx/2013/11/release-skfus-pr0xy.html SKFU's Pr0xy]
Content:
* [http://www.wireshark.org/ WireShark]
<source lang=xml>
* [http://www.charlesproxy.com/ CharlesProxy]
<?xml version="1.0" encoding="UTF-8"?>
<applaunchlink version="1.0">
  <system_info min_system_ver="01.700.000"/>
  <title_black_list>
  </title_black_list>
</applaunchlink>
</source>


=== Network connections by system ===
= Network connections by the System =


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 123: Line 224:
** https://ps4updptl.jp.sp-int.community.playstation.net/updptl/ps4/
** https://ps4updptl.jp.sp-int.community.playstation.net/updptl/ps4/


=== User-agent of applications under "TV & Video" ===
= Port usage =
 
See [[Media Services]].
 
As a side reference, on PlayStation 3 (WebMAF), the user-agent of TV & Video applications used to be mostly <code>"Mozilla/5.0 (PlayStation 3) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code> whilst on PS4 it is mostly <code>Mozilla/5.0 (PlayStation 4) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0</code>.
 
=== Unsorted ===
 
==== ps4-eb servicelist.xml ====
 
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/servicelist/servicelist.xml
 
It is a white/black list for unknown usage.
 
Content:
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<servicelist version="1.0" platform="ps4">
  <service name="SNS001" default="allow">
  </service>
  <service name="SNS002" default="allow">
  </service>
  <service name="SNS003" default="allow">
  </service>
  <service name="SNS004" default="allow">
  </service>
  <service name="SNS005" default="deny">
    <allow country="jp"/>
  </service>
  <service name="SYS001" default="allow">
    <deny country="de"/>
  </service>
</servicelist>
</source>
 
==== ps4-eb applaunchlink.xml ====
 
* https://ps4-eb.ww.np.dl.playstation.net/ps4-eb/applaunchlink/applaunchlink.xml
 
It is a white/black list for unknown usage.
 
Content:
<source lang=xml>
<?xml version="1.0" encoding="UTF-8"?>
<applaunchlink version="1.0">
  <system_info min_system_ver="01.700.000"/>
  <title_black_list>
  </title_black_list>
</applaunchlink>
</source>
 
== Port usage ==


''[http://www.psdevwiki.com/ps3/Online_Connections#Port_usage ps3 side reference]''
''[http://www.psdevwiki.com/ps3/Online_Connections#Port_usage ps3 side reference]''


=== Generic Port usage ===
== Generic Port usage ==


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 218: Line 268:
|}
|}


== PlayStation 4 Discovery and Wake-up Utility ==
= PlayStation 4 Discovery and Wake-up Utility =


{{PlayStation 4 Discovery and Wake-up Utility}}
{{PlayStation 4 Discovery and Wake-up Utility}}


= Tools =


* [http://www.skfu.xxx/2013/11/release-skfus-pr0xy.html SKFU's Pr0xy]
* [http://www.wireshark.org/ WireShark]
* [http://www.charlesproxy.com/ CharlesProxy]


= Guides =
* http://wololo.net/2013/12/05/howto-use-a-proxy-server-with-your-ps4-to-sniff-psn-traffic-skfu-pr0xy/





Revision as of 21:04, 23 December 2024

Game Related

PlayStation 4 games and applications induce connection to internet to download updates, be downloaded in the case of contents bought on the PlayStation store, and some specific games use more connections for online gaming or diverse additional contents.

Game Description JSON

Format:

Example:

Game Update Description XML

Contains link to the Delta Package if it exists, the PlayGo Manifest XML and the Description JSON.

Format:

Example:

Game Update Description JSON

Contains links to the chunks of PKG files for the non-cumulative patch.

Format:

Example:

PlayGo Manifest XML

Contains information on how the package should be downloaded and installed.

Format:

Example:

Game Update PKG

Format:

  • http://gs2.ww.prod.dl.playstation.net/gs2/ppkgo/prod/<NP Title ID>/<Some number>/f_<Hash>/f/<Content ID>-A<Application Version>-V<Version><Suffix>.pkg
  • It can be derived from the JSON url by removing ".json" and appending "<Suffix>.pkg".
  • Suffix can be blank or "-DP" for a Delta Package (i.e. a Cumulative Patch) or "_n" where n is a decimal digit representing the chunk number.

Example of a single non-cumulative update PKG:

Example of a single Delta Package update PKG:

Example of chunks of non-cumulative update PKG:

Additional Content JSON

Format:

Example:

Additional Content PKG

Format:

Example:

Additional Content PKG Digest

Format:

Example:

Planet Side 2

The Planet Side 2 game on PS4 hosted some files on a server owned by Sony. Most URLs had the prefix

http://pls.patch.station.sony.com/patch/sha/

Applications under "TV & Video"

See Media Services.

As a side reference, on PlayStation 3 (WebMAF), the user-agent of TV & Video applications used to be mostly "Mozilla/5.0 (PlayStation 3) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0 whilst on PS4 it is mostly Mozilla/5.0 (PlayStation 4) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0.

Unsorted

ps4-eb servicelist.xml

It is a white/black list for unknown usage.

Content:

 <?xml version="1.0" encoding="UTF-8"?>
 <servicelist version="1.0" platform="ps4">
   <service name="SNS001" default="allow">
   </service>
   <service name="SNS002" default="allow">
   </service>
   <service name="SNS003" default="allow">
   </service>
   <service name="SNS004" default="allow">
   </service>
   <service name="SNS005" default="deny">
     <allow country="jp"/>
   </service>
   <service name="SYS001" default="allow">
     <deny country="de"/>
   </service>
 </servicelist>

ps4-eb applaunchlink.xml

It is a white/black list for unknown usage.

Content:

 <?xml version="1.0" encoding="UTF-8"?>
 <applaunchlink version="1.0">
   <system_info min_system_ver="01.700.000"/>
   <title_black_list>
   </title_black_list>
 </applaunchlink>

Network connections by the System

User-agent Header Host
btest/1.0 libhttp/1.50 (PlayStation 4) POST /networktest/post_128 HTTP/1.1

GET /networktest/get_2m HTTP/1.1

post.net.playstation.net

get.net.playstation.net

Download/1.00 libhttp/1.50 (PlayStation 4)
Download/1.00 libhttp/1.61 (PlayStation 4)
GET /update/ps4/list/us/ps4-updatelist.xml HTTP/1.1
GET /update/ps4/list/eu/ps4-updatelist.xml HTTP/1.1
fus01.ps4.update.playstation.net
feu01.ps4.update.playstation.net
SystemLogger/1.0 (PlayStation 4 1.501) libhttp/1.50 (PlayStation 4)
SystemLogger/1.0 (PlayStation 4 1.610) libhttp/1.61 (PlayStation 4)
GET /update/ps4/list/us/ps4-updatelist.xml HTTP/1.1
GET /update/ps4/list/eu/ps4-updatelist.xml HTTP/1.1
fus01.ps4.update.playstation.net
feu01.ps4.update.playstation.net
close /update/ps4/image/2014_0528/sys_ce90f2e9274e4614ffde6934e08e4b6e/PS4UPDATE.PUP?dest=eu /update/ps4/image/2014_0528/rec_7f84e2f63d1f6a5b4348bb528b35f2d7/PS4UPDATE.PUP?dest=eu deu01.ps4.update.playstation.net
CONNECT ps4updptl.eu.np.community.playstation.net:443 ps4updptl.eu.np.community.playstation.net
PS4TitleMetadata/1.00 libhttp/1.50 (PlayStation 4) GET /tmdb2/CUSA00080_00_4ED0D1374CB128AC8E277C9A3145505220D6D93A/CUSA00080_00.json HTTP/1.1

GET /tmdb2/CUSA00129_00_44DB6A4F9C773AF95F0D697E14652EABC80BAEFB/CUSA00129_00.json HTTP/1.1
GET /tmdb2/CUSA00001_00_C32A667A087A40C2AD1889435907AA4B0D9DBA1F/CUSA00001_00.json HTTP/1.1

tmdb.np.dl.playstation.net
Mozilla/5.0 (PlayStation 4 1.51) AppleWebKit/536.26 (KHTML, like Gecko) CONNECT themis.dl.playstation.net:443 HTTP/1.1 themis.dl.playstation.net:443
Mozilla/5.0 (PlayStation 4 1.51) AppleWebKit/536.26 (KHTML, like Gecko) CONNECT sf.api.np.km.playstation.net:443 HTTP/1.1 sf.api.np.km.playstation.net:443
CONNECT asm.np.community.playstation.net:443 HTTP/1.1 asm.np.community.playstation.net
Mozilla/5.0 (PlayStation 4 1.51) AppleWebKit/536.26 (KHTML, like Gecko) CONNECT artcdnsecure.ribob01.net:443 HTTP/1.1 artcdnsecure.ribob01.net:443
Mozilla/5.0 (PlayStation 4 1.51) AppleWebKit/536.26 (KHTML, like Gecko) CONNECT api-p014.ribob01.net:443 HTTP/1.1 api-p014.ribob01.net:443
Mozilla/5.0 (PlayStation 4 1.51) AppleWebKit/536.26 (KHTML, like Gecko) CONNECT apicdn-p014.ribob01.net:443 HTTP/1.1 apicdn-p014.ribob01.net:443
CONNECT it-prof.np.community.playstation.net:443 HTTP/1.1 it-prof.np.community.playstation.net
CONNECT ps4updptl.eu.np.community.playstation.net:443 HTTP/1.1 ps4updptl.eu.np.community.playstation.net
CONNECT fswitch.dl.playstation.net:443 fswitch.dl.playstation.net

nonretail:

Port usage

ps3 side reference

Generic Port usage

Protocol Port(s) Usage Remarks
UDP 1-1023 System reserved local ports
TCP 80 PSN Shop / USB/BT headsets http web
TCP 443 PSN Shop https web ssl
TCP 1935 PSN generic
TCP/UDP 3478 Session Traversal Utilities for NAT / Simple Traversal of UDP Through NAT (STUN)
TCP/UDP 3478-3480 NP matching 2 utility default PSN Generic / PS Home
TCP 4000 groupMessaging Crossplatform Integration
TCP 8540-8579 System reserved local ports
TCP 8550 Deci Daemon
TCP over UDP-P2P 9293-9310 System reserved local ports
UDP-P2P virtual 32768-49999 Ephemeral ports
UDP-P2P virtual 32768-65535 System reserved local ports
TCP 49152-65535 Ephemeral ports
TCP over UDP-P2P 49152-65535 Ephemeral ports
UDP 49152-65535 Ephemeral ports
TCP over UDP-P2P 40000-65535 System reserved local ports

PlayStation 4 Discovery and Wake-up Utility

Template:PlayStation 4 Discovery and Wake-up Utility

Tools

Guides