astipupdate script, detects public ip and sip peer ip change , blocks unwanted sip traffic.
script start parameter will permit sip traffic only for trusted hosts via iptables,
can also update them with updatepeer parameter if ip changes.
updatepublic parameter reloads asterisk on public ip change (in case you have too long register intervals).
copy this script to /etc/init.d and activate it with update-rc.d astipupdate defaults
enable in cron like: */5 * * * * root /etc/init.d/astipupdate updateboth &> /dev/null

Now includes also an ddnsupdater which uses a simple wget to update if host cmd detects a change.

Project Activity

See All Activity >

Follow Asterisk IP updater & SIP blocker

Asterisk IP updater & SIP blocker Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Asterisk IP updater & SIP blocker!

Additional Project Details

Registered

2014-03-07