We need volunteers to test the new alpha release #34

Open
opened 3 weeks ago by twann · 3 comments
twann commented 3 weeks ago
Owner

We need volunteers to test the new TBlock release (version alpha2-2.0.0).
If you are interested in testing it, please follow the instructions below.

Setup and installation

Download the tarball:

$ wget https://codeberg.org/tblock/tblock/archive/alpha2-2.0.0.tar.gz -O tblock-alpha2-2.0.0.tar.gz

Extract the archive:

$ tar -xvf tblock-alpha2-2.0.0.tar.gz

Enter the source tree:

$ cd tblock

Download the latest patch:

$ wget https://codeberg.org/tblock/tblock/releases/download/alpha2-2.0.0/latest.patch -O latest.patch

Apply the patch:

$ patch -p1 < latest.patch

Build the package:

$ make

Install it:

$ sudo make install

Post-installation

Sync the filter list repository and subcribe to the recommended filter list:

$ sudo tblock -Syf tblock-base

You can also enable the daemon with:

$ sudo systemctl enable tblockd --now

Documentation

After installing and running the post-installation command, you can start using TBlock and try all its features.
The documentation is a good start if you don't know how to use it.

Uninstallation

Before uninstalling, you need to restore the default hosts file:

$ sudo tblock -D

Then, in the locally cloned repository, run:

$ sudo make clean

Reporting bugs

Every time you find a bug, please report it in the comments, or contact us on Mastodon/XMPP/Matrix/Email to report it.
If you find a vulnerability within the code, please report it in an encrypted email adressed to twann@ctemplar.com [PGP].

We need volunteers to test the new TBlock release (version `alpha2-2.0.0`). If you are interested in testing it, please follow the instructions below. ### Setup and installation Download the tarball: ```sh $ wget https://codeberg.org/tblock/tblock/archive/alpha2-2.0.0.tar.gz -O tblock-alpha2-2.0.0.tar.gz ``` Extract the archive: ```sh $ tar -xvf tblock-alpha2-2.0.0.tar.gz ``` Enter the source tree: ```sh $ cd tblock ``` Download the latest patch: ```sh $ wget https://codeberg.org/tblock/tblock/releases/download/alpha2-2.0.0/latest.patch -O latest.patch ``` Apply the patch: ```sh $ patch -p1 < latest.patch ``` Build the package: ```sh $ make ``` Install it: ```sh $ sudo make install ``` ### Post-installation Sync the filter list repository and subcribe to the recommended filter list: ```sh $ sudo tblock -Syf tblock-base ``` You can also enable the daemon with: ```sh $ sudo systemctl enable tblockd --now ``` ### Documentation After installing and running the post-installation command, you can start using TBlock and try all its features. [The documentation](https://tblock.codeberg.page/docs) is a good start if you don't know how to use it. ### Uninstallation Before uninstalling, you need to restore the default hosts file: ```sh $ sudo tblock -D ``` Then, in the locally cloned repository, run: ```sh $ sudo make clean ``` ### Reporting bugs Every time you find a bug, please report it in the comments, or contact us on Mastodon/XMPP/Matrix/Email to report it. If you find a vulnerability within the code, please report it in an encrypted email adressed to `twann@ctemplar.com` [[PGP](https://tblock.codeberg.page/uploads/keys/twann.asc)].
twann added this to the v2.0.0 milestone 3 weeks ago
twann added the
help wanted
contribution welcome
labels 3 weeks ago
twann added this to the Version 2.0.0 project 3 weeks ago

I already have hblock
https:// github. com/hectorm/hblock
I disabled it(hblock -S none -D none) and run tblock
Are the can be in coflict? I did not get any error messages yet.

Also it seems hblock do not require sudo, but tblock do.

I already have hblock https:// github. com/hectorm/hblock I disabled it(hblock -S none -D none) and run tblock Are the can be in coflict? I did not get any error messages yet. Also it seems hblock do not require sudo, but tblock do.
Poster
Owner

Yes, hblock and tblock are in conflict, because they both use the hosts file (/etc/hosts). For example, if you enable the tblock daemon, it won't let the hosts file be edited by another program or user. Every time you'll try to run hblock, tblock will automatically undo these modifications.

However, hblock also requires root access, because nobody can edit the hosts file except root (it would be really dangerous otherwise). When hblock updates the online sources, it automatically calls sudo. With TBlock, you have to run it directly as root.

Yes, hblock and tblock are in conflict, because they both use the hosts file (/etc/hosts). For example, if you enable the tblock daemon, it won't let the hosts file be edited by another program or user. Every time you'll try to run hblock, tblock will automatically undo these modifications. However, hblock also requires root access, because nobody can edit the hosts file except `root` (it would be really dangerous otherwise). When hblock updates the online sources, it automatically calls sudo. With TBlock, you have to run it directly as root.

Thank you, got it

Thank you, got it
twann added the due date 2022-01-29 1 week ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

2022-01-29

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.