Changes between Version 4 and Version 5 of i2pcontrol


Ignore:
Timestamp:
Jan 25, 2016 3:53:23 PM (3 years ago)
Author:
tuna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • i2pcontrol

    v4 v5  
    9595
    9696 * '''settings.''' - Get/Set i2p instance settings
    97    * '''settings.ntcp.port''' - NTCP port
    98      * '''''get''''' [null]: This parameter does not need to be set.
    99 {{{
    100 0 [number]
    101 }}}
    102      * '''''set''''' [number]: Set new NTCP port.
    103 {{{
    104 [nil]
    105 }}}
    106    * '''settings.ntcp.hostname''' - Get NTCP hostname
    107      * '''''get''''' [null]: This parameter does not need to be set.
    108 {{{
    109 "0.0.0.0" [string]
    110 }}}
    111      * '''''set''''' [string]: Set new hostname
    112 {{{
    113 [nil]
    114 }}}
    115    * '''settings.ntcp.autoip''' - Get IP auto detection setting for NTCP
    116      * '''''get''''' [null]: This parameter does not need to be set.
    117 {{{
    118 true [boolean]
    119 }}}
    120      * '''''set''''' [boolean]: Set NTCP IP auto detection
    121 {{{
    122 [nil]
    123 }}}
    124    * '''settings.ssu.port''' - SSU port
    125      * '''''get''''' [null]: This parameter does not need to be set.
    126 {{{
    127 0 [number]
    128 }}}
    129      * '''''set''''' [number]: Set new SSU port.
    130 {{{
    131 [nil]
    132 }}}
    133    * '''settings.ssu.hostname''' - Get SSU hostname
    134      * '''''get''''' [null]: This parameter does not need to be set.
    135 {{{
    136 "0.0.0.0" [string]
    137 }}}
    138      * '''''set''''' [string]: Set new SSU hostname
    139 {{{
    140 [nil]
    141 }}}
    142    * '''settings.ssu.autoip''' - Get IP auto detection setting for SSU
    143      * '''''get''''' [nil]: This parameter does not need to be set.
    144 {{{
    145 true [boolean]
    146 }}}
    147      * '''''set''''' [boolean]: Set SSU IP auto detection
    148 {{{
    149 [nil]
    150 }}}
    151    * '''settings.upnp''' - Enable or disable UPNP
    152      * '''''get''''' [nil]: This parameter does not need to be set.
    153 {{{
    154 true [boolean]
    155 }}}
    156      * '''''set''''' [boolean]: Set SSU IP auto detection
     97   * '''settings.advanced''' - Advanced settings
     98     * '''''get'''''  [string] : Get the value of this setting
     99{{{
     100"setting-value" [string]
     101}}}
     102     * '''''getAll''''' [null]:
     103{{{
     104[object]
     105{
     106  "setting-name" : "setting-value", [string]
     107  ".." : ".."
     108}
     109}}}
     110     * '''''set''''' [string]
     111     * '''''setAll''''' [object] {"setting-name" : "setting-value", ".." : ".." }
    157112{{{
    158113[nil]
     
    168123[nil]
    169124}}}
     125   * '''settings.ntcp.autoip''' - Get IP auto detection setting for NTCP
     126     * '''''get''''' [null]: This parameter does not need to be set.
     127{{{
     128true [boolean]
     129}}}
     130   * '''settings.ntcp.hostname''' - Get NTCP hostname
     131     * '''''get''''' [null]: This parameter does not need to be set.
     132{{{
     133"0.0.0.0" [string]
     134}}}
     135     * '''''set''''' [string]: Set new hostname
     136{{{
     137[nil]
     138}}}
     139   * '''settings.ntcp.port''' - NTCP port
     140     * '''''get''''' [null]: This parameter does not need to be set.
     141{{{
     1420 [number]
     143}}}
     144     * '''''set''''' [number]: Set new NTCP port.
     145{{{
     146[nil]
     147}}}
     148     * '''''set''''' [boolean]: Set NTCP IP auto detection
     149{{{
     150[nil]
     151}}}
     152   * '''settings.ssu.autoip''' - Configure IP auto detection setting for SSU
     153     * '''''get''''' [nil]: This parameter does not need to be set.
     154{{{
     155true [boolean]
     156}}}
     157   * '''settings.ssu.hostname''' - Configure SSU hostname
     158     * '''''get''''' [null]: This parameter does not need to be set.
     159{{{
     160"0.0.0.0" [string]
     161}}}
     162     * '''''set''''' [string]: Set new SSU hostname
     163{{{
     164[nil]
     165}}}
     166   * '''settings.ssu.port''' - SSU port
     167     * '''''get''''' [null]: This parameter does not need to be set.
     168{{{
     1690 [number]
     170}}}
     171     * '''''set''''' [number]: Set new SSU port.
     172{{{
     173[nil]
     174}}}
     175     * '''''set''''' [boolean]: Set SSU IP auto detection
     176{{{
     177[nil]
     178}}}
     179   * '''settings.share''' - Get bandwidth share percentage
     180     * '''''get''''' [null]: This parameter does not need to be set.
     181{{{
     1820 [number] // Bandwidth share percentage (0-100)
     183}}}
     184     * '''''set''''' [number]: Set bandwidth share percentage (0-100)
     185   * '''settings.upnp''' - Enable or disable UPNP
     186     * '''''get''''' [nil]: This parameter does not need to be set.
     187{{{
     188true [boolean]
     189}}}
     190     * '''''set''''' [boolean]: Set SSU IP auto detection
     191{{{
     192[nil]
     193}}}
     194
    170195
    171196