Hey Folks ,
im checking logs on my asterisk and we are seeing two kind of hacking trials .
once as :
[2019-04-11 04:47:05] VERBOSE[C-0000017a] pbx.c: Executing [s@from-sip-external:6] Log(“SIP/18.104.22.168-0000017a”, "WARNING,“Rejecting unknown SIP connection from 22.214.171.124"”) in new stack
and one as :
[2019-04-11 05:06:41] VERBOSE[C-000001fb] pbx.c: Executing [123@from-sip-external:1] NoOp(“SIP/126.96.36.199-000001fb”, “Received incoming SIP connection from unknown peer to 123”) in new stack
note the 1st one we can know the src ip of attacker . 188.8.131.52
but the 2nd log we have see “unknown peer” " no attacker ip "
how can i debug the src ip of attacker so that in all cases we debug and see src ip who is sending calls to the server ?