Страница 1 из 2

Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 12:58
r@diO
Творится что-то непонятное:
[spoiler=][2013-11-11 16:46:14] NOTICE[31788]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g12/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] WARNING[3305]: chan_sip.c:20886 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:НАШТЕЛЕФОН@anonymous.invalid>;tag=as73c1b232'
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31790]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g13/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31791]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g13/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] WARNING[3305]: chan_sip.c:20886 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:НАШТЕЛЕФОН@anonymous.invalid>;tag=as593e6d9b'
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31796]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g14/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31797]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g14/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] WARNING[3305]: chan_sip.c:20886 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:НАШТЕЛЕФОН@anonymous.invalid>;tag=as6edd9ce3'
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31801]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g15/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31805]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g15/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31811]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r0/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31812]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r0/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31815]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r1/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31821]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r1/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31822]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r2/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31824]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r2/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31825]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r3/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31834]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r4/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31833]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r3/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31835]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r4/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31837]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r5/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31839]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r5/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31847]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r6/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31848]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r6/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31853]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r7/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31854]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r7/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31855]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r8/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31857]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r8/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31861]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r9/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31865]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r9/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31868]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r10/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31872]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r10/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31873]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r11/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31877]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r11/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31883]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r12/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31884]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r12/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31885]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r13/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31889]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r13/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31892]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r14/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31894]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r14/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31901]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r15/22470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31902]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/r15/22470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Remote UNIX connection
-- Remote UNIX connection
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
[2013-11-11 16:46:14] ERROR[31904]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("Name", "(null)", ...): Name or service not known
[2013-11-11 16:46:14] WARNING[31904]: chan_sip.c:5859 create_addr: No such host: Name
[2013-11-11 16:46:14] NOTICE[31904]: channel.c:5423 __ast_request_and_dial: Unable to request channel SIP/Name/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] ERROR[31905]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("Name", "(null)", ...): Name or service not known
-- Remote UNIX connection
[2013-11-11 16:46:14] WARNING[31905]: chan_sip.c:5859 create_addr: No such host: Name
[2013-11-11 16:46:14] NOTICE[31905]: channel.c:5423 __ast_request_and_dial: Unable to request channel SIP/Name/122470300481
-- Remote UNIX connection disconnected
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Remote UNIX connection
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Remote UNIX connection
[2013-11-11 16:46:14] ERROR[31924]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("Name", "(null)", ...): Name or service not known
[2013-11-11 16:46:14] WARNING[31924]: acl.c:590 resolve_first: Unable to lookup 'Name'
[2013-11-11 16:46:14] WARNING[31924]: chan_iax2.c:4585 create_addr: No such host: Name
[2013-11-11 16:46:14] NOTICE[31924]: channel.c:5423 __ast_request_and_dial: Unable to request channel IAX2/Name/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31927]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g0/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] ERROR[31925]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("Name", "(null)", ...): Name or service not known
[2013-11-11 16:46:14] WARNING[31925]: acl.c:590 resolve_first: Unable to lookup 'Name'
[2013-11-11 16:46:14] WARNING[31925]: chan_iax2.c:4585 create_addr: No such host: Name
[2013-11-11 16:46:14] NOTICE[31925]: channel.c:5423 __ast_request_and_dial: Unable to request channel IAX2/Name/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31936]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g1/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31938]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g1/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31940]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g2/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31935]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g0/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31942]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g2/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31948]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g3/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31951]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g3/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31953]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g4/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31959]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g5/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31961]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g5/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31962]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g4/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31966]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g6/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31967]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g6/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31972]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g7/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31973]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g7/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31976]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g8/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31980]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g8/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31985]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g9/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] NOTICE[31986]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g9/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31989]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g10/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31992]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g10/122470300481
-- Remote UNIX connection disconnected
-- Remote UNIX connection
[2013-11-11 16:46:14] NOTICE[31996]: channel.c:5423 __ast_request_and_dial: Unable to request channel DAHDI/g11/122470300481
-- Remote UNIX connection disconnected
[2013-11-11 16:46:14] WARNING[3305]: chan_sip.c:20886 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:НАШТЕЛЕФОН@anonymous.invalid>;tag=as60338d54'
[2013-11-11 16:46:14] WARNING[3305]: chan_sip.c:20886 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:НАШТЕЛЕФОН@anonymous.invalid>;tag=as0fd7eaf9[/spoiler]
[b]Что это? как с этим бороться?[/b]

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 13:22
Sfinx
AMI порт открыт наружу, пароль успешно подобран - и кетайский многочисленный народ пытается звонить как может ;)

P.S. 224 - это Гвинея, любимая страна для "наговорить"

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 13:36
r@diO
Спасибо.
Поставил:

Код: Выделить всё

[general]
enabled = no
port = newport
bindaddr = 127.0.0.1
webenabled = no
displayconnects=yes ;only effects 1.6+

[admin]
secret = newpass
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = log,verbose
write = log
Как защититься от этого?

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 13:37
ded
Науцчитесь укладывать портянки логов под спойлер, иначе - трудно будет общаться.

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 13:41
Sfinx
Как защититься от этого?
не юзать дефективные телефонные дистры, безмозглые создатели которых придумали и оставили один пароль на всех и по умолчанию открывают в системе почти все что можно открыть.

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 13:45
r@diO
Извиняюсь - неправильно использовал тэг.

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 13:47
r@diO
Sfinx писал(а):
Как защититься от этого?
не юзать дефективные телефонные дистры, безмозглые создатели которых придумали и оставили один пароль на всех и по умолчанию открывают в системе почти все что можно открыть.
Действительно стоит Elastix и AMI был открыт "для всех".

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 15:12
r@diO
На какое-то время проблема решилась, а сейчас происходит тоже самое.
Что еще может быть?

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 16:15
Sfinx
если все еще есть подключения к AMI - закрыть 80/443 порт снаружи. в elastix можно подключаться к AMI по localhost через дырявые php скрипты. закрыв web снаружи, часть проблемы можно решить. также следует не забывать, что открытый SIP порт и неверные настройки безопасности (allowguest=yes/слабые пароли/хреновый dialplan/etc.) точно такой же источник проблем.

Re: Received response: "Forbidden" from '"Anonymous"

Добавлено: 11 ноя 2013, 16:45
r@diO
allowguest=no
alwaysauthreject=yes

iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

так?