LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 01-04-2003, 08:58 PM   #1
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
chattr + 2.4.20-lq2?


I interested in what others have chattr'ed when they hardened their box. I'm not sure what I should chattr +i any suggestions would help. The box I'm talking about is a router for my LAN, an SSH server, Samba PDC, I occasionally use it to SSH tunnel back home to access a proxy listening on 127.0.0.1. Of course I don't want to have the security interefere with my normal use as I satted above. I was going to add all this security after 2.4.20-lq2 came out /w grsecurity? Any word on that. Oh the box is Slackware-current as of December 28.



--tarballedtux
 
Old 01-05-2003, 05:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,534
Blog Entries: 51

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
It's hard to have general guidelines for chattred stuff wrt what for instance rootkits try to overwrite or use (gcc), so in general I'd say stuff you don't want changed in /etc and sysbin dirs.

I use chattr to guard against (incidental) overwriting in case of root (wetware) or unwanted "guests" (incl. linuxconf) when a box has it's configs, libs and (system|chrooted) binaries fixed.
For configs I use it with a script that handles these permission bits + RCS, so I won't end up ever w/o a working config and track changes easily. With a well-configured Aide config (or Samhain, Tripwire) to track changes and a few aliases and scripts in place, handling chattred binaries and configs ain't that hard and shouldn't interfere much with "normal operation".

Btw, what do you mean by "Any word on that."? When 20-lq2 is out, or something about Grsecurity?
 
Old 01-06-2003, 08:14 AM   #3
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Original Poster
Rep: Reputation: 30
I was asking to when when 2.4.20-lq2 with grsecurity would be out. I remember hearing Jeremy say that he was having difficulty merging grsecurity into 2.4.20-lq1


--tarballedtux
 
Old 01-06-2003, 08:30 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,170

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
grsecurity wasn't giving me a prob, but something else was. I was waiting on grsecurity to see if I could get PaX and rmap to work together. It may have to go in without that though.

--jeremy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chattr not working JJX Linux - Newbie 3 10-18-2005 03:39 AM
Problem with chattr FredrikN Linux - General 1 12-29-2002 11:48 AM
need help with chattr ruprick Linux - Newbie 4 02-19-2002 10:39 AM
chattr +i to all files on my box? ForumKid Linux - Security 3 01-07-2002 10:58 AM
chattr usage sancho5 Linux - General 0 11-21-2001 02:02 PM


All times are GMT -5. The time now is 10:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration