geoip
🌚 🌍 🌝 GeoIP 规则文件加强版,支持自行定制 V2Ray dat 格式文件 geoip.dat、MaxMind mmdb 格式文件、sing-box SRS 格式文件、mihomo MRS 格式文件、Clash ruleset、Surge ruleset 等。Enhanced edition of GeoIP files for V2Ray, Xray-core, sing-box, Clash, mihomo, Shadowrocket, Quantumult X, Surge, hysteria, Trojan-Go, Leaf, Nginx, etc.
Discover how IP range representation in loyalsoldier/geoip impacts lookup accuracy and performance. Learn about netipx.IPSet and O(log n) checks for sub-microsecond latency with millions of prefixes.
Managing and Updating `config.json` in Production: Best Practices for geoipLearn best practices for managing and updating config.json in production. Keep your loyalsoldier/geoip configuration reliable, auditable, and safely updatable with version control and CI pipelines.
How to Use the GeoIP CLI for Batch Processing Multiple Conversion TasksUnlock efficient GeoIP data processing with the loyalsoldier/geoip CLI. Learn to batch convert multiple IP tasks using a single JSON configuration file for streamlined workflows.
GeoIP Data Sources and Generation Process Security ConsiderationsExplore security risks in GeoIP generation, from insecure data sources to unvalidated parsing and artifact integrity checks. Discover best practices for a secure pipeline.
How to Implement Automated Testing for Custom GeoIP Data Transformations and Format ConversionsAutomate GeoIP data transformation and format conversion testing with Go. Learn to test custom converters and output structures for reliable GeoIP data processing in the loyalsoldier/geoip repo.
How to Troubleshoot GeoIP Lookup Failures in Target Applications Using Loyalsoldier GeoIP FilesTroubleshoot GeoIP lookup failures impacting target applications. Learn to resolve common issues like corrupted files, incorrect flags, and misconfigurations using Loyalsoldier GeoIP files.
How to Optimize the GeoIP Generation Process for Extremely Large DatasetsOptimize GeoIP generation for millions of CIDR blocks using batch AddSet, parallel parsing, and IP version filtering. Boost performance and reduce overhead for massive datasets.
Integration Patterns for Consuming Generated GeoIP Files in Proxy ClientsLearn integration patterns for consuming generated GeoIP files in proxy clients. loyalsoldier/geoip provides V2Ray dat, Clash YAML & sing-box SRS formats for CDN or local loading.
How to Migrate Existing GeoIP Data to Supported Formats Using loyalsoldier/geoipEasily migrate your GeoIP data to supported formats using the loyalsoldier/geoip tool. Create a config file and run the geoip convert command to transform your data efficiently.
IP Address Parsing and Validation Edge Cases in the geoip LibraryExplore IP address parsing and validation edge cases like malformed inputs and invalid CIDR ranges handled by the geoip library. Learn how it ensures data integrity.
Advanced Configurations for InputConverter and OutputConverter in the geoip ToolExplore advanced geoip tool configurations for InputConverter and OutputConverter. Learn about wantedList filtering, onlyIPType, inputDir, jsonPath, overwriteList, and sourceMMDBURI for enhanced processing.
How ResetInput and ResetOutput Control Instance State in GeoIP OperationsDiscover how ResetInput and ResetOutput manage Instance state in GeoIP operations. Safely reuse data containers across complex workflows without reloading source files.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →