LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2024, 06:42 AM   #1
KatrinAlec
Member
 
Registered: Feb 2012
Posts: 116

Rep: Reputation: 13
SocketBuffer


conntrackd.conf

Can someone please clarify if there is a parameter

SocketBufferSizeMaxGrown
or if that is a typo for
SocketBufferSizeMaxGrowth

I don't quite understand how it works because I don't see a difference when I change either.
Shouldn't it change something in
sysctl -A | grep mem

?
 
Old 03-26-2024, 07:20 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,859

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Socket buffer size can grow if needed, SocketBufferSizeMaxGrown is the upper limit.
 
Old 03-26-2024, 07:23 AM   #3
KatrinAlec
Member
 
Registered: Feb 2012
Posts: 116

Original Poster
Rep: Reputation: 13
So it is SocketBufferSizeMax...GROWN and not ...GROWTH?
 
Old 03-26-2024, 08:37 AM   #4
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,603

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546

I've never seen a config file use past tense before.

Looking at man conntrackd.conf the only option containing "grow" is "NetlinkBufferSizeMaxGrowth"

However, the "See Also" section points at something claiming to be a manual - //conntrack-tools.netfilter.org/manual.html - searching for "grow" there returns a single instance, in the sentence "You can increase the values of SocketBufferSize and SocketBufferSizeMaxGrown."

Searching the netfilter site, reveals a 2008 commit with the message:
Quote:
doc: fix typo SocketBufferSizeMaxGrowth in example conffiles

This patch replaces SocketBufferSizeMaxGrown by SocketBufferSizeMaxGrowth. Both clauses are still valid but better to use the one that has no typos in the configuration files.
So yes, it's a typo.

You might like to raise an issue with NetFilter pointing out that the manual.html page is 16 years out of date.

(It might also mean that whatever config file you're looking at is similarly out of date.)


Last edited by boughtonp; 03-26-2024 at 08:40 AM.
 
1 members found this post helpful.
Old 03-26-2024, 08:46 AM   #5
KatrinAlec
Member
 
Registered: Feb 2012
Posts: 116

Original Poster
Rep: Reputation: 13
Thanks
I must have found it somewhere on the web ages ago and only now I noticed that "grown" doesn't make much sense.
 
Old 03-26-2024, 09:08 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,859

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
quite a stubborn mistake
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration