[asterisk-bugs] [JIRA] (ASTERISK-30257) res_pjsip: IP addresses get butchered

N A (JIRA) noreply at issues.asterisk.org
Sun Oct 2 11:43:08 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260394#comment-260394 ] 

N A commented on ASTERISK-30257:
--------------------------------

I wasn't really expecting anything, just reporting it here in case there has been or will be a similar issue with more info.
The initial log messages about the bad packet have "56" and later on it is 556 so at some point somewhere, an extra 6 got added to that octet.
Unfortunately, this happened for a few minutes and then not again, but the packets in questions were from a SIP provider which is what had surprised me.

> res_pjsip: IP addresses get butchered
> -------------------------------------
>
>                 Key: ASTERISK-30257
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30257
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 18.14.0
>            Reporter: N A
>            Assignee: N A
>
> This happened a few times today:
> Note how the 2nd octet gets butchered into nonsense, causing an ACL failure.
> {noformat}
>  [2022-10-02 14:50:43] ERROR[13793]: pjproject: <?>:            sip_transport.c Error processing 100 bytes packet from UDP 173.56.227.13:18599 : PJSIP syntax error exception when parsing 'Request Line' header on line 1 col 1:
> [2022-10-02 14:50:43]        > ▒
> [2022-10-02 14:50:43] ERROR[12886]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("173.566.227.13", "(null)", ...): Name or service not known
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list