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

learn more… | top users | synonyms (1)

2
votes
1answer
36 views

socat and rich terminal again

I start socat on a terminal by executing socat - UNIX-listen:/tmp/sock Then I go to another terminal and start a program (by python) in such a way, that it appears to run in the first terminal, here ...
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 ...
-1
votes
0answers
31 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 ....
1
vote
1answer
28 views

Network/Socket Connection Issue

Problem Socket Connection between 192.168.1.1(Server) and 192.168.1.12(Client) can NOT be established (See Fig. 1). Tests Test 1: "Ping" ping 192.168.1.2 -S 192.168.1.1 -> Success ping 192.168.1.12 ...
0
votes
1answer
32 views

exclude socket files during diff -r

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore all socket files and only socket files? I am using diff --...
0
votes
0answers
44 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
1answer
64 views

What is the default range of Ephemeral Ports in Windows 7?

I used the following command to get the Ephemeral Ports range in Windows 7: netsh int ipv4 show dynamicport tcp And the result was the following: Protocol tcp Dynamic Port Range -------------------...
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
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 ...
-1
votes
1answer
55 views

TCP socket buffer for every flow

Does the linux kernel create a buffer for every TCP connection, for example when we have 1000 tcp connections the kernel creates 1000 socket buffer and stores the packets of individual flow on its ...
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 ...
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
1answer
71 views

Connect a M.2 (B & M) key SSD into a B socket

I have buy a sdd with socket (B & M) key, but my computer just have a B key socket. My question is if I can connect the ssd in this B socket, the ssd would work correctly?
0
votes
1answer
111 views

Socat not closing tcp connection

I use socat 1.7.3.1-r0 and run following command on an alpine 3.3 linux server: socat -d -d -d PTY,link=/dev/ttyFOOBAR,echo=0,raw,unlink-close=0 TCP-LISTEN:7000,forever,reuseaddr Socat will listen ...
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
1answer
101 views

Calculate Packet loss for data in android from streaming server in udp

I am developing a simple application for android where I need to communicate from server in UDP and I did that with the help of socket programming, now I need to find Packet Loss in my connection, so ...
1
vote
2answers
58 views

RST sequence number and window size

RFC793 states the following about RST processing: In all states except SYN-SENT, all reset (RST) segments are validated by checking their SEQ-fields. A reset is valid if its sequence number is ...
-1
votes
1answer
50 views

Sandy bridge sockets

what is the difference between these two socket types: bga 1023 and rpga 988b asking because now I have i3-2310m which is bga 1023 type CPU before that I had Intel b970 CPU which had rpga 988b socket ...
-4
votes
3answers
66 views

What exactly is a network socket? [closed]

I've heard a lot of different definitions online, and having trouble understanding what a socket is. It'd be great if someone could shine a light where it's all dark for me.
0
votes
1answer
185 views

How to properly send GET and CONNECT requests from proxy to client?

I'm making an HTTP proxy in C++; when a client sends a GET or CONNECT request to the proxy, the proxy parses the HTTP header of the packet, resolve the hostname in it, opens another socket to the ...
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 ...
1
vote
1answer
21 views

Acknowledgement number of an RST packet

This question states that the acknowledgement number of an RST packet should be 0, but I have found it to be other than 0 when I captured some HTTP packets using Wireshark. So when does the ...
0
votes
0answers
27 views

How do I plug a laptop power supplier into a printer? [closed]

I have this Hp printer and I'd like to power it up with this do I have just to weld 16v+ and ground? Or is it more complicated? Tks for your answers
2
votes
2answers
175 views

Connecting a port in linux from other machine

I'm going fast to asking this question so i'm apologize. I'm on Linux Fedora 23. I'm running an application Telegram-CLI with listening a port using this argument. -P 1337 That is fine and works ...
1
vote
0answers
167 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 ...
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 ...
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 ...
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 ...
3
votes
2answers
156 views

Is it bad practice to listen on 0.0.0.0? Why?

Say I want to deploy a software that acts as a server and I want to avoid scenarios where interfaces are replaced, IP addresses are changed, etc. The nature of the environment in which this software ...
0
votes
0answers
466 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, ...
2
votes
1answer
96 views

How to list socket options of running processes?

Is there a convenient way (e.g. a readily-available command or a program that I can write using standard system calls) to list socket options (e.g. TCP_NODELAY) of an open TCP socket of some running ...
0
votes
1answer
125 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 ...
51
votes
2answers
5k views

Why was port 80 chosen as the default HTTP port and 443 as the default HTTPS port?

Why was port 80 chosen as the default HTTP port and 443 as the default HTTPS port? Is there a reason or was it is just defined that way?
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 ...
-1
votes
1answer
89 views

Conflicting Port Forwarding results

Ook so weird situation. I'm trying to run a server socket in a python program (bit of code don't worry about it). For it to work I need to forward a port for the server to run on. I've forwarded the ...
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 ...
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
1answer
297 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 ...
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
1answer
195 views

TCP socket to serial port

Is is possibile to remotely access a serial port by tcp socket server? Exists this kind of software? It is the opposit of this question: Any free application to redirect serial communication to TCP/IP?...
0
votes
1answer
47 views

TCP socket communication from client to server

I am trying to test the performance of a client/server application that uses TCP communication. If I trigger multiple requests from the client, would it flow through the same connection/pipe to the ...
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 ...
3
votes
2answers
1k views

Data retransmission and WSAECONNABORTED (10053) socket error

Say I have two sockets that are connected to each other (Socket A and Socket B). If the computer that have Socket B is unplugged from power, then if Socket A tries to send some data to Socket B, the ...
3
votes
2answers
166 views

Are FIN packets guaranteed to arrive?

In the 4-way handshake, we have the following: FIN -------> <------- ACK <---x--- FIN (what if this packet is lost?) ACK -------> What happens if the third packet is lost, will it be re-...
0
votes
1answer
44 views

I can not connect with sockets using IP WLAN

I'm trying to make a connection by sockets, but I can not connect when I'm using IP WLAN, but the lookback IP connects and works, as seen in the two photos below That's what happens when trying ...
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 ...
0
votes
1answer
182 views

List all open sockets in /dev/tcp/localhost/

Is it possible to list all open sockets in /dev/tcp/localhost/ on a Linux machine? I want to list all sockets where the following command would return 0: timeout 2 bash -c "cat < /dev/null > /...
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 ...