/srv/irclogs.ubuntu.com/2006/05/25/#ubuntu-kernel.txt

jbaileyAhahah.  Someone went through the effort of registering ubuntu.suxx? =)12:14
bluefoxicysuxx.pl with a subdomain ubuntu12:15
jbaileyI just think it's funny. =)12:16
jbaileySome people like us, some people hate us. =)12:16
bluefoxicywatch this.12:16
bluefoxicygimme 2 minutes.12:16
bluefoxicyjbailey: ubuntu-dapper.kicks-ass.net12:19
bluefoxicy:>12:19
=== bluefoxicy removes that now.
jbailey=)12:19
zygabluefoxicy: suxx.pl is my domain12:24
zygaubuntu is just a topic subdomain12:24
zygaI had a bad day when I registered suxx.pl but now it's just history :)12:24
zygaI like ubuntu alot :D12:25
zygajbailey: do you happen to use itanium?12:25
jbaileyzyga: FSVO 'use'12:31
zygagreat, do you happen to need a dual CPU daughterboard for free?12:32
zygafor itanium 1 :/12:32
jbaileyNope.  Mine's a dual 900mhz itanium 2.12:32
zygaI've got two itanium 2 cpus as well but I plan to use them as soon as I find a mobo :)12:32
zygaeh :)12:32
zygathose things are pricey :)12:32
jbaileyI got a bit lucky with that particular hardware acquisition.12:33
zygawell so did I, I guess12:33
zygaboth cpu's cost about 20$12:34
zyga10$ / cpu12:34
zygaeven less than that useless daugtherboard :)12:34
infinityzyga: You could mail me the daughterboard and I could use it to decorate my house.12:35
infinityzyga: I suspect you'll have a hard time finding someone who will actually USE it, though.12:35
zygaif you cover the shipping I might ;]  I also posted it on to the debian-hw-donations project12:36
zygaI might end up buys the remaining bits to assemble an itanium 1 box12:36
zygait's brand new you know :)12:36
zygaI kind of like the connector :)12:37
zygalooks like some ancient computer card :D12:37
bluefoxicyoh holy shit it works!01:14
jbaileybluefoxicy: it?01:18
bluefoxicyjbailey:  http://rafb.net/paste/results/VkXzkF11.html paxtest on ubuntu01:23
bluefoxicyI wrote a small kernel patch, and then booted the new kernel with stack_random_bits=22 mmap_random_bits=1601:24
bluefoxicyhttp://rafb.net/paste/results/gI4UFC11.html01:24
jbaileybluefoxicy: I was reading drepper's blog on the lock downs that they did.  Neat stuff.01:25
jbaileyI hope we can do that for edgy.01:25
bluefoxicyon what?01:25
jbaileyLemme find the posting for you01:25
bluefoxicyjbailey:  yeah.  I want to try to get this patch into mainline, but I'm hoping maybe I can get ubuntu behind me?01:25
bluefoxicyIt lets you adjust mmap() and stack randomization at boot time01:26
bluefoxicythe stack by default shifts around in 8 megs, mmap() base in 1 meg01:26
jbaileyhttp://udrepper.livejournal.com/9666.html01:27
jbaileybluefoxicy: Dunno.  I'm not involved in the kernel at all.01:27
bluefoxicythis gives (to granularity of 16 bytes) 524288 positions in 128 pages for stack; and (to granularity of 4096 bytes) 256 positions for the mmap() base (libraries etc)01:27
jbaileyI just show up here to  harass Ben. =)01:27
bluefoxicyOf course the stack you might throw 4096 bytes of stuffing into and make that 128 ranges your attack works in...01:28
bluefoxicyin such a case, imagine we have say 1000 users who get attacked on a vulnerability protected by this.  That's 1/128 success, maybe 10 fall to it? (gaim has an executable stack, x86 tends to have an executable stack...)01:29
bluefoxicyworst case scenario.01:29
=== bluefoxicy wants to be able to hit a button and get high-order entropy :) Also heap randomization which fedora seems to have...
bluefoxicyah01:31
bluefoxicythat's nice, yes01:31
jbaileyRight.  I'd like us to follow this if we could for edgy.01:31
jbaileyI think it would be very hard.01:31
jbaileyThird party programs are likely to also cause troubles.01:31
bluefoxicyI know nvidia glx breaks due to that stuff (because PAX BROKE NVIDIA GLX AND WE BITCHED AT THEM FOR 3 YEARS BEFORE GIVING UP)01:31
bluefoxicynVIdia will never care.01:31
bluefoxicythey'll just say, "Well turn the security off."01:31
bluefoxicyReally, it's not a matter of negotiating, 3 years of negotiation did nothing.  Go kick them in the balls if you want it to get done01:32
bluefoxicyWhat we need is an open source nvidia glx driver01:32
jbaileyTrue.01:33
jbaileyAnyone working on one? =)01:33
bluefoxicynope :)01:33
infinityThe proprietary one needs to start sucking more so people are more motivated to replace it.01:34
infinityI can only assume that fglrx being COMPLETE CRAP has been a large motivation for radeon hacking.01:34
bluefoxicyalso that radeon mainly worked before the fglrx was out01:35
jbaileyOh well, one more thing in the list of things I'll never have the skill to hack on. =)01:35
bluefoxicywe actually had 3D on lower radeon01:35
jbaileyAnd probably wouldn't chip in more than $20 towards getting fixed.01:35
bluefoxicyjbailey:  go offer to suck ajax's thing for it or something, maybe he'll finally get around to writing it.01:35
infinityjbailey: Get a brain transfusion from airlied.01:35
lifelessjbailey: thats what things like daniels are for01:36
bluefoxicyi knew an excellent graphics card hacker01:36
jbaileyinfinity: I could all the drm knowledge.  And he could then go write scary makefiles instead?01:36
jbaileyJoy.01:36
bluefoxicybut he hates open source stuff.01:36
bluefoxicyit's an egoism thing01:36
jbaileylifeless: Eh, didn't know you trakced this channel. =)01:36
bluefoxicybut the guy picked up a game cube and started writing stuff to control its hardware01:36
bluefoxicycould reverse engineer shit01:37
infinityjbailey: Well, he's an X hacker, so probably already know scary Imake. :)01:37
bluefoxicyit didn't seem like a big deal to him, he was just really smart01:37
mjg59There are people working on an open nvidia driver02:03
bluefoxicyhey mj02:09
bluefoxicyhttp://rafb.net/paste/results/1GRXs654.html about to send this to lkml to see what I get.02:10
=== doko [n=doko@201.160.19.41.cableonline.com.mx] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
zulhey02:47
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
zulhow was you guys day off?02:58
bluefoxicyWTF?03:02
bluefoxicyThunderbird suggests "testatrix" in place of "paxtest"03:02
bluefoxicyubotu... dammit wrong channel03:02
bluefoxicyhttp://lkml.org/lkml/2006/5/19/219  And there it goes.04:02
dilingermm.  people aren't going to like that hardcoded page size05:12
bluefoxicymm.05:12
bluefoxicyI did note as a FIXME to replace 4096 with PAGE_SIZE05:12
dilingeryep05:12
bluefoxicyI will have to rewrite some of the logic for that of course.05:13
bluefoxicythe semantics of stack_random_bits for example means the stack can take on 2^stack_random_bits different values.05:13
bluefoxicyif you lose the ability to shift by 16 bytes at a time then 16 bits of stack randomization is 256M; otherwise 24 bits is 256M05:14
bluefoxicysimilarly, if your pages are 8KiB instead of 4KiB you have to use the first 9 bits for intra-page randomization and the rest for page randomization.05:15
bluefoxicyand of course mmap() randomization is straight randomization * PAGE_SIZE, which is easy05:15
bluefoxicythe stack stuff however requires log base 2 calculations.05:15
bluefoxicydilinger:  to be fair, the original shifted around by 8192 (2 pages) for sub-page stack randomization.05:18
bluefoxicyAnyone know how to log(2,n) something?05:32
bluefoxicydilinger:  fixed.07:12
=== tuxmaniac [n=aanjhan@60.254.67.17] has joined #ubuntu-kernel
=== __keybuk [n=scott@syndicate.netsplit.com] has joined #ubuntu-kernel
=== kimo [n=ahmed@196.202.31.155] has joined #ubuntu-kernel
kimowhy does the topic still say -22 ! duh, I'm on -23 now10:05
=== ivoks [n=ivoks@lns02-1582.dsl.iskon.hr] has joined #ubuntu-kernel
=== _human_blip_ [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== human_blip [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== _mike_ [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== human_blip [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@60.254.67.17] has joined #ubuntu-kernel
=== human_blip [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== human_blip [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== human_blip [n=mike@mike.nelsonbay.com] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@60.254.67.17] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== human_blip [n=mike@220.157.65.127] has joined #ubuntu-kernel
BenCdpkg-deb: building package `linux-image-2.6.17-1-powerpc' in `../linux-image-2.6.17-1-powerpc_2.6.17-1.1_powerpc.deb'.02:01
BenCyummy02:01
=== _human_blip_ [n=mike@220.157.65.127] has joined #ubuntu-kernel
=== BenC_ [n=bcollins@72.169.114.90] has joined #ubuntu-kernel
BenCsweet, full build of 2.6.17-git for edgy on powerpc02:41
BenCLinux colorless 2.6.17-1-powerpc #1 Sat May 20 01:39:11 EDT 2006 ppc GNU/Linux02:52
bluefoxicyaye ben.02:58
bluefoxicyhttp://rafb.net/paste/results/b1eCH937.html  Think I got a shot at getting this one into Edgy as per https://wiki.ubuntu.com/UbuntuDownUnder/BOFs/ProactiveSecurityRoadmap ?03:02
bluefoxicyI'm still working on it, gotta handle some logic for x86-64 with IA-32 emulation specifically.03:02
bluefoxicy(wouldn't want randomization over 1TiB of VA space and suddenly an IA-32 process tries to put stuff at 0x001C000000000000 and finds VMA isn't that long)03:03
BenCcool03:06
bluefoxicyaha, got it03:29
bluefoxicyI used TASK_SIZE / 6 as my random interval03:29
bluefoxicyso IA-32 code should let you tell it to randomize mmap() by 512M and stack by 512M; x86-64 assuming VMA space is 192TiB (of the 48 bit 256TiB space the CPU gives us) would give 32TiB max03:30
bluefoxicybut if you don't specify on the kernel command line, it'll just do 1MiB mmap() and 8MiB stack, as it does now :)03:30
bluefoxicyI should probably cut that back to TASK_SIZE/1203:30
bluefoxicysince I know /6 will have issues on IA-3203:31
bluefoxicyanyway gotta go for about an hour, be back in a bit.03:33
bluefoxicy(what I really need is a guaranteed TASK_STACK_ALIGN, which should always be 16, to determine how much alignment the stack needs for randomization)03:35
=== doko [n=doko@201.139.156.169.cableonline.com.mx] has joined #ubuntu-kernel
=== kimo [n=ahmed@196.202.31.155] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
bluefoxicyyay06:33
zulheylo06:33
bluefoxicymy patch looks nice now, and it still patches to the dapper one ;)06:33
bluefoxicyhey zul06:33
zulhey bluefoxicy 06:33
bluefoxicyhttp://rafb.net/paste/results/VblFVp66.html  :>06:34
bluefoxicyhmm.  Build fails.06:35
=== bluefoxicy forgot something. *fixes*
bluefoxicydidn't define a long I used in one function.06:36
bluefoxicynow it works.06:41
bluefoxicyhttp://rafb.net/paste/results/pOP53u33.html  :)06:42
bluefoxicyshit.06:44
=== bluefoxicy copied a chunk of code around without actually re-declaring the variable it uses, so he keeps finding spots where max_random_bits isn't defined >:|
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== jane_ [n=JaneW@dsl-146-177-94.telkomadsl.co.za] has joined #ubuntu-kernel
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== doko [n=doko@201.139.156.169.cableonline.com.mx] has joined #ubuntu-kernel
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
=== holden [n=holden@d83-184-201-205.cust.tele2.it] has joined #ubuntu-kernel
holdenhi. does anyone know what /lib/modules/2.6.15-23-amd64-k8/volatile is for?08:33
mjg59For linking non-free modules08:34
holdenmount reports:  lrm on /lib/modules/2.6.15-23-amd64-k8/volatile type tmpfs (rw)08:35
holdendo I need it? how can i disable it?08:35
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== doko [n=doko@201.160.19.41.cableonline.com.mx] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@60.254.67.17] has joined #ubuntu-kernel

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!