☰ Contents ‹ Previous Next ›

SunNET configuration

The following properties can be customized to change SunNET’s behavior:
$sunnet.regenerate_time How long a link should wait before trying to reconnect.
$sunnet.debug_level A mostly useless option. Debug level 0 shows nothing. Debug level 1 shows outbound packet destinations, or failure of a packet. Debug level 2 shows packet content, and possible path nodes. Debug level 3 shows path nodes as excluded from route consideration. (This was used to help debug the routing algorithms and is probably no longer needed.)
$sunnet.packet_time Used in routing to determine how long a packet should wait before a node push is considered as failure (and the packet is pushed out on the next node, or the failure callback is executed)
$sunnet.IDKeep Number of packet IDs to hold before discarding old IDs.
$sunnet.ansi_compatible If $ansi_utils (written by Dark_Owl@Lambda) is installed on your MOO, set this flag to 1 to remove ansi tags, otherwise set to 0.
$sunnet.notify_interval Number of seconds between broadcasts of a site’s IKNOW, ALIAS, and PROTOS information.
$sunnet_utils.max_tries Timeouts with the RCALL mechanisms occur in (5*$sunnet_utils.max_tries) seconds.

Creating a link between two sites on the SunNET:

  1. Choose a password for the link (say PassWord). At this time, passwords are not case sensitive, but this may change in future releases of SunNET.
  2. Decide if SiteA or SiteB will initiate the link (for this walk-through, SiteA will open to SiteB).
  3. On SiteA, eval: $sunnet:create_connection("OUT", "SiteB", "Address.to.SiteB.org", PortNum8888, "PassWord");
  4. On SiteB, eval: $sunnet:create_connection("IN", "SiteA", "PassWord");
  5. Open the link by evaling on SiteA: $sunnet:open_connection("SiteB");

Removing a link between two sites from SunNET:

  1. Find the password for the link. Look in $sunnet.incoming_connection_info or $sunnet.outbound_connection_info if you need a refresher.
  2. On SiteA, eval: $sunnet:remove_connection("SiteB", "PassWord");
  3. On SiteB, eval: $sunnet:remove_connection("SiteA", "PassWord");

Changing a link’s password.

Just follow the steps for creating a link.
☰ Contents ‹ Previous Next ›