[asterisk-bugs] [JIRA] (ASTERISK-25481) Asterisk 13.6.0 with PJSIP 2.4.5 opens unwanted ports

Peter Pfannenschmid (JIRA) noreply at issues.asterisk.org
Tue Oct 20 12:12:33 CDT 2015


Peter Pfannenschmid created ASTERISK-25481:
----------------------------------------------

             Summary: Asterisk 13.6.0 with PJSIP 2.4.5 opens unwanted ports
                 Key: ASTERISK-25481
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25481
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: 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
            Severity: Critical


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 make reproducing the issue possible.

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.




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



More information about the asterisk-bugs mailing list