Fwd: DCCP - sysctl sequence window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forwarding to the DCCP mailing list

---------- Forwarded message ----------
From: Huszák Árpád <huszak@xxxxxxxxxx>
Date: 8 December 2010 13:39
Subject: DCCP - sysctl sequence window
To: acme@xxxxxxxxxxxx, acme@xxxxxxxxxxxxxxxx, ian.mcdonald@xxxxxxxxxxx


Dear Arnaldo and Ian,

According to RFC4340 "The maximum valid Sequence Window value is Wmax =
2^46 - 1 = 70368744177663", however I could set the sequence window size
to this value using linux kernel 2.6.36.
I tried to do this with the command:
sudo sysctl -w net.dccp.default.seq_window=70368744177663
and also by modifying /proc/sys/net/dccp/default/seq_window file.

The maximum value of the seq_window I could set was 2^32-1 (4294967295).

I found the reason of this malfunction in feat.h:
106 extern unsigned long sysctl_dccp_sequence_window;

and feat.c:
30 unsigned long   sysctl_dccp_sequence_window __read_mostly = 100;

The maximum of an unsigned long variable is 2^32-1 (4294967295).

Best regards,
Arpad


--
---------------------------------------------------------------------
Árpád HUSZÁK, Ph.D.
assistant professor                              Tel: +36 1  463-2076
Budapest University of Technology and Economics       +36 70 514-5925
Department of Telecommunications, I.E.432      www.hit.bme.hu/~huszak
---------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux