Categories
Web

Cloudflare CDN, WAF and DNS

Cloudflare is a global technology company that provides a wide range of internet services and security solutions. Their core offerings include:

  1. Content Delivery Network (CDN) services that help websites load faster by distributing content across a global network of data centers
  2. DDoS (Distributed Denial of Service) protection to defend websites against malicious attacks
  3. Web security features including a Web Application Firewall (WAF), SSL/TLS encryption, and bot management
  4. DNS (Domain Name System) services that help route internet traffic efficiently
  5. Zero Trust security solutions that help organizations secure their networks and applications

Cloudflare has great offerings, a strong API, and many tools. I’m not super familiar with all of Cloudflare’s offerings because I am a free user who has been using it for many years, but I was never much involved in business or enterprise deployments.

Categories
Web

Free IP to ASN Mapping Service

I recently came across Team Cymru’s website in the Swiss CTI git repository. The Swiss National Cyber Security Centre NCSC did mention them in the disclaimer for the ASN lookups.

Categories
Web

Piwigo API Documentation

Recently, I was implementing a machine that does automatic labeling of images in my Piwigo. I used OpenAI gpt-4o-mini for this purpose, and every two hours, the folder is scanned for images without titles and descriptions. If some are found, it will automatically add a title and description.

Once I started with my endeavor, I was surprised that there is no “online reference” for the API.

Categories
Web

Public IP Lookup Service

A common task for an administrator is to check the public IP addresses of the current system they are on or the current system they are using. This is important both in day-to-day work and while working with cloud providers. There are many services available, but not all are created equal.

Categories
Web

Fix ERR_BLOCKED_BY_CLIENT in Chrome

This is a topic that really threw me for a loop – I have an application which displays a receipt, but it was unable to display it properly. The issue was that my application is running on Domain A (mia.web-performance.ch) and the store that created the receipt is running on Domain B (pia.web-performance.ch). Whenever you clicked the link to view the PDF, you got a blocked page instead.

I spent quite some time searching for answers online, but unfortunately, most of the results I found were unhelpful and didn’t provide any real solutions.

Categories
Web

Self-hosted URL shortener

The need did arise to have my own URL shortener like bit.ly. I was even so simple to use bit.ly, but they do not offer “branded domain” on the free tier.

https://bitly.com/pages/pricing (2024-11-07)

So, I was researching using Claude AI to see what self-hosted options are available that best case can run on inexpensive shared hosting. My needs are minimal. I need redirects, a UI, a simple API, and statistics on how much this is used.

Categories
Web

Piwigo 15 Language Pack Issues

I recently updated my Piwigo instance to version 15. Not out of a real need, but rather just because it’s good to stay current with software updates. This is the first time I ran into an issue, which I caused but didn’t expect.

I deactivated and deleted most languages, and I also switched my default from “English [GB]” to “English [US]. A mistake as I later found out.

Categories
Web

Install LibYAML on XAMPP (Windows)

YAML is used in a wide array of applications, whether in Ansible scripts or elsewhere. In general, it is easier to write YAML than to write correct JSON on your keyboard. If you need to read and parse YAML on your Windows computer, you may find it necessary to install LibYAML to have access to useful functions like yaml_parse().

Uncaught Error: Call to undefined function yaml_parse() in yml2xml.php:5

This post will explain how you can add LibYAML to your Windows XAMPP installation. This will also resolve the error in case the function is not yet present on your system. However, this is not limited to XAMPP, as the process is similar if you run a Windows server with PHP.

Categories
Web

OCSP Checker

You might find yourself needing to inspect the OCSP response for a given URL. This tool is excellent and can do exactly that.

https://certificatetools.com/ocsp-checker (2024-08-29)
Categories
Web

clockify.me and the flood of errors

Time tracking is a fundamental task in most companies. I used to use Clockify for a few years, primarily for its API access and the native Windows client with the mini counter. However, I frequently encountered issues with the client logging me out, crashing, or syncing incorrectly. By the summer of 2024, I had reached my limit.