arrowbion.blogg.se

Torchat github
Torchat github








The daemon only mantains two logs: one for the messages, one for the errors. As soon as a client connects, the read messages are removed from the hash table. Until the exit procedure is called, the daemon waits for messages from peers or clients (event_poll) and acts accordingly to the JSON received.Īn hash tableis mantained and used to store all the unread messages from the peers. The core of the daemon is written in C with bindings to embedded libraries in C++.

#TORCHAT GITHUB PLUS#

The daemon uses a combination of epoll plus libdill to manage events, TOR as a socks5 proxy, loguru to mantain logs, json for communication and proxysocket to initialize the socks5 proxy connection. The daemon aims to be as small as possible.Ĭurrently it supports only Linux and aims to do so. With the daemon mode option, it detaches from the shell and continues its execution in background, therefore it can be monitored only through logs, which are kept in the main directory of the repository. Without daemon mode, the server keeps logging on standard output (that is, on the current shell). To build the standard version (including debug and logging because it is still not a stable), simply run:Īt the moment the only command line option that is provided is the daemon mode: TORchat requires a C++11 compatible compiler. The client send commands to the server using JSON.įor a list of possible commands, check the Development section Building The client may connect at any time, read the received messages and chat with peers. The daemon continuosly runs and gathers messages from other peers and stores them in a volatile hash table (and logs, if configured accordingly). TORchat is divided into a daemon and a client completely independent of each other. TORchat uses standard JSON messages for communication plus a size indentifier. TOR redirects the traffic from port 80 of the hidden service to the server, trasparently. The server listens for incoming connection from the port 8000. In case TOR complains about folder permission do chmod 700. Move into the TORchat folder and compile: Later options and a shell script will be provided for that. Try itĪt the current state, the various torrc values are embedded onto.

torchat github

The rendezvous system makes it extremely hard for anyone to learn your identity from your address. Your identity is your hidden service address, and contacts connect to you without leaving Tor. TORchat is a peer-to-peer instant messaging system built over the TOR Network hidden services. chat without exposing your identity (or IP address).send messages without leaving the TOR network.chat securely with other peers on the network.TORchat is an experimental P2P chat client that runs on the TOR network and allows you to: TORchat should be stable enough to hack onĪnd test, but has not been tested in production or for any length of time.īreaking changes are frequent and stability is not guaranteed at current time. This should be considered a working but not final version. We are currently redesigning the torchat protocol from the bottom up. A simple chat client for the TOR network.








Torchat github