[asterisk-bugs] [JIRA] (ASTERISK-25481) res_pjsip listens on undefined UDP port, even with no transports configured

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Nov 11 07:56:32 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25481:
------------------------------------

    Security: None  (was: Reporter, Bug Marshals, and Digium)

> res_pjsip listens on undefined UDP port, even with no transports configured
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-25481
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25481
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Documentation, pjproject/pjsip
>    Affects Versions: 13.6.0
>         Environment: Debian wheezy x64 (up-to-date), Asterisk 13.6.0, PJSIP 2.4.5
>            Reporter: Peter Pfannenschmid
>         Attachments: menuselect.makeopts
>
>
> Asterisk / PJSIP open at least one unwanted UDP port when being started.
> Steps to reproduce:
> 1) Download, configure, compile and make install PJSIP 2.4.5.
> 2) Download Asterisk 13.6.0, configure and make menuselect *LIKE DESCRIBED BELOW*, then make install.
> 3) Fire up Asterisk by asterisk -gc.
> 4) Using netstat, observe something like:
> >netstat -apnv | grep asterisk
> udp    0      0 192.168.20.48:5060      0.0.0.0:*      26419/asterisk  
> udp    0      0 0.0.0.0:38827           0.0.0.0:*      26419/asterisk
> The first line is expected, of course, but the second isn't. The port shown on the second line changes every time Asterisk is restarted.
> Regarding menuselect: I have slimmed my Asterisk installation as much as it was possible taking my needs into account. This means there is no module which should open an additional port. I have attached my menuselect.makeopts file to facilitate reproducing the issue.
> I have tagged this as critical because Asterisk / PJSIP unexpectedly opening a port is quite threatening, letting aside the fact that it does so on all IP addresses, thereby ignoring the configuration of the transport
> Maybe it's a newbie's fault and I have overlooked something, but on the other hand, I got no answer to that on the mailing list, so obviously the reason for that port being open is unknown, and that is critical, isn't it?



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



More information about the asterisk-bugs mailing list