4
4
4speedy2022-01-31 11:27:20
XMPP
4speedy, 2022-01-31 11:27:20

How do I set up file transfer on Posody?

Hello. I got the idea to set up my anonymous and secure XMPP server, and I sort of raised it but could not bring some settings to mind.

To achieve the task, I used the lightweight Prosody server, it is currently running on a virtual machine in my laptop (as a test one). It works through the i2p network, but the problem is that I can’t set up data transfer in any way, so I can’t transfer photos or voice messages (one of the jabber clients that I use has such a function).

Modules http http_upload http_files connected settings registered but still nothing works the client writes that the server does not support file transfer although everything is in the config, please tell me what I'm doing wrong. Maybe there are some nuances?

Below are the settings for everything I use.

OS: Linux Mint 20.2 Cinnamon (virtual on Virtual Box)
Server version: Prosody 0.11.4
Router for i2p: i2pd (i2pd.website)
PC client application: Pidgin 2.13.0 Android
client application: Xabber beta 3.0.2 Beta (824)

Configuration file:

interfaces = { "127.0.0.1" };
admins = { "[email protected]kt2cu7cflsxjdk3syxffktc4dm7rle7fuu3enfpa6c44a.b32.i2p" };
plugin_paths = { "/lib/prosody/modules" };
modules_enabled = {
"roster";
"saslauth";
"bosh";
"tls";
"dialback";
"disco";
"posix";
"private";
"vcard";
"ping";
"register";
"admin_adhoc";
"dark net";
"http";
"http_files";
"http_upload";
};
modules_disabled = {};
allow_registration=true;
darknet_only=true;
c2s_require_encryption = true;
s2s_secure_auth=false;
authentication = "internal_plain";

-- On Debian/Ubuntu
daemonize = true;
pidfile = "/var/run/prosody/prosody.pid";
log = {
error = "/var/log/prosody/prosody.err";
"*syslog";
}
certificates = "certs";

VirtualHost "rzlxzhmkt2cu7cflsxjdk3syxffktc4dm7rle7fuu3enfpa6c44a.b32.i2p";
ssl = {
key = "/etc/prosody/certs/rzlxzhmkt2cu7cflsxjdk3syxffktc4dm7rle7fuu3enfpa6c44a.b32.i2p.key";
certificate = "/etc/prosody/certs/rzlxzhmkt2cu7cflsxjdk3syxffktc4dm7rle7fuu3enfpa6c44a.b32.i2p.crt";
http_upload_quota = 10737418240 -- 10 GB
http_upload_path = "/var/lib/prosody/test"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question