Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: fubly on February 08, 2019, 02:10:25 PM



Title: Protect your node and wallet with fail2ban
Post by: fubly on February 08, 2019, 02:10:25 PM
to protect your node, here are some updated filters:

https://raw.githubusercontent.com/Zwilla/BitcoinSV_protect/master/scripts/fail2ban/install_filters.sh (https://raw.githubusercontent.com/Zwilla/BitcoinSV_protect/master/scripts/fail2ban/install_filters.sh)

You are welcome to fill this repro with your ideas:

No rules, write whatever you think about https://github.com/Zwilla/BitcoinSV_protect/issues/new (https://github.com/Zwilla/BitcoinSV_protect/issues/new)

https://github.com/Zwilla/BitcoinSV_protect (https://github.com/Zwilla/BitcoinSV_protect)


p.s. it doesn't matter which bitcoin version you are running!


Title: Re: Protect your node and wallet with fail2ban
Post by: fubly on February 08, 2019, 02:25:16 PM
do not forget to install fail2ban fresh from the source!

Here I have a script for you:

https://raw.githubusercontent.com/Zwilla/BitcoinSV_protect/master/scripts/fail2ban/install_fail2ban.sh (https://raw.githubusercontent.com/Zwilla/BitcoinSV_protect/master/scripts/fail2ban/install_fail2ban.sh)


Title: Re: Protect your node and wallet with fail2ban
Post by: odolvlobo on February 09, 2019, 02:16:39 AM
Never run downloaded software from anonymous sources without inspecting the source code first.


Title: Re: Protect your node and wallet with fail2ban
Post by: KingZee on February 09, 2019, 03:30:15 AM
Can you elaborate more on what exactly are you "protecting"?

Your github repo's readme.md is almost useless from a developer point of view. You explain nothing about your project.


Title: Re: Protect your node and wallet with fail2ban
Post by: elda34b on February 09, 2019, 03:57:23 AM
Why don't you post this on Bitcoin SV ann thread?
Too lazy to read your code and your docs is bad too, I wonder who will use this ambiguous software.


Title: Re: Protect your node and wallet with fail2ban
Post by: bitmover on February 09, 2019, 07:17:22 AM
The best way to protect your wallet is to use  only software from official sources. No third party, especially new not tested third party from shady sources, like this one.


Title: Re: Protect your node and wallet with fail2ban
Post by: fubly on February 10, 2019, 12:53:03 AM
oh man,

how crazy it that?

Nor the moderators nor any other here checked what kind of software fail2ban is!

1.  Stop! Before you guys above, post more BS read what fail2ban is and read for what it stands:

https://www.fail2ban.org/wiki/index.php/Fail2ban:Community_Portal (https://www.fail2ban.org/wiki/index.php/Fail2ban:Community_Portal)

2. It doesn't matter which version or kind of bitcoin you use, so this thread does not handle an Altcoin !!!!

3. It handles the protection of your wallet / your network behind / on which you run your wallet or full node. OK?!

4. Stop calling the script a fake or a scam, read it, understand it, switch on your brain and then write!

5. Move this thread back "Here is the wrong place". Mod! You read just the link and saw  SV, forgot switching on something and moved it.

Understand the service "bitcoind" is the service "bitcoind" and this service on your computer, notebook or server will be protected by my new fail2ban filter! That's it!

How? Read here more how fail2ban filter help you to protect your network:

The problem

Brute-force break-in attempts are quite frequent against an SSH server and other password protected internet-services (such as ftp,pop,...). Automated scripts try multiple combinations of username/password (brute-force, dictionary attack) and sometimes changing the port to something other than the default can't be done. Furthermore, scouring your log files yourself is not only time consuming, but can be difficult too.

Fail2ban attempts to alleviate these issues by providing an automated way of not only identifying possible break-in attempts, but acting upon them quickly and easily in a user-definable manner.
The solution

Log files contain interesting information, especially about failed logins. This information can be used to ban an offensive host. This is exactly what Fail2ban does. It scans log files and detects patterns which correspond to possible breakin attempts and then performs actions. Most of the time, it consists of adding a new rule in a firewall chain and sending an e-mail notification to the system administrator.

Here is a list of the most important features available in Fail2ban: read more and the original source:
https://www.fail2ban.org/wiki/index.php/MANUAL_0_8[/b]]https://www.fail2ban.org/wiki/index.php/MANUAL_0_8 (http://[b)


Title: Re: Protect your node and wallet with fail2ban
Post by: danuel on August 13, 2019, 08:20:39 PM
I fubly I have read your script seems trustly

Have you keep developing / updating ?


Title: Re: Protect your node and wallet with fail2ban
Post by: fubly on August 14, 2019, 10:15:12 AM
Never run downloaded software from anonymous sources without inspecting the source code first.

Sure:
https://github.com/bitmaintech/bmminer-mix/issues/1 (https://github.com/bitmaintech/bmminer-mix/issues/1)


Title: Re: Protect your node and wallet with fail2ban
Post by: fubly on August 14, 2019, 10:15:49 AM
I fubly I have read your script seems trustly

Have you keep developing / updating ?

Yes, will update the sources next time