ゆるテックノート

Documentation Index

About this site

These are casual notes to help you get the gist of my online tools. Not a formal spec—just takeaways and tips I’ve collected and rewritten in plain language. Read with a light touch.

Document search

SAML

Inspect the XML in an authentication message: Analyze a SAMLRequest or SAMLResponse (Online Tools).

What is SAML?

An easy-to-understand explanation of SAML, its communication flow, the role of IdP and SP, and how SAMLRequest and SAMLResponse work in SSO scenarios.

SAML Specs and Structure

A quick overview of how SAML 2.0 is specified, covering versions, assertions, protocol, bindings, and metadata in plain language.

Understanding SAML Binding Methods

Compare SAML HTTP-Redirect, HTTP-POST, and Artifact bindings, including message encoding, signature coverage, and the 80-byte RelayState limit.

SAML Signature Basics

How SAML Response signatures work, what to verify, and how to operate certificates safely (rotation, revocation).

IdP / SP Certificates Basics

Covers how IdP/SP certificates are used (signing/encryption) and how to operate them safely.

Handling SAML Attributes and Mapping

Common SAML attributes, IdP naming differences, and mapping tips on the SP side for smoother operations.

SAML NameID and NameID Format

Role of NameID and differences between formats, with tips on choosing and configuring them.

SAML Single Logout (SLO)

Practical SLO guide covering flow design, triggers, session handling, and failure handling.

SAML Encryption (Encrypted Assertions)

Encrypted Assertions and metadata essentials, plus key management tips for secure SAML implementations.

SAML Metadata Operations

Operational guide for importing and rotating SAML metadata safely.

SAML Troubleshooting and Checklist

Diagnose SAML login failures through UTC validity, Audience and ACS, request correlation, binding encoding, signature trust, and HTTP versus SAML status.

UUID

Unix Time

Hashing

Data

Make XML easier to read and locate syntax errors: Format XML and check its syntax (Online Tools).

Data Size Units Explained

A quick guide to data size units: the difference between bits and bytes, decimal vs binary prefixes (kB vs KiB), and how to read bps in network specs without getting tripped up.

Choosing data formats

A compact guide to when to use CSV/TSV, JSON/JSONL, or columnar binaries like Parquet/Arrow for exchange, storage, and analytics.

Text encoding basics

Covers differences between UTF-8 and UTF-16, what BOM does, common causes of mojibake, and how to handle CSV encodings.

Data integrity checks

Practical guidance on hashes (SHA-256), checksums (CRC), and digital signatures, plus how to verify downloads or transfers safely.

Compression and delivery (gzip/br/zstd)

Practical notes on gzip, brotli, and zstd, how Accept-Encoding/Content-Encoding work, and practical selection criteria.

QR Code

An easy guide to QR codes: matrix structure, versions and capacity, encoding modes, error correction levels, generation methods, and operational considerations (security and best practices).

What You Can Do with QR Codes

A practical guide to QR code use cases: URLs, app deep links, Wi-Fi setup, payments, tickets, icon embedding, design considerations, analytics, and multilingual routing.

Real-World Places Where QR Codes Are Useful

An adoption example from manufacturing, design ideas for public facilities and retail, and the distinction between QR codes and healthcare GS1 DataMatrix.

QR Code trademark and usage

DENSO WAVE guidance on free use of standardized QR symbols, trademark notices for the name, and product or service naming.

When JSON will not parse—and when parsing changes the data

Find common JSON errors with small examples, then catch less obvious problems: duplicate keys, changed large integers and the difference between valid syntax and the right data.

Compare JSON values without getting lost in formatting changes

Separate formatting changes from changed JSON values. Learn how position-based array diffs, large numbers and JSON Pointer paths behave with reproducible examples.

When CSV columns shift, check the quotes

Understand commas, doubled quotes and multiline CSV fields with concrete examples. Separate RFC 4180 conventions from Excel type conversion and UTF-8 import behavior.

Can you remove the = at the end of Base64?

Compare + and / with - and _, understand Base64 padding with byte examples, and learn why JWT uses an unpadded form that an ordinary text decoder may reject.

Network

Network Speed and Transfer Time

Read Mbps, MB/s, and MiB/s, understand the gap between line rate and file throughput, and estimate transfer times using explicit size and speed assumptions.

DNS basics in one page

Quickly explains recursive/caching resolvers, authoritative servers, the query flow, and how DNSSEC signatures are validated.

Why IP addresses can be linked to locations

An IP address does not directly contain your home address. This explains how ISP allocation, WHOIS/RIR data, ASNs, GeoIP databases, and network observations are used to estimate location.

IP addresses and VPNs

A beginner-friendly explanation of how VPNs change the IP address and location websites see, what a VPN exit IP is, and why cookies, logins, GPS, and browser signals still matter.

What others see when you use a VPN

Explains what changes when you use a VPN: what your ISP can see, what the VPN provider can see, and what websites or game servers see, including exit IPs, DNS leaks, accounts, latency, and restrictions.

VPN configuration types

A plain-language guide to VPN settings: full tunnel, split tunneling, DNS settings, DNS leaks, WebRTC leaks, kill switch, and protocols such as WireGuard, OpenVPN, and IPsec.

VPN types and protocol differences

A plain-language comparison of SSL VPN, IPsec VPN, WireGuard, OpenVPN, L2TP/IPsec, and related VPN types, with benefits, drawbacks, and common use cases.

SSH port forwarding and how it differs from VPNs

A practical explanation of SSH port forwarding, local forwarding, remote forwarding, dynamic SOCKS forwarding, how it differs from VPNs, and security points to watch.

What VPNs protect and what they do not

VPNs can reduce sniffing risk on public Wi-Fi and protect the path to a VPN server, but they do not stop phishing, cookie tracking, or malware by themselves. This explains logs, DNS leaks, WebRTC leaks, split tunneling, and free VPN risks.

What are DNS root servers?

DNS root servers sit at the top of the hierarchy, serving the root zone. There are 13 identifiers (A–M), each anycasted to many physical sites worldwide. This covers their role, the “13” misconception, and practical notes.

IPv4 CIDR and subnet calculation

Work through 192.0.2.70/26 to find its network, address range and host count. Learn why /31 point-to-point links and /32 host routes need different treatment.

DNS TTL and caching after a record change

Understand remaining TTL, negative caching and serve-stale with a timeline. Learn what comparing public DNS answers can and cannot tell you after a record change.

Why can DMARC fail when SPF and DKIM pass?

Compare the From domain, SMTP MAIL FROM and DKIM d= with worked examples. Understand authentication versus DMARC alignment using the current RFC 9989 specification.

Reading mail headers for delivery and authentication clues

Read Received hops, time differences and Authentication-Results with examples. Learn which headers can support an investigation and where the trust boundary ends.

Web

What is the World Wide Web?

Covers the difference between the Internet and the Web, how URLs are structured, how HTTP works, why HTTPS is now the default, and handy troubleshooting tips.

Why “www” showed up in front

“www” is just a subdomain. Here’s why it became a convention to mark web servers, the DNS/CDN reasons, cookie scoping, pros/cons, and how people choose today.

Organizations that keep the Web running

Quick tour of W3C and IETF for standards, ICANN/IANA and regional registries for names and numbers, and how browsers, cloud/CDN providers, and security groups keep the Web running.

The long, layered browser UA string

Explains why UA strings pile up tokens like Mozilla/KHTML/Gecko/Chrome, the historical compatibility reasons, and today’s move to UA reduction and User-Agent Client Hints.

How Shared Browser Standards and Vendor-Specific Features Emerge

Explains why shared specs for HTML, CSS, DOM, and ECMAScript matter, how WHATWG/W3C/TC39/IETF shape them, and where vendor-specific browser behavior tends to appear.

What is 418 I'm a teapot?

Covers the joke status 418 I'm a teapot from RFC2324 (HTCPCP), where it shows up, and why it should stay out of production.

HTTP beyond HTML

HTTP carries JSON, images, and files as well as HTML. Learn how HTTP/0.9 differs from later versions, what Content-Type and Accept do, and when bodies are allowed.

Using HTTP request methods

A quick reference for HTTP methods in RFC 9110 and RFC 5789 (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS/TRACE): safety, idempotency, typical use, and design tips.

HTTP methods × status codes

RFC 9110 / RFC 5789 / RFC 6585-aligned pairings of GET/POST/PUT/PATCH/DELETE with common status codes (200/201/204/304/400/401/403/404/409/412/415/422/429/500/503).

Conditional requests with ETag

RFC 9110 / RFC 6585 guide to conditional requests with ETag (If-Match, If-None-Match, If-Modified-Since, etc.) and how to return 304/412/428.

Methods and caching

RFC 9110/9111-aligned overview of how GET/HEAD/POST interact with caches. Covers Cache-Control, ETag, Vary, and when POST responses can be cached.

CORS preflight and OPTIONS

When browsers send CORS preflight, what headers they include, and how to respond with Access-Control-Allow-* correctly. Aligned with RFC 9110 and the Fetch Standard.

HTTP method anti-patterns

Common misuses of HTTP methods that conflict with RFC 9110 or cause operational issues: state-changing GET, POST-everything, non-idempotent DELETE, and more.

HTTP version history in short

A concise look at how HTTP evolved from 0.9 to 1.1, then HTTP/2 (from SPDY) and HTTP/3 (QUIC), and what changed at each step.

When do %20 and + mean the same thing in a URL?

Learn when + means a space, how UTF-8 becomes percent-encoded bytes, and why %252F should not be decoded repeatedly. Includes URLSearchParams examples.

Reading a JWT does not prove that its claims are trustworthy

Reading a JWT is not authentication. Learn the three-part structure, signature or MAC verification, expiry and issuer/audience checks using an explicitly unsigned learning sample.

What does a TLS certificate chain connect?

Why can HTTPS fail with an unexpired certificate? Understand leaf and intermediate certificates, trust anchors, SAN matching and the difference between displaying and validating a chain.

CSRs, private keys and certificates: what to send and what to keep

Learn what a CSR contains, what its signature proves and how it relates to a private key and certificate. Use OpenSSL to extract public keys without displaying private material.