Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
194 views
How to send text file content with xmppc command?
In the [Termux][1] app on Android I get a text file with all the SMSs like this: termux-sms-list >sms.txt And I need to send its content over xmpp automatically by script. The available command is xmppc, but it doesn't seem to support file uploads. I tried these ways and it didn't work: xmppc -j use...
In the Termux app on Android I get a text file with all the SMSs like this: termux-sms-list >sms.txt And I need to send its content over xmpp automatically by script. The available command is xmppc, but it doesn't seem to support file uploads. I tried these ways and it didn't work: xmppc -j usersender@domain.tld -p "UserPassword" -m message chat userreceiver@domain.tld $(cat sms.txt) cat sms.txt | xmppc -j usersender@domain.tld -p "UserPassword" -m message chat userreceiver@domain.tld - Any idea?
Ueliton Alves Dos Santos (13 rep)
Aug 4, 2022, 03:33 PM • Last activity: Aug 5, 2022, 01:41 AM
0 votes
1 answers
813 views
How to download the certificate from an XMPP (jabber) server to trust it locally?
I am trying to login with Dino XMPP client with user credentials at an XMPP domain which is hosted at conversations.im. Thus, there is no XMPP server at the domain. Instead, respective SRV records are pointing to xmpps-hosting or xmpp-hosting at conversations.im. Conversations XMPP client verifies t...
I am trying to login with Dino XMPP client with user credentials at an XMPP domain which is hosted at conversations.im. Thus, there is no XMPP server at the domain. Instead, respective SRV records are pointing to xmpps-hosting or xmpp-hosting at conversations.im. Conversations XMPP client verifies the certificate for connection by PKIX over Secure HTTP (POSH), RFC 7711, which I configured, but Dino doesn't support it yet ([#451](https://github.com/dino/dino/issues/451)) . Thus, it fails connection at a self-signed certificate: > By default our server will create a self-signed certificate. On first connect you will be asked to verify the certificate manually. You can do this by comparing the certificate’s SHA-256 fingerprint that you are prompted with, with the fingerprint below. >
> 7e:9f:aa:ca:cb:2e:21:96:8d:85:8d:68:ef:04:ee:c6
> 0f:f7:78:44:12:ee:74:4b:a0:31:f8:10:96:03:72:b9
>
Dino doesn't support manual verification of the certificate ([#57](https://github.com/dino/dino/issues/57) , [#452](https://github.com/dino/dino/issues/452)) . So, it cycles and then rejects connection when trying to add the account. It wouldn't be a problem if only I could get that certificate and then add it to the system trust store. However, I could not find a way to download the certificate. I tried an approach similar to [a Serverfault answer](https://serverfault.com/a/1074374/583863) , but couldn't get a certificate:
$ nslookup -type=SRV _xmpps-client._tcp.riabenko.com
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
_xmpps-client._tcp.riabenko.com	service = 1 1 443 xmpps-hosting.conversations.im.

Authoritative answers can be found from:

$ openssl s_client -starttls xmpp -xmpphost riabenko.com -connect xmpps-hosting.conversations.im:443 -debug
CONNECTED(00000003)
write to 0x55db90fcebd0 [0x7fffa67799a0] (117 bytes => 117 (0x75))
0000 - 3c 73 74 72 65 61 6d 3a-73 74 72 65 61 6d 20 78   
read from 0x55db90fcebd0 [0x55db90f90020] (8192 bytes => 0)
read from 0x55db90fcebd0 [0x55db90f90020] (8192 bytes => 0)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 117 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
read from 0x55db90fcebd0 [0x55db90f8e010] (8192 bytes => 0)
How can I get the certificate from the server?
Roman Riabenko (2436 rep)
Jul 9, 2022, 11:19 AM
2 votes
1 answers
344 views
set XMPP priority of the jabber client in pidgin
I'm using *pidgin* Jabber client ([pidgin-2.13.0-alt6](https://packages.altlinux.org/en/sisyphus/srpms/pidgin) on ALT Sisyphus), and I'd like [to set XMPP priority](https://superuser.com/a/1137749/65570) in pidgin. The reason: I'm also connecting to my Jabber account with another client from mobile...
I'm using *pidgin* Jabber client ([pidgin-2.13.0-alt6](https://packages.altlinux.org/en/sisyphus/srpms/pidgin) on ALT Sisyphus), and I'd like [to set XMPP priority](https://superuser.com/a/1137749/65570) in pidgin. The reason: I'm also connecting to my Jabber account with another client from mobile smartphone (*aTalk*), and I'd like to set XMPP priority in pidgin, so that whenever I'm at my computer (where pidgin is running), it is [selected as the one which receives the messages](https://unix.stackexchange.com/q/163698/4319) people send to me, and whenever I'm away, the mobile client receives them (because there is more chance I'll see them on the mobile when I'm away). Where do I set XMPP priority in pidgin?
imz -- Ivan Zakharyaschev (15862 rep)
Feb 20, 2020, 05:51 PM • Last activity: Feb 28, 2020, 11:47 PM
0 votes
0 answers
67 views
Any way to "forward" an IM from jabberd2 to users on Cisco XMPP?
I use a `jabberd2` MUC to monitor server status from Graylog and Nagios. The helpdesk guys would like to be able to join the MUC, however they are on Windows (I'm on Linux) and have a Cisco jabber client of some kind that doesn't appear to be configurable enough to point it at a second XMPP server....
I use a jabberd2 MUC to monitor server status from Graylog and Nagios. The helpdesk guys would like to be able to join the MUC, however they are on Windows (I'm on Linux) and have a Cisco jabber client of some kind that doesn't appear to be configurable enough to point it at a second XMPP server. Is there any way to maybe "forward" messages from the Linux XMPP server to the Cisco XMPP server? **Update** (added SRV records): _jabber._tcp.jabber.my.lan.net. IN SRV 5 0 5269 jabber.my.lan.net. _xmpp-server._tcp.jabber.my.lan.net. IN SRV 5 0 5269 jabber.my.lan.net. _xmpp-client._tcp.jabber.my.lan.net. IN SRV 5 0 5222 jabber.my.lan.net. _jabber._tcp.conference.my.lan.net. IN SRV 5 0 5269 jabber.my.lan.net. _xmpp-server._tcp.conference.my.lan.net. IN SRV 5 0 5269 jabber.my.lan.net. _xmpp-client._tcp.conference.my.lan.net. IN SRV 5 0 5222 jabber.my.lan.net.
Server Fault (577 rep)
Dec 6, 2018, 04:28 PM • Last activity: Dec 6, 2018, 09:33 PM
0 votes
1 answers
522 views
I am not able to Install ejabberd on Cent OS6
As seen in many tutorials and blogs, I've installed the [EPEL][1] (Extra Packages for Enterprise Linux). I checked whether EPEL was enabled in my CentOS 6. After I tried with the command sudo yum install ejabberd No Package ejabberd available Error: nothing to do. This is what happens every time I t...
As seen in many tutorials and blogs, I've installed the EPEL (Extra Packages for Enterprise Linux). I checked whether EPEL was enabled in my CentOS 6. After I tried with the command sudo yum install ejabberd No Package ejabberd available Error: nothing to do. This is what happens every time I try to install it. I tried downloading the package directly by using a Lynx browser and tried to run using the command rpm -Uvh ejabberd-16.09-0.x86_64.rpm.gz It still says: It is not an rpm package I am using CentOS 6 from a VPS at GoDaddy.
Guruprasad N (1 rep)
Nov 6, 2016, 11:38 AM • Last activity: Mar 17, 2018, 11:27 PM
2 votes
0 answers
72 views
GNU screen freeze session if SSH is not connected
I have a dedicated server (Inmotion) running a **Java XMPP server** through a `screen` session to keep it alive. Sometimes, after a long period, the execution of this Java XMPP server freeze and then when I connect to the SSH and reattach the `screen` session to see what is wrong, the execution defr...
I have a dedicated server (Inmotion) running a **Java XMPP server** through a screen session to keep it alive. Sometimes, after a long period, the execution of this Java XMPP server freeze and then when I connect to the SSH and reattach the screen session to see what is wrong, the execution defreeze itself and execute everything pending (send pending messages, queries to the DB, etc.) and it goes back to normal operation. Note that I do nothing, I just connect to the SSH and reattach the screen session to read the output. The period for this to happen is variable, sometimes hours, sometimes days later. **What can I do to avoid this behavior?**
Santiago Fermín (21 rep)
Jan 3, 2017, 06:11 PM
1 votes
2 answers
620 views
XMPP domain issues (prosody)
I'm running an XMPP server on a raspberry pi on my home lan. I have a domain registered to point at my router's external ip and the ports are forwarded on my router. However, I can't use the external domain/ip when connected to my LAN, only when out and about. What's the easier way to configure my c...
I'm running an XMPP server on a raspberry pi on my home lan. I have a domain registered to point at my router's external ip and the ports are forwarded on my router. However, I can't use the external domain/ip when connected to my LAN, only when out and about. What's the easier way to configure my computers at home to recognize whether the server is local (and point to 192.168.x.x) or remote?
Steinberg2010 (13 rep)
Mar 28, 2016, 07:13 PM • Last activity: Mar 28, 2016, 07:48 PM
1 votes
0 answers
93 views
Is there a full XMPP client, for any mobile? [that sends/receives files, etc., like PC clients do]
I've got a few friends to install XMPP clients on their cell phones. Some installed Xabber (which I basically chose for them to try). Another opted for Yaxim, a few days ago (for its "better appearance") after - for an unrelated problem - resetting his device totally and losing many things, includin...
I've got a few friends to install XMPP clients on their cell phones. Some installed Xabber (which I basically chose for them to try). Another opted for Yaxim, a few days ago (for its "better appearance") after - for an unrelated problem - resetting his device totally and losing many things, including the installed programs, which included Xabber. But there seems to be too many limitations that I did not expect for these clients, compared with everything I do, using a computer, with anyone else in most XMPP clients. I can't send files to them while we're chatting, as I would do normally if they were using any XMPP client on a PC. And it seems that xabber does not have it all (and not much documentation either, so I could check); Yaxim neither. whatsapp is bad because it only works with a phone number - which I surely don't want or need to give for most people, but its popularity is unquestionable, so I'm barely alone with that idea within some groups of people. Is there a XMPP client that would support all things (or, at least, most) that people expect from a mobile client? Easily sending pictures or other "things" that mobiles usually have accessible within other programs, but without limiting it to a specific protocol. And all things that we can do with XMPP on a computer, like: sending/receiving files/pictures/whatever; personalized emoticons; sound messages; VOIP (although I never tried it with XMPP). I even imagine it using any open and free cloud file service to easily send a big file (like a video) to several users without waiting more than ~1 time for uploading or downloading this file (downloading to see and, resend to others after that). Yaxim seems freezed since 2013. That seems too long ago for anyone else?! Xabber seems better, but still limited. It is mentioned as "the best", in some software review sites I have read. Are there any better clients for XMPP? Which features does it have, and what is bad about it? Does anyone else miss this?
Balaco (33 rep)
Sep 10, 2015, 11:36 AM • Last activity: Sep 10, 2015, 12:17 PM
1 votes
0 answers
171 views
Unable to login into Spark using static IP after port forwarding
I installed `openfire` in `CentOS 6.4 server` (IP address: `192.168.1.118`) and I was able to login into `spark` using the server as `192.168.1.118`. We want to use `spark` from outside, so I did port forwarding in my `dlink` router with `192.168.1.118` and `9090` (default port of `openfire`). Even...
I installed openfire in CentOS 6.4 server (IP address: 192.168.1.118) and I was able to login into spark using the server as 192.168.1.118. We want to use spark from outside, so I did port forwarding in my dlink router with 192.168.1.118 and 9090 (default port of openfire). Even allowed it as public. We have a public static IP, for example xxx.x.xx.xx and if I give this public IP as server in Spark I am unable to login. But if type xxx.x.xx.xx:9090 in browser I can get the openfire admin page. Why am I unable to connect to Spark client even after port forwarding? It is not working in Windows even.
hruday (87 rep)
Jun 29, 2015, 09:13 AM • Last activity: Jun 29, 2015, 10:39 AM
4 votes
2 answers
557 views
Debian Wheezy, ejabberd and forward secrecy
After validating of my public XMPP service on xmpp.net, I've got the error: Warning: Server offers no forward-secret ciphers. Grade capped to A-. Is there an easy way to enable these ciphers? As title states, I have Debian Stable and ejabberd installed from its repository. **ADDITION** I've checked...
After validating of my public XMPP service on xmpp.net, I've got the error: Warning: Server offers no forward-secret ciphers. Grade capped to A-. Is there an easy way to enable these ciphers? As title states, I have Debian Stable and ejabberd installed from its repository. **ADDITION** I've checked all the servers listed in https://xmpp.net/directory.php which have ejabberd installed with its build date 2011/12/24. This is Debian Wheezy's ejabberd obviously. The top score of any of these servers is A-/A-, so I believe it is really difficult to enable PFS for this software.
Neurotransmitter (3071 rep)
Apr 19, 2015, 11:16 AM • Last activity: May 21, 2015, 08:04 PM
6 votes
1 answers
895 views
Which jabber client receives messages?
I have `jabber` clients on my computer (`pidgin`) and on mobile phones (`im+`). For now each message is received by arbitrary one of them (or so it looks). For instance, if a person sends two messages one after another, one can get into one client, the second one into another. What makes a message b...
I have jabber clients on my computer (pidgin) and on mobile phones (im+). For now each message is received by arbitrary one of them (or so it looks). For instance, if a person sends two messages one after another, one can get into one client, the second one into another. What makes a message being received by some particular client? Is there a way to make one particular client receive the messages? All the clients?
x-yuri (3603 rep)
Oct 22, 2014, 10:56 PM • Last activity: Oct 23, 2014, 07:50 PM
Showing page 1 of 11 total questions