A communication end-point for networking, for CPUs please use [processor-socket]

learn more… | top users | synonyms (1)

30
votes
8answers
91k 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 ...
12
votes
1answer
628 views

Determining what process has bound a port (without listening) on Windows

If I want to find out what process is listening on what socket, I can use netstat/TCPview and will immediately see it. However, it is possible to bind to an address without listening. If this is done, ...
11
votes
3answers
8k views

Can I monitor a local unix domain socket like tcpdump?

I'd like to monitor responses on a unix socket without disturbing the original connections and pipe them to a script for processing. I know how to do this with tcpdump for tcp connections but I ...
11
votes
2answers
9k 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 ...
9
votes
3answers
2k views

Does Windows take care of closing sockets when processes exit?

I've read up this question about Linux, Can a port be bound when the process has terminated? Linux appears to clean up after processes exiting, and leaving open sockets. I was wondering if there's any ...
8
votes
3answers
8k views

Difference between localhost and the ip address

If bind a socket in Python to localhost,8200 this is accessible via http://localhost:8200/. but not http://x.x.x.x:8200/ If bind a socket in Python to x.x.x.x,8200, machinename,8200 this is ...
7
votes
2answers
3k 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. ...
6
votes
1answer
2k views

Does Mac OS X throttle the RATE of socket creation?

This may seem programming related, but this is an OS question. I'm writing a small high performance daemon that takes thousands of connections per second. It's working fine on Linux (specifically ...
5
votes
1answer
11k views

Force socket close

Is it possible to close an established socket connection in Windows "manually" (e.g. using a command prompt tool)? I have several open sockets connected to a listening server, I can see them using ...
5
votes
1answer
370 views

Does TCP/UDP send file sequentially or randomnly?

Does TCP/UDP protocol always send or receive file packets sequentially? Would it possible to make a choice which data packets will be sent first using sockets API?
4
votes
1answer
938 views

Tell GNU screen where to save the sessions?

My GNU screen stores its sessions in the /tmp directory. That means that after a reboot, all sessions are lost: $ screen -list No Sockets found in /tmp/uscreens/S-dehmann. How can I tell it to ...
4
votes
1answer
2k views

Is sharing a tmux sockets between hosts possible?

I'm wondering if it's possible to share a tmux server socket between different hosts. For example, I have a virtual machine (guest) running inside my host, and I'm running a tmux session in the guest, ...
4
votes
1answer
7k views

What is the simplest way to test a plain socket server

I have a server which listens on a socket for incoming connections and outputs a welcome text ("Hello world"). What is the simplest way to test this with plain tools from the operating system (here OS ...
4
votes
1answer
606 views

How does SSH tunneling work at low level?

I am interested in the exact mechanism that occurs when an SSH tunnel is stablished. Supposing we have 3 computers: LOCAL host, INTERMEDIATE host, and REMOTE host, with this topology: Localhost --- ...
4
votes
1answer
564 views

Bridging two sockets

I wondered if it is possible to bridge two incoming tcp sockets. For example: Client A -----> Server <----- Client B The the server sends it's magic to both clients and then they connect ...
3
votes
5answers
5k views

Will socket 1155 cpu work in 775 mobo

will INTEL Celeron G440 BOX (s. 1155) work in ASROCK G31M-S R2.0 (s. 775) motherboard? I belive I heard that AM3 cpu can work in AM2 mobo is it the same case with intel.
3
votes
4answers
89 views

TCP/IP on the transport level

I'm trying to understand what happens when I send a packet using a socket on the transport level. Do all packets which leave my computer go first to a geographical location designated by my ISP? Then ...
3
votes
2answers
7k views

How can i show only 127.0.0.1 traffic using Wireshark?

Every time I try to filter to just show a specific IP Address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see ...
3
votes
1answer
170 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 ...
3
votes
2answers
984 views

Access machine in a subnetwork after a router

Is it possible to access a machine in a sub network? This is the situation: Main-router + sub-router - machine (2) - machine - machine - ... - machine (1) - machine - machine - ... ...
3
votes
1answer
260 views

How do I run mysqld as a regular non-daemon program?

I'd like to run a local copy of mysql, to keep software development environments isolated. However, I can't seem to get the mysqld server to start up. I've created a database directory with ...
3
votes
3answers
156 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 ...
3
votes
1answer
575 views

SYN-ACK not received

On a standard TCP connection between server and client, I have this issue: the SYN-ACK is not received from the client, while it is sent from the server. I could see this on Wireshark from both server ...
3
votes
1answer
1k 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
2answers
2k views

Can we add more RAM sockets on a motherboard?

If a motherboard has only 4 RAM sockets, then can we add more up to 5 or 6 sockets?
2
votes
2answers
835 views

Can I avoid the ten connection limit of IIS by transferring through sockets?

Can I avoid being limited by IIS's ten-connection ceiling if I transfer files through sockets? I'm using Windows XP.
2
votes
2answers
4k views

TCP: Maximum number of connections (client and server)

In the description of TCP in the Wikipedia, it is stated that The number of sessions in the server side is limited only by memory and can grow as new connections arrive, but the client must ...
2
votes
1answer
998 views

Remote listening of UNIX sockets

I'd like to be able to remotely listen to UNIX sockets in order to make programs such as dtach, which only support listening to UNIX sockets, work remotely. I've read about socat and how it's able to ...
2
votes
1answer
73 views

Given that tar ignored my 2 sockets, how do I backup and then restore my login folder?

I did a network backup of my login area in preparation for reformatting the volume in which it resides to make it bootable on my old Power Mac G5 running the very latest release of Leopard. Though ...
2
votes
1answer
1k 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 ...
2
votes
1answer
461 views

inetd analog for Windows

Need a better analog of inetd daemon for Windows. Currently using http://sourceforge.net/projects/winetd/, but it's outdated with bugs present. Please recommend any better solutions for running your ...
2
votes
1answer
567 views

Disconnect a Program from its Socket or Port in Windows 7

I am working on a hack for internal purposes whereby I want to disconnect a program from it's socket without killing the process. For example, program A (running xxx.exe) is running on port 50000 and ...
2
votes
1answer
446 views

estimating size of reply HTTP headers

I am trying to download a file via a basic socket connection, using a HTTP GET request. So, I have to specify how many bytes of data coming in I have to read from the socket. However, I am having ...
2
votes
2answers
2k 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 ...
2
votes
0answers
6k views

socket.error: [Errno 10013] Port forbidden access permissions

When trying to use a Python script I get this error: socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions I put the post on ...
2
votes
1answer
233 views

Simulating a network issue for a specific application

This is somehow a developer question, but as it is more related to operating systems and network connections, I will post it here and not on Stack Overflow. I'm trying to simulate a situation when a ...
2
votes
1answer
783 views

UDP Hole Punching impossible with non-well-behaved NATs?

Normally a NAT will keep the public end point of a local end point the same for all packets that are coming from it, thus making UDP hole punching easily possible. However, some NATs will map the ...
2
votes
1answer
188 views

Nginx can't connect to uWSGI socket with correct permissions

I'm trying to connect Nginx to uWSGI so I can run an application written in Ruby (where I am not able to use passenger). This is my virtual host configuration: server { listen ...
1
vote
4answers
2k views

What Can I Do With US Laptop's Power Plug's Ground Pin?

DELL Latitude E6420 that i have got in USA has this plug: While i have these 2 UK adapters: Usually neutral and live fit, but ground pin creates here a problem as the plug won't fit into israeli ...
1
vote
1answer
175 views

CPU and motherboard compatibility

I used CPU-Z to identify my socket and it said 479 mPGA. Also got chipset information and used intel site to check out compatible processors. Turns out a lot of processors were compatible with the ...
1
vote
1answer
321 views

Sending a file via TCP/UDP socket

I'm reading about TCP and UDP from a article. In the end what I understood is that UDP is faster than TCP but it is unreliable. So if I'm going to a send a file, If use UDP, would it be faster than ...
1
vote
1answer
1k 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 ...
1
vote
1answer
4k views

How to communicate between two VirtualBox VMs running on same host

I am running two VM instances of RHEL/CentOS on my VirtualBox instance running on host Windows 7. The problem is when I am executing VBoxManage list vms -l | more and then sunsequently VBoxManage ...
1
vote
1answer
57 views

TCP vs UDP Error-Checking

I've bounced upon two articles that describe in-depth on how TCP and UDP connections work. However there is some kind of inconsistency. Where one article tells me that UDP does no Error-Checking at ...
1
vote
1answer
2k views

What do Intel's socket package specifications mean in detail?

What is the difference between FCPGA988 PGA988 rPGA rPGA988B BGA1224 FCBGA1224 Do some mean that the BGA is soldered to the board and cannot be removed? BGA is soldered versions only, right? ...
1
vote
4answers
4k views

Send message to specific port on Windows cmd.exe

I'm playing with a program on desktop. It's listening on port 5060. However, I don't have anything sending to this location/host. If I open my laptop's command line, is there a way to send a ...
1
vote
1answer
340 views

Do both CPUs on a dual socket system need their own set of RAM?

I have a server motherboard with two sockets that support triple-channel memory. Each processor has 6 DIMMs. If I plan to use both CPUs, should I populate at least three of the DIMMs on each ...
1
vote
5answers
825 views

How do sockets deal with routers?

(Not sure if this should be on the unix stackexchange site...) When I make a socket I use IPv4 and a port number. So if I know both of these, but there's a router set up (on a home network; just ...
1
vote
1answer
68 views

Why is it possible to continue working in a ssh session after a network disruption?

What enables the Secure Shell client and server to resume communication after one or several network interfaces in the communication path between them is shut down and re-appears some moments later? ...
1
vote
1answer
623 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 ...