that hasn't worked well and also requires a "rpt reload" each time. this allows (on the fly) ban/unban each time rc.updatenodelist updates the rpt_extnodes-temp file they are removed or unbanned (not removed) I also just built a php page to edit the ban list via web page and will be posting that along with the script and the directions for proper use. On Mon, Aug 7, 2017 at 10:57 PM, Bryan Fields <Bryan@bryanfields.net> wrote:
On 8/7/17 10:34 PM, Nate Hardman wrote:
Born out of need. recent problem with an Allstar node owner caused the creation of this program. the ban_nodes script runs along side of the rc.updatenodelist script and watches for updates to the rpt_extnodes-temp file and removes the offending node. if you have iptables installed and configured you may set that option to "yes" in the program itself simply use the bannodes.conf file that is created in the /etc/asterisk directory to add or remove nodes as needed.
you may view / download the script at http://n8thn.net/scripts/ index.html
I also have my updated TTS script that works in place of the google_tts.py for the underground WX report.
Can't you just do like:
[nodes]
40821 = nope@127.0.0.1
and then it will try not let that node connect as it's redefined and over rides the ext-nodes file?
-- 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.
-- Nathan Hardman nhardman1428@gmail.com N8THN@ARRL.NET