Avatar
Ren Nishino
AWS | Developer

Posts

curl and openssl Flow Through Corporate Proxy with SSL Inspection

What is Corporate Proxy with SSL Inspection? Corporate proxies intercept HTTPS traffic to inspect content for security and compliance. This is called SSL Inspection or MITM (Man-In-The-Middle). Complete Flow: curl Through Proxy Command: curl -v -x http://proxy.company.com:8080 https://api.example.com/data Step-by-Step Flow: 1. DNS Resolution curl resolves proxy hostname ↓ DNS: proxy.company.com → 192.168.1.100 2. TCP Connection to Proxy curl → proxy:8080 ↓ TCP handshake: SYN, SYN-ACK, ACK ↓ Connection established 3. CONNECT Request (HTTP Tunnel) curl sends: → CONNECT api.example.com:443 HTTP/1.1 → Host: api.example.com → User-Agent: curl/8.0.0 → Proxy-Connection: Keep-Alive Proxy responds: ← HTTP/1.1 200 Connection established Key point: CONNECT doesn’t create new TCP connection - it repurposes existing connection as tunnel. ...

November 28, 2025 · 5 min · Ren Nishino

HAR File Format - Understanding Browser Network Logs

What is HAR File? HAR (HTTP Archive) is a JSON format for recording browser HTTP transactions. Created by exporting from Browser DevTools Network tab. How to Create HAR File Chrome/Edge: 1. F12 → Network tab 2. Reload page or perform action 3. Right-click any request 4. "Save all as HAR with content" Firefox: 1. F12 → Network tab 2. Click gear icon → "Save All As HAR" HAR File Structure Overview { "log": { "version": "1.2", "creator": { ... }, "browser": { ... }, "pages": [ ... ], "entries": [ ... ] } } Complete HAR Structure Root Object { "log": { "version": "1.2", "creator": { "name": "WebInspector", "version": "537.36", "comment": "" }, "browser": { "name": "Chrome", "version": "142.0.0.0", "comment": "" }, "pages": [ { "startedDateTime": "2025-11-28T10:30:45.123Z", "id": "page_1", "title": "Example Page", "pageTimings": { "onContentLoad": 1234.5, "onLoad": 2345.6 } } ], "entries": [ { "pageref": "page_1", "startedDateTime": "2025-11-28T10:30:45.123Z", "time": 308.5, "request": { ... }, "response": { ... }, "cache": { ... }, "timings": { ... }, "serverIPAddress": "192.168.1.100", "connection": "443", "_initiator": { ... }, "_priority": "High", "_resourceType": "fetch" } ] } } log Object Top-level container for all HAR data. ...

November 28, 2025 · 11 min · Ren Nishino

Jonny (Self-Learning AI Assistant) - Amazon Q CLI

What is Amazon Q CLI? Amazon Q CLI: AI assistant that runs in your terminal Chat with AI to get help with commands, code, AWS Translate natural language → shell commands Persistent memory across sessions via agents Extensible with custom agents and knowledge bases Directory Structure ~/.aws/amazonq/ ├── cli-agents/ # Agent configuration files │ ├── default.json # Default agent config │ ├── jonny.json # Custom agent config │ └── agent_config.json.example ├── profiles/ # Agent-specific data/resources │ ├── default/ │ │ └── context.json │ ├── jonny.md # Persistent memory file │ └── CAGENT/ # Example: specialized agent ├── knowledge_bases/ # Semantic search storage │ └── jonny_13db4e44f333bf41/ │ ├── contexts.json # Knowledge context metadata │ └── models/ # Vector embeddings └── .cli_bash_history # Command history Key Concepts Agent Agent: Configuration that defines AI behavior and capabilities ...

November 28, 2025 · 6 min · Ren Nishino