LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-11-2006, 05:36 AM   #1
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
changing rights in /proc/sys


how can I chmod /proc/sys/net/ipv4/ip_forward such that nobody but root can see what value it has ?
I tried chmod 640 /proc/sys/net/ipv4/ip_forward but when I do a ls /proc/sys/net/ipv4/ip_forward the rights remain the same.
can this be done some other way ?
 
Old 02-11-2006, 07:26 AM   #2
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
Maybe applying the grsecurity patch and then chosing the restrict permissions on /proc might work for you.
 
Old 02-12-2006, 04:57 AM   #3
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
I am using Debian Stable and it seems that there is no valid grsecurity patch in the stable portage for kernel 2.4.27. Could you provide a link where can I find a grsecurity patch for kernel 2.427, googleing around didn't help ...
 
Old 02-13-2006, 05:44 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK the only distro on earth that deserves major credits for having a GRSecurity kernel on tap is Gentoo. For all others you'll have to roll your own.
 
Old 02-17-2006, 10:59 AM   #5
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
The problem is I don't seem to find a valid grsecurity patch for kernel 2.4.27, could you post a link from where I can download this patch ?
 
Old 02-23-2006, 01:04 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
http://grsecurity.net/grsecurity-2.0.1-2.4.27.patch
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/sys/fs/file-nr ?? jharris Linux - General 5 07-27-2009 06:07 PM
Information about /proc and /sys directories spinner_0 Linux - General 3 12-01-2005 10:39 AM
LM_Sensors proc V sys Weirdname Slackware 5 11-29-2005 08:22 PM
/proc vs /sys alaios Linux - Newbie 1 06-11-2005 11:56 PM
/proc replaced by /sys in 2.6? Thaidog Linux - General 1 04-25-2005 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:36 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