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
  • Hi,
    what you are seeing there is the SIP helper doing its job.
    I didn't realise that the widening of the SIP helper had been put into production in V7.5xx.

    In the final v8 release there will be a box that you tick to limit the VOIP function. There is a temporary fix in v8beta where you can set a bit that only allows the VOIP phone to talk to sites on the approved list.

    Ian M

    can you please try (form the console, logged in as  root)

    [FONT=Courier New]cc get sip expect_strict[/FONT]

    to  see the current setting, and 

    [FONT=Courier New]cc set sip expect_strict 0[/FONT]    ( to disable strict mode)
    [FONT=Courier New]cc set sip expect_strict 1[/FONT] ( to  enable it again )

    and see if that helps
Reply
  • Hi,
    what you are seeing there is the SIP helper doing its job.
    I didn't realise that the widening of the SIP helper had been put into production in V7.5xx.

    In the final v8 release there will be a box that you tick to limit the VOIP function. There is a temporary fix in v8beta where you can set a bit that only allows the VOIP phone to talk to sites on the approved list.

    Ian M

    can you please try (form the console, logged in as  root)

    [FONT=Courier New]cc get sip expect_strict[/FONT]

    to  see the current setting, and 

    [FONT=Courier New]cc set sip expect_strict 0[/FONT]    ( to disable strict mode)
    [FONT=Courier New]cc set sip expect_strict 1[/FONT] ( to  enable it again )

    and see if that helps
Children
No Data