Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC extension for protecting applications from stack-smashin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
GeoffOs
n00b
n00b


Joined: 13 Dec 2003
Posts: 56
Location: Cheshire

PostPosted: Fri Dec 31, 2004 5:41 pm    Post subject: GCC extension for protecting applications from stack-smashin Reply with quote

GCC extension for protecting applications from stack-smashing attacks
I just came across this http://www.research.ibm.com/trl/projects/security/ssp/ and I was wondering if / how I could get this patch implemented.

Apologies if this is in the wrong forum.
_________________
Beyond a critical point within a finite space, freedom diminishes as numbers increase. ...
The human question is not how many can possibly survive within the system, but what kind of existence is possible for those who do survive."
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Fri Dec 31, 2004 6:06 pm    Post subject: Reply with quote

No need to patch anything. Gentoo gcc come with the patch already. Just define -fstack-protector an you are done.
_________________
ALT-F4
Back to top
View user's profile Send private message
GeoffOs
n00b
n00b


Joined: 13 Dec 2003
Posts: 56
Location: Cheshire

PostPosted: Fri Dec 31, 2004 8:14 pm    Post subject: Cheers Reply with quote

Thanks for that.
Stupid question, but how did you know that?
_________________
Beyond a critical point within a finite space, freedom diminishes as numbers increase. ...
The human question is not how many can possibly survive within the system, but what kind of existence is possible for those who do survive."
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Fri Dec 31, 2004 9:05 pm    Post subject: Reply with quote

I got curious about Gentoo because of the hardened Version (transparent ASLR and stack protection via gcc patch) it must be in these docs that I read about it...
If you are interested in a security enhanced but still usable system I can really recommend the following
- grep a stage1 hardened tarball
- enable stack protection with -fstack-protection in make.conf
- set profile to hardened
- use hardened-sources and activate grsecurity to take full advantage of ASLR

If you need further details don't hestiate to ask...


Alex!!!
_________________
ALT-F4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum