Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10461

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>RADIUS Packet Types</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="radius.constants.options.html">RADIUS Options</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="radius.constants.attributes.html">RADIUS Attribute Types</a></div>
 <div class="up"><a href="radius.constants.html">Predefined Constants</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="radius.constants.packets" class="section">
  <h2 class="title">RADIUS Packet Types</h2>

  <p class="para">
   RADIUS packets, whether requests or responses, always include a type. These
   constants are provided to make it easier to specify types when using
    <span class="function"><a href="function.radius-create-request.html" class="function">radius_create_request()</a></span> and when comparing the result of
    <span class="function"><a href="function.radius-send-request.html" class="function">radius_send_request()</a></span>.
  </p>

  <dl>

   <dt id="constant.radius-access-request">
    <span class="term">
     <strong><code>RADIUS_ACCESS_REQUEST</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      An Access-Request, used to authenticate a user against a RADIUS server.
      Access request packets must include a
      <a href="radius.constants.attributes.html#constant.radius-nas-ip-address" class="link"><strong><code>RADIUS_NAS_IP_ADDRESS</code></strong></a>
      or a
      <a href="radius.constants.attributes.html#constant.radius-nas-identifier" class="link"><strong><code>RADIUS_NAS_IDENTIFIER</code></strong></a>
      attribute, must also include a
      <a href="radius.constants.attributes.html#constant.radius-user-password" class="link"><strong><code>RADIUS_USER_PASSWORD</code></strong></a>,
      <a href="radius.constants.attributes.html#constant.radius-chap-password" class="link"><strong><code>RADIUS_CHAP_PASSWORD</code></strong></a>
      or a
      <a href="radius.constants.attributes.html#constant.radius-state" class="link"><strong><code>RADIUS_STATE</code></strong></a>
      attribute, and should include a
      <a href="radius.constants.attributes.html#constant.radius-user-name" class="link"><strong><code>RADIUS_USER_NAME</code></strong></a>
      attribute.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-access-accept">
    <span class="term">
     <strong><code>RADIUS_ACCESS_ACCEPT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      An Access-Accept response to an Access-Request indicating that the
      RADIUS server authenticated the user successfully.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-access-reject">
    <span class="term">
     <strong><code>RADIUS_ACCESS_REJECT</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      An Access-Reject response to an Access-Request indicating that the
      RADIUS server could not authenticate the user.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-access-challenge">
    <span class="term">
     <strong><code>RADIUS_ACCESS_CHALLENGE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      An Access-Challenge response to an Access-Request indicating that the
      RADIUS server requires further information in another Access-Request
      before authenticating the user.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-accounting-request">
    <span class="term">
     <strong><code>RADIUS_ACCOUNTING_REQUEST</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      An Accounting-Request, used to convey accounting information for a
      service to the RADIUS server.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-accounting-response">
    <span class="term">
     <strong><code>RADIUS_ACCOUNTING_RESPONSE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      An Accounting-Response response to an Accounting-Request.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-coa-request">
    <span class="term">
     <strong><code>RADIUS_COA_REQUEST</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      A CoA-Request, sent from the RADIUS server to indicate that the
      authorisations within the user session have changed. A response must be
      sent in the form of a CoA-ACK or a CoA-NAK.
     </p>
     <p class="para">
      This constant is available in PECL radius 1.3.0 and later.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-coa-ack">
    <span class="term">
     <strong><code>RADIUS_COA_ACK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      A CoA-ACK, sent to the RADIUS server to indicate that the user
      authorisations have been updated.
     </p>
     <p class="para">
      This constant is available in PECL radius 1.3.0 and later.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-coa-nak">
    <span class="term">
     <strong><code>RADIUS_COA_NAK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      A CoA-NAK, sent to the RADIUS server to indicate that the user
      authorisations could not be updated.
     </p>
     <p class="para">
      This constant is available in PECL radius 1.3.0 and later.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-disconnect-request">
    <span class="term">
     <strong><code>RADIUS_DISCONNECT_REQUEST</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      A Disconnect-Request, sent from the RADIUS server to indicate that the
      user session must be terminated.
     </p>
     <p class="para">
      This constant is available in PECL radius 1.3.0 and later.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-disconnect-ack">
    <span class="term">
     <strong><code>RADIUS_DISCONNECT_ACK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      A Disconnect-ACK, sent to the RADIUS server to indicate that the user
      session has been terminated.
     </p>
     <p class="para">
      This constant is available in PECL radius 1.3.0 and later.
     </p>
    </dd>

   </dt>

   <dt id="constant.radius-disconnect-nak">
    <span class="term">
     <strong><code>RADIUS_DISCONNECT_NAK</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <p class="para">
      A Disconnect-NAK, sent to the RADIUS server to indicate that the user
      session could not be terminated.
     </p>
     <p class="para">
      This constant is available in PECL radius 1.3.0 and later.
     </p>
    </dd>

   </dt>

  </dl>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="radius.constants.options.html">RADIUS Options</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="radius.constants.attributes.html">RADIUS Attribute Types</a></div>
 <div class="up"><a href="radius.constants.html">Predefined Constants</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>