[READ-ONLY] Mirror of https://github.com/andrioid/ublproxy. andrioid.github.io/ublproxy
adblock adblock-plus-list adblocker privacy-tools proxy-server self-hosted
Something went wrong. Try again.
Normalize client IPs and add session debug logging master
IPv4-mapped IPv6 addresses (::ffff:192.168.1.x) are now unwrapped to plain IPv4 so the session map key from portal auth matches the proxy lookup key. All RemoteAddr extraction points go through normalizeIP(). Debug logging on sessionMap Set/Get/Delete traces the exact IP being stored vs looked up — visible with --log-level=debug. Also includes: logElementHidden now logs which CSS selectors were applied, and mergeElementHidingCSS returns the selector list.
Author Andri Óskarsson Date (Feb 28, 2026, 1:25 PM UTC) Commit 3db5b4a6 3db5b4a60afffbffc1329ec0d0c931f7294ddf57 Parent 2b0d2d7c 2b0d2d7c027b3b7d270a907b74cfa6786f9131e1