Solution report blog — HexaSentinel

In the world of Internet infrastructure, an IP address is often just a number until it’s mapped to a physical location. However, static databases are notoriously brittle. During the AIORI-2 Hackathon, team HexaSentinel from the Heritage Institute of Technology developed GeoNex—a city-level IP geolocation system that moves beyond simple lookups by using Machine Learning and real-time network measurements calibrated against a suite of IETF RFCs.

1. The Core Architecture: Verifiable Geolocation

GeoNex doesn’t just guess where an IP is; it uses a “supervised” approach. By implementing RFC 2330 (Framework for Internet Measurement) and RFC 2681 (Round-Trip Delay Metric), we feed real-time network performance data into our ML models. This allows the system to verify if a self-published location (from RFC 8805) actually matches the physical reality of signal travel time.

Key Protocol Integrations:

  • Active Probing (RFC 792/4443): We built a high-performance Go-based manager to send ICMP probes and collect RTT (Round-Trip Time) samples.
  • Data Enrichment (RFC 9081–9083): Integrating RDAP allowed us to pull authoritative ownership and registration data directly into our feature set.
  • Routing Context (RFC 4271): By extracting BGP origin ASNs, GeoNex understands the “neighborhood” of an IP, improving prediction accuracy even for previously unseen addresses.

2. ML Calibration: Moving from Points to Radii

One of the biggest failures of current geolocation is the lack of “trust metrics.” GeoNex addresses this by providing a Confidence Radius. Instead of just saying “Kolkata,” the system uses Isotonic Regression to calculate a radius (e.g., 35 km) within which the IP is statistically likely to reside.

Metric Result Operational Insight
City-Level Accuracy 77% Significantly outperforms static database baselines (approx. 63%).
Median Geo Error 35 km High precision for city-level infrastructure planning.
Ground Truth Coverage 92% Validates that our “Confidence Radius” is statistically reliable.
Inference Latency Fast (Go/FastAPI) Optimized for real-time network monitoring and fraud detection.

3. Technical Implementation & Sprints

The project was executed across four intensive sprints, moving from raw data acquisition to a fully dockerized MLOps pipeline.

  1. Ingestion: Mapping GeoLite2, RIPE Atlas, and RDAP data into a unified GeoJSON format.
  2. Model Training: Utilizing LightGBM to handle high-dimensional network features.
  3. Calibration: Applying isotonic regression to ensure predicted probabilities match real-world accuracy rates.
  4. Deployment: Exposing the model via FastAPI for easy integration into existing AIORI measurement nodes.

4. Challenges & Lessons Learned

Our primary hurdle was RTT normalization. Network latency varies wildly based on congestion and asymmetric routing. By adhering to RFC 7679 (One-way Delay Metric) principles, we learned to filter jitter and focus on the “minimum RTT,” which more accurately represents the physical distance.

“Data reproducibility isn’t optional—it’s Internet infrastructure hygiene. GeoNex proves that when you anchor ML in IETF standards, the results become auditable and trustworthy.” — Team HexaSentinel

5. Future Work: Standards Contribution

The team is currently drafting an Internet-Draft for the IETF IPPM Working Group titled “Confidence Metrics for City-Level IP Geolocation.” Our goal is to standardize how ML models report uncertainty, making it easier for network operators to use these tools in security and routing decisions.
Read the full report

Author

Facebook
Twitter
LinkedIn
WhatsApp

Search

Authors List

Authors

  • Advanced Internet Operations Research in India

    View all posts
  • I’m a tech entrepreneur and researcher who thrives on pushing boundaries and finding innovative solutions in the ever-evolving digital landscape. Currently, I’m deeply immersed in the fascinating realm of Internet resiliency, harnessing my expertise to ensure a robust and secure online space for all. 🚀

    View all posts
  • admin
  • I am a researcher working on security, networks, protocols and DNS. I am a quantum computing enthusiast, a fan of Linux and an advocate for Free & Open Source Softwares. #FOSS

    View all posts
  • A Information Technology Practitioner with leadership experience in IT Public Policy, Corporate Industry Forums, Information Technology Standards, & Program Implementation. An experienced Information Technology trainer, keynote speaker, panelist, leader and key influencer for advocacy and outreach, with wide international exposure across stakeholder groups. Finance Degree from ICAI & ICWAI, India; IT Security Degree from ISACA, USA & Internet Governance Certification from University of Aarhus, Germany & Next Generation Leaders Program of Internet Society in association with DIPLO Foundation.

    View all posts
  • Aindri Mukherjee
  • Debayan Mukherjee

Tag Cloud

Newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *