[asterisk-users] how to stop hacking of my server

Leandro Dardini ldardini at gmail.com
Tue Dec 27 03:40:13 CST 2011


With deny you'll "deny" all IP
with permit you'll "permit" only your IP.

Yes, it is mandatory to define both deny and permit.

Leandro

2011/12/27 virendra bhati <virbhati at gmail.com>

> okay,
> So it is mandatory to define both permit and deny ?
> if I will update like
>
>
> [trunk1]
> context=fromoutside
> type=friend
> <http://0.0.0.0/0.0.0.0>
> permit=34.2.10.24
> qualify=yes
>
> So will it be fine or not ? Or it will get rest information from sip.conf
> general section ?
>
> On Tue, Dec 27, 2011 at 2:21 PM, Leandro Dardini <ldardini at gmail.com>wrote:
>
>> Yes, this is one of my entries:
>>
>> [trunk1]
>> context=fromoutside
>> type=friend
>> deny=0.0.0.0/0.0.0.0
>> permit=34.2.10.24
>> qualify=yes
>>
>> 2011/12/27 virendra bhati <virbhati at gmail.com>
>>
>>> Can you give an example how to set these oprion ...
>>>
>>>
>>>
>>> On Tue, Dec 27, 2011 at 1:43 PM, Leandro Dardini <ldardini at gmail.com>wrote:
>>>
>>>>
>>>>
>>>> 2011/12/27 virendra bhati <virbhati at gmail.com>
>>>>
>>>>> Hi list someone is trying to hack my server . Is there any way by
>>>>> whcih I can stop hacking of my server except iptables ? I want to stop on
>>>>> the basis of sip.conf account only. bcoz I can't apply iptables rules on
>>>>> server it's remote server of server provider and we used it for making voip
>>>>> call for customers.
>>>>>
>>>>> for the time been i have close all sip accounts. but can't stop for
>>>>> more then 1 days. I need your help ....
>>>>>
>>>>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
>
> --
>
> Thanks and regards
>
>  Virendra Bhati
> +91-8885268942
> Software Engineer
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111227/69e89030/attachment.htm>


More information about the asterisk-users mailing list