thuglife blogja

PaX just for fun ;-)

Aki ismeri a hatteret az csak rohogni tud ezen ;-)

23:10 < xxxx> Digital Armaments Security Pre-Advisory 11.01.2007: Grsecurity Kernel PaX - Local root vulnerability
23:10 < xxxx> yummy
23:11 < yyyyy> we are probably affected as well, since we are a copy of pax
23:11 < xxxx> ``A vulnerability exist in expand_stack() of grsecurity patch. This vulnerability is exploitable only locally.''
23:12 < xxxx> do we have an expand_stack() function?
23:12 < xxxx> oh wait, we're evil, so we renamed it to uvm_grow().

pkgsrc ... portable? MY ASS!

Eddig mar par helyen hasznaltam pkgsrc -t mert ugye ahogy szoktam mondani, a kisebbik rossz jobb. De az az allitas, hogy a pkgsrc portable, hamis.

Eddig foleg loonixon hasznaltam, mert nem voltam hajlando yastal szarakodni. Ezert el tudom mondani hogy, SLES9 -n kisebb nagyobb problemak nelkul megy is.

A kovetkezo lepesben csak kivancsisagbol, bootstrappeltem egyet Debil loonixon.

robert@debil:~$ cat /etc/debian_version && uname -a
testing/unstable
Linux debillinux.hu 2.6.17-1-itanium-smp #1 SMP Thu Jul 13 15:28:32 UTC 2006 ia64 GNU/Linux

Eloszoris probaljuk meg gcc -vel:

Using built-in specs.
Target: ia64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,fortran,objc,obj-c++,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre --enable-mpfr --with-system-libunwind --enable-checking=release ia64-linux-gnu
Thread model: posix
gcc version 4.1.2 20060708 (prerelease) (Debian 4.1.1-8)

Eredmeny:
Meg annyire se mukodik mint SLES9 -n. Idokozbe valamit elkurhattak a sracok kemenyen. A bootstrap utan:

221 Thank you for using the FTP service on ftp.NetBSD.org.
checksum: ``/usr/pkg/bin/digest'' is missing
ERROR: Make sure the Makefile and checksum file (/usr/pkgsrc/lang/gcc/distinfo)
ERROR: are up to date. If you want to override this check, type
ERROR: "/usr/pkg/bin/bmake NO_CHECKSUM=yes [other args]".
*** Error code 1

Utanna probaljuk icc -vel:

Intel(R) C Itanium(R) Compiler for Itanium(R)-based applications
Version 9.1 Build 20060523 Package ID: l_cc_c_9.1.039
Copyright (C) 1985-2006 Intel Corporation. All rights reserved.

Eredmeny:
Megrosszab. A bootstrap vegen megprobal gcc2 -t forditani nekem, amit senki nem kert tole. Es nem is igy kene, mivel icc a compiler. Miutan ezt workaroundoltam az mk.confban, ugyanaz a hiba mint gcc -s bootstrap utan. A bootstrap hianyos.

Aztan nezzuk a kovetkezo aldozatot. AIX...


# uname -a && oslevel -r && gcc -v
AIX Vigor31 1 5 004082BA4C00
5100-03
Using built-in specs.
Target: powerpc-ibm-aix5.1.0.0
Configured with: ../gcc-4.0.0/configure --disable-aix64 --disable-nls
Thread model: aix
gcc version 4.0.0


        gcc -g -O2 -I. -I./.. -I. -I.. -I./../libedit  -I./../libnetbsd  -c chared.c
In file included from sys.h:142,
                 from chared.c:37:
/usr/include/regex.h:174: error: conflicting types for 'regex'
/usr/include/libgen.h:42: error: previous declaration of 'regex' was here
/usr/include/regex.h:175: error: conflicting types for 'regcmp'
/usr/include/libgen.h:41: error: previous declaration of 'regcmp' was here
make: 1254-004 The error code from the last command is 1.

Letornem a kezet ..... Me against the loonix world .....

Nos hat igen... ujra egy orulet. A helyszin ujra Debian GNU/Loonix.
En szegeny user mit sem sejtve *bizva* abban, hogy a debian meg a hasznalhato loonixok koze tartozik, nyomtam egy apt-get install pure-ftpd -t. Es abban a szent pillanatban amikor megprobaltam szerkeszteni a konfigarcios allomanyt (pure-ftpd.conf), sehol nem talaltam az /etc/pure-ftpd konyvtarban. Na mondom nyomok egy ls -t hatha ott van az csak kicsit mas neven. Jee ott van egy conf konyvtar. Talan ott lehet az kis mocsok!
Nyomjunk ra egy ls -t.

total 36
drwxr-xr-x 2 root root 4096 Jun 27 16:19 .
drwxr-xr-x 5 root root 64 Jun 27 13:11 ..
-rw-r--r-- 1 root root 36 Jun 23 12:03 AltLog
-rw-r--r-- 1 root root 5 Jun 23 12:03 MinUID
-rw-r--r-- 1 root root 29 Jun 23 12:37 MySQLConfigFile
-rw-r--r-- 1 root root 4 Jun 23 12:03 NoAnonymous
-rw-r--r-- 1 root root 4 Jun 27 16:19 PAMAuthentication
-rw-r--r-- 1 root root 12 Jun 27 16:13 PassivePortRange
-rw-r--r-- 1 root root 28 Jun 23 12:03 PureDB
-rw-r--r-- 1 root root 3 Jun 23 12:03 UnixAuthentication

SLES vs. Debian es en a linux utalo. (ia64)

Nemregiben megelegeltem a SuSE Linux Enterprise Server altal nyujtott csodalatos elmenyeket es orgazmusokat es ugy dontottem, hogy inkabb atterek egy normalisan hasznalhato es kezelheto distrora meg akkor is ha nem jar hozza support mert akarhanyszor a Novellhez fordultam supporter a vegen csak en oldottam meg a problemat,
amig ok kuldozgettek a sablonleveleiket. Mindeki tudja hogy nem vagy egy kifejezett linuxrajongo de ez most nem szamit. A ket rossz kozul a kisebbik rossz a jobb.
A gep egy SGI Altix 350. Dual Itanium 2, 6G RAM es egyeb szarsagok. De most nem ezen van a hangsuly.
Mivel 2 db SCSI disk van a gepben ezert szepen debootstrappeltem egy sidet a SLES bol.
Ezutan szepen belottem az EFI nek szukseges msdos filerendszert es feloltam ra elilo-t. Aztan eszrevettem, hogy ez az idiota debian initrd-t hasznal ami total shitshow. Gyorsan perditettem egy kernelt csak a szukseges cuccokkal. Modulok nelkul.
Igen a kernel nagyobb mint a default debian kernel de legalabb nem hasznalok initrd-t es modulokat.


3.5M    /boot/vmlinuz-2.6.16