netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [possibly O-T] ip-sysctl calls and a few questions.
@ 2002-05-03 14:07 Oskar Andreasson
  0 siblings, 0 replies; 2+ messages in thread
From: Oskar Andreasson @ 2002-05-03 14:07 UTC (permalink / raw)
  To: netdev

Hi All,

I hope this is no intrusion to this list or that it is off-topic, however, I will try to keep it as much to the core ipv4 area as possible. If you do respond, please CC replies directly to me since I am not on the list.

First off, I'm working on a larger document which contains a reference to all ipv4 sysctl calls available in linux. The reference part of the document is heavily based upon linux/Documentation/networking/ip-sysctl.txt document written by various writers, as it looks now. The main problem is that I have quite a problem understanding the behaviours of some variables/sysctl calls, and what they do. 

I will (try to :-)) briefly sum up all questions I have at this moment below:

ip_nonlocal_bind - how does this affect the ip stack? How and why will it break certain applications (according to ip-sysctl.txt)? A possible scenario when it may be used?

INET peer storage - one of the subtopics from the ip-sysctl.txt. What does this refer to? ARP tables and storage I assume, but I am not 100% sure? Would anyone care to give a very very brief explanation to this "section" and why a specific subsection on this in the document, but not 

tcp_max_syn_backlog - I haven't looked in the source code for this one myself, but the default values listed in the ip-sysctl.txt document are faulty in comparison to the default values I get on my own systems. Are these calculated at boot time, or is the document simply old?

tcp_fack - Does this variable turn on Fast Acknowledgement, and if so, in which RFC is this documented? RFC 2018, 2883 or some other? 

tcp_reordering - What does it mean? How does it work? Is there any RFC documenting this and what the default behaviour should be? 

tcp_adv_win_scale - I can say nothing but "hmmm" about the explanation in the ip-sysctl.txt document, and I understand pretty much nothing from what I've read in the source, though I haven't even tried very much so far. What do the different equations do as specified in ip-sysctl.txt? What do the variables used in them mean? Perhaps I'm just dumb or something :-).

icmp_ratelimit
icmp_ratemask - Both these are interconnected afaik, but they are not listed in the ip-sysctl.txt (seems they override the old variables that where available). From what I understand, ratemask tells which ICMP types (and codes?) are specified, and if to ratelimit these. How is this mask calculated? How is the ratelimit set, and in what measurement?

Those are the questions I have for now.. Sorry for the massive amount of questions, but I have collected them for a week or so :-). I really really hope this is not offtopic for this list and that noone will get too annoyed over the questions and that someone is able to reply to them.

Have nice day,

Oskar Andreasson
http://www.boingworld.com
http://people.unix-fu.org/andreasson/
mailto: blueflux@koffein.net

PS. I will be gone over the weekend so there is no rush with any replies really, just thought I'd get them away before the list of questions grows too large. DS.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [possibly O-T] ip-sysctl calls and a few questions.
@ 2002-05-03 16:31 Nivedita Singhvi
  0 siblings, 0 replies; 2+ messages in thread
From: Nivedita Singhvi @ 2002-05-03 16:31 UTC (permalink / raw)
  To: Oskar Andreasson; +Cc: netdev



> First off, I'm working on a larger document which contains
> a reference to all ipv4 sysctl calls available in linux.
> The reference part of the document is heavily based upon
> linux/Documentation/networking/ip-sysctl.txt document written
> by various writers, as it looks now. The main problem is that
> I have quite a problem understanding the behaviours of some
> variables/sysctl calls, and what they do.

Thats good! I've just updated the TCP man page with the TCP
sysctls. Will send it out shortly, that will cover some of your
questions below, but I thought I'd send a brief response now:

> I will (try to :-)) briefly sum up all questions I have at
> this moment below:

> tcp_max_syn_backlog - I haven't looked in the source code for
> this one myself, but the default values listed in the
> ip-sysctl.txt document are faulty in comparison to the default
> values I get on my own systems. Are these calculated at boot
> time, or is the document simply old?

The default val is 256 - but is adjusted at boot time depending
on memory available in the system (1024 if > 128MB).

> tcp_fack - Does this variable turn on Fast Acknowledgement,
> and if so, in which RFC is this documented? RFC 2018, 2883
> or some other?

Forward Acknowledgement. Not an RFC - but there is a paper,
Alexey might have to confirm that..I'll add a ptr to it..

> tcp_reordering - What does it mean? How does it work?
> Is there any RFC documenting this and what the default behaviour
> should be?

Again, no RFC. Its a mechanism to detect the reordering of packets
and avoid unnecessary retransmission and back off..

> tcp_adv_win_scale - I can say nothing but "hmmm" about the
> explanation in the ip-sysctl.txt document, and I understand
> pretty much nothing from what I've read in the source, though
> I haven't even tried very much so far. What do the different
> equations do as specified in ip-sysctl.txt? What do the variables
> used in them mean? Perhaps I'm just dumb or something :-).

It determines how to share the buffer space between the application
and the kernel - if the default is 2, the buffering overhead (system
space is one fourth of the buffer...

> Those are the questions I have for now.. Sorry for the massive amount
> of questions, but I have collected them for a week or so :-).
> I really really hope this is not offtopic for this list and that noone
> will get too annoyed over the questions and that someone is able to
> reply to them.


thanks,
Nivedita

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-03 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-03 14:07 [possibly O-T] ip-sysctl calls and a few questions Oskar Andreasson
  -- strict thread matches above, loose matches on Subject: below --
2002-05-03 16:31 Nivedita Singhvi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).