2020-08-26 04:22:45 +00:00
|
|
|
<!DOCTYPE html ><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/><title>PSF-LoginServer - master - net.psforever.util</title><meta content="PSF - LoginServer - master - net.psforever.util" name="description"/><meta content="PSF LoginServer master net.psforever.util" name="keywords"/><meta http-equiv="content-type" content="text/html; charset=UTF-8"/><link href="../../../lib/index.css" media="screen" type="text/css" rel="stylesheet"/><link href="../../../lib/template.css" media="screen" type="text/css" rel="stylesheet"/><link href="../../../lib/print.css" media="print" type="text/css" rel="stylesheet"/><link href="../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css"/><script type="text/javascript" src="../../../lib/jquery.min.js"></script><script type="text/javascript" src="../../../lib/index.js"></script><script type="text/javascript" src="../../../index.js"></script><script type="text/javascript" src="../../../lib/scheduler.js"></script><script type="text/javascript" src="../../../lib/template.js"></script><script type="text/javascript">/* this variable can be used by the JS to determine the path to the root document */
|
2022-06-14 06:25:15 +00:00
|
|
|
var toRoot = '../../../';</script></head><body><div id="search"><span id="doc-title">PSF-LoginServer - <span id="doc-version">master</span></span> <span class="close-results"><span class="left"><</span> Back</span><div id="textfilter"><span class="input"><input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/"/><i class="clear material-icons"></i><i id="search-icon" class="material-icons"></i></span></div></div><div id="search-results"><div id="search-progress"><div id="progress-fill"></div></div><div id="results-content"><div id="entity-results"></div><div id="member-results"></div></div></div><div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;"><div id="content-container" style="-webkit-overflow-scrolling: touch;"><div id="subpackage-spacer"><div id="packages"><h1>Packages</h1><ul><li class="indented0 " name="_root_.root" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="_root_"></a><a id="root:_root_"></a> <span class="permalink"><a href="../../../index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../../index.html" title=""><span class="name">root</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented1 " name="_root_.net" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="net"></a><a id="net:net"></a> <span class="permalink"><a href="../../../net/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../index.html" title=""><span class="name">net</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented2 " name="net.psforever" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="psforever"></a><a id="psforever:psforever"></a> <span class="permalink"><a href="../../../net/psforever/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../index.html" title=""><span class="name">psforever</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../index.html" name="net" id="net" class="extype">net</a></dd></dl></div></li><li class="indented3 " name="net.psforever.actors" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="actors"></a><a id="actors:actors"></a> <span class="permalink"><a href="../../../net/psforever/actors/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../actors/index.html" title=""><span class="name">actors</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever" id="net.psforever" class="extype">psforever</a></dd></dl></div></li><li class="indented3 " name="net.psforever.filters" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="filters"></a><a id="filters:filters"></a> <span class="permalink"><a href="../../../net/psforever/filters/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../filters/index.html" title=""><span class="name">filters</span></a></span><div class="fullcomment"><dl class="at
|
2020-09-26 22:13:05 +00:00
|
|
|
We can not use Java's built-in DH because it requires much larger p values than the ones that are used
|
2022-06-14 06:25:15 +00:00
|
|
|
for key exchange by the client (which are 128 bits).</p></li><li class="indented0 " name="net.psforever.util.GameConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="GameConfigextendsProductwithSerializable"></a><a id="GameConfig:GameConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/GameConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="GameConfig.html" title=""><span class="name">GameConfig</span></a><span class="params">(<span name="instantActionAms">instantActionAms: <span name="scala.Boolean" class="extype">Boolean</span></span>, <span name="amenityAutorepairRate">amenityAutorepairRate: <span name="scala.Float" class="extype">Float</span></span>, <span name="amenityAutorepairDrainRate">amenityAutorepairDrainRate: <span name="scala.Float" class="extype">Float</span></span>, <span name="bepRate">bepRate: <span name="scala.Double" class="extype">Double</span></span>, <span name="cepRate">cepRate: <span name="scala.Double" class="extype">Double</span></span>, <span name="newAvatar">newAvatar: <a href="NewAvatar.html" name="net.psforever.util.NewAvatar" id="net.psforever.util.NewAvatar" class="extype">NewAvatar</a></span>, <span name="hart">hart: <a href="HartConfig.html" name="net.psforever.util.HartConfig" id="net.psforever.util.HartConfig" class="extype">HartConfig</a></span>, <span name="sharedMaxCooldown">sharedMaxCooldown: <span name="scala.Boolean" class="extype">Boolean</span></span>, <span name="baseCertifications">baseCertifications: <span name="scala.Seq" class="extype">Seq</span>[<a href="../objects/avatar/Certification.html" name="net.psforever.objects.avatar.Certification" id="net.psforever.objects.avatar.Certification" class="extype">Certification</a>]</span>, <span name="warpGates">warpGates: <a href="WarpGateConfig.html" name="net.psforever.util.WarpGateConfig" id="net.psforever.util.WarpGateConfig" class="extype">WarpGateConfig</a></span>, <span name="cavernRotation">cavernRotation: <a href="CavernRotationConfig.html" name="net.psforever.util.CavernRotationConfig" id="net.psforever.util.CavernRotationConfig" class="extype">CavernRotationConfig</a></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.HartConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="HartConfigextendsProductwithSerializable"></a><a id="HartConfig:HartConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/HartConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="HartConfig.html" title=""><span class="name">HartConfig</span></a><span class="params">(<span name="inFlightDuration">inFlightDuration: <span name="scala.Long" class="extype">Long</span></span>, <span name="boardingDuration">boardingDuration: <span name="scala.Long" class="extype">Long</span></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.KamonConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="KamonConfigextendsProductwithSerializable"></a><a id="KamonConfig:KamonConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/KamonConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="KamonConfig.html" title=""><span class="name">KamonConfig</span></a><span class="params">(<span name="enable">enable: <span nam
|
2020-09-26 22:13:05 +00:00
|
|
|
A description of the algorithm can be found at http://cacr.uwaterloo.ca/hac/about/chap9.pdf, 9.69 Algorithm MD5-MAC
|
|
|
|
|
There appear to be two implementations: In older versions of CryptoPP (2007) and OpenCL (2001) (nowadays called
|
|
|
|
|
Botan and not to be confused with the OpenCL standard from Khronos).
|
|
|
|
|
Both libraries have since removed this code. This file is a Scala port of the OpenCL implementation.
|
|
|
|
|
Source: https://github.com/sghiassy/Code-Reading-Book/blob/master/OpenCL/src/md5mac.cpp
|
2021-01-12 19:37:24 +00:00
|
|
|
</p></div></div></li><li class="indented0 " name="net.psforever.util.MiddlewareConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="MiddlewareConfigextendsProductwithSerializable"></a><a id="MiddlewareConfig:MiddlewareConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/MiddlewareConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="MiddlewareConfig.html" title=""><span class="name">MiddlewareConfig</span></a><span class="params">(<span name="packetBundlingDelay">packetBundlingDelay: <span name="scala.concurrent.duration.FiniteDuration" class="extype">FiniteDuration</span></span>, <span name="inReorderTimeout">inReorderTimeout: <span name="scala.concurrent.duration.FiniteDuration" class="extype">FiniteDuration</span></span>, <span name="inSubslotMissingDelay">inSubslotMissingDelay: <span name="scala.concurrent.duration.FiniteDuration" class="extype">FiniteDuration</span></span>, <span name="inSubslotMissingAttempts">inSubslotMissingAttempts: <span name="scala.Int" class="extype">Int</span></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.NetSimConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="NetSimConfigextendsProductwithSerializable"></a><a id="NetSimConfig:NetSimConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/NetSimConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="NetSimConfig.html" title=""><span class="name">NetSimConfig</span></a><span class="params">(<span name="enable">enable: <span name="scala.Boolean" class="extype">Boolean</span></span>, <span name="loss">loss: <span name="scala.Double" class="extype">Double</span></span>, <span name="delay">delay: <span name="scala.concurrent.duration.Duration" class="extype">Duration</span></span>, <span name="reorderChance">reorderChance: <span name="scala.Double" class="extype">Double</span></span>, <span name="reorderTime">reorderTime: <span name="scala.concurrent.duration.Duration" class="extype">Duration</span></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.NetworkConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="NetworkConfigextendsProductwithSerializable"></a><a id="NetworkConfig:NetworkConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/NetworkConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="NetworkConfig.html" title=""><span class="name">NetworkConfig</span></a><span class="params">(<span name="session">session: <a href="SessionConfig.html" name="net.psforever.util.SessionConfig" id="net.psforever.util.SessionConfig" class="extype">SessionConfig</a></span>, <span name="middleware">middleware: <a href="MiddlewareConfig.html" name="net.psforever.util.MiddlewareConfig" id="net.psforever.util.MiddlewareConfig" class="extype">MiddlewareConfig</a></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.NewAvatar" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="NewAvatarextendsProductwithSerializable"></a><a id="NewAvatar:NewAvatar"></a> <span class="permalink"><a href="..
|
2020-08-26 04:22:45 +00:00
|
|
|
The information is mainly catered to the simulation of the CSR commands <code>/zone</code> and <code>/warp</code>.
|
2022-06-14 06:25:15 +00:00
|
|
|
(The exception is <code>alias</code> which is maintained for cosmetic purposes and clarification.)</p></div></div></li><li class="indented0 " name="net.psforever.util.SentryConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="SentryConfigextendsProductwithSerializable"></a><a id="SentryConfig:SentryConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/SentryConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="SentryConfig.html" title=""><span class="name">SentryConfig</span></a><span class="params">(<span name="enable">enable: <span name="scala.Boolean" class="extype">Boolean</span></span>, <span name="dsn">dsn: <span name="scala.Predef.String" class="extype">String</span></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.SessionConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="SessionConfigextendsProductwithSerializable"></a><a id="SessionConfig:SessionConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/SessionConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="SessionConfig.html" title=""><span class="name">SessionConfig</span></a><span class="params">(<span name="inboundGraceTime">inboundGraceTime: <span name="scala.concurrent.duration.FiniteDuration" class="extype">FiniteDuration</span></span>, <span name="outboundGraceTime">outboundGraceTime: <span name="scala.concurrent.duration.FiniteDuration" class="extype">FiniteDuration</span></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.WarpGateConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="WarpGateConfigextendsProductwithSerializable"></a><a id="WarpGateConfig:WarpGateConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/WarpGateConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="WarpGateConfig.html" title=""><span class="name">WarpGateConfig</span></a><span class="params">(<span name="defaultToSanctuaryDestination">defaultToSanctuaryDestination: <span name="scala.Boolean" class="extype">Boolean</span></span>, <span name="broadcastBetweenConflictedFactions">broadcastBetweenConflictedFactions: <span name="scala.Boolean" class="extype">Boolean</span></span>)</span><span class="result"> extends <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span></li><li class="indented0 " name="net.psforever.util.WorldConfig" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="WorldConfigextendsProductwithSerializable"></a><a id="WorldConfig:WorldConfig"></a> <span class="permalink"><a href="../../../net/psforever/util/WorldConfig.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">case class</span></span> <span class="symbol"><a href="WorldConfig.html" title=""><span class="name">WorldConfig</span></a><span class="params">(<span name="port">port: <span name="scala.Int" class="extype">Int</span></span>, <span name="serverName">serverName: <span name="scala.Predef.String" class="extype">String</span></span>, <span name="serverType">serverType: <a href="../packet/game/ServerType.html" name="net.psforever.
|