Questions tagged [mss]

The maximum segment size (MSS) is a parameter of the options field of the TCP header that specifies the largest amount of data, specified in bytes, that a computer or communications device can receive in a single TCP segment.

33 questions
15
votes
3 answers

ERROR: code ELIFECYCLE npm ERR! errno 134

To download the necessary modules(MSS), navigate with the terminal to the local folder on which the repository has been cloned by launching: npm install then I try to build the I project with: npm run build-dev but I get this error: npm ERR! code…
Licemoon
  • 151
  • 1
  • 1
  • 5
3
votes
3 answers

Setting MSS on per-socket basis with winsock?

As crazy as it sounds, there are situations in life when one needs to configure TCP stack parameters manually, such as MSS. I see it can be done machine-wide as described, for example, here. But I need a way to configure it on per-tcp-socket basis.
Pavel Radzivilovsky
  • 18,794
  • 5
  • 57
  • 67
3
votes
2 answers

Reduce TCP maximum segment size (MSS) in Linux on a socket

In a special application in which our server needs to update firmware of low-on-resource sensor/tracking devices we encountered a problem in which sometimes data is lost in the remote devices (clients) receiving packets of the new firmware. The…
dennis90
  • 239
  • 1
  • 4
  • 12
2
votes
2 answers

Is MSS value fixed in SYN packet?

I wonder how MSS is set in SYN packet? Is it a fixed value in one operating system or the value could be changed in the same operating system? I know that the value is different in different operating systems. Also is the MSS value in SYN related to…
ginny
  • 23
  • 1
  • 3
2
votes
0 answers

Is there some kind of limit regarding the packet size in a SSL/HTTPS connection?

In the last couple of weeks I've been developing a boot loader that performs a firmware update on a certain device. The setup is as follows: The firmware binary and its respective SHA1 hash are stored in a web server; The device is composed of an…
2
votes
1 answer

Weird IPERF observations: MSS size get decreased from what specifed

I am using IPERF to send some packets from one PC to another. Following things have been observed while testing MSS (Maximum Segment Size) with IPERF. Send packets with MSS = 20 Bytes: iperf -c 192.168.1.98 -P 1 -i 5 -p 5001 -M 20 -m We were…
Uthman
  • 9,251
  • 18
  • 74
  • 104
2
votes
2 answers

PHP Socket Types and TCP Window Size

So this is really a two part question with the first leading to the second. I'm working on a PHP server project and I'm a bit confused with all the different ways I can create a socket. I've managed to create three sockets each using a new method. …
Nate Strech
  • 43
  • 1
  • 6
2
votes
1 answer

TCP file Transfer window size

I'm trying to reverse engineer an application, and i need help understanding how TCP window size works. My MTU is 1460 My application transfers a file using TCP from point A to B. I know the following: The file is split into segments of size…
1
vote
1 answer

TCP MSS over WiFi

The MTU for 802.11 is 2296 bytes. Does this mean that if TCP is used over 802.11, the MSS can only be 2296 - 40 = 2256? Can't one use a higher MSS which would then get fragmented over 802.11? In short, is there a strict limit on the MSS for TCP?
V-Red
  • 239
  • 2
  • 17
1
vote
1 answer

MSS 4.0.21 doesn't proxy CANCEL request

I tested Mobicents (RestComm) Sip-Servlet (v 4.0.21) in proxy mode. Request "CANCEL" sent from UAC to UAS via Proxy Server (Apache Tomcat 8.0 + MSS 4.0.21) is not forwarded to UAS. The Sip-Servlet just returns 200 Cancelling to UAC and calls…
David R.
  • 31
  • 4
1
vote
1 answer

Tomcat 9 Mobicents Sip Servlet

Does Apache Tomcat 9 MSS Edition (including Mobicents Sip Servlet) exist? If so, where can I download it? Thanks, David
David R.
  • 31
  • 4
1
vote
2 answers

How to calculate MSS

By default when we say about MSS for TCP ethernet packet 1460 and MTU is 1500. MSS = MTU - 20(IP header) - 20(TCP Header) = 1460 from the above the TCP header is calculated without any options in TCP header. In case if any packet consists option…
velpandian
  • 431
  • 4
  • 11
  • 23
1
vote
2 answers

iOS SDK mms video streaming

Basically, I want to stream and play a MMS video with iOS SDK. I can stream some videos with MPMovieplayer but not MMS or RSTP. I researched this, but I couldn't find a clear solution. Can anybody help me? I tried VLC Mobile:…
Ahmet
  • 11
  • 2
0
votes
0 answers

Why does my cv2 slider keep starting with "None"

My CV2 slider keeps starting with the value "None", but I need it to be an int instandly. The error code I'm getting is this: TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' The solution I tried is as…
joergttv
  • 1
  • 2
0
votes
0 answers

Does memcached send packets that fragment on IP layer using UDP and not TCP?

question is in title. I have read that memcached fragments only on application layer for large responses. Is this always the case? If TCP is not used e.g. client -> a.b.c.d:UDP/11211 ; a.b.c.d:UDP/11211 -> client, how can the memcached server know…
the_dude
  • 11
  • 2
1
2 3