Re: [asterisk-users] Am I cracked?

2015-06-10 Thread Dereck D
For such cases i created a dialplan in the default dialplan which blocks
the ip of the hacker with iptables.

On Monday, June 8, 2015, Luca Bertoncello lucab...@lucabert.de wrote:

 Hi list!

 Very strange...
 I ran the Asterisk CLI for other tasks, and suddenly I got this message:

   == Using SIP RTP CoS mark 5
 -- Executing [000972592603325@default:1]
 Verbose(SIP/192.168.20.120-002a, 2,PROXY Call from 0123456 to
 000972592603325) in new stack
   == PROXY Call from 0123456 to 000972592603325
 -- Executing [000972592603325@default:2]
 Set(SIP/192.168.20.120-002a, CHANNEL(musicclass)=default) in new
 stack
 -- Executing [000972592603325@default:3]
 GotoIf(SIP/192.168.20.120-002a, 0?dialluca) in new stack
 -- Executing [000972592603325@default:4]
 GotoIf(SIP/192.168.20.120-002a, 0?dialfax) in new stack
 -- Executing [000972592603325@default:5]
 GotoIf(SIP/192.168.20.120-002a, 0?dialanika) in new stack
 -- Executing [000972592603325@default:6]
 Dial(SIP/192.168.20.120-002a, SIP/pbxluca/000972592603325,,R) in
 new stack
 [Jun  8 21:42:50] WARNING[18981]: app_dial.c:2345 dial_exec_full: Unable
 to create channel of type 'SIP' (cause 20 - Subscriber absent)
   == Everyone is busy/congested at this time (1:0/0/1)
 -- Executing [000972592603325@default:7]
 Hangup(SIP/192.168.20.120-002a, ) in new stack
   == Spawn extension (default, 000972592603325, 7) exited non-zero on
 'SIP/192.168.20.120-002a'
 [Jun  8 21:43:22] WARNING[16633]: chan_sip.c:3830 retrans_pkt:
 Retransmission timeout reached on transmission
 8dc31ca4e660a0408450715638784d86 for seqno 1 (Critical Response) -- See
 https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
 Packet timed out after 32001ms with no response

 At the time no phone try to call...
 On my Firewall I see a SIP packet coming from an IP in Palestine...
 Am I cracked? I think I disabled all guest access. How can I check if my
 Asterisk allows guest to originate calls?

 Thanks
 Luca Bertoncello
 (lucab...@lucabert.de javascript:;)

 --
 _
 -- 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

[asterisk-users] Strange problem with Asterisk 1.8.9.3

2013-04-21 Thread Dereck D
Hello List.
Last month i started to face a strange issue on an asterisk server
1.8.9.3 built on Centos 5.3 x86_64 dedicated server.
out of the blue UDP stops responding .. and keep getting the following output:

-- Opening message for the problem
--
[Mar 21 09:57:04] ERROR[6748] netsock2.c:
getaddrinfo(pbx2.server.com, (null), ...): Temporary failure in
name resolution
[Mar 21 09:57:04] WARNING[6748] acl.c: Unable to lookup 'pbx2.server.com'
THEN
-
[Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer '' is now
UNREACHABLE!  Last qualify: 10
[Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer 'C1045' is now
UNREACHABLE!  Last qualify: 140
[Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer '' is now
UNREACHABLE!  Last qualify: 33
[Mar 21 09:57:15] NOTICE[6748] chan_sip.c:-- Registration for
'8885...@pbx2.server.com' timed out, trying again (Attempt #3)
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C3000' is now
UNREACHABLE!  Last qualify: 87
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C5005' is now
UNREACHABLE!  Last qualify: 241
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1071' is now
UNREACHABLE!  Last qualify: 117
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1070' is now
UNREACHABLE!  Last qualify: 115
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1077' is now
UNREACHABLE!  Last qualify: 101
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1073' is now
UNREACHABLE!  Last qualify: 96
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1047' is now
UNREACHABLE!  Last qualify: 132
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1072' is now
UNREACHABLE!  Last qualify: 138
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1042' is now
UNREACHABLE!  Last qualify: 158
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C5006' is now
UNREACHABLE!  Last qualify: 267
[Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1053' is now
UNREACHABLE!  Last qualify: 136
[Mar 21 09:57:41] NOTICE[6748] chan_sip.c:-- Registration for
'8885...@pbx2.server.com' timed out, trying again (Attempt #3)
[Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'ipkall1' is now
UNREACHABLE!  Last qualify: 168
[Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1078' is now
UNREACHABLE!  Last qualify: 141
[Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1051' is now
UNREACHABLE!  Last qualify: 139
[Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1046' is now
UNREACHABLE!  Last qualify: 157
[Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1076' is now
UNREACHABLE!  Last qualify: 116


this problem kept repeating randomly two or three times a day causing
me losses. and then i migrated to another Centos 6x x86_64 dedicated
server same asterisk version.
everything returns to normal if i reboot the server.  for a moment i
thought i wasn't even able to nslookup but i could wget or yum or do
other stuff..although i have my iptables disabled for a the last week
for testing purposes.
what i did today after the problem is:
bindaddress: set to server IPv4 address instead of defaulting.
disabled IPv6 from the server.


any suggestions to what is causing this issue?

--
_
-- 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


Re: [asterisk-users] Strange problem with Asterisk 1.8.9.3

2013-04-21 Thread Dereck D
thank you , but how would it be DNS issue while other users drop
unreachable too?
all operators and SIP Peers go unreachable .. not only unable to register.
oe peer using FQDN the rest are IP addresses.

On Sun, Apr 21, 2013 at 2:18 PM, dotnetdub dotnet...@gmail.com wrote:
 Looks like a DNS issue.


 On 21 April 2013 11:05, Dereck D derec...@gmail.com wrote:

 Hello List.
 Last month i started to face a strange issue on an asterisk server
 1.8.9.3 built on Centos 5.3 x86_64 dedicated server.
 out of the blue UDP stops responding .. and keep getting the following
 output:

 -- Opening message for the problem
 --
 [Mar 21 09:57:04] ERROR[6748] netsock2.c:
 getaddrinfo(pbx2.server.com, (null), ...): Temporary failure in
 name resolution
 [Mar 21 09:57:04] WARNING[6748] acl.c: Unable to lookup 'pbx2.server.com'
 THEN
 -
 [Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer '' is now
 UNREACHABLE!  Last qualify: 10
 [Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer 'C1045' is now
 UNREACHABLE!  Last qualify: 140
 [Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer '' is now
 UNREACHABLE!  Last qualify: 33
 [Mar 21 09:57:15] NOTICE[6748] chan_sip.c:-- Registration for
 '8885...@pbx2.server.com' timed out, trying again (Attempt #3)
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C3000' is now
 UNREACHABLE!  Last qualify: 87
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C5005' is now
 UNREACHABLE!  Last qualify: 241
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1071' is now
 UNREACHABLE!  Last qualify: 117
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1070' is now
 UNREACHABLE!  Last qualify: 115
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1077' is now
 UNREACHABLE!  Last qualify: 101
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1073' is now
 UNREACHABLE!  Last qualify: 96
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1047' is now
 UNREACHABLE!  Last qualify: 132
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1072' is now
 UNREACHABLE!  Last qualify: 138
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1042' is now
 UNREACHABLE!  Last qualify: 158
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C5006' is now
 UNREACHABLE!  Last qualify: 267
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1053' is now
 UNREACHABLE!  Last qualify: 136
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c:-- Registration for
 '8885...@pbx2.server.com' timed out, trying again (Attempt #3)
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'ipkall1' is now
 UNREACHABLE!  Last qualify: 168
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1078' is now
 UNREACHABLE!  Last qualify: 141
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1051' is now
 UNREACHABLE!  Last qualify: 139
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1046' is now
 UNREACHABLE!  Last qualify: 157
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1076' is now
 UNREACHABLE!  Last qualify: 116


 this problem kept repeating randomly two or three times a day causing
 me losses. and then i migrated to another Centos 6x x86_64 dedicated
 server same asterisk version.
 everything returns to normal if i reboot the server.  for a moment i
 thought i wasn't even able to nslookup but i could wget or yum or do
 other stuff..although i have my iptables disabled for a the last week
 for testing purposes.
 what i did today after the problem is:
 bindaddress: set to server IPv4 address instead of defaulting.
 disabled IPv6 from the server.


 any suggestions to what is causing this issue?

 --
 _
 -- 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

--
_
-- 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


Re: [asterisk-users] Strange problem with Asterisk 1.8.9.3

2013-04-21 Thread Dereck D
ok it seems a bug in asterisk .. work around is to add the FQDNS to
the hosts file and try to setup local DNS

On Sun, Apr 21, 2013 at 2:24 PM, Dereck D derec...@gmail.com wrote:
 thank you , but how would it be DNS issue while other users drop
 unreachable too?
 all operators and SIP Peers go unreachable .. not only unable to register.
 oe peer using FQDN the rest are IP addresses.

 On Sun, Apr 21, 2013 at 2:18 PM, dotnetdub dotnet...@gmail.com wrote:
 Looks like a DNS issue.


 On 21 April 2013 11:05, Dereck D derec...@gmail.com wrote:

 Hello List.
 Last month i started to face a strange issue on an asterisk server
 1.8.9.3 built on Centos 5.3 x86_64 dedicated server.
 out of the blue UDP stops responding .. and keep getting the following
 output:

 -- Opening message for the problem
 --
 [Mar 21 09:57:04] ERROR[6748] netsock2.c:
 getaddrinfo(pbx2.server.com, (null), ...): Temporary failure in
 name resolution
 [Mar 21 09:57:04] WARNING[6748] acl.c: Unable to lookup 'pbx2.server.com'
 THEN
 -
 [Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer '' is now
 UNREACHABLE!  Last qualify: 10
 [Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer 'C1045' is now
 UNREACHABLE!  Last qualify: 140
 [Mar 21 09:57:04] NOTICE[6748] chan_sip.c: Peer '' is now
 UNREACHABLE!  Last qualify: 33
 [Mar 21 09:57:15] NOTICE[6748] chan_sip.c:-- Registration for
 '8885...@pbx2.server.com' timed out, trying again (Attempt #3)
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C3000' is now
 UNREACHABLE!  Last qualify: 87
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C5005' is now
 UNREACHABLE!  Last qualify: 241
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1071' is now
 UNREACHABLE!  Last qualify: 117
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1070' is now
 UNREACHABLE!  Last qualify: 115
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1077' is now
 UNREACHABLE!  Last qualify: 101
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1073' is now
 UNREACHABLE!  Last qualify: 96
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1047' is now
 UNREACHABLE!  Last qualify: 132
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1072' is now
 UNREACHABLE!  Last qualify: 138
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1042' is now
 UNREACHABLE!  Last qualify: 158
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C5006' is now
 UNREACHABLE!  Last qualify: 267
 [Mar 21 09:57:21] NOTICE[6748] chan_sip.c: Peer 'C1053' is now
 UNREACHABLE!  Last qualify: 136
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c:-- Registration for
 '8885...@pbx2.server.com' timed out, trying again (Attempt #3)
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'ipkall1' is now
 UNREACHABLE!  Last qualify: 168
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1078' is now
 UNREACHABLE!  Last qualify: 141
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1051' is now
 UNREACHABLE!  Last qualify: 139
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1046' is now
 UNREACHABLE!  Last qualify: 157
 [Mar 21 09:57:41] NOTICE[6748] chan_sip.c: Peer 'C1076' is now
 UNREACHABLE!  Last qualify: 116


 this problem kept repeating randomly two or three times a day causing
 me losses. and then i migrated to another Centos 6x x86_64 dedicated
 server same asterisk version.
 everything returns to normal if i reboot the server.  for a moment i
 thought i wasn't even able to nslookup but i could wget or yum or do
 other stuff..although i have my iptables disabled for a the last week
 for testing purposes.
 what i did today after the problem is:
 bindaddress: set to server IPv4 address instead of defaulting.
 disabled IPv6 from the server.


 any suggestions to what is causing this issue?

 --
 _
 -- 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

--
_
-- 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