monk
1.0.0
A wise peer-to-peer network, versatile tool for network management. Feel the freedom of not having to think about the delivery of your data.
TODO: add this to hpm repo! Awaiting hpm rewrite (will it happen?)
Installer (uses github):
pastebin run dpTDJfcV
man monk
: Probably opens this README.md, idkrc monk start
: I wonder what that does?rc monk stop
: Read some linux manuals I guessrc monk enable
: Or try man rc
if you know what I meanrc monk disable
: Now to the interesting commandsrc monk restart
: Quality of life, stop
and start
in sequencerc monk reload
: Quality of life, reloads config without restart, for busy serversrc monk status
: AdVaNcEd, check for service stats and statusmonk configurator
: Launch the configurator. Good place to start after installingmonk config <variable> [value]
: Read/write config. Preferred over direct file editingmonk register-rc
: Register service in rc, also can be done in configurator
monk generate-config
: Write default config to monk.cfg.example
NOTE: monk config
is preferred over direct editing of main config
Config | Location | Description |
---|---|---|
Main | /etc/monk/monk.cfg |
rc.d config and more |
Protocol | /etc/monk/protocol/?.cfg |
Replace ? with protocol name |
monk_general(header: table, payload: string)
: General messages.
Event for messages on port 500
(Ports).
The header
is left untouched, but payload
is
monk_service(event: string, options: any)
: Service events. Possible events:
start
: Service started! Hooray!stop
: Service stopped, dependents may stop themselvesonline
: Just connected to a network, options: string
name of networkoffline
: Just lost connection, options: string
name of networkName | Version | Description |
---|---|---|
mIP | 1 | Routing, fragmentation |
mTCP | 1 | Streams, delivery check |
mBCP | 1 | Backwards compatibility |
mLCB | 1 | Link card for long bridges |
mRWB | 1 | Link over Internet (capital I) |
Those are the only strictly reserved ports, monk
can be used on any port.