Live data from Hacker News

Viewing profile — bswinnerton

bswinnerton

HN member
Joined
Thu, Aug 09, 2012, 8:14 PM UTC
HN karma
305
Public activity
47 items

About bswinnerton

[ my public key: https://keybase.io/bswinnerton; my proof: https://keybase.io/bswinnerton/sigs/TivfoG3vmaFSvelMY7-IHyyuG24Q52tmZsa2819GbK4 ]

Recent public activity

  1. story
  2. story
  3. comment
    Comment #38510707

    Here's a simpler alternative with IP Guide that doesn't require a CLI: curl -sL ip.guide/AS19551 | jq .routes

  4. comment
    Comment #38415320

    I'd also suggest filing a correction with MaxMind, which is where most modern geolocation data is derived: https://www.maxmind.com/en/geoip-location-correction .

  5. comment
    Comment #38413674

    Great idea. This is rolling out right now.

  6. comment
    Comment #38413489

    It's not available from the API, but there is a "last updated" date when you view it in a browser. It's at most 8 hours old.

  7. comment
    Comment #38413485

    For the backend, it's written in Rust using a few key crates: axum for the api, bgpkit-parser for parsing the MRT data, and reqwest for fetching data at boot. The site is hosted on…

  8. comment
    Comment #38413422

    You'll have to follow the redirects since the site doesn't support HTTP, but just shipped pretty-printing.

  9. comment
    Comment #38411074

    No rate limits or auth for requests, but as mentioned below the api starts to load shed at 2k concurrent requests.

  10. comment
    Comment #38410608

    > Will this be open-sourced? I don't think there's a strong reason to keep it closed-source. > Were you already comfortable in Rust or is there a reason you selected Rust for this …

  11. comment
    Comment #38410387

    The country code is the last portion of the networks CSV: $ curl -sL ip.guide/bulk/networks.csv | head -n 2 prefix,asn,organization,country 1.0.0.0/24,13335,"Cloudflare, Inc.",US

  12. comment
    Comment #38410330

    IP Guide is also using MaxMind, I'm not familiar with many other data sources for that kind of data. Are you seeing discrepancies? No rate limits or auth for requests, but as menti…

  13. comment
    Comment #38410296

    Yeah, if you click on "bulk data" you'll see the two statically hosted CSVs for ASN and IP data. What else would you find useful in those datasets? It's quite easy to expand on the…

  14. comment
    Comment #38409969

    Oh cool! Is this a fork of ifconfig.co?

  15. comment
    Comment #38409899

    Yes! Quite easily, but it requires thinking through the right API design. I'll see if I can work this in this weekend.

  16. comment
    Comment #38409806

    Great feedback, I'll add a little more to the site to describe how it all works. Until then... At a 30,000ft view, the site works by building an in-memory routing table at boot tim…

  17. comment
    Comment #38409730

    > Having a simple paragraph about RIPE, BGP and ARIN would be helpful (at least for me). That's a great idea. I'll add a tooltip over some of the less obvious fields describing wha…

  18. comment
    Comment #38409593

    I do that every. single. time.

  19. comment
    Comment #38409524

    Go for it! There's no formal rate limiting or auth, but it does start to load shed at 2k concurrent requests. It's stateless, so it's very easy to scale horizontally after that. Lo…

  20. story
    Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

    Hey all, wanted to share my recent weekend hack project. I wanted to improve upon the existing space for looking up information about IP addresses and ASNs. The backend is written …

  21. comment
    Comment #34066190

    Repository contents aren’t “sent” to China, companies like Tencent specify the shape of tokens to GitHub and GitHub does the scanning and then notifies Tencent to revoke the token …

  22. comment
    Comment #31049398

    These are known as GitHub apps and were designed to address this problem. https://docs.github.com/en/developers/apps/getting-started-w...

  23. comment
    Comment #31049383

    https://docs.github.com/en/developers/apps/getting-started-w...

  24. comment
    Comment #27815844

    It can be relatively inexpensive, depending on which RIR you’re using. There are providers like [Neptune Networks]( https://neptunenetworks.org/ ) or [Vultr]( https://www.vultr.com…

  25. story