Active Topics

 


Reply
Thread Tools
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#11
Originally Posted by zszabo View Post
In fact, I've had enough.

I'm flashing to open mode.

The hell with this.
Have fun! Handy thread here...
http://talk.maemo.org/showthread.php?t=81579
Been tying to summarize most findings in the OP.

Oh & you might want to wait till we get 1.2+ kernel source.
It's been requested in that thread recently.
That way you won't have to re-flash...
Then again we could be waiting for several more weeks.

Last edited by jalyst; 2012-02-09 at 08:09.
 

The Following User Says Thank You to jalyst For This Useful Post:
Posts: 835 | Thanked: 772 times | Joined on Oct 2007 @ Finland
#12
This kind of suck if the userbase is going to be divided into two groups, one with open mode and another without. Hacks and application development for harmattan are done mostly by those who are ready to flash the phone daily and they will also get this open mode to simplify their works, this probably also mean that those without o-p are going to miss these hacks.

just my though on current development.
 

The Following User Says Thank You to Kozzi For This Useful Post:
Posts: 334 | Thanked: 616 times | Joined on Sep 2010
#13
Originally Posted by cddiede View Post
Only one way to find out. I'll edit my /etc/hosts tonight on the N9 and see if Aegis freaks out on me or not...
As long as you remember to keep '127.0.0.1 RM696 localhost' in the hosts file and make sure that the line endings are in normal unix format there should be no problems. Running custom hosts file for months now, and it is adequate measure against ads.

You also don't have to update the contents all the time, maybe once a year is enough.

Remember to
grep -v 127.0.0.1 /etc/hosts |less
to check that there are no malicious proxy addresses amongst the blocked ones. Speaking of which I'm not sure this is enough if someone puts a malicious line like this in the hosts file:
xxx.xxx.xxx.xxx mobile.bank.com 127.0.0.1

So grepping for your bank's name and your email address provider is adviced too.
 
Posts: 278 | Thanked: 114 times | Joined on Jan 2010 @ SD, CA
#14
wow, i had no idea that aegis was so bad and that i have been fooled with that pretty terminal and SU. why Nokia? why.
Is there a thread that shows exactly how&what aegis does and control? why cant we circumvent it? is it because it keeps a md5 hash or something of certain files and directories.
 
Posts: 278 | Thanked: 114 times | Joined on Jan 2010 @ SD, CA
#15
Originally Posted by Manatus View Post
As long as you remember to keep '127.0.0.1 RM696 localhost' in the hosts file and make sure that the line endings are in normal unix format there should be no problems. Running custom hosts file for months now, and it is adequate measure against ads.

You also don't have to update the contents all the time, maybe once a year is enough.

Remember to
grep -v 127.0.0.1 /etc/hosts |less
to check that there are no malicious proxy addresses amongst the blocked ones. Speaking of which I'm not sure this is enough if someone puts a malicious line like this in the hosts file:
xxx.xxx.xxx.xxx mobile.bank.com 127.0.0.1

So grepping for your bank's name and your email address provider is adviced too.
if i just grab the hostfile from my android tab, see attached zip file, which uses the latest block list, and put it on the n9, will that work? i know i ambeing lazy but can you check?
Attached Files
File Type: zip hosts.txt.zip (213.5 KB, 89 views)
 
Posts: 64 | Thanked: 42 times | Joined on Jun 2009
#16
Originally Posted by jalyst View Post
Oh & you might want to wait till we get 1.2+ kernel source.
It's been requested in that thread recently.
That way you won't have to re-flash...
Then again we could be waiting for several more weeks.
Too late ;-)
 

The Following User Says Thank You to zszabo For This Useful Post:
Posts: 334 | Thanked: 616 times | Joined on Sep 2010
#17
Originally Posted by balisingh View Post
if i just grab the hostfile from my android tab, see attached zip file, which uses the latest block list, and put it on the n9, will that work? i know i ambeing lazy but can you check?
I copied mine originally from Android (AdFree application), so I think it's ok.

In the beginning of the file I would replace the line
127.0.0.1 localhost
with
127.0.0.1 RM696 localhost
to be on the sure side. Not that I've tested one without; it would be hard to do that properly since any application may depend on resolving hostname through hosts file and you'd find out only when you met one.

I've also tried one found here:
http://winhelp2002.mvps.org/hosts.htm
but it needs conversion with dos2unix command that can be found in either harmattan-dev or rzr repos (can't remember which). Also the file contains a lot of explanations about sites thus making it heavier to handle and checking it with plain grepping is more cumbersome. So it is faster to use one from android-land.

WARNING: To plain Windows people out there: Do not use Windows Notepad to edit the file, and I wouldn't use Wordpad either even when the latter actually shows the lines properly; there is more to end of lines and newlines.
http://en.wikipedia.org/wiki/Newline#Common_problems

In Windows land Notepad++ should be safe, not that I've tested it lately.

Last edited by Manatus; 2012-02-09 at 13:18. Reason: Adding a warning
 
Posts: 334 | Thanked: 616 times | Joined on Sep 2010
#18
Originally Posted by balisingh View Post
wow, i had no idea that aegis was so bad and that i have been fooled with that pretty terminal and SU. why Nokia? why.
Is there a thread that shows exactly how&what aegis does and control? why cant we circumvent it? is it because it keeps a md5 hash or something of certain files and directories.
There is no comprehensive thread, but there is more: a proper wiki:
http://www.developer.nokia.com/Commu...Platform_Guide

http://harmattan-dev.nokia.com/docs/..._security.html

Aegis does a lot of things, and not all of them are bad for users...

Missing the hosts file from the aegis configuration sounds and most probably is insecure, but I think that Harmattan devs have done this on purpose as a small nod to users not afraid to tinker to allow adblocking.
Just guessing here of course, but certainly there is no actual need for them to have it open as it contains only the
"127.0.0.1 RM696 localhost" by default and it is unlikely that it would change in any future updates.
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#19
Originally Posted by balisingh View Post
so cddiede...? did you try it?
Not yet. Kids had me up all night. That left me in no condition to be running root commands on my N9.


But I did manage to extract the big *** /etc/hosts file from my N900. If anyone wants to grab the spam domain portions off of it, here it is:

http://www.besh.com/~chad/hosts
 
towhatend's Avatar
Posts: 230 | Thanked: 185 times | Joined on Jul 2010 @ Sweden
#20
About the host file: https://github.com/pbrisbin/scripts/...00/updatehosts

You can disable adds with CSS, but I donī know if the browser allows the user to apply custom cascading style sheets (donīt own a N9).
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:14.