Files
Bogdan-Ștefan Neacşu fd4f5b319c Add serviced client data to stats (#1278)
* Add serviced client data to stats

* Put stats service address in network defaults

* Update CHANGELOG.md
2022-05-19 15:54:51 +03:00
..
2022-05-16 12:06:15 +03:00
2022-05-16 12:06:15 +03:00
2022-05-16 12:06:15 +03:00

Copyright 2022 - Nym Technologies SA contact@nymtech.net SPDX-License-Identifier: Apache-2.0 -->

Network requester

The network requester is used to interpret socks5 client messages that need to be proxied to a running service i.e. a host and a port.

If you have a service that you want to expose to the mixnet, you'd need to first run the native client and provide the client address to your users that will use it in their socks5 configuration.

After starting the native client, start the network requester and configure it, setting your service's endpoint in
${HOME}/.nym/service-providers/network-requester/allowed.list

Running in open-proxy mode allows any traffic to be proxied by the network requester.

Statistics service

The network requester can be build and ran as a gatherer of statistics from all the other network requesters on the mixnet. For that, build the binary with the stats-service feature enabled. The native client address that corresponds to this network requester would have to be built into the constants of all the other network requesters that are sending the data.