dowlingw / nntp2p Goto Github PK
View Code? Open in Web Editor NEWA naive peering, caching NNTP proxy
License: Other
A naive peering, caching NNTP proxy
License: Other
We should implement more than just what Sab likes
Reporter: dragoon
When binding to privileged port (and potentially any unavailable port) Spring boot throws the error:
Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)
Make this more informative
either local via broadcast or via some kind of service discovery layer.
advertise when requested
Allow the users to be stored in a mysql database.
create database user_db;
use user_db;
create table user (
user_id int(6) not null auto_increment,
username varchar(16) not null,
password varchar(64) not null,
max_connections int(6)) not null
);
It is possible to starve clients from upstream threads, depending on a number of factors:
Currently the server will return a harsh response code, look at alternative strategies such as:
Reporter: dragoon
When starting with a bad configuration, user receives unhelpful message such as:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.configuration.XMLConfiguration]: Factory method 'xmlConfiguration' threw exception; nested exception is org.apache.commons.configuration.ConfigurationException: Unable to load the configuration from the URL file:/etc/nntp2p.cfg
Fix this plz
The SSL client socket will throw an exception if it can't verify the certificate chain, so this falls over for providers that don't run with a real SSL cert (eg: Blocknews)
This will be required to complement #6 where I was planning on generating a new SSL certificate if one is not provided by the user.
Currently resolveProvider() only returns a single provider that has the article.
When used, this provides a one-shot attempt to get the article via that provider.
Returning a prioritised list of providers with the article allows the proxy to attempt providers in sequence should any failures occur fetching the article.
As topic
This code was never implemented. It's pretty core functionality.
Worst case: Scheduled job to prune the cache.
Best case: Check on article insertion, queue job.
Plaintext is so 1999.
And do something useful with them
Provide some kind of usage statistics to give an idea of how much data has been served out of the cache vs upstream
Handle this instead of noop'ing.
Shippable bug.
Some parsing exceptions that are TODO'ed.
Reporter: dragoon
When installing the debian package generated from maven target, the user/group nntp2p
is not created correctly.
Environment: Ubuntu 14.04
useradd is present on system.
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.