search for: newmss

Displaying 3 results from an estimated 3 matches for "newmss".

Did you mean: newmsg
2015 Sep 10
2
tinc generating invalid packet checksums?
We have a Zenoss server in our main office monitoring (among many other things) an Apache server in a remote network, with a Tinc link between the two networks. The monitoring simply involves making an HTTP request to a URL once every 5 minutes and confirming that a response page comes back. Most of the requests to this particular web server succeed (and similar requests to other web servers
2015 Sep 12
0
tinc generating invalid packet checksums?
...> [...] > Am I correct in concluding that this cksum problem is a bug in Tinc? After investigating this further, I'm fairly certain that problem originates in the following lines of the clamp_mss() function in route.c: [...] csum ^= 0xffff; csum -= oldmss; csum += newmss; csum ^= 0xffff; packet->data[50] = csum >> 8; packet->data[51] = csum & 0xff; Since the TCP checksum value needs to be computed using one's compliment arithmetic, the above code generates new values that are off by one from the correct checksum for the packet in...
2017 Jan 19
0
[Bug 1113] New: integer overflow in xt_TCPMSS
...integer overflow in module when use ppp interfaces (may be not specific) and broken packets (special generated) --- /home/pavel/make/linux-3.16.39/net/netfilter/xt_TCPMSS.c 2016-11-20 06:17:41.000000000 +0500 +++ ./xt_TCPMSS.c 2016-04-05 13:32:05.000000000 +0500 @@ -126,7 +126,7 @@ newmss = info->mss; opt = (u_int8_t *)tcph; - for (i = sizeof(struct tcphdr); i <= tcp_hdrlen - TCPOLEN_MSS; i += optlen(opt, i)) { + for (i = sizeof(struct tcphdr); i + TCPOLEN_MSS <= tcp_hdrlen; i += optlen(opt, i)) { if (opt[i] == TCPOPT_MSS && opt[i+1] == TCPOLEN_...