[asterisk-users] asterisk network connections
Steve Edwards
asterisk.org at sedwards.com
Fri Feb 17 17:53:17 CST 2012
> On Behalf Of Jonas Kellens
>
> with the command lsof -i I notice the following network connections of the asterisk proces :
>
> asterisk 23006 root 12u IPv4 1088961 UDP *:mgcp-callagent
> asterisk 23006 root 13u IPv4 1088964 TCP *:sieve (LISTEN)
> asterisk 23006 root 16u IPv4 1088966 UDP *:iax
> asterisk 23006 root 17u IPv4 1088967 UDP *:commplex-main
> asterisk 23006 root 18u IPv4 1088968 UDP *:4520
> asterisk 23006 root 20u IPv4 1088969 TCP *:h323hostcall (LISTEN)
> asterisk 23006 root 21u IPv4 1088970 UDP *:sip
>
> Now, iax and sip I find normal...
>
> What is all the rest ??
On Fri, 17 Feb 2012, Danny Nicholas wrote:
> 4520 is for DUNDI. Obviously your install uses H323 in some
> flavor. Mgcp-callagent is for jitterbuffering? And sieve and
> complex-main I have no clue (perhaps H323 tag-alongs)
The service name displayed comes from the services file (/etc/services).
It is only a 'clue.' It is not authoritative, unambiguous, or exhaustive.
For example, on my CentOS dev box:
$ egrep 'commplex-main|mgcp-callagent|sieve' /etc/services
sieve 2000/tcp # Sieve Mail Filter Daemon
sieve 2000/udp # Sieve Mail Filter Daemon
mgcp-callagent 2727/tcp # Media Gateway Control Protocol Call Agent
mgcp-callagent 2727/udp # Media Gateway Control Protocol Call Agent
commplex-main 5000/tcp
commplex-main 5000/udp
I doubt Asterisk is acting as a 'Sieve Mail Filter Daemon' and I don't
have whatever application defines 'complex-main' on your box.
It's the numbers that matter. For example, on my Ubuntu desktop box:
$ egrep '2000|5000' /etc/services
cisco-sccp 2000/tcp sieve # Cisco SCCP
cisco-sccp 2000/udp
So, 2000 is sccp (aka Skinny) and we* still have no clue what 5000 is used
for.
Note that these are the assigned or default port numbers. You could
configure SIP to listen to 5000 (or 2000) if you wanted to -- 'job
security through code obscurity.'
*) I'm just a 1.2 Luddite, so keep that in mind :)
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list