This wiki is now locked - both user registration and edits (except by admins) are disabled. We're currently migrating all the content to our new wiki. If you have time, please register and help us out!

You can still view the source code of every page. Once a page has been copied over to the new wiki, please add a link to it to MigratedPages (the only page which is still editable), to notify the admins to go and blank it.


Utilizando la consola de Freenet


Para utilizar la consola de Freenet tenemos que tener en nuestro archivo de configuracion (freenet.ini) algo asi:

console.enabled=true
console.bindTo=127.0.0.1
console.port=2323


En donde 'console.enabled' toma los valores True y False para activar o desactivar la consola, 'console.bindTo' define en que red va a escuchar la consola (en caso de querer abrirla a la LAN se deberia poner, por ejemplo, 192.168.0.33) y por ultimo 'console.port' el puerto donde se van a escuchar conexiones.

Conectandose


Hacemos 'telnet' a nuestra maquina de la siguiente manera:

$ telnet localhost 2323


Si todo salio bien, tendriamos que ver esto:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Freenet 0.7 Trivial Node Test Interface
---------------------------------------
Build 621
Enter one of the following commands:
GET:<Freenet key> - Fetch a key
PUT:<text, until a . on a line by itself> - Insert the document and return the key.
PUT:<text> - Put a single line of text to a CHK and return the key.
GETCHK:<text, until a . on a line by itself> - Get the key that would be returned if the document was inserted.
GETCHK:<text> - Get the key that would be returned if the line was inserted.
PUTFILE:<filename> - Put a file from disk.
GETFILE:<filename> - 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:<filename> - Get the key that would be returned if we inserted the file.
PUTDIR:<path>[#<defaultfile>] - Put the entire directory from disk.
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>;<url to redirect to> - Insert an SSK redirect to a file already inserted.
PUTSSKDIR:<insert uri>#<path>[#<defaultfile>] - Insert an entire directory to an SSK.
PLUGLOAD: - Load plugin. (use "PLUGLOAD:?" for more info)
PLUGLIST - List all loaded plugins.
PLUGKILL: <pluginID> - Unload the plugin with the given ID (see PLUGLIST).
CONNECT:<filename|URL> - connect to a node from its ref in a file/url.
CONNECT:<noderef including an End on a line by itself> - enter a noderef directly.
DISCONNECT:<ip:port> - disconnect from a node by providing it's ip+port or name
NAME:<new node name> - change the node's name.
STATUS - display some status information on the node including its reference and connections.
QUIT - exit the program


A partir de aca, podemos empezar a utilizar estos comandos. Cuando querramos salir podemos usar el comando 'quit' o hacer CTRL+ALT+] y escribir 'quit' en la terminal de telnet.

Estado del Nodo (Conexiones)


El comando STATUS, regresa la referencia del nodo (FreenetReferenciaNodo) y la lista de nodos a los cuales estamos conectados mostrando el nombre, la ip, su posicion y version.
physical.udp=129.22.100.97:7074
lastGoodVersion=Fred,0.7,1.0,591
identity=92N862bWokAnVsjhhhCI60vj7Pokt41S08VyAoatYgk
dsaPubKey.y=AKf~WuMKWKh0Bkkeeyj1uuctzk2KwmmP463jusB6Z1ql
dsaGroup.p=AIYIrE4VNhM38qPjidGGT-PJjWZBHY0q-JxSYyDFQfZQeOhrx4SUpdc~SppnWD~UHyaT7WyX28eV3YjwkVyc~--H5Tc83hPjx8qQc7kQbrMb~C9y7QBX~YSocKGfioO-pwfRZEDDguYtOJBHPqeenVDErGsfHTCxDDKgL2hYM8Ynj8Kes0OcUzOIVhShFSGbOAjJKjeg82XNXmG1hhdh2tnv8M4jJQ9ViEj425Mrh6O9jXovfPmcdYIr3C~3waHXjQvPgUiK4N5Saf~FOri48fK-PmwFZFc-YSgI9o2-70nVybSnBXlM96QkzU6x4CYFUuZ7-B~je0ofeLdX7xhehuk
dsaGroup.g=UaRatnDByf0QvTlaaAXTMzn1Z15LDTXe-J~gOqXCv0zpz83CVngSkb--bVRuZ9R65OFg~ATKcuw8VJJwn1~A9p5jRt2NPj2EM7bu72O85-mFdBhcav8WHdtTbXb4cxNzZaQkbPQUv~gEnuEeMTc80KZVjilQ7wlTIM6GIY~ZJVHMKSIkEU87YBRtIt1R~BJcnaDAKBJv~oXv1PS-6iwQRFMynMEmipfpqDXBTkqaQ8ahiGWA41rY8d4jDhrzIgjvkzfxkkcCpFFOldwW8w8MEecUoRLuhKnY1sm8nnTjNlYLtc1Okeq-ba0mvwygSAf4wxovwY6n1Fuqt8yZe1PDVg
dsaGroup.q=ALFDNoq81R9Y1kQNVBc5kzmk0VvvCWosXY5q9E9S1tN5
myName=my_node
base64=true
location=0.8301236459529644
testnetPort=7075
testnet=true
version=Fred,0.7,1.0,617
End
CONNECTED    120.164.8.117:11277 ba_skyworks 0.8209861505836225 Fred,0.7,1.0,614 backoff: 5000 (0)
CONNECTED    213.83.30.166:63305 sleon 0.8209861505836225 Fred,0.7,1.0,616 backoff: 5000 (0)
CONNECTED    82.32.17.1:5001 Toad #2 0.05086156687443766 Fred,0.7,1.0,621 backoff: 5000 (0)
DISCONNECTED 213.102.94.135:21577 Todesbaum 0.3165950807304584 Fred,0.7,1.0,581 backoff: 5000 (0)
DISCONNECTED 24.12.230.255:29662 FallingBuzzard 0.7495825470097687 Fred,0.7,1.0,555 backoff: 5000 (0)
DISCONNECTED 24.232.130.166:18188 ba_deadhorse 0.34400885255533353 Fred,0.7,1.0,431 backoff: 5000 (0)
DISCONNECTED 82.32.17.1:5000 Toad #1 0.21671249171213025 Fred,0.7,1.0,609 backoff: 5000 (0)
DISCONNECTED null pierce69120 0.21060052972698706 Fred,0.7,1.0,619 backoff: 5000 (0)

Inserts: 0
Requests: 0
Transferring requests: 0
The latest version is : 621


Insertando Archivos en la Red


Mediante el comando PUTFILE podemos insertar a la red un archivo. La sintaxis del comando es: PUTFILE:<nombre_archivo>. Suponiendo que tenemos un archivo llamado paz.txt (muy hippie, por cierto) en el mismo directorio donde esta corriendo Freenet y queremos insertarlo, escribimos en la consola el comando PUTFILE seguido de dos puntos (':') y el nombre del archivo. Pasados unos segundos, dependiendo de cuanto pese el archivo, veremos algo como esto:

PUTFILE:paz.txt
Attempting to read file paz.txt
Using MIME type: text/plain
URI: freenet:CHK@RvemFwT4mcgUOUI~SgSelKLj1Hy9XllNDYi3~Xwa~6E,rVWupGBMbfH7UhWxrz0DC4Z-URLWfIqoexd57RN9H6c,AAEC--8
Upload rate: 147.13951424191075 bytes / second


El archivo fue insertado con exito y la consola nos regresa la LlavesCHK que va a indentificar al archivo en la red.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki