zsh.li Pinkhat Memories Me About ?

Dear My
Linux

How I blocked Google out of my life


If you use Google Chrome, be aware because Google opens a port in your computer and keeps it open even if you close Google Chrome.

The port is 5228 which you can check with the following command:


netstat -n -t | grep 5228

I blocked all the Googles ips, actually Google has 239616 ips , the following command will calculate the total ips that Google owns.


for slash in $(dig TXT +short _netblocks{,2,3}.google.com | tr ' ' '\n' | grep '^ip4:' | cut -d '/' -f 2); do total=$((total+$(echo "2^(32-$slash)" | bc -l))) ; done; echo $total

In this post I will teach you how to block all the Google ips using UFW, however, it is also possible to do so using iptables.

First disable the ipv6 addresses in your PC

Read: https://curl.pink/index.php?article30/10-september-2017

Then get all the Google ipv4 ips:

dig TXT +short _netblocks{,2,3}.google.com | tr ' ' '\n' | grep '^ip4:'

Finally as root add block rules in the following way to each of that addresses:

ufw deny out to 64.18.0.0/20 ufw deny out to 64.233.160.0/19 ufw deny out to 66.102.0.0/20 ufw deny out to 66.249.80.0/20 ufw deny out to 72.14.192.0/18 ufw deny out to 74.125.0.0/16 ufw deny out to 108.177.8.0/21 ufw deny out to 173.194.0.0/16 ufw deny out to 207.126.144.0/20 ufw deny out to 209.85.128.0/17 ufw deny out to 216.239.32.0/19 ufw deny out to 172.217.0.0/19 ufw deny out to 108.177.96.0/19

Don't forget to reload the Firewall:

ufw reload

Frow now you will need to use the Tor Browser in order to watch Youtube videos, the same for Gmail and Blogger and Blogspot sites. Also block Google with Ublock because many sites will keep waiting for Google to load.

With regards of cellphone, you can read: https://curl.pink/index.php?article27/reseted-my-cellphone, you can delete Google Play Store with any problem using Link2SD.


10 September, 2017


Today I disabled the IPV6 protocol in Fedora and blocked all the http (non-https) pages, since the NSA is spying on us, it's very important to use encryption.

Only a man could fight against this powerful organization (Snowden), so you knew that everything can be different, so we avoid abuses from the NSA and the governments.

Blocking the http will make very uncomfortable your internet experience and you will have to use the Google cache or the site archive.org in order to have access to the contents. You can bypass the restriction using Tor. I managed to update Fedora using Tor because all the packages had to be downloaded in http.

Blocking the non-https pages

Install the UFW firewall and execute:

sudo ufw deny 80 sudo ufw deny out 80 sudo ufw reload

In order to bypass to update Fedora I installed Tor (dnf install tor) and added the following line to: /etc/dnf/dnf.conf:

proxy=socks5://127.0.0.1:9050

Blocking the IPV6 protocol

The IPV6 protocol leaks information about your computer and isn't as well implemented as the IPV4.

To disable the IPV6 protocol add "ipv6.disable=1" to the boot parameters, the main way to do this is to edit the file: /etc/default/grub and add the following line:

GRUB_CMDLINE_LINUX=”ipv6.disable=1″

Another alternative is compiling the kernel with no ipv6 support, I think that that is the most secure alternative.


Do not use Ubuntu unless:


1. You love to receive insults:

quote from: betanews.com

I love GNOME. With that said, when Mark Shuttleworth, Ubuntu founder, recently announced that he was killing the Unity desktop environment and embracing GNOME, I was quite happy. It signaled less fragmentation and division in the Linux community.

My happiness was short lived, however, as Mark Shuttleworth has been insulting the free software community on social media. Over on Google+, he even goes so far as to compare the hate for the MIR display server to the debates on gun control and climate change. Really, Mr. Shuttleworth? In his vulgarity-laced rant, he even calls members of the free software community "deeply anti-social types." Gee, thanks a lot.

2. You are willing to share your personal data to the following companies:

source: third-parties

This acording with the basic Privacy Policy of the site:

By searching in the dash you consent to:

the collection and use of your search terms and IP address in this way; and the storage of your search terms and IP address by Canonical and such selected third parties (if applicable).

Canonical will only use your search terms and IP address in accordance with this Privacy Policy. For information on how our selected third parties may use your information, please see their privacy policies.

You can turn it off it tough, but then you will have to make a further research .

3. A stable distribution is not your aim.

This is my opinion, but I don't like Ubuntu because it can be broken easily compared to another Linux distributions.

The past month I installed Xubuntu in a Virtual Machine and it worked fine the first days, one day I realized the system was broken and unbootable. (I only had installed chromium-browser, I even didn't touched the desktop)

Wanna a unbreakable Linux distro?

Go right to Debian, Slackware, Gentoo (you could use it, but is more complex than most of the Linux distros and isn't for beginners) and even Fedora. Because Fedora is more Stable than Ubuntu when it comes to use newer packages because Ubuntu has a bit outdated version in each release

It's said that Ubuntu is based in Debian, but is based in Debian Unstable, in Ubuntu execute the following

cat /etc/debian_version

It will say sid (Unstable)


The KISS interface


This was the appearance of my cellphone after I reset it:

I had installed KISS, and also I had deleted the Linage OS launcher (Trebuchet) , finally I made KISS a system app, thus, it became part of my custom ROM and persisted the reset.

Note: First install KISS because deleting Trebuchet is very likely to ruin your system

I did all that using Link2SD, I uninstalled that app after using it because it have ruined my system 3 times (because I love to uninstall everything I don't like)

And I recommend you a lot the KISS launcher; I'm feed up with widgets and screens, I just keep my cellphone simple, this launcher is really slim and fast. And it will help you to get the things done.
That's all.


Reseted my cellphone


Today I reset my cell, and I found out that it is not rooted anymore. The rooting was an additional steep after I installed my custom ROM (Linage OS), I only have to enable the developer settings in order to re-enable root.
In this new fresh start I avoided to provide my Google account since it is not necessary nor desirable as a matter of privacy. Following are the apps I installed sorted by time.

  1. F-droid: This is the first app that I installed because it allows to install open source apps easily, for this I enabled the installation from unknown origins and downloaded the APK.
  2. OpenVPN for Android
  3. I installed this application from F-droid, it allow me to use the OpenVPN protocol for using VPN since VPN is a must in the post-Snowden age in order to maintain the privacy, I suggested you to use Tor as root for all applications, however, it uses a lot of battery and using VPN is more practical and it doesn't requires root.
  4. Yalp Store: I installed this application from F-droid, it allows to install applications from the Google Play anonymously (Remember that I permanently deleted Google Play).
  5. Firefox Focus: I installed it from Yalp Store because I didn't find it in F-droid, it is from Mozilla, so it's safe to install, this web browser is an ever incognito mode browser.
  6. Delta Chat: I installed this application for receiving my emails of admin@princess.cool
  7. 7 Zipper: I installed with Yalp Store, this application is not free and includes advertisement, however is the best application for compressing and managing compressed files.
  8. Text Edit: This a very simple text editor, but it's perfect, I only need a text editor for editing text and that's all.

Note: I ruined my cellphone by freezing and using many applications requiring root, even if now my cellphone consumes more energy I will only keep a minimal set of applications. My cellphone was ruined after I installed Google Services and made it a system app using Link2SD