**** BEGIN LOGGING AT Fri Sep 19 03:00:00 2014 Sep 19 07:17:06 Anyone here have a working n900 development environment (that can grab some things from CSSU gitorious and compile some specific things for me)? I dont have a usable dev environment right now so I cant compile it myself Sep 19 07:47:09 jonwil: yep :) Sep 19 07:47:24 what do you need to have compiled? Sep 19 07:59:50 just realized I dont actually need what I thought I needed Sep 19 07:59:56 so no I dont need any help right now Sep 19 08:01:17 I am getting seriously back into n900 reverse engineering though Sep 19 08:05:10 my next target will be osso-wlan-security (aka eapd) I think Sep 19 08:05:36 jonwil: why not the PowerVR driver? :P Sep 19 08:07:14 because I happen to want to mess with osso-wlan-security right now Sep 19 08:07:59 ;) Sep 19 08:13:00 Luke-Jr: because the powervr driver is bound to be floats all over Sep 19 08:13:09 and hex-rays doesn't decompile those as nicely Sep 19 08:15:11 :/ Sep 19 08:49:49 the good news is that Nokia were smart and didn't reinvent the wheel Sep 19 08:49:59 osso-wlan-security uses openssl for crypto work Sep 19 08:50:11 that fills me with dread Sep 19 08:50:28 :D Sep 19 08:51:08 as a reminder, the openssl devs thought it was a good idea to add support for big endian x86_64 Sep 19 08:51:22 http://opensslrampage.org/post/83031733755/ Sep 19 08:51:23 And that's a problem why? Sep 19 08:51:29 BECAUSE IT DOESN'T FUCKING EXIST Sep 19 08:52:09 oh yeah I see Sep 19 08:52:19 :) Sep 19 08:52:21 kerio: :D Sep 19 08:52:26 who is in charge of cssu these days? Sep 19 08:52:28 hypothetical choice ! Sep 19 08:52:36 kerio: actually big endian x86_64 does exist Sep 19 08:52:39 that was the fucked up part Sep 19 08:52:49 it exists where? Sep 19 08:52:55 routers Sep 19 08:53:16 some routers from stratus.com apparently Sep 19 08:53:17 some company went and made big endian x86_64 so that their legacy big endian risc code would compile and run on the new routers without modification Sep 19 08:53:48 seems screwed up, would have been better to go with something still available that is big-endian like PPC Sep 19 08:53:54 clearly that's a good enough reason to maintain support for useless shit in one of the most important opensource projects in the world Sep 19 08:54:10 jonwil: they modified gcc to "emulate" big endianness on x86 Sep 19 08:55:06 what a stupid idea, would have been much better to just keep using any of the many big-endian chips out there Sep 19 08:55:50 some ARM supports switching between low and big endian Sep 19 08:56:41 I think it's all of them ... it's just not always available to the user Sep 19 08:57:06 Pali: obviously mixed endian is the proper way to do things Sep 19 08:57:22 in any case the use of openssl by eapd makes reverse engineering it easier for me Sep 19 08:58:19 Is anyone running mainline on their n900? Sep 19 08:59:01 Pali: freemangordon ^ Sep 19 08:59:15 our armv7-a in n900 does not support big endian, see: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0471c/BABFBJDG.html Sep 19 08:59:17 you guys managed to run linux 3 on n900 right Sep 19 08:59:30 but armv7-r support it: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0471c/BABGCBIF.html Sep 19 08:59:36 my god eapd is using a lot of different encryption algorithims Sep 19 08:59:40 ARMv7-R supports optional byte order reversal hardware as a static option from reset Sep 19 09:00:10 Wizzup: I was able to that in time of 3.12 (or 3.13?) Sep 19 09:00:31 jonwil: eapd is replacement for wpa_supplicant Sep 19 09:00:46 and it support lot of WPA/EAP methods Sep 19 09:00:46 I guess the next question would be: Is it anywhere near usable? Or it is really just "managed to boot" Sep 19 09:00:58 I saw http://elinux.org/N900 but googling more didn't show a lot more info Sep 19 09:01:01 wierd that Nokia didnt just use existing FOSS bits for that stuff (or did FOSS stuff that was suitable not exist at the time eapd was invented?) Sep 19 09:01:03 Wizzup: maemo5 somehow working with my patches Sep 19 09:01:21 jonwil: yes, this is bad :-( Sep 19 09:01:22 wow, that's cool Sep 19 09:01:33 Would love to know more about that if you find some time Sep 19 09:01:55 https://gitorious.org/linux-n900/linux-n900 Sep 19 09:04:05 branch v3.12-rc5-n900 worked (I have it installed in my n900 in boot menu) Sep 19 09:04:59 or you can try branch v3.13-rc7-n900 (it will work probably too) Sep 19 09:05:05 Wizzup: ^^^ Sep 19 09:06:12 thanks, I'll make some notes and try it later! Sep 19 09:07:01 I also read that there was a modem driver in a recent mainline kernel Sep 19 09:09:28 3.16 i think Sep 19 09:10:58 moin :) Sep 19 09:11:52 B-) Sep 19 09:17:45 mornin... Sep 19 09:18:23 * drathir think the try to debug startup process is really hard thing.... Sep 19 09:24:49 Pali: phone stuff work as well ? Sep 19 09:25:20 +s Sep 19 09:30:41 phone (sms, voice calls) worked Sep 19 09:44:41 DocScrutinizer: infobot joined! Sep 19 09:48:24 infobot: botsnack Sep 19 09:48:24 drathir: aw, gee Sep 19 10:34:29 jonwil: great!!! (eapd) Sep 19 10:43:00 * Sicelo sees eapd.. what's up Sep 19 10:48:41 jonwil: \m/ Sep 19 10:50:00 my goal is to basically document all the external things eapd touches Sep 19 10:50:11 The algorithms it implements should be documented Sep 19 10:50:21 so its just a matter of figuring out how the rest of the system talks to it Sep 19 10:50:36 you will have saved many of us (wpa_suppolicant works fine on N900, but too power hungry) Sep 19 10:50:42 and from there you know what an eapd replacement needs to do to be compatible Sep 19 10:50:52 so no it wont be a clone of eapd Sep 19 10:51:03 just info so someone else can write something that does the same thing Sep 19 10:51:19 using existing or new implementations of wep/wpa/etc Sep 19 12:15:17 ok, first step in reverse engineering this beast complete, I have loaded into IDA info on all the external libraries eapd links to and input definitions of all the functions it imports Sep 19 12:15:27 now I can start looking at the dbus calls it makes or responds to Sep 19 12:27:51 wow jonwil, you're talking some real hacking there. What ya working on? Sep 19 12:27:58 * stryngs is very interested Sep 19 12:29:40 eapd aka osso-wlan-security Sep 19 12:30:01 intending to figure out every external interface it touches Sep 19 12:30:18 so the community can take that info and write a drop-in replacement for eapd if they want Sep 19 12:32:39 Description: Security software engine Provides support for better WLAN & WIMAX security Sep 19 12:32:51 wtf does it do? Sep 19 12:32:57 allow wpa or something? Sep 19 12:48:05 yeah its got encryption and stuff for various WiFi security standards Sep 19 13:03:22 Heh, okay, jonwil: Why change what works? Are there bugs? Sep 19 13:05:34 the intent is that someone could make the new thing support certain WiFi security standards that the N900 doesn't currently support Sep 19 13:18:46 Ok, then, Cool =) Sep 19 13:19:12 I guess you're aiming at EAP-SIM ? Sep 19 13:40:28 whatever standards people want to add support for Sep 19 13:40:37 I am just providing the needed info to make replacing eapd possible Sep 19 13:44:47 http://www.reddit.com/r/news/comments/2guye2/booksamillion_credit_cards_hacked/ Sep 19 13:45:33 I recon Visa/MasterCard and the banks should work more on systems that give you one-time-use card numbers Sep 19 13:45:58 A few banks already have them (not mine though) and they would stop this kind of situation being a problem Sep 19 13:58:36 bencoh: I think that Maemo eapd does *not* support EAP-SIM Sep 19 13:59:21 stryngs: osso-wlan-security contains eapd daemon which implementing eap(ol?) client (similar what is in wpa supplicant) Sep 19 14:00:28 I tested only EAP-MSCHAPV2 and EAP-GTC methods with eapd and it worked Sep 19 14:00:48 jonwil: At least in Norway, it's common to enable/disable your card for a region. Did stop my card from being used illegally after I'd been in NY two years ago... Sep 19 14:00:48 EAP-GTC has nice bug -- in GUI is missing button "remember password" Sep 19 14:01:12 so you need to enter password every time you connecting to network, nice :-) Sep 19 14:01:39 but there is (hidden) gconf key from which eapd reading password, so playing with gconftool it is possible to store password into Maemo system Sep 19 14:01:44 jonwil: that is, some banks apply those mechanisms. Sep 19 14:02:00 http://maemo.org/community/maemo-users/maemo5-_wpa2_eap_ttls-gtc/ Sep 19 14:02:15 but it doesn't apply to online usage. Sep 19 14:02:57 banks here do monitor for suspicious activity and will flag things that look dodgy Sep 19 14:03:10 here too. Sep 19 14:03:34 stryngs: reddit link not working Sep 19 14:04:26 I think that includes for example it being used in a shop in NY the day before and the day after being used in Norway. Sep 19 14:05:20 The real solution to fraud is strong chip-and-pin based security (preventing physical card data from being stolen via skimmers etc) and one-time-only card numbers (or card numbers linked only to specific merchants or both) for non-physical transactions Sep 19 14:05:33 mm. Sep 19 14:06:02 ~#maemo eap-gtc-password is http://maemo.org/community/maemo-users/maemo5-_wpa2_eap_ttls-gtc/ Sep 19 14:06:03 Pali: okay Sep 19 14:06:18 chip-and-pin is mandatory in Norway. Sep 19 14:06:50 America is the only country without chip and pin...... Sep 19 14:07:07 Here in Australia they stopped allowing the use of singature for credit card transactions and require pin Sep 19 14:07:17 Chips are not mandatory but most banks have them now Sep 19 14:07:22 and most retailers have the readers Sep 19 14:10:22 Although I think if you have an American Express card you dont get one with a chip Sep 19 14:11:16 indeed Sep 19 14:13:32 not that any sane person would bother with one of those pieces of crap anyway :P Sep 19 14:13:56 unless u are super-rich and get one of the super-fancy ones because of all the perks and freebies **** BEGIN LOGGING AT Fri Sep 19 15:42:01 2014 Sep 19 15:52:52 It's possible to get the chip and the pin without even touching the card. If you know how. So Chip&Pin isn't the unfalible Sep 19 15:55:57 Is the entire maemo platform open source? Sep 19 16:14:20 mordac: no Sep 19 18:59:18 hello Sep 19 19:05:31 r ppl still using maemo devices at everyday basis? Sep 19 19:06:52 idk, i'm not people Sep 19 19:08:04 well let's change that to individuals then Sep 19 19:08:09 kerio: wth are you, and what did you do with kerio? Sep 19 19:08:14 vibe_: I am Sep 19 19:08:17 i am Sep 19 19:08:26 merlin1991: kerio was never people Sep 19 19:08:48 great, me too Sep 19 19:09:04 as the matter of fact i bought two of them Sep 19 19:09:18 coz first one was kinda buggy Sep 19 19:10:13 I don't own a single one that has a working moden Sep 19 19:10:34 i have two Sep 19 19:10:41 one has a broken musb and a barely working modem Sep 19 19:10:45 the other has a broken wifi antenna Sep 19 19:11:19 in that case mine are like brand new Sep 19 19:11:46 other is working flawlesly and other is randomly booting Sep 19 19:11:51 * nox- still has a working one too Sep 19 19:12:00 vibe_: come to the dark side, instal cssu Sep 19 19:12:01 randomly rebooting? why? Sep 19 19:12:11 if it's software, just reflash Sep 19 19:12:14 and then install cssu Sep 19 19:12:27 just out of curiosity, what is ur best uptime? Sep 19 19:12:39 it varies Sep 19 19:13:02 i've had both common boot reasons Sep 19 19:13:04 mine became really slow a few days ago and then when i opened it again it seemed to hang, had to take out that battery... Sep 19 19:13:13 i dunno Sep 19 19:13:17 months, i think Sep 19 19:13:24 after a flash and with cssu stable without single app installed Sep 19 19:13:52 s/that/the/ Sep 19 19:13:53 nox- meant: mine became really slow a few days ago and then when i opened it again it seemed to hang, had to take out the battery... Sep 19 19:14:32 i guess it was swapping too much? Sep 19 19:15:10 nox-: can happen, yes Sep 19 19:15:28 (this also was after weeks if not moths uptime) Sep 19 19:15:34 +n Sep 19 19:16:11 so far the bet i've reached was one hundred and six days Sep 19 19:16:16 heh Sep 19 19:16:17 best* Sep 19 19:16:40 * nox- also found a reboot changes the usb ethernet mac Sep 19 19:16:57 but for me it's amazing because i got used to weekly reboots of e90... Sep 19 19:17:07 nox-: you can set it in /etc/modprobe.d Sep 19 19:17:14 oh Sep 19 19:17:58 has any of u given any thought of integrating opera and cutetube? Sep 19 19:18:22 you're not good if your mac address is not de:ad:be:ef:ca:fe Sep 19 19:19:37 vibe_, i found youtube frontends are usually broken when yt changes things around again... Sep 19 19:19:45 opera runs on maemo? Sep 19 19:20:03 * Tekk_ wonders how old that version must be Sep 19 19:20:36 think it was twelve something Sep 19 19:20:55 and isn't opera closed source? and doesn't do flash.. not sure if it would be any good with cutetube Sep 19 19:21:09 Btw nox- on cssu or not, because in the stock firmware there is ie the bug with the lockscreen that leaks memory on each unlock Sep 19 19:21:44 lockscreen as in where you enter the pin? Sep 19 19:22:09 No the slide thing Sep 19 19:22:14 oh Sep 19 19:22:26 * nox- usually just opens the keybaord Sep 19 19:22:31 oa Sep 19 19:22:33 12.1beta.1-16 actually Sep 19 19:23:58 well then is there any solution to link cutetube with some browser? Sep 19 19:24:26 i saw some script for greasemonkey but did not try it out yet Sep 19 19:33:44 oh well time to get some sleep Sep 19 21:11:47 vibe_: people have reported issues with Opera 12 segfaulting a while ago. I have gone back to using the stock browser Sep 19 21:13:05 the new QML-browser while buggy at the moment runs HTML5 !yt videos :) **** ENDING LOGGING AT Sat Sep 20 03:00:00 2014