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

learn more… | top users | synonyms (1)

2
votes
2answers
181 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 ...
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
27 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 ...
4
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 ...
-1
votes
0answers
33 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 ....
0
votes
0answers
52 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
37 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 --...
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
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
66 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 -------------------...
9
votes
4answers
8k 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 ...
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
58 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 ...
1
vote
2answers
59 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 ...
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
72 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
118 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 ...
63
votes
13answers
202k 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 ...
0
votes
1answer
102 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 ...
-4
votes
3answers
67 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
187 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 ...
19
votes
3answers
23k 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
votes
2answers
4k views

Is it possible to upgrade the AMD E-300 APU on a laptop?

I read that this processor is BGA. That would mean that it is soldered to the motherboard? Can an average laptop technician replace it? This processor is very slow, it scores only 600 on the Passmark ...
1
vote
1answer
455 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 ...
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
0
votes
1answer
304 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 ...
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?
21
votes
2answers
11k views

Can cURL send requests to sockets?

I can find nothing about this on Google or the cURL man pages. I have a HTTP server running at /var/run/my-server.sock, and I want to test it by sending a simple request using cURL. Can this be done ...
10
votes
4answers
9k 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 ...
1
vote
0answers
172 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
26 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
69 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
70 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
157 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
472 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
1answer
893 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 /var/run/%process%...
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
130 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
493 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 ...
0
votes
1answer
4k views

installing Gevent on OSX

>>> import gevent Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.macosx-10.6-universal/egg/gevent/__init__.py", line 41, in <...
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
1answer
300 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
212 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 ...