javiquinte / owndc Goto Github PK
View Code? Open in Web Editor NEWFDSN Dataselect for seismologists which allows the access to any data centre
License: GNU General Public License v3.0
FDSN Dataselect for seismologists which allows the access to any data centre
License: GNU General Public License v3.0
I receive an error from the Station-WS during one of the tests of "testStation.py".
AssertionError: -1 not greater than or equal to 0
Publish a configuration file including all EIDA nodes.
In the cached version of the Station-WS I received the following error from the test in "testStation.py".
AssertionError: -1 not greater than or equal to 0
Probably getEIDAconfig.py should not read from an Arclink server, but from a Routing Server.
Cherrypy is skipping the process of the body if content-type is not passed. Mainly due to security reasons. I have to check that SC3 is passing it. In any case, it would be better to have a default value of text/plain
.
In the cached version of the Station-WS I received the following error from the test in "testStation.py".
AssertionError: -1 not greater than or equal to 0
Instead of a 204 I receive a 400. The test was done with "testService.py".
I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks.
During my research, I detected a deleted package in this repository.
Specifically, the package owndc
mentioned in file README
at line 39 does not exist on the public PyPI registry. A bad actor can hijack this package to propagate malicious code.
Not only your apps/services using https://github.com/javiquinte/owndc
repo code are vulnerable to this attack, but the users of your open-source Github repo could also fall victim.
You could read more about such attacks here: https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610
Please highlight this in file README and register a placeholder package for owndc
on public PyPI soon to remediate.
To automatically fix such issues in future, please install PackjGuard Github app [1].
Thanks!
The cache of stations was important when the client is unknown and because a station could be passed without network. This is not the case, as SC3 is the client, who will always pass the station as a parameter.
In the worst case, it is owndc the one who receives the redundant routes, but those disappear due to the 204 HTTP error codes from the non-authoritative data centres.
In the test case where net=XX, the return code is not 204 as it should be.
Some work has been done to cache the StationXML data from Station-WS and deliver them locally. However, a better approach would be to start with the text mode of Station-WS, which can be easily implemented copy-pasting the dataselect approach.
The set of routes to load is too large and this does not make sense. Leave only a minimal set of routes to be able to run the tests.
Now we have a version of some files of the Routing Service commited in the repository. Should we have a submodule so that we don't mantain the updates in the other systems?
Large URIs should return a 414 instead of a 400. Check only in the GET method.
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.