Month: June 2021

How to simulate package installation on Linux (How to create and install a dummy package)

Sometimes, when installing packages from source code, you may encounter the problem that the required dependency is missing from the system. Usually you need to solve this problem by installing the necessary dependencies from the standard repository, or by compiling them from source. Sometimes the required package is present, but its version is not suitable, a similar example and solution...

Configuring Squid Proxy with Multiple IP Addresses

Suppose the server has several IP addresses – on the same interface or on different ones – it doesn't matter. Objective: make Squid use different external IP addresses depending on which port of the proxy server is being accessed. So, as you can see, my test server has 5 IP addresses, 1 IPv4 address and 4 IPv6 addresses: 185.117.153.79 2a02:f680:1:1100::3d5f...

How to configure Squid to use IPv4

Because the IPv6 Internet is as fast or faster than the IPv4 Internet for most networks, Squid prefers to connect to websites over IPv6. The “dns_v4_first on” option changes the order of preference so that Squid will first bind to dual-stack websites over IPv4. Squid will still do both IPv6 and IPv4 DNS queries before connecting. A WARNING. This parameter...

How Squid ACL works

Squid ACL Basics Let's now dwell on how exactly ACLs work. The Squid web proxy access control scheme consists of two different components: ACL entries are directive strings that begin with the word “acl” and represent the types of tests that are performed on any request transaction. Access list rules consist of an allow or deny action followed by a...

Error “Authentication helper program /usr/lib64/squid/basic_ncsa_auth: (2) No such file or directory” (SOLVED)

Squid is a popular web proxy server. It has rich functionality and, in addition to changing the IP address, it is often used as a caching proxy for websites, as a result of which the load on the web server is significantly reduced. When used as a proxy server to change IP or bypass restrictions, system administrators usually configure authentication...

How to install Squid proxy on Windows

Squid is a high performance caching proxy for web clients supporting FTP, gopher, ICAP, ICP, HTCP and HTTP data objects. Squid reduces network bandwidth, data transfer and improves response times by caching and reusing frequently requested web pages. Squid has extensive access control and is a great server accelerator. It runs on most of the available operating systems, including Windows,...

How to choose an apartment in Thailand to buy: condo up to 900 thousand baht (less than $29000)

In the first part “How to choose an apartment in Thailand to buy: the cheapest condos” we looked at condominiums costing from 600 to 700 thousand baht (approximately 24 thousand dollars). In the same article, I mentioned that there will be a sequel. I was planning to do a review of apartments for sale in the range of 800,000 –...

How to wash your sneakers properly

Can my sneakers be machine washed? About the fact that sneakers can be washed, I myself learned relatively recently. I like light-colored shoes or shoes with light-colored inserts, so they need to be looked after regularly. I usually just wash my sneakers with a soapy sponge. But once communicating with a rather young acquaintance, I heard from her something about...

How to cook rice in a rice cooker

When we choose a side dish, we have a choice of pasta, potatoes, buckwheat, bread, fried vegetables, peas. In Asia, the most popular side dish is rice. Rice is prepared in every family, you can buy it in every grocery store, and it can be found on the menu of any restaurants with Asian cuisine. Therefore, rice is cooked often...

Why does my phone not switch to mobile Internet for a long time (SOLVED)

A Wi-Fi connection is generally faster and more stable than a mobile Internet connection. Therefore, when possible, most users use Wi-Fi, which is usually free and unlimited. At home, at work, sometimes even on public transport, we connect to Wi-Fi and enjoy a good quality Internet connection. When you disconnect from Wi-Fi, your phone is set to switch to mobile...
Loading...
X