I never stated NAT was security. I referenced what most run at a home configuration. Most current routers have a basic firewall that is denying all traffic except established traffic. Not the older generation of routers.
As I said and you ended with, a secure password is the best defence the home user could do. This is the most common failure in security, even at the router level. In my 20+ years experience, networks rarely get exposed unless the user let's someone in via a open port or poor passwords. Or even default passwords. Of course, self inflicted infections are another beast.
I have setup hundreds of networks, servers including Allstar servers and they have never had a intrusion. I have never used fail2ban in those cases. In company cases other devices are used, but I won't go into that as most are not in this situation for Allstar.
They can't get in if your exposed point is not responsive to their connection attempts.
Much more can be done in home networks as you increase exposure and history further.
On 9/4/18 12:38 PM, Bryan St Clair wrote:
> For most who don't accept incoming connections on their home network,
> (meaning no opened ports on the router -- Using NAT) you are very secure.
NAT is not security.
Security is not solved by firewalls, or any one thing. Security is a mindset
and an approach to looking at systems and protecting them from nefarious
operators.
AllStar on the default IAX port appears to be an open PBX, and would be quite
useful for terminating VoIP calls, which can make attackers much money. By in
large AllStar systems are not interconnected with outbound SIP trunks, and
thus are a poor attack vector for this.
fail2ban can be used not only for ssh, but IAX and SIP too.
> https://lelutin.ca/posts/Blocking_bruteforce_attempts_on_Asterisk_with_fail2ban/
I find blackhole routing works best for these, and I'll set it to 3600 seconds.
There is something to be said for using non-standard ports as this will cut
down on the non-standard scanners. This only obscures the issue, it's not
true security in and of it self. Add fail2ban with it and it will block much
of it.
If you're running a bunch of nodes on a single connection, setup a proxy, this
will isolate them onto one device.
A firewall helps you keep only what you want exposed. It's amazing how fast
stuff can be exploited without a firewall on today's internet. I personally
had a server I setup and got lazy as it was late at night, "I'll setup the
firewall tomorrow". Tomorrow turned into 3 days and the server had memcached
on it being used a packet generator. Turned my 10 mbit/s 95th usage into 998
mbit/s 95th percentile.
Lesson learned, security is a mindset and starts day one.
Perhaps the best thing you can do is not allow root access and use a good
password. Using your callsign is not good, using A115tar isn't secure either.
Each user should have their own password, and be enabled to use sudo too.
73's
--
Bryan Fields
727-409-1194 - Voice
http://bryanfields.net
_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.