Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 1.6

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
motty.cruz at gmail.com
Guest





PostPosted: Fri Apr 04, 2014 9:00 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

Hello All, my asterisk server is constantly under attack
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password


is there a way to reject their registration after a three consecutive tries?



Thanks,

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
Back to top
dtaylor at vocalabs.com
Guest





PostPosted: Fri Apr 04, 2014 9:06 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use "fail2ban" to block them at the network interface.

On 04/04/2014 09:00 AM, motty cruz wrote:

Quote:
Hello All, my asterisk server is constantly under attack
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/call_skype_logo.png[/img]194.100.46.132:56714' - Wrong password


is there a way to reject their registration after a three consecutive tries?



Thanks,

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype




--
Daniel Taylor VP Operations Vocal Laboratories, Inc.
dtaylor@vocalabs.com (dtaylor@vocalabs.com) http://www.vocalabs.com/ (612)235-5711
Back to top
barryf-lists at flanag...
Guest





PostPosted: Fri Apr 04, 2014 9:07 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

On 4 April 2014 15:00, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
Hello All, my asterisk server is constantly under attack




Unfortunately you are not alone.


 
Quote:
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
<sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password


is there a way to reject their registration after a three consecutive tries?








Check out fail2ban. Works well.


Hope this helps.


-Barry Flanagan




Quote:

Thanks,

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
raubvogel at gmail.com
Guest





PostPosted: Fri Apr 04, 2014 9:09 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

On Fri, Apr 4, 2014 at 10:05 AM, Daniel Taylor <dtaylor@vocalabs.com (dtaylor@vocalabs.com)> wrote:
Quote:
I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use "fail2ban" to block them at the network interface.




      I second fail2ban. If you need some ideas to configure it, you can steal them from the freepbx setup.


      How many sip phones do you have outside your network? If few and in well-known IPs, consider limiting access to only those (and the sip provider you are using).
 

Quote:

On 04/04/2014 09:00 AM, motty cruz wrote:



Quote:
Hello All, my asterisk server is constantly under attack
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password


is there a way to reject their registration after a three consecutive tries?



Thanks,

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype








Quote:
--
Daniel Taylor VP Operations Vocal Laboratories, Inc.
dtaylor@vocalabs.com (dtaylor@vocalabs.com) http://www.vocalabs.com/ [url=tel:%28612%29235-5711](612)235-5711[/url]


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
motty.cruz at gmail.com
Guest





PostPosted: Fri Apr 04, 2014 9:22 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. 

again Thanks for your support. 



On Fri, Apr 4, 2014 at 7:09 AM, Mauricio Tavares <raubvogel@gmail.com (raubvogel@gmail.com)> wrote:
Quote:



On Fri, Apr 4, 2014 at 10:05 AM, Daniel Taylor <dtaylor@vocalabs.com (dtaylor@vocalabs.com)> wrote:
Quote:
I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use "fail2ban" to block them at the network interface.





      I second fail2ban. If you need some ideas to configure it, you can steal them from the freepbx setup.


      How many sip phones do you have outside your network? If few and in well-known IPs, consider limiting access to only those (and the sip provider you are using).
 

Quote:

On 04/04/2014 09:00 AM, motty cruz wrote:



Quote:
Hello All, my asterisk server is constantly under attack
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password
[Apr  4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password


is there a way to reject their registration after a three consecutive tries?



Thanks,

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype








Quote:
--
Daniel Taylor VP Operations Vocal Laboratories, Inc.
dtaylor@vocalabs.com (dtaylor@vocalabs.com) http://www.vocalabs.com/ [url=tel:%28612%29235-5711](612)235-5711[/url]




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mdupuis at ocg.ca
Guest





PostPosted: Fri Apr 04, 2014 9:23 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

Take a look a SecAst from www.generationd.com



It does everything fail2ban does and more, including blocking users by geography (we exclude all of Asia and Africa), detection of break-in patterns (even if someone guessed your un/pw), detect changes in dial rates, etc.



Grab the free version - its a BIG step up from fail2ban.



-=Michelle=-​

All opions posted are my person ones. And personnally I like generationd products because I work for them Smile


From: asterisk-users-bounces@lists.digium.com <asterisk-users-bounces@lists.digium.com> on behalf of motty cruz <motty.cruz@gmail.com>
Sent: Friday, April 4, 2014 10:00 AM
To: Asterisk Users List
Subject: [asterisk-users] Asterisk 1.6

Hello All, my asterisk server is constantly under attack
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]/owa/[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]/owa/[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]/owa/[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]/owa/[/img]194.100.46.132:56714' - Wrong password
[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132[img]/owa/[/img]194.100.46.132:56714' - Wrong password


is there a way to reject their registration after a three consecutive tries?



Thanks,

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
Back to top
asterisk_list at earth...
Guest





PostPosted: Fri Apr 04, 2014 9:38 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

On Friday 04 Apr 2014, Michelle Dupuis wrote:
Quote:
Take a look a SecAst from www.generationd.com<http://www.generationd.com/>

It does everything fail2ban does and more, including blocking users by
geography (we exclude all of Asia and Africa), detection of break-in
patterns (even if someone guessed your un/pw), detect changes in dial
rates, etc.

Grab the free version - its a BIG step up from fail2ban.

That link points towards a precompiled binary, which could have literally
*anything* lurking in it. I politely advise you to back away slowly, and
break into a run when you think you are out of sight.

Precompiled binaries without Source Code should be treated like a bottle of
glowing green liquid labelled "drink me", or an offer to come and look at some
puppies. No reputable software supplier would object to showing you what is
on the inside.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mdupuis at ocg.ca
Guest





PostPosted: Fri Apr 04, 2014 9:56 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

What you are saying is only open source software is safe? You have just excluded most software in use in the business world.

We have installed Norton antivirus on all of our workstation; I don't think Symantec will ever release the source code (since that would also show attackers how to get around it). Using the same logic releasing SecAst source would also seem foolish (and make it impossible for any commercial enterprise to sell software).

I understand your point of view, and if your preference is to only use open source software that's great. However, that doesn't mean precompiled software is inherently dangerous or malevolent.

-=Michelle=-
________________________________________
From: asterisk-users-bounces@lists.digium.com <asterisk-users-bounces@lists.digium.com> on behalf of A J Stiles <asterisk_list@earthshod.co.uk>
Sent: Friday, April 4, 2014 10:38 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] Asterisk 1.6

On Friday 04 Apr 2014, Michelle Dupuis wrote:
Quote:
Take a look a SecAst from www.generationd.com<http://www.generationd.com/>

It does everything fail2ban does and more, including blocking users by
geography (we exclude all of Asia and Africa), detection of break-in
patterns (even if someone guessed your un/pw), detect changes in dial
rates, etc.

Grab the free version - its a BIG step up from fail2ban.

That link points towards a precompiled binary, which could have literally
*anything* lurking in it. I politely advise you to back away slowly, and
break into a run when you think you are out of sight.

Precompiled binaries without Source Code should be treated like a bottle of
glowing green liquid labelled "drink me", or an offer to come and look at some
puppies. No reputable software supplier would object to showing you what is
on the inside.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
motty.cruz at gmail.com
Guest





PostPosted: Fri Apr 04, 2014 9:59 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

absolutely right A J, thanks for the heads up. I do not intent to implement that solution in production server, I hope to learn it first, build a test server and monitor for a few days or weeks. 


Thanks again, 



On Fri, Apr 4, 2014 at 7:38 AM, A J Stiles <asterisk_list@earthshod.co.uk (asterisk_list@earthshod.co.uk)> wrote:
Quote:
On Friday 04 Apr 2014, Michelle Dupuis wrote:
Quote:
Take a look a SecAst from www.generationd.com<http://www.generationd.com/>

It does everything fail2ban does and more, including blocking users by
geography (we exclude all of Asia and Africa), detection of break-in
patterns (even if someone guessed your un/pw), detect changes in dial
rates, etc.

Grab the free version - its a BIG step up from fail2ban.


That link points towards a precompiled binary, which could have literally
*anything* lurking in it.  I politely advise you to back away slowly, and
break into a run when you think you are out of sight.

Precompiled binaries without Source Code should be treated like a bottle of
glowing green liquid labelled "drink me", or an offer to come and look at some
puppies.  No reputable software supplier would object to showing you what is
on the inside.

--
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Back to top
ish at pack-net.co.uk
Guest





PostPosted: Fri Apr 04, 2014 10:03 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

On 4 April 2014 15:22, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. 

again Thanks for your support. 








Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration.


Another option would be to change which port you're running SIP on. 



--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
Back to top
motty.cruz at gmail.com
Guest





PostPosted: Fri Apr 04, 2014 10:15 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. 

Thanks for your support. 



On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:
Quote:



On 4 April 2014 15:22, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. 

again Thanks for your support. 









Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration.


Another option would be to change which port you're running SIP on. 



--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
ish at pack-net.co.uk
Guest





PostPosted: Fri Apr 04, 2014 10:18 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

Well in that case fail2ban gets my vote.


On 4 April 2014 16:15, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. 

Thanks for your support. 



On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:


Quote:



On 4 April 2014 15:22, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. 

again Thanks for your support. 









Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration.


Another option would be to change which port you're running SIP on. 



--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
Back to top
mdupuis at ocg.ca
Guest





PostPosted: Fri Apr 04, 2014 10:26 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this:



ruledefault=deny
ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA


The above would:
- By default deny all source IP's anywhere in the world
- Let in only source IP's from:
1. North America (continent), Canada (country), Ontario (region)
2. North America (continent), USA (country), Michigan (region), Detroit (city)
3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example)
4. Anywhere in North America


So you can open up your system based solely on where you know your real users are located.



-=Michelle=-


From: asterisk-users-bounces@lists.digium.com <asterisk-users-bounces@lists.digium.com> on behalf of motty cruz <motty.cruz@gmail.com>
Sent: Friday, April 4, 2014 11:15 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] Asterisk 1.6

Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP.

Thanks for your support.



On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:
Quote:



On 4 April 2014 15:22, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly.

again Thanks for your support.









Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration.


Another option would be to change which port you're running SIP on.



--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
millennium.bug at gmai...
Guest





PostPosted: Fri Apr 04, 2014 10:36 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

Use allowguest=no
And define ACLs for every SIP account.
And obviously, fail2ban for blocking suspicious IPs.
Back to top
motty.cruz at gmail.com
Guest





PostPosted: Fri Apr 04, 2014 10:36 am    Post subject: [asterisk-users] Asterisk 1.6 Reply with quote

that sounds feasible, Thanks Michelle, 






On Fri, Apr 4, 2014 at 8:25 AM, Michelle Dupuis <mdupuis@ocg.ca (mdupuis@ocg.ca)> wrote:
Quote:

If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this:



ruledefault=deny
ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA


The above would:
- By default deny all source IP's anywhere in the world
- Let in only source IP's from:
1. North America (continent), Canada (country), Ontario (region)
2. North America (continent), USA (country), Michigan (region), Detroit (city)
3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example)
4. Anywhere in North America


So you can open up your system based solely on where you know your real users are located.



-=Michelle=-


From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) <asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)> on behalf of motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)>
Sent: Friday, April 4, 2014 11:15 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] Asterisk 1.6
 

Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. 

Thanks for your support. 



On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik <ish@pack-net.co.uk (ish@pack-net.co.uk)> wrote:
Quote:



On 4 April 2014 15:22, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote:
thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. 

again Thanks for your support. 









Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration.


Another option would be to change which port you're running SIP on. 



--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: [url=tel:%2B44%20%280%29845%20004%204994]+44 (0)845 004 4994[/url]
f: [url=tel:%2B44%20%280%29161%20660%209825]+44 (0)161 660 9825[/url]
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users










--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services