I am Nate Brune, bio is wip.
natebrune / creep Goto Github PK
View Code? Open in Web Editor NEWA webservice for displaying nodeinfo information.
A webservice for displaying nodeinfo information.
I know you said you'd get a User Agent but you haven't done it yet so I'm filing a bug
I've noticed that "Host" http header seem to be received here in a bit mangled form, which causes e.g. Django to return errors instead of replies for potentially-valid URLs.
Invalid HTTP_HOST header: '[[fc7b:d79a:4eb5:28f6:5686:637d:9f75:5db6]]'. The domain name provided is not valid according to RFC 1034/1035.
...
'HTTP_HOST': '[[fc7b:d79a:4eb5:28f6:5686:637d:9f75:5db6]]',
'HTTP_USER_AGENT': "NAT's Creep nodeinfo.json scanner +https://github.com/NateBrune/Creep",
'PATH_INFO': u'/nodeinfo.json',
...
Given that request gets handled by nginx here, then passed to uwsgi and only then to django, I'm not 100% sure if it's not one of these mangling it, but since there's no issue with other clients, it's likely not the case.
Plus should be trivial to test, I guess.
Maybe have some sort of list of known nodes that have httpds that don't respond with 200 for /nodeinfo.json
, maybe include some other shit like response headers to better figure out who runs them so we can yell at them.
This would make it more configurable and easier to change the layout, etc
jesus christ it's time to move on from python 2. You suggested on IRC that it was an issue with urllib3, which is fine, use requests, it's way the fuck better than urllib anyway
Much better than managing the threads yourself, also allows threads to be distributed
Contact is a child of Node, it should have a smaller heading (currently they're both <h4>
s)
maybe a command line flag, or output to stdout and leave redirection to the shell
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.