The sockets tag has no wiki summary.
1
vote
0answers
18 views
How to troubleshoot intermittent winsock 10054 errors on Windows Server 2003 SP2
We are getting 10054 errors in a couple of our applications on one server running Windows Server 2003 SP2. This happens intermittently, and we also have other similar servers running the same ...
0
votes
4answers
49 views
Understanding iptables chains in linux (in socket terms)
Is it true to say:
A) OUTPUT chain is for the packets that are "generated" by the machine itself i.e. OUTPUT chain affects connect() function.
B) INPUT chain is for packets that are "addressed to" ...
0
votes
2answers
70 views
HTTP Proxy for Windows server
I am sorry that the question is probably not what you thought it is.
I have a box in US on colo which is collecting some data but is fairly easy on the resources. it runs w2008r2. and it has one NIC ...
3
votes
2answers
163 views
Exhausting Linux machine TCP socket limit (~70k)?
I am the founder of torservers.net, a non-profit that runs Tor exit nodes. We have a number of machines on Gbit connectivity and multiple IPs, and we seem to be hitting a limit of open TCP sockets ...
2
votes
1answer
34 views
Use Nginx callback after x-accel-redirect response (or use logging to socket)
my workflow is following:
accept request
with ruby script do some stuff
send x-accel-redirect header and return
... client receives data ...
client disconnected
<- here I would like to run some ...
0
votes
2answers
104 views
my share hosting has disabled all socket functions
I have hosted my website with squarebrothers.com
They have disabled curl_exec, fsockopen, socket_create functions.
They say that these are security vulnerabilities and they have blocked.
And they ...
1
vote
1answer
83 views
What are the ramifications of setting tcp_tw_recycle/reuse to 1?
I set both tcp_tw_recycle/reuse to 1 in my configuration file.
What are the ramifications of doing this?
If a tcp socket is re-used, does that pose a security risk? i.e. 2 different connections both ...
0
votes
1answer
93 views
Is there a rate limiting tool for linux that can limit rates per process or socket?
I found tc, which allows you to filter by ip, port etc. and then limit rates.
But I was wondering if there was anything that could filter by application or
limit rate given another process' socket ..
...
1
vote
1answer
153 views
Keep-alive options not working on Linux for an outgoing connection
Does anyone know if Linux supports keep-alive socket options on an outgoing connection?
I made an outgoing connection with keep-alive options but netstat --timers shows off (I'm assuming timers are ...
5
votes
5answers
204 views
How to force MySQL to connect by TCP instead of a Unix socket?
I would like to analyze mysql traffic. Right now, all mysql requests are sent to the MySQL unix socket:
unix 2 [ ACC ] STREAM LISTENING 3734388 15304/mysqld ...
1
vote
1answer
79 views
How to - UDP NAT traversal using BSD sockets
I have been reading the NAT traversal requiring the use of an external STUN server. There are few public STUN servers but I do not know how to use them to find out my public IP that can be used by the ...
2
votes
4answers
229 views
Does the TCP source port have to be unique per host?
I've learned that a TCP connection is identified by the tuple (source IP, source port, destination ip, destination port). Theoretically, it should thus be possible to have a client from host1:port1 ...
1
vote
1answer
68 views
Apache2 No Listening Sockets, unable to open logs while trying to configure virtual hosts
I'm trying to set up multiple domains with virtual hosts in Apache2. I'm currently getting a "Could not connect" error when I try to browse to my site, and whenever I try to restart Apache2, I get an ...
0
votes
2answers
179 views
why is TCP Connection state not changing from CLOSE_WAIT to CLOSED?
I have a client server application running in:
Server: Windows server 2008 R2 [Standard]
Client: Windows XP SP3
Workflow:
Server listens for client connections at port YY.
Client connects to server ...
1
vote
2answers
78 views
Apache HTTP Server Bind by MAC Address
I have 2 ethernet ports on my machine, both receiving their IP addresses via DHCP.
I would like to run essentially two web servers on the machine. Technically, I would like to run Apache on one ...
1
vote
0answers
100 views
Accessing socket.io server via Apache served pages
I hope this doesn't come across as a terribly silly question, but I'm learning how to implement a socket.io server for my website to produce real-time applications, but my problem is that I can't ...
0
votes
1answer
53 views
How to redirect outgoing network connections?
I was wondering how would I redirect outgoing connections from all applications to a certain proxy or something like that without having to hook winsock functions on windows. I noticed Proxifier is ...
1
vote
2answers
61 views
A network socket in C++ on Redhat 5 for non-root user
I have written a program in C++ which uses sockets to talk to a windows7 machine.
I have run the code as the root user and everything works fine. However I don't want to end up running the program as ...
-1
votes
1answer
199 views
Server offer with “2-sockets and 1 virtual guest”, what does this mean?
I've read in a server support website that they offer a "2-sockets with 1 virtual guest" packet for a Linux Server.. but what does the "2-sockets" part mean? I know servers may be virtualized but I'm ...
0
votes
2answers
39 views
Mysql Sock Problem
I'm having problem with this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
It appears every few minutes but after few seconds ...
1
vote
2answers
48 views
Allowing Sockets through the Yast FireWall
Short version: How do I allow the Yast Firewall on a Linux server to allow sockets to connect with a randomly (by os) selected port?
Longer version: A part of my larger java program has a client ...
0
votes
2answers
148 views
How to determine number of open sockets? VM Resource Issues
I've got a MediaTemple DV server. I've been seeing a lot of QOS alerts for "numothersock" which is defined as:
The number of sockets other than TCP ones. Local (UNIX-domain) sockets
are used ...
0
votes
2answers
35 views
Help: Enable Ports
I'm trying to enable a few ports, as I have a php script that uses sockets.
I added the following to my httpd.conf file:
Listen 6112
Listen 6113
However, when I execute my php script, it says the ...
3
votes
2answers
520 views
What should mysqld.sock contain, why don't I have it?
Does anyone know why my /var/run/mysqld/mysqld.sock socket file would not be on my computer when I install (or reinstall) MySQL 5.1?
Right now, when I try to start up a server with mysqld, I get ...
6
votes
3answers
133 views
Should a web server care about IPv6 compatibility?
Are there any IPv6 clients in the real world? If not, is there any other reason to support IPv6?
(My understanding is that with the advent of WANs and such IPv6 is not necessary, hence extremely low ...
1
vote
1answer
89 views
Whats going on with mySQL
I am trying to install this application named socialengine and all is going well except on the mysql screen i keep getting this error
The MySQL storage engine is not installed.
I notice my sock ...
1
vote
0answers
84 views
Heavily loaded ubuntu machine connection timeout
I've got a webserver running Ubuntu 10.04 Server edition (on rackspace cloud), running nginx and jetty. It's under quite a bit of load (60-70 requests/sec or so successful). Nginx is proxying requests ...
1
vote
1answer
33 views
Connecting to a service from outside the network
I seek to run a server on the 8000 port on my machine. My computer is part of a wireless home network which is connected to the Internet by a Linksys router. In this scenario, how would a host outside ...
0
votes
3answers
56 views
How to create log-server without affecting web-server?
I am thinking of making a log server to track all requests that come to my website in someway different from apache logs and thus be able to create custom reporting system.
What is the best way to ...
2
votes
1answer
69 views
Host information with TCP port
Forgive this question, I'm a designer trying to get my head around a possible network architecture. I have a wildcard domain on example.com. The client connects via TCP to foo.example.com:1234. Is it ...
2
votes
1answer
151 views
nginx does not close socket
ngnix is not closing the socket after the connection finishes. I've googled and can't come up with anything to will tell nginx to close this connection, other than what I have below: ...
0
votes
1answer
53 views
How to prevent WSEACCESS error on Send via raw socket on Windows XP SP3 for normal user accounts
I have recently begun trying to run our company apps under normal windows user accounts rather than under an account with Administrators group membership. Several of these are failing when atempting ...
0
votes
2answers
58 views
Uptime Monitoring solution that opens a constant socket connection?
I want to monitor some servers and some of them have the potential of having very unstable connectivity.
This is because they are located in office locations that only have consumer internet access.
...
0
votes
0answers
34 views
gearmand starts ignoring control commands from scipts - but still works then commands issued manually
There is a gearmand daemon - which after some time starts to consume a lot of cpu -
starts doing a lot of sockets epolling - but still does it's main job ok.
The daemon has a control tcp socket to ...
1
vote
1answer
203 views
Using UNIX sockets with nginx
I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/).
I've read many blog posts about using UNIX sockets ...
0
votes
1answer
102 views
Which language to use for"intermediary server? [closed]
I have previously posted a question asking how I could host a server on a computer without the use of port forwarding, and creating an intermediary server was suggested. Now that I have time to ...
0
votes
0answers
32 views
Determining hardware address on virtual interface
I've inherited some code for Linux that tries to determine the hardware address of the machine's primary interface.
However, running on a virtual Linux server running on Linux, ifconfig shows all the ...
2
votes
1answer
88 views
UDP Socket bound to one IP?
Say I have two hosts - Using fictitious IPs for this example, say host A has IP 1.1.1.1. host B has two IPs - 2.2.2.2 and 2.2.2.3.
If host B is listening on port 8888, and sees a packet come in from ...
0
votes
1answer
290 views
Lighttpd with FastCGI won't create /tmp/fcgi.sock on startup?
I'm running lighttpd-1.4.19 on a debian 5 box and try to run web2py with fastcgi. The problem with that is, that lighttpd does not create the socket file /tmp/fcgi.sock.
If I'm creating the file by ...
-1
votes
1answer
182 views
Options for sending data between two computers over the internet
My problem is fairly simple: I wish to send/receive simple commands between two PCs. The first PC (PC1) runs a program that controls and monitors an alarm system. The seconds PC (PC2) is any PC that ...
1
vote
2answers
116 views
Linux: How to display all sockets opened for a particular interface?
How can I display all sockets opened for a particular interface?
0
votes
3answers
339 views
Is it dangerous to change the value of /proc/sys/net/ipv4/tcp_tw_reuse?
We have a couple of production systems that were recently converted into virtual machines.
There is an application of ours that frequently accesses a MySQL database, and for each query it creates a ...
0
votes
1answer
773 views
Windows Server 2003 Is there a limit on number of TCP connections per process?
We are running into issues with BizTalk host instance intermittently going down. One of the things that we are worried about is the number of FTP connections a single host instance is making which ...
1
vote
1answer
710 views
Lots of TIME_WAIT connections in netstat (Windows Server 2008)
I'm having some issues on a Windows 2008 server with some network connections not going through. For instance, in a web application on the server, we need to open a socket connection to another ...
0
votes
1answer
167 views
Differences between UNIX Domain Sockets and Internet Sockets
I think the differences are
You connect to the server by providing the file path instead of the destination IP/port
There is no such thing as a source port.. Also, the source IP would only be ...
0
votes
0answers
84 views
Recognizing alias names of servers
I have a windows service which runs based on the machine name or ip assigned to it. I am facing problems running it when i have a failover server and alias names described below.
There is a main ...
2
votes
2answers
181 views
WebSocket Connection vs. Repeated GETs
I am prototyping an application using nodejs. But this question refers to hypothetical large scale roll out. What is more demanding on a server and/or bandwidth: WebSocket stay alive connections or ...
1
vote
1answer
256 views
Poor TCP loopback throughput on Windows
I measured the throughput of a locally bound TCP socket connection on my computer (Intel Q9550, 64 GB RAM, Windows XP 64 bit) using iperf. I got dissatisfying results (around 1.6 Gbit/s) each time, no ...
0
votes
2answers
584 views
Windows Server 2008 network limitations?
Please tell me:
Are there some limitations on connection/socket/http in Windows Server 2008 R2 editions family? For example i am pretty sure that some of servers will have 100+ connections (by ...
3
votes
1answer
155 views
Forward socket to multiple ports
I have two network servers I'd like to test in parallel using live data. I'd like to have something listen on port A and forward the traffic to both port B and port C. The data stream in inbound only ...