Score:0

SYNCOOKIES status?

us flag

I want to turn on SYN COOKIES on my Ubuntu Server 20.04 LTS.

Now, below is the output of two commands;

$ sysctl -n net.ipv4.tcp_syncookies

1

$ cat /proc/sys/net/ipv4/tcp_syncookies

1

But in the sysctl.conf, the net.ipv4.tcp_syncookies=1 is still commented as below;

#Uncomment the next line to enable TCP/IP SYN cookies

#Note: This may impact IPv6 TCP sessions too

#net.ipv4.tcp_syncookies=1

  1. Do above sysctl and cat commands tell me the running status of SYNCOOKIES at the moment or just the variable values?
  2. And if it is showing the running status of SYNCOOKIES, how is it activated if the variable is still commented in sysctl.conf?
  3. What can I trust to check the running status of a variable, the sysctl commands output? or its definition inside sysctl.conf?

Thanks in advance.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.