Block unwanted node

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.

···

Nathan Hardman

nhardman1428@gmail.com

N8THN@ARRL.NET

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?

···

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.

--
Bryan Fields

727-409-1194 - Voice
http://bryanfields.net

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

You add the line to rpt.conf.

It doesn’t change when the list gets updated.

David

···

On Wed, Aug 9, 2017 at 1:52 PM, Nate Hardman nhardman1428@gmail.com wrote:

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.


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.

Thanks, David

“Laws that forbid the carrying of arms…disarm only those who are neither inclined nor determined to commit crimes. Such laws make things worse for the assaulted and better for the assailants; they serve rather to encourage than prevent homicides, for an unarmed man may be attacked with greater confidence than an armed one.”

Thomas Jefferson

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