Category Archives: Network and Internet

Fixing my routing table to make Hyper-V visible from the host machine

Get-NetIPAddress -AddressFamily IPv4 | Format-Table InterfaceIndex, InterfaceAlias, IPAddress, PrefixLength
InterfaceIndex InterfaceAlias                      IPAddress       PrefixLength
-------------- --------------                      ---------       ------------
             8 vEthernet (External Virtual Switch) 169.254.119.152           16
            55 vEthernet (WSL (Hyper-V firewall))  172.29.208.1              20
            42 vEthernet (Default Switch)          172.28.176.1              20
             9 Local Area Connection* 2            169.254.188.32            16
            23 Local Area Connection* 1            169.254.77.99             16
            16 Ethernet                            192.168.0.145             24
            21 Wi-Fi                               192.168.0.170             24
             1 Loopback Pseudo-Interface 1         127.0.0.1                  8
(more…)

I lost the connection to my Windows 11 laptop

RDP disconnected and “Internet Protocol Version 4 (TCP/IPv4)” became disabled:

(more…)

Active Directory close LDAP connections with [RST, ACK] instead of [FIN, ACK]

LDAP Connect/disconnect from Client 192.168.0.121 to Domain Controller 192.168.0.121, WireShark on DC:

(more…)

Squid unexpectedly stopped working

Squid unexpectedly stopped working with my home internet connection. I created a temporary user:

cd /etc/squid/
sudo htpasswd -B squid-password temp
sudo service squid reload

tried the following command

curl -v -x https://developernote.com:3129 --proxy-user temp:<password> -I https://api.ipify.org/

with another internet provider and it succeeded.

(more…)

Using GDPR with 3-rd party Advertising SDKs

It is clear enough from Google docs how to show consent form in an Android app with Google Mobile Ads SDK:

First I call requestConsentInfoUpdate and then I call loadAndShowConsentFormIfRequired that shows the consent form if required.

I did not test this code, but as far as I can guess, Google Mobile Ads SDK checks if the user belongs to the region GDPR applies to, shows its own consent form and internally saves a flag indicating if the user agreed (pressed some Allow button in consent form).

(more…)

Testing my internet connection with Ping Plotter

Connection to sharlines.com with Rostelecom provider:

(more…)

Terribly slow file upload with Rostelecom internet provider

When I upload a file via SSH to my VPS server with Beeline mobile internet connection, the speed is about 300KB/sec – 800KB/sec:

(more…)

Checking the speed of my home internet.

I have 50 Mbit internet at home. If I test its speed with speedtest.net I get download speed 56 Mbit/s and upload speed 5.56 Mbit/s that is really good:

and if I download a file with torrent the speed is 6+ MB/s, but if I download a file with HTTP or SFTP the speed can be less than 500 KB/s that is 10 times slower. For example, if I download Ubuntu 18.10 on my VPS the speed is 24 MB/s:

(more…)