skrupler / latent Goto Github PK
View Code? Open in Web Editor NEWAutostart script written in bash for openvpn, rtorrent and sysvinit/systemd.
License: GNU General Public License v3.0
Autostart script written in bash for openvpn, rtorrent and sysvinit/systemd.
License: GNU General Public License v3.0
To handle restarts and failures more easily. Since netns rarely failes when rtorrent does for various reasons.
Should help mitigate and make for an easier fix for #2 aswell.
Currently the exit mode is horrible, needs fixing. Probably duplicates iptables rules if exit is not clean. The system needs to be restored to its state prior to execution.
Rtorrent stops working when bound to an IP not associated with the actual IP on the nic of netns.
This issue happens when the IP on the connection changes
but rtorrent tries to bind to the old IP
must be circumvented somehow.
Error: Tracker: [Failed binding local connection end]
rtorrent probably needs to restart / rebind somehow.
Current latent version suffers from alot of bugs thus I am going to refactor it and add some useful things to better handle crashes and hickups without having to reboot the entire machine to "get it right".
helpers/setup.sh
- basic setup, takes user input if settings.conf
is missing any argumentsconf/settings.conf
(saves stuff too)helpers/functions.sh
- global functions needed by this suitetun/tap
devicesrc/netns.sh
- handles the setup of the network namespacesrc/openvpn.sh
- handles the connection of openvpnsrc/rtorrent.sh
- handles startup/shutdown etclatent.sh
- one script to rule em all, aka the runnable onecron/example.cron
helpers/functions.sh
to check if mismatch with ip and restarts rtorrent
if true.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.