This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Packet filter passing undesired packets?

Hello,

I was reviewing my asterisk log and found a connection attempt from an unexpected peer.

I found the attempt in the astaro log as follows -

2010:05:24-05:24:24 brk ulogd[3437]: id="2016" severity="info" sys="SecureNet" sub="packetfilter" name="SIP call RTP" action="SIP call RTP" fwrule="60018" seq="0" initf="ppp0" outitf="eth0" srcip="188.138.56
.109" dstip="192.168.1.60" proto="17" length="442" tos="0x00" prec="0x00" ttl="52" srcport="5076" dstport="5060"

2010:05:24-05:24:26 brk ulogd[3437]: id="2016" severity="info" sys="SecureNet" sub="packetfilter" name="SIP call RTP" action="SIP call RTP" fwrule="60018" seq="0" initf="ppp0" outitf="eth0" srcip="188.138.56
.109" dstip="192.168.1.60" proto="17" length="459" tos="0x00" prec="0x00" ttl="52" srcport="5065" dstport="5060"


What I don't understand is why this packet would get through?  I have sip enabled, but have a specific server list and the above IP address isn't on the allowed list.

How can I debug why this happened?  I don't see any other reference to that srcip address anywhere else in the logs.  Also, is there any logging of the network definitions when they are resolved?


This thread was automatically locked due to age.
Parents
  • I actually am seeing quite a few SIP call requests from various IP addresses that I know nothing about.  Do I have my ASG configured incorrectly or is this by design?  I know at one point I had "any" in the valid sip services list - but have since removed it.

    full:[May 19 02:58:10] NOTICE[3169] chan_sip.c: Registration from '"2108644564"' failed for '123.220.82.87' - No matching peer found
    full:[May 24 05:24:25] NOTICE[3215] chan_sip.c: Registration from '"1138023622"' failed for '188.138.56.109' - No matching peer found
    full.0:[Mar 14 23:38:05] NOTICE[3186] chan_sip.c: Registration from '"3559869484"' failed for '204.236.208.53' - No matching peer found
    full.0:[Mar 14 23:38:05] NOTICE[3186] chan_sip.c: Registration from '"4036460743"' failed for '204.236.208.53' - No matching peer found
    full.0:[Mar 15 00:35:50] NOTICE[3186] chan_sip.c: Registration from '"1641103481"' failed for '79.125.74.99' - No matching peer found
    full.0:[Mar 15 00:35:50] NOTICE[3186] chan_sip.c: Registration from '"2701718173"' failed for '79.125.74.99' - No matching peer found
    full.0:[Mar 22 11:09:17] NOTICE[3189] chan_sip.c: Registration from '"1964155181"' failed for '184.73.39.77' - No matching peer found
    full.0:[Mar 22 11:09:17] NOTICE[3189] chan_sip.c: Registration from '"3819100423"' failed for '184.73.39.77' - No matching peer found
    full.4:[Mar 29 14:27:25] NOTICE[3252] chan_sip.c: Registration from '"2319608633"' failed for '173.236.13.58' - No matching peer found
    full.4:[Mar 29 14:27:25] NOTICE[3252] chan_sip.c: Registration from '"3430260034"' failed for '173.236.13.58' - No matching peer found
    full.7:[Apr 29 23:57:17] NOTICE[3164] chan_sip.c: Registration from '"1321779073"' failed for '109.170.0.33' - No matching peer found
    full.7:[Apr 29 23:57:17] NOTICE[3164] chan_sip.c: Registration from '"1277051305"' failed for '109.170.0.33' - No matching peer found
    full.7:[May  8 19:51:05] NOTICE[3167] chan_sip.c: Registration from '"1508932559"' failed for '76.76.96.74' - No matching peer found
    full.7:[May  8 19:51:06] NOTICE[3167] chan_sip.c: Registration from '"1675308099"' failed for '76.76.96.74' - No matching peer found
    full.7:[May  9 21:03:59] NOTICE[3167] chan_sip.c: Registration from '"3918458020"' failed for '91.194.85.241' - No matching peer found
    full.7:[May  9 21:03:59] NOTICE[3167] chan_sip.c: Registration from '"2931689350"' failed for '91.194.85.241' - No matching peer found
    full.7:[May 11 04:48:48] NOTICE[3167] chan_sip.c: Registration from '"2335934837"' failed for '210.212.19.216' - No matching peer found
    full.7:[May 11 04:48:48] NOTICE[3167] chan_sip.c: Registration from '"2670130341"' failed for '210.212.19.216' - No matching peer found
    full.8:[May 14 10:07:35] NOTICE[3169] chan_sip.c: Registration from '"3690654403"' failed for '204.93.167.21' - No matching peer found
Reply
  • I actually am seeing quite a few SIP call requests from various IP addresses that I know nothing about.  Do I have my ASG configured incorrectly or is this by design?  I know at one point I had "any" in the valid sip services list - but have since removed it.

    full:[May 19 02:58:10] NOTICE[3169] chan_sip.c: Registration from '"2108644564"' failed for '123.220.82.87' - No matching peer found
    full:[May 24 05:24:25] NOTICE[3215] chan_sip.c: Registration from '"1138023622"' failed for '188.138.56.109' - No matching peer found
    full.0:[Mar 14 23:38:05] NOTICE[3186] chan_sip.c: Registration from '"3559869484"' failed for '204.236.208.53' - No matching peer found
    full.0:[Mar 14 23:38:05] NOTICE[3186] chan_sip.c: Registration from '"4036460743"' failed for '204.236.208.53' - No matching peer found
    full.0:[Mar 15 00:35:50] NOTICE[3186] chan_sip.c: Registration from '"1641103481"' failed for '79.125.74.99' - No matching peer found
    full.0:[Mar 15 00:35:50] NOTICE[3186] chan_sip.c: Registration from '"2701718173"' failed for '79.125.74.99' - No matching peer found
    full.0:[Mar 22 11:09:17] NOTICE[3189] chan_sip.c: Registration from '"1964155181"' failed for '184.73.39.77' - No matching peer found
    full.0:[Mar 22 11:09:17] NOTICE[3189] chan_sip.c: Registration from '"3819100423"' failed for '184.73.39.77' - No matching peer found
    full.4:[Mar 29 14:27:25] NOTICE[3252] chan_sip.c: Registration from '"2319608633"' failed for '173.236.13.58' - No matching peer found
    full.4:[Mar 29 14:27:25] NOTICE[3252] chan_sip.c: Registration from '"3430260034"' failed for '173.236.13.58' - No matching peer found
    full.7:[Apr 29 23:57:17] NOTICE[3164] chan_sip.c: Registration from '"1321779073"' failed for '109.170.0.33' - No matching peer found
    full.7:[Apr 29 23:57:17] NOTICE[3164] chan_sip.c: Registration from '"1277051305"' failed for '109.170.0.33' - No matching peer found
    full.7:[May  8 19:51:05] NOTICE[3167] chan_sip.c: Registration from '"1508932559"' failed for '76.76.96.74' - No matching peer found
    full.7:[May  8 19:51:06] NOTICE[3167] chan_sip.c: Registration from '"1675308099"' failed for '76.76.96.74' - No matching peer found
    full.7:[May  9 21:03:59] NOTICE[3167] chan_sip.c: Registration from '"3918458020"' failed for '91.194.85.241' - No matching peer found
    full.7:[May  9 21:03:59] NOTICE[3167] chan_sip.c: Registration from '"2931689350"' failed for '91.194.85.241' - No matching peer found
    full.7:[May 11 04:48:48] NOTICE[3167] chan_sip.c: Registration from '"2335934837"' failed for '210.212.19.216' - No matching peer found
    full.7:[May 11 04:48:48] NOTICE[3167] chan_sip.c: Registration from '"2670130341"' failed for '210.212.19.216' - No matching peer found
    full.8:[May 14 10:07:35] NOTICE[3169] chan_sip.c: Registration from '"3690654403"' failed for '204.93.167.21' - No matching peer found
Children
No Data