Questions tagged [socket]
is a data communications endpoint for exchanging data between processes executing within the same host operating system.
423 questions
7
votes
2
answers
903
views
ICMP echo traffic doesn't NEED to be operated on a raw socket any more than UDP or TCP traffic does, so why is it done that way?
If you've ever tried writing tools that depend upon ICMP echo requests, you've inevitably run into the same problem as everyone else: you can't do it unless your tool is running as root.
When you try ...
1
vote
1
answer
159
views
Ham Radio simulator: live streaming microphone audio between 2 browsers, connected via ubuntu 22
I am trying to simulate a radio with a PTT button.
Connected users should be able to live voice chat in the group, one at a time, while holding a button.
I have a Ubuntu 22.04 server running, with ...
0
votes
0
answers
75
views
Postfix/Dovecot configuration to gmail as relay
Does any one have a complete configuration of using Dovecot to handle OAuth2 tokens to allow Postfix to send mail to gmail? Most use cases found are either too old or not complete. I have done the ...
0
votes
2
answers
559
views
OpenSSH SSH daemon: IPv4-socket missing on Ubuntu 24.04
I stumbled over the following issue, while debugging ssh connections.
I have a Ubuntu 24.04 with openssh-server installed.
The corresponding systemd-service is running (now named ssh.service & ssh....
10
votes
5
answers
998
views
How to check multiple hosts for simple connectivity?
I need a tool that tells me if a connection to a host is open or not -- no data to send or receive, just see if the connection is successful.
Today I use telnet.
$ telnet myhost myport
Trying 192.168....
1
vote
1
answer
28
views
WebSocket Error "Unexpected close, re-opening websocket" after moving Focalboard to a subdirectory in Nginx
I'm trying to configure Focalboard to run in a specific subdirectory using Nginx. I followed the steps from the official Focalboard documentation and was able to set it up normally. However, after ...
0
votes
0
answers
61
views
I can´t see UDP packets in a NFQUEUE queue on Ubuntu, even though the iptables rules are configured correctly
I am trying to capture UDP packets on an Ubuntu server using iptables and the NFQUEUE queue and then process them with an application. However, although I have configured the iptables rules correctly ...
0
votes
1
answer
147
views
What is the structure that is stored in UDP socket's send/receive buffers?
I noticed that receive and send buffers of UDP sockets have an overhead of approximately 600 bytes. That is, when I write 10 bytes of data to UDP socket, the actual structure stored in send/receive ...
0
votes
1
answer
76
views
How to give the user account proper rights to premission for /run/seatd.sock?
I'm going to start weston in a user service. Starting weston in a super user service is no problem.
But when I'm starting weston by the regular user, the weston won't start due to this file
Could not ...
1
vote
0
answers
25
views
LIsten on a port, check another port, if no response run a script, then tunnel connection to that port?
So, I want to use an SSH tunnel proxy occasionally. But I don't want to fire it up manually every time. And this is a laptop so if I just start the SSH tunnel at startup it might die of an occasional ...
0
votes
0
answers
31
views
Can't close a sctp socket with linux close() function, the fd was released but the socket hanged
My app worked as a SCTP server, there are many SCTP clients connected to the server, we close the socket when the link faulted(such as heartbeat timeout), sometime the close does not work, the socket ...
2
votes
1
answer
191
views
Unicast UDP socket tx buffer fills awaiting ARP
I have an 'understanding' question but it does have a real-world case that I've simplified out. Consider this sample network (with simplified IPs):
From left to-right:
Three hosts S1-S3 (IPs , ...
2
votes
0
answers
54
views
noVNC takes long time to connect to x11vnc on docker
I have x11vnc running inside a docker container with alpine as base image. (5900 is exposed and mapped to hosts 5900) I use Xvfb as well. I run x11vnc inside the container using this command
x11vnc -...
0
votes
0
answers
206
views
Linux Systemd Socket does not work
i've got the Systemd error Message:
Sep 20 15:54:29 test systemd[9298]: HostnameResponder.socket: Failed to create listening socket (0.0.0.0:101): Permission denied
Sep 20 15:54:29 test systemd[1]: ...
0
votes
1
answer
46
views
USB/UART to Network Interface
I have a modem that works via a USB interface (read/write messages to FTDI) but, can I turn it into an actual network interface so I can interact to it via sockets (SOCK_DGRAM)? Perhaps there are ...