31 March 2024

Whats faster 0.0.0.0 or 127.0.0.1?

When I was experimenting with hosts and Pi-Hole, I read that "0.0.0.0" address in the hosts works faster then "127.0.0.1". And now I decided to check and prove it.

About tests

  • To automate tests I prepared code on Python "DNS_Loopback_Speed".
  • To get more accurate results I performed 10000 tests for each address and took the average.
  • I have two devices running Windows 10 and Ubuntu 22.04, so I also compare speed of resolving between Windows and Linux.
  • I've seen option of using 127.0.0.0 in hosts, therefore I add it too.
  • Just to compare delays between local resolution (hosts) and external DNS servers I add 2 tests (my local Pi-Hole DNS and Google DNS). My devices connected to network via Wi-Fi, so results may not be reliable.

Brief information regarding these IP addresses:

07 January 2024

Windows Update | Logitech - Camera - 2.3.7.5 | Error 0x800f0206

A few months ago I got an error 0x800f0206 in Windows Update regarding installation "Logitech - Camera - 2.3.7.5" driver.


I use "Logitech HD Webcam C615" and "Windows 10 Enterprise 2016 LTSB 1607". Windows Update downloaded the update (https://www.catalog.update.microsoft.com/ScopedViewInline.aspx?updateid=5da34c2a-7b10-4b3a-b3c2-764ddce2e8b0) but can't install.

26 June 2023

lighttpd | Behavior of «setenv» directives

I faced with unclear (for me) behavior of «setenv» directives of «lighttpd» webserver and decide perform several experiments and show the results.

Environment and conditions:
  • Ubuntu 22.04.2 LTS
  • lighttpd 1.4.63-1ubuntu3.1
  • Two modifications of default «/etc/lighttpd/lighttpd.conf»:
    • Changed listened port to 3000.
    • Enabled module «mod_setenv».
  • All other changes performs in «/etc/lighttpd/conf-enabled/» folder.
  • Defined two URLs\paths («http://10.0.0.90:3000/» and «http://10.0.0.90:3000/admin/») to show how merging works

25 June 2023

Outline VPN Server doesn't work after installation

I would like to share with you a solution of one issue of the Outline VPN server. It might be useful for newbies in Linux and Docker. Hope this helps someone.

The issue

After successful installation of Outline VPN server it goes down (Outline Manager can't connect to the server).


15 January 2023

Investigation of phishing scheme

Since November 2022 I've received several suspicious emails in mailbox. This is unusual for Gmail (I think that Gmail has best spam/virus filter ever). Therefore, I decide to investigate what is it.

Let's investigate the latest (08.01.2023).

01 October 2022

golang | error: remote error: tls: no application protocol

The short note.

I got the error "error: remote error: tls: no application protocol" in golang project during connection to a nginx webserver.

The core of issue - nginx was not configured for HTTP/2 protocol.

20 August 2022

Keyboard issue in Minecraft on Android

My son plays Minecraft on their Android tablet (Huawei MatePad 10.4 2022). And recently he faced with problem of using Huawei Smart Keyboard. The keyboard works well until you press the Enter key (entering to the chat). After exiting the chat you can't do anything (on keyboard) cause Android think that you are still typing in the chat and suggests you proper words (over the game). 


10 July 2022

YouTube video freezing issue in Firefox (not yet solved)

For more than 2 years, I've an issue with periodical freezing of some YouTube videos (99% is Live events) in Firefox Browser. At the same time the same video playing in Chrome well.

Description

  • Video: Freezes for 4-12 seconds, then runs for a few seconds and then again
  • Audio: Is always playing well, without any interruptions
  • OS: Windows 10 1607 (fully updated)
  • Firefox: xxx - 102.0.1 (64 bit) (latest)
  • CPU: Intel Xeon E5-2620 v3
  • RAM: 16 GB DDR4
  • VGA: Nvidia GeForce GTX 1060 6GB (latest driver)
  • Internet connection: 100 Mbps to ISP / ~20 Mbps to USA

Examples

All of these live videos are freezing.


08 March 2022

Keenetic Mesh Wi-Fi | Periodic packets loss

To improve quality of WiFi coverage in my apartment I bought a second Keenetic Giga router (KN-1011) in addition to Keenetic Giga (KN-1010). From my perspective Keenetic is the best router for home usage. This confirms the presence of Mesh feature that can be configured by simple wizard.


The second router was placed in second room behind 2 walls from the primary router and connected by Ethernet cable Cat 5e (1 Gbps). 

Everything was perfect until I decided to play online game where I felt periodic freezes. ping shows loss of 2 packets per ~ 1 munite.

25 July 2021

How to share SharePoint Online website with another tenant by Azure B2B

The case

Two companies (for example, parent and affiliate) have their own Microsoft tenants. Both companies are big, let's say more than 10000 users each. Everyday companies hire and fire employees.

The first company (parent) has an Internal website on SharePoint Online. Employees of the second company (child) have to get access to this website. Someone else shouldn't have rights.


Standard approach of Azure B2B "invite each user" is not a suitable option. You (or someone else) can't (it's possible, but I assume you do not want this) manually send an individual invitation for each new user of child company.

Is there another way? Yes, but it's not perfect.