Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forcing Portage to Get Old Kernel Versions (For honeypot)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Aviewanew
n00b
n00b


Joined: 08 Aug 2007
Posts: 7

PostPosted: Wed Sep 07, 2011 4:02 pm    Post subject: Forcing Portage to Get Old Kernel Versions (For honeypot) Reply with quote

I'm building out a box that will be a target in a security assessment, and I explicitly want a kernel vulnerable to old exploit packs. I'm comfortable going into the kernel source and undoing a patch that resolves a CVE, but I generally need the kernel version to be corrcet. For example, the 2.6.31 perf_counter bug - I need to use the 2.6.31 kernel in addition to undoing the security patch .

I've tried full-nelson.c but it doesn't work out-of-the-box and I don't have the time or skills to correct it. half-nelson.c only works on x64, and I annoyingly have been unable to figure out the correct kernel modules to get gentoo to run on x64 inside VMWare (windows host). (That's another problem, I've tried an awful lot though.)

So I had my sights set on 2.6.31 and the enlightenment pack. But gentoo-sources-2.6.31-r* has been removed (back in April). Is there any way to get portage to find and use it anyway? Or is even the distfiles gone from the servers?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7403
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Sep 07, 2011 4:50 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads. There are about a zillion posts on this and closely related topics. Search "attic". :wink:

Since you're interested in source code with less patches, you might also want to target vanilla-sources instead of gentoo-sources.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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