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

learn more… | top users | synonyms (1)

3
votes
1answer
81 views

Is it necessary for an RST packet to have an acknowledgement number?

I am studying about TCP reset attack. I know that some RST packets have an acknowledgement number (with the ACK bit set), and some RST packets do not have an acknowledgement number (the ...
3
votes
1answer
190 views

What happens when I terminate a process and the socket send buffer is not empty?

In Windows (and probably in other operating systems), if a process has a TCP connection with another process on another machine, and then I terminate the process, an RST packet will be sent to the ...
3
votes
1answer
2k 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
16k 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
589 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
282 views

How does the Inetutils telnet utility determine if a connection is still alive?

I've started using sockets in programming with Java (I have experience with Python), and while testing a server that I'd written with the telnet command, I noticed that the utility responds ...
1
vote
1answer
232 views

Emulate console by sending data on one UDP port, and receive text from another

I'm trying to establish a “console-like” connection with a National Instruments cRIO-FRC. It broadcasts its console output onto 255.255.255.255, UDP port 6666. I can listen to it with: socat UDP-...
1
vote
1answer
326 views

systemd: starting service that depends on sockets does not work

I'm using systemd to start a WiFi and power monitor service script that scans for an SSID, brings up the network and an SSH tunnel and does a few other tasks. Much to my surpise it doesn't always ...
1
vote
1answer
276 views

Linux Kernel TCP socket functions

So I have been looking through the Linux Kernel v3.8.0-19-generic source code and I noticed that the proto struct, whose members are virtual functions for socket operations depending on the particular ...
1
vote
1answer
810 views

Can Connectify Dispatch be used for video streaming?

Here is my situation. We are specialized in video producing local sports for web-streaming. In most cases clients provide us with poor bandwidth, which is absolutely critical for us. There is a ...
1
vote
1answer
678 views

Restricted ports to non-admins on Windows 7

I work in a restrictive desktop/network environment and I am not an admin on my laptop. The ports available to me are limited. E.g. when I tried running Tomcat, the system refused to open a socket ...
1
vote
1answer
721 views

fcgiwrap listening to a unix socket file: how to change file permissions

I have a web server (nginx) and a CGI application (gitweb) that is ran with fcgiwrap to enable Fast CGI access to it. I want the Fast CGI protocol to take place over a unix socket file. To start the ...
0
votes
1answer
23 views

receive data from buffer in socket programming

please see this picture. recvfrom() blocks until a datagram is received from a client. Since there is no connection,each datagram may come from a different sender. i can receive data form receiver ...
0
votes
1answer
61 views

What happens if all of the Ephemeral Ports are used in Windows?

If all of the Ephemeral Ports are used, and another socket tried to connect to a server, will the connection fail? or will the socket be assigned a port outside the range of the Ephemeral Ports?
0
votes
1answer
298 views

Understanding “cat proc/net/udp”

# cat /proc/net/udp | egrep "sl|3ADBFE0A" sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops 16: 3ADBFE0A:007B ...
0
votes
1answer
69 views

Looking for a replacement audio jack

I am trying to repair a PC audio jack, however I am not able to find a replacement which is the same as the original. This is the PC board that I am reparing. I am reparing the headphone port. On ...
0
votes
1answer
124 views

How to use multiple network interfaces?

I need to use multiple network interfaces in a C program with sockets. My interfaces are wlan0 and eth0. When I connect eth0, the ping through wlan0 returns "Host unreachable", and consequently the ...
0
votes
1answer
491 views

Python: TCP/IP Socket Client, how to send login packet?

I wanted to create a bot to send login/join packets to a game server. So it will join then send more packets for it to write something in the chat, but I'm not sure how to do this. If someone could ...
0
votes
1answer
296 views

How to free a port on OS X when lsof(1) reports that it is not in use

I am a developer working in OS X on Eclipse. A bug I have been working to fix in a web application results in some very strange behavior when resetting an instance of Tomcat, resulting in the ...
2
votes
0answers
68 views

How to monitor the unix socket statistics in OSX per-seconds

I can monitor a net-device in the OSX, like below $ netstat -I eth0 -b 1 1000 input (Total) output packets errs bytes packets errs bytes colls ...
2
votes
0answers
135 views

netstat -o timer value “probe”

A bit of background on the scenario. I have a distributed application running on RH6.5 that uses JMS (OpenMQ 4.5.2) to send messages between hosts. One host (Host A) receives information from network ...
1
vote
0answers
12 views

lsof: restrict to sockets available via loopback

I can restrict the selection to sockets listening only on the loopback interface: $ lsof -p "$(pgrep -d, proga)" -i4TCP@127.0.0.1 -sTCP:LISTEN -P -n -a COMMAND PID USER FD TYPE DEVICE SIZE/OFF ...
1
vote
0answers
165 views

Differences in RJ-45 plugs & keystone jacks for CAT5, CAT5e, CAT 6, CAT6a & CAT7 compliance?

I've read detailed insights on differences in the CAT Cabling. What is the difference between various cable types like Cat 5, Cat 5e and Cat 6? What is the difference between Cat 6 and Cat 6e ...
1
vote
0answers
1k views

Can't connect to socket listening on 127.0.0.1 but works for 'localhost' in Windows 10

I have a clean install of Windows 10 Pro x64 and I’m trying to run PostgreSQL server on it. It used to work perfectly on Windows 7, but Windows 10 is behaving really weird: If I configure PostgreSQL ...
1
vote
0answers
7 views

Route only on output chain?

I have two machines A and B. I want to send iperf traffic from A to B, but first have it route through a userspace program on A. I did this with a tunneling device: therefore, I used the command ip ...
1
vote
0answers
116 views

How do I troubleshoot if I see the incoming packet in tcpdump, but not at the socket?

For example, I see that the incoming packet in tcpdump, but not in strace for the program that is listening the appopriate socket. How do I trace the "fate" of this incoming packet on Linux? I ...
1
vote
0answers
135 views

linux + what are the messages bad tty under /var/log/messages file

under /var/log/messages I see the following messages "bad tty" what the meaning of these messages? second is it caused because some application that called - owstd ? as we can see from the log? ...
1
vote
0answers
689 views

Re-stream (forward) UDP-Live-Video-Stream (using winsock) reduce video quality?

So, I used ffmpeg to stream the live webcam using UDP protocol to port 1111 : ffmpeg -f dshow -i video="Lenovo EasyCamera" -f mpegts udp://localhost:1111 When I played it directly by ffplay from ...
1
vote
0answers
678 views

Mysql socket error 2002 on Linux Mint - Access denied

My apache and xampp servers are running on port 2145 and 16443 respectively. sudo /opt/lampp/lampp restart Restarting XAMPP for Linux 1.8.2-5... XAMPP: Stopping Apache...ok. XAMPP: Stopping MySQL......
1
vote
0answers
270 views

How to forward data to mysql server using socket module in python

How to forward data to mysql server using socket module in python, i have try to import socket and connect it to mysql server for test, but have no data received from it, my code like this def sender(...
1
vote
0answers
59 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
0answers
443 views

websocket behind a firewall

I have a computer with a strong CPU and a lot of memory (strongy) running Windows Server 2008 R2, that is blocked by a firewall from any access from the outside world. I have a computer with a weak ...
1
vote
0answers
725 views

Java - SocketException: Address family not supported by protocol family: connect

My Java connections seem to be failing a lot at the moment. When I run one piece of software with cmd open I get the above exception and sometimes class files don't load for web based Java programs. ...
1
vote
0answers
514 views

SocketSniff equivalent for 64-bit applications

SocketSniff allows you to watch the Windows Sockets (WinSock) activity of the selected process. On x64 version of Windows, SocketSniff can only work with 32-bit programs. Is there any SocketSniff ...
0
votes
0answers
43 views

ethernet interface on Linux drops packets

I'm trying to capture some Ethernet frames with Linux. Some of these packets/frames are invalid and contain corrupted data. For example an Ethernet frame contains the type 0x0800 which is IPv4, but ...
0
votes
0answers
15 views

Allow ssh connections to xinetd server (interactive terminal)

How would I make and xinetd server run as though it was an interactive terminal, with history and line editing. Currently it is possible to connect to the server with telnet or nc, but terminal ...
0
votes
0answers
20 views

How to use socket or raw socket to sniff all icmpv6 nd packets?

I am working on NDP(neighbor discover protocol) on a router host and the ndp proxy functions to advertise neighbors behind the same router host. But currently, got stuck with the socket to sniff ...
0
votes
0answers
10 views

Using ab command, 100 concurent process fails in Linux, How to solve this issue for Linux?

What i have done : I have used following ab command : ab -n 1000 -c 100 http://192.168.101.143:8558/num?num=5 Here, I am trying to generate 1000 http request , 100 concurrent process, port ...
0
votes
0answers
13 views

Sending ihex file over UDP using sockets

I am working with IPv6 and UDP sockets using python-2.7. I am particularly focusing on IPv6 Multicasting ff02::1 where every Link-Local address device (with fe80::) responds to queries from a central ...
0
votes
0answers
25 views

Connect two applications/devices through web service

I want to send commands from one application (e.g. running on mobile device) to another application (e.g. running on embedded device) which is located in a different network. I don't want to use VPN ...
0
votes
0answers
464 views

“Could not create unix socket lock file” with MySQL 5.7.10 on OS X 10.11.2

I've been trying to install MySQL 5.7 on OS X El Capitan using Homebrew, however when it came to getting the server up and running, I cannot seem to get a lock file created. When I run mysqld_safe, ...
0
votes
0answers
207 views

BubbleUPnP http error java.net.SocketTimeoutException

I'm setting up a BubbleUPnP server so I can stream my music to myraspberry pi. I've installed everything but the connection doesn't work. I'm using Windows 7 on my laptop. I've forwarded the ports of ...
0
votes
0answers
136 views

How to communicate with a LaunchAgent via Unix Sockets?

I'm trying to setup a LaunchAgent (running in the current user's UI context) that can receive "commands" like a server. The "commands" are sent by a LaunchDaemon running as "root" user, or some other ...
0
votes
0answers
3k views

error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

I am creating system tests on a Windows7 machine using python, in which I need to open various socket connections to other machines. I also have several virtual IPs added to the local machine. These ...
0
votes
0answers
394 views

VirtualBox and Websockets

I am using Virtualbox with Linux host and Windows guest. When I try to use websites that makes use of websockets it's not working properly (not getting messages). I believe this can be fixed with ...
0
votes
0answers
234 views

Using Tap/Tun to intercept packets at IP level

I am working on a research project involving ARP poisoning. I would like to intercept packets on the IP level. If my machine receives a packet with an IP address not destined to it's own IP ...
0
votes
0answers
4k views

Default Gateway IPv6 but IP set on IPv4

I have a client who has a network setup. I have a couple of devices which work on the network using socket communication which I want integrated onto their network. There is a PC which is to be made ...
0
votes
0answers
75 views

Security risks and prevents for sending files over sockets

I am attempting to do Raspberry Pi development and at the moment, I'm normally writing all of the Python code on my laptop and then would have to use a SSH client to send the files across. I've ...
0
votes
0answers
535 views

Accessing serial port via sockets

I'm on windows and I need to access my com5 serial port via sockets. I tried serproxy but it does not work. Is there a better tool to do it? This serial port com5 is a virtual serial port of my 3g ...
-1
votes
0answers
30 views

Writing to pcap file on remote computer in real time using Scapy

I am trying to develop a stealthy sniffer for educational purposes. My plan is to use scapy to sniff the packets, write them to an open socket that connects to the remote computer in the format of a ....