SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am looking through a linuxsecurity.com quick reference guide and in it, it recommends some kernel configuration options through the /proc pseudo-filesystem. In particular, there are in /proc/sys/net/ipv4 (such things as icmp_echo_ignore_all and tcp_syncookies). However, I don't see that directory on Slackware. Is there an equivalent proc directory that would have those settings?
Can't tell where the option is buried, but you have to add proc file system support to your kernel.
BTW, you can then add support for procfs config info, meaning that you can ask the proc pseudo file system for information on the configuration of your currently running kernel. Which is nice, at times, especially, if you are experimenting with multiple kernels, and don't remember what exactly you have booted with... ;-)
Yes you should configure your kernel with CONFIG_SYSCTL=y and CONFIG_PROC_FS=y at the minimum but maybe some other options for netfilter are missing too.
" Setting kernel parameters in the /proc/sys directory need not be a manual process or one that required echoing values into a virtual file, hoping they are correct. The sysctl command can make viewing, setting, and automating special kernel settings very easy.
To get a quick overview of all settings configurable in the /proc/sys directory, type the sysctl -a command as root. This will create a large, comprehensive list, a small portion of which looks something like this:
This is the same basic information you would see if you viewed each of the files individually. The only difference is the file location. The /proc/sys/net/ipv4/route/min_delay is signified by net.ipv4.route.min_delay, with the directory slashes replaced by dots and the proc.sys portion assumed. "
That is for redhat but I assume it's similar in Slackware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.