<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Daniel,<br>
    <br>
    On 26/10/2011 04:47, Daniel-Constantin Mierla wrote:
    <blockquote cite="mid:4EA782DF.4030206@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      the purpose with three states (active, inactive and disabled) was
      not to relate probing to selection of gateways, as one may want to
      have even active gateways in probing mode to detect when they go
      down. So, in other words, if probing mode is not checked when a
      gateways is selected, but only if the gateway has the state
      active.<br>
      <br>
    </blockquote>
    <br>
    OK, so, before I continue on testeing between 3.2 and 3.3 dev
    branch, can you confirm that my understanding of the states are
    correct:<br>
    <br>
    Assuming ds_probing_mode = 0 (Only send "ping" requests when
    destination is in probing state)<br>
    <br>
    AX (Active)<br>
    &nbsp;&nbsp;&nbsp; [*] Used by ds_select_* in gateway selection<br>
    &nbsp;&nbsp;&nbsp; [*] No ping probes sent to destination<br>
    AP (Active-Probing)<br>
    &nbsp;&nbsp;&nbsp; [*] Used by ds_select_* in gateway selection<br>
    &nbsp;&nbsp;&nbsp; [*] Ping probes sent to destination<br>
    &nbsp;&nbsp;&nbsp; [*] When reply to ping probe is recieved, state for gateway
    chages to AX (Active)<br>
    IX (Inactive)<br>
    &nbsp;&nbsp;&nbsp; [*] Not used by ds_select_* in gateway selection<br>
    &nbsp;&nbsp;&nbsp; [*] No ping probes sent to destination<br>
    IP (Inactive-Probing)<br>
    &nbsp;&nbsp;&nbsp; [*] Not used by ds_select_* in gateway selection<br>
    &nbsp;&nbsp;&nbsp; [*] Ping probes sent to destination<br>
    &nbsp;&nbsp;&nbsp; [*] When reply to ping probe is recieved, state for gateway
    chages to AX (Active)<br>
    DX (Disabled)<br>
    &nbsp;&nbsp;&nbsp; [*] Not used by ds_select_* in gateway selection<br>
    &nbsp;&nbsp;&nbsp; [*] No ping probes sent to destination<br>
    <br>
    Is the above true for both version 3.2.x and devel branch?<br>
    <br>
    Just for ease of syntax in routing script, is it possible to do:<br>
    <br>
    ds_mark_dst("ip") = Mark Inactive-Probing<br>
    ds_mark_dst("ap") = Mark Active-Probing<br>
    <br>
    in both version 3.2.x and devel branch? Similar to fifo ds_set_state
    command?<br>
    <br>
    Once I understand these correctly, I can continue testing the 2
    versions and see the differences. I suspect v3.2.x does *not* use
    gateway in ds_select_* when destination is in AP mode. But will
    confirm that with testing if my above understanding is correct.<br>
    <br>
    Thanks<br>
    <br>
  </body>
</html>