2
votes
2answers
412 views

Allow non-root process to bind to port 80 and 443?

Is it possible to tune a kernel parameter to allow a userland program to bind to port 80 and 443? The reason I ask is I think its foolish to allow a privileged process to open a socket and listen. ...
0
votes
1answer
124 views

cannot start mysql server bind socket denied

I have been trying to start mysql server but got this error: Can't start server : Bind on unix socket: Operation not permitted 2013-10-21 13:53:54 25098 [ERROR] Do you already have another mysqld ...
0
votes
0answers
53 views

TCP socket performance

There are three Linux Debian machines connected via Gigabit Ethernet router: Server machine A that is the source or HTTP streaming traffic with bandwidth 300 KBps. Proxy machine B that connected to ...
1
vote
1answer
613 views

Dovecot.conf assistance since upgrade

I've been following a guide on this site: http://oskarhane.com/setup-your-own-mail-hosting-with-linux-postfix-dovecot-and-mysql/ To install postfix with dovecot and mysql on a Linux server. All ...
1
vote
0answers
39 views

Communicate a button click event with sockets

Desire: I have a device or micro-controller i'll call it a mc that I need to communicate to when a web page button is clicked using sockets. MC1 <button id ='on1' name='mc1'>On</button> ...
1
vote
1answer
394 views

How do I prevent Linux kernel from responding to incoming TCP packets?

For my application, I need to intercept certain TCP/IP packets and route them to a different device over a custom communications link (not Ethernet). I need all the TCP control packets and the full ...
0
votes
1answer
305 views

How to explicitly free EADDRINUSE port for binding it again?

$ testOnDemandRTSPServer ... Play this stream using the URL "rtsp://192.168.90.2:8554 ... ^C $ testOnDemandRTSPServer Failed to create RTSP server: bind() error (port number: 8554): Address already in ...
3
votes
1answer
599 views

How to determine the socket connection up time on Linux

I can verify that the connection is up: $ netstat -tn | grep "192.168.2.110" tcp 0 0 192.168.2.100:10444 192.168.2.110:52639 ESTABLISHED is there a way to check how long this tcp port ...
2
votes
1answer
1k views

sshfs mounting linux directory from mac stopped working

Until this morning, I'd been using sshfs quite nicely to mount a directory from a linux machine in my office. Today, it stopped. Here's my sshfs command: sshfs -osshfs_sync,volname=linux-builder3 ...
3
votes
1answer
145 views

No-socket alternative to tmux or screen

My university gives each student a directory on their AFS which is accessible via SSH. There is a (light) CLI-driven piece of software that I would like to run continuously from the university. I ...
10
votes
2answers
6k views

linux named sockets howto

I know that there are named sockets & named pipes (fifo) in linux. In ls -l, they would look as below:(I have changed the filenames, for demonstration.) prw-r--r-- 1 root root 0 Nov 8 16:31 ...
1
vote
1answer
513 views

Is it safe to create a link to a socket file in /tmp?

I'm a bit confused as to see that going from one Linux distribution to another, the package managers will sometimes configure processes to create the socket file either in /tmp or in ...
0
votes
1answer
2k views

Sending Packets to tap0 interface

I've been trying to send packets to a tap interface using python. I'm monitoring the tap interface using wireshark and no packets are being received. I'm doing this as an exercise mainly to help my ...
0
votes
1answer
128 views

Linux init local socket with '@'

I have experience with using local named and network sockets in C, but on Linux (Fedora 14), using GNOME system monitor, I notice that a local socket, being used by the init process, has the path ...
3
votes
3answers
149 views

Distinct Proxying for any TCP-related Protocol

I'm not sure what to call it (proxy/redirection/relay), and I am hoping some software or solution possibly exists for linux. My intention is to be able to listen on a single public facing ip:port ...
0
votes
1answer
515 views

How to create tunnel to utilize for telnet connection

The scenario is as follows: Machine A is located behind client firewall. The machine runs telnetd. This is Linux machine with Python 2.5.4 installed. I do not know the IP addy of the router and ...
0
votes
2answers
1k views

force all sockets to close in linux

How can I force all currently open sockets in linux to close from the command line?
18
votes
8answers
66k views

Manually closing a port from commandline

I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ?? NOTE: I came to know that "only ...
1
vote
1answer
975 views

Why can't I delete a file marked as a socket from my linux ext3 filesystem?

I'm running Ubuntu 9.04 with a ext3 filesystem. A while ago I was hacking on the flock 2.0 source and I have just tried to delete the source directory, but a single file could not be deleted when ...