Revision [3634]

Last edited on 2010-01-18 21:00:22 by WikiQPrime [Updated TMCI fproxy page link and added freenet.ini config options]
Additions:
To access TMCI, you can use a telnet program to connect to the node (by default to port 2323). You see the current status of TCMI and view/change other TMCI configuration options via the FProxy configuration page, which is available at http://localhost:8888/config/console if your node is running locally and have enabled "advanced mode" in the Web UI. If you are using an older Freenet 0.7 Build (circa 878) then you may wish to search for this option at http://localhost:8888/config
Additional Note: Some aspects of TMCI cannot be changed while your Freenet node is running - these include enabling TMCI, enabling SSL and enabling the std-out/in (aka direct) option. You will need to stop your node, make the required changes to the freenet.ini file and then restart your node.
The freenet.ini configuration options to correctly enable a fully interactive TMCI server are as follows:
console.enabled=true
console.directEnabled=true
other TMCI configuration options include:
console.ssl (defaults to false)
console.bindTo (defaults to 127.0.0.1,0:0:0:0:0:0:0:1)
console.allowedHosts (defaults to 127.0.0.1,0:0:0:0:0:0:0:1)
console.port (defaults to 2323)
Deletions:
To access TMCI, you can use a telnet program to connect to the node (by default to port 2323). You need to make sure that TCMI is enabled in the FProxy configuration page, which is here if your node is running locally: http://localhost:8888/config/


Revision [3613]

Edited on 2009-12-19 18:09:53 by EvanD [rv spam]
Deletions:
[[http://www.mastersthesiswriting.com/dissertation.html Online Dissertation Thesis]]


Revision [3598]

Edited on 2009-12-16 16:27:01 by AlexHaffey [!]
Additions:
[[http://www.mastersthesiswriting.com/dissertation.html Online Dissertation Thesis]]


Revision [1166]

Edited on 2006-07-13 23:21:51 by JaQa
Additions:
PUTSSK:insert_uri;redirect_url
PUTSSKDIR:insert_uri#path

PUTSSKDIR:insert_uri#path#defaultfile
Insert an entire directory to an SSK. Optionally include a default file.
PLUGLOAD:
Load plugin. (use "PLUGLOAD:?" for more info)
Deletions:
PUTSSK:insert_uri;redirect_url
PUTSSKDIR:#[#]
Insert an entire directory to an SSK.
PLUGLOAD:
Load plugin. (use "PLUGLOAD:?" for more info)


Revision [1165]

Edited on 2006-07-13 23:19:36 by JaQa
Additions:






Deletions:
Insert an entire directory to Freenet from disk. Optionally include a default filename GETCHKDIR:path

GETCHKDIR:path#defaultfile
Get the key that would be returned if we'd put the entire directory from disk.
MAKESSK Create an SSK keypair. PUTSSK:insert_uri;redirect_url Insert an SSK redirect to a file already inserted.







Deletions:








Deletions:






Deletions:









Deletions:


Put the entire directory from disk. Optionally include a default filename GETCHKDIR:[#]
Get the key that would be returned if we'd put the entire directory from disk.
MAKESSK
Create an SSK keypair.
PUTSSK:;
Insert an SSK redirect to a file already inserted.

Revision [1164]

Edited on 2006-07-13 22:43:20 by JaQa
Additions:
GET:freenet_key Fetch a file from Freenet with the given key. The contents of the file are echoed to the console. GETFILE:freenet_key Get the CHK key that would be returned if we inserted the file to Freenet, but don't actually do the insert. PUTDIR:path

PUTDIR:path#defaultfile
Put the entire directory from disk. Optionally include a default filename GET:Freenet key Fetch a file from Freenet with the give key. GETFILE:filename Get the key that would be returned if we inserted the file. PUTDIR:[#]
Put the entire directory from disk.

Revision [1163]

Edited on 2006-07-13 22:34:21 by JaQa
Additions:
PUTFILE:filename

PUTFILE:filename#mimetype
GETFILE:filename Fetch a key from Freenet and save it to a file. If the key includes a filename we will use it, but we will not overwrite local files. GETCHKFILE:filename Get the key that would be returned if we inserted the file. PUTFILE:filename[#mimetype] GETFILE:
Fetch a key and put it in a file. If the key includes a filename we will use it but we will not overwrite local files.
GETCHKFILE:
Get the key that would be returned if we inserted the file.

Revision [1162]

Edited on 2006-07-13 22:31:05 by JaQa
Additions:
Use the single line of text as a file to insert to Freenet, and return the key used. Get the key that would be used if the file was inserted to Freenet, but dont actually insert the file. GETCHK:A single line of text Get the CHK key that would be returned if the line was inserted to Freenet, but don't actually do the insert. PUTFILE:filename[#mimetype] Insert to Freenet the file with full path called filename. Optionally include the MIME type of the file, for example text/html. Use the single line of text as a file to insert, and return the key used. Get the key that would be used if the file was inserted, but dont actually insert the file. GETCHK:
Get the key that would be returned if the line was inserted.
PUTFILE:[#]
Put a file from disk.

Revision [1161]

Edited on 2006-07-13 22:27:36 by JaQa
Additions:
GET:Freenet key Fetch a file from Freenet with the give key. PUT:
Multiple lines of text,
like this, ended by
a . on a line by itself
.
Insert the file into Freenet and return the key that was used. PUT:A single line of text Use the single line of text as a file to insert, and return the key used. GETCHK:
Multiple lines of text,
like this, ended by
a . on a line by itself
.
Get the key that would be used if the file was inserted, but dont actually insert the file. GET: Fetch a key PUT:\r\n
Insert the document and return the key.
PUT:
Put a single line of text to a CHK and return the key.
GETCHK:\r\n
Get the key that would be returned if the document was inserted.

Revision [1160]

Edited on 2006-07-13 22:21:43 by JaQa
Additions:
Deletions:


Revision [1159]

Edited on 2006-07-13 22:21:03 by JaQa
Additions:
PUT:\r\n
Insert the document and return the key.
PUT:
Put a single line of text to a CHK and return the key.
GETCHK:\r\n
Get the key that would be returned if the document was inserted.
GETCHK:
Get the key that would be returned if the line was inserted.
PUTFILE:[#]
Put a file from disk.
GETFILE:
Fetch a key and put it in a file. If the key includes a filename we will use it but we will not overwrite local files.
GETCHKFILE:
Get the key that would be returned if we inserted the file.
PUTDIR:[#]
Put the entire directory from disk.
GETCHKDIR:[#]
Get the key that would be returned if we'd put the entire directory from disk.
MAKESSK
Create an SSK keypair.
PUTSSK:;
Insert an SSK redirect to a file already inserted.
PUTSSKDIR:#[#]
Insert an entire directory to an SSK.
PLUGLOAD:
Load plugin. (use "PLUGLOAD:?" for more info)
PLUGLIST
List all loaded plugins.
PLUGKILL:
Unload the plugin with the given ID (see PLUGLIST).
CONNECT:
see ADDPEER: below
CONNECT:\r\n
see ADDPEER:\r\n below
DISCONNECT:
see REMOVEPEER: below
ADDPEER:
add a peer from its ref in a file/url.
ADDPEER:\r\n
add a peer by entering a noderef directly.
DISABLEPEER:
disable a peer by providing it's ip+port, name, or identity
ENABLEPEER:
enable a peer by providing it's ip+port, name, or identity
SETPEERLISTENONLY:
set ListenOnly on a peer by providing it's ip+port, name, or identity
UNSETPEERLISTENONLY:
unset ListenOnly on a peer by providing it's ip+port, name, or identity
HAVEPEER:
report true/false on having a peer by providing it's ip+port, name, or identity
REMOVEPEER:
remove a peer by providing it's ip+port, name, or identity
PEER:
report the noderef of a peer (without metadata) by providing it's ip+port, name, or identity
PEERWMD:
report the noderef of a peer (with metadata) by providing it's ip+port, name, or identity
PEERS
report tab delimited list of peers with name, ip+port, identity, location, status and idle time in seconds
NAME:
change the node's name.
UPDATE
ask the node to self-update if possible.
STATUS
display some status information on the node including its reference and connections.
SHUTDOWN
exit the program
RESTART
restart the program
QUIT
close the socket
Deletions:
PUT:\r\n
Insert the document and return the key.
PUT:
Put a single line of text to a CHK and return the key.
GETCHK:\r\n
Get the key that would be returned if the document was inserted.
GETCHK:
Get the key that would be returned if the line was inserted.
PUTFILE:[#]
Put a file from disk.
GETFILE:
Fetch a key and put it in a file. If the key includes a filename we will use it but we will not overwrite local files.
GETCHKFILE:
Get the key that would be returned if we inserted the file.
PUTDIR:[#]
Put the entire directory from disk.
GETCHKDIR:[#]
Get the key that would be returned if we'd put the entire directory from disk.
MAKESSK
Create an SSK keypair.
PUTSSK:;
Insert an SSK redirect to a file already inserted.
PUTSSKDIR:#[#]
Insert an entire directory to an SSK.
PLUGLOAD:
Load plugin. (use "PLUGLOAD:?" for more info)
PLUGLIST
List all loaded plugins.
PLUGKILL:
Unload the plugin with the given ID (see PLUGLIST).
CONNECT:
see ADDPEER: below
CONNECT:\r\n
see ADDPEER:\r\n below
DISCONNECT:
see REMOVEPEER: below
ADDPEER:
add a peer from its ref in a file/url.
ADDPEER:\r\n
add a peer by entering a noderef directly.
DISABLEPEER:
disable a peer by providing it's ip+port, name, or identity
ENABLEPEER:
enable a peer by providing it's ip+port, name, or identity
SETPEERLISTENONLY:
set ListenOnly on a peer by providing it's ip+port, name, or identity
UNSETPEERLISTENONLY:
unset ListenOnly on a peer by providing it's ip+port, name, or identity
HAVEPEER:
report true/false on having a peer by providing it's ip+port, name, or identity
REMOVEPEER:
remove a peer by providing it's ip+port, name, or identity
PEER:
report the noderef of a peer (without metadata) by providing it's ip+port, name, or identity
PEERWMD:
report the noderef of a peer (with metadata) by providing it's ip+port, name, or identity
PEERS
report tab delimited list of peers with name, ip+port, identity, location, status and idle time in seconds
NAME:
change the node's name.
UPDATE
ask the node to self-update if possible.
STATUS
display some status information on the node including its reference and connections.
SHUTDOWN
exit the program
RESTART
restart the program
QUIT
close the socket


Revision [1158]

Edited on 2006-07-13 22:19:38 by JaQa

No differences.

Revision [1157]

Edited on 2006-07-13 22:18:53 by JaQa
Additions:
The Freenet **Text Mode Client Interface (TMCI)** is a simple command-line interface to Freenet. It allows you to do things like insert content into Freenet, and to request information from Freenet. It is sometimes referred to as the **telnet interface**.
This is followed by a brief list of commands.
====TMCI commands====
""







PUT:\r\n
Insert the document and return the key.
PUT:
Put a single line of text to a CHK and return the key.
GETCHK:\r\n
Get the key that would be returned if the document was inserted.
GETCHK:
Get the key that would be returned if the line was inserted.
PUTFILE:[#]
Put a file from disk.
GETFILE:
Fetch a key and put it in a file. If the key includes a filename we will use it but we will not overwrite local files.
GETCHKFILE:
Get the key that would be returned if we inserted the file.
PUTDIR:[#]
Put the entire directory from disk.
GETCHKDIR:[#]
Get the key that would be returned if we'd put the entire directory from disk.
MAKESSK
Create an SSK keypair.
PUTSSK:;
Insert an SSK redirect to a file already inserted.
PUTSSKDIR:#[#]
Insert an entire directory to an SSK.
PLUGLOAD:
Load plugin. (use "PLUGLOAD:?" for more info)
PLUGLIST
List all loaded plugins.
PLUGKILL:
Unload the plugin with the given ID (see PLUGLIST).
CONNECT:
see ADDPEER: below
CONNECT:\r\n
see ADDPEER:\r\n below
DISCONNECT:
see REMOVEPEER: below
ADDPEER:
add a peer from its ref in a file/url.
ADDPEER:\r\n
add a peer by entering a noderef directly.
DISABLEPEER:
disable a peer by providing it's ip+port, name, or identity
ENABLEPEER:
enable a peer by providing it's ip+port, name, or identity
SETPEERLISTENONLY:
set ListenOnly on a peer by providing it's ip+port, name, or identity
UNSETPEERLISTENONLY:
unset ListenOnly on a peer by providing it's ip+port, name, or identity
HAVEPEER:
report true/false on having a peer by providing it's ip+port, name, or identity
REMOVEPEER:
remove a peer by providing it's ip+port, name, or identity
PEER:
report the noderef of a peer (without metadata) by providing it's ip+port, name, or identity
PEERWMD:
report the noderef of a peer (with metadata) by providing it's ip+port, name, or identity
PEERS
report tab delimited list of peers with name, ip+port, identity, location, status and idle time in seconds
NAME:
change the node's name.
UPDATE
ask the node to self-update if possible.
STATUS
display some status information on the node including its reference and connections.
SHUTDOWN
exit the program
RESTART
restart the program
QUIT
close the socket
CommandDescription
GET: Fetch a key

""
Deletions:
The Freenet **Text Mode Client Interface (TMCI)** is a simple command-line interface to Freenet. It allows you to do things like insert content into Freenet, and to request information from Freenet.


Revision [1156]

Edited on 2006-07-13 22:14:26 by JaQa
Additions:
You should get back a response that starts something like this:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Trivial Text Mode Client Interface
---------------------------------------
Freenet 0.7 Build #878 r9593
Enter one of the following commands:


Revision [1155]

Edited on 2006-07-13 22:13:39 by JaQa
Additions:
To access TMCI, you can use a telnet program to connect to the node (by default to port 2323). You need to make sure that TCMI is enabled in the FProxy configuration page, which is here if your node is running locally: http://localhost:8888/config/
From a command prompt, enter this:
%%
telnet localhost 2323
%%


Revision [1154]

The oldest known version of this page was created on 2006-07-13 22:09:59 by JaQa