Project

General

Profile

Port Numbers » History » Version 62

jolly, 12/29/2020 11:19 AM
Add OsmoCC Ports

1 1 laforge
h1. List of TCP/UDP Port numbers
2 54 fixeria
3
{{>toc}}
4 11 laforge
5 1 laforge
Below is a list of TCP/UDP port numbers as it is used by Osmocom GSM related software.
6
7 12 laforge
|_.L4|_.Port Number|_.Purpose|_.Software|
8 41 dexter
|UDP|2427|MGCP GW|[[OsmoBSC:Osmo-bsc_mgcp|osmo-bsc_mgcp]], [[OsmoMGW:]]|
9 50 neels
|TCP|2775|SMPP|[[OsmoMSC:]], [[OsmoNITB:]]|
10 39 neels
|SCTP|2905|M3UA|[[OsmoSTP:]]|
11 12 laforge
|TCP|3002|A-bis/IP OML|[[OsmoBTS:]], [[OsmoBSC:]], [[OsmoNITB:]]|
12
|TCP|3003|A-bis/IP RSL|[[OsmoBTS:]], [[OsmoBSC:]], [[OsmoNITB:]]|
13 62 jolly
|TCP|4200-4219|OsmoCC|[[OsmoCC:]]|
14 29 neels
|TCP|4222|GSUP|[[OsmoHLR:]]|
15 45 pespin
|TCP|4236|Control Interface|[[OsmoTRX:]]|
16
|TCP|4237|telnet (VTY)|[[OsmoTRX:]], osmo-pcap-server|
17
|TCP|4238|Control Interface|[[OsmoBTS:]], osmo-pcap-server|
18 26 neels
|TCP|4239|telnet (VTY)|[[OsmoSTP:]]|
19 12 laforge
|TCP|4240|telnet (VTY)|[[OsmoPCU:]], osmo_pcap_client|
20
|TCP|4241|telnet (VTY)|[[OsmoBTS:]], osmo_pcap_server|
21 20 neels
|TCP|4242|telnet (VTY)|[[OsmoNITB:]], [[OsmoBSC:]], [[cellmgr-ng:cellmgr_ng]]|
22 42 neels
|TCP|4243|telnet (VTY)|[[OsmoMGW:]], [[OsmoBSC:Osmo-bsc_mgcp|osmo-bsc_mgcp]]|
23 13 neels
|TCP|4244|telnet (VTY)|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
24 12 laforge
|TCP|4245|telnet (VTY)|[[OsmoSGSN:]]|
25 13 neels
|TCP|4246|telnet (VTY)|[[OpenBSC:osmo-gbproxy]]|
26 12 laforge
|TCP|4247|telnet (VTY)|[[OsmocomBB:]]|
27
|TCP|4249|Control Interface|[[OsmoNITB:]]/[[OsmoBSC:]]|
28 13 neels
|TCP|4250|Control Interface|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
29 12 laforge
|TCP|4251|Control Interface|[[OsmoSGSN:]]|
30 17 neels
|TCP|4252|telnet (VTY)|sysmobts-mgr|
31 16 neels
|TCP|4253|telnet (VTY)|[[OsmoGTPHub]]|
32 37 neels
|TCP|4254|telnet (VTY)|[[OsmoMSC:]]|
33
|TCP|4255|Control Interface|[[OsmoMSC:]]|
34 18 neels
|TCP|4256|telnet (VTY)|[[miscellaneous-projects:Osmo-sip-connector]]|
35 31 laforge
|TCP|4257|Control Interface|[[OpenGGSN:]]/[[OpenGGSN:OsmoGGSN]]|
36 27 neels
|TCP|4258|telnet (VTY)|[[OsmoHLR:]]|
37
|TCP|4259|Control Interface|[[OsmoHLR:]]|
38 36 neels
|TCP|4260|telnet (VTY)|[[OpenGGSN:OsmoGGSN]]|
39 44 neels
|TCP|4261|telnet (VTY)|[[OsmoHNBGW:]]|
40
|TCP|4262|Control Interface|[[OsmoHNBGW:]]|
41 46 daniel
|TCP|4263|Control Interface|[[OpenBSC:osmo-gbproxy]]|
42 48 laforge
|TCP|4264|telnet (VTY)|[[osmo-cbc:]]|
43
|TCP|4265|Control Interface|[[osmo-cbc:]]|
44 49 neels
|UDP|4266|D-GSM MS Lookup: mDNS server|[[osmo-hlr:]]|
45 51 laforge
|TCP|4267|Control Interface|[[osmo-mgw:]]|
46 55 laforge
|TCP|4268|telnet (VTY)|[[osmo-uecups:]]|
47
|SCTP|4268|UECUPS|[[osmo-uecups:]]|
48 57 laforge
|TCP|4269|telnet (VTY)|[[osmo-e1d:]]|
49 58 laforge
|TCP|4271|telnet (VTY)|[[OsmoSMLC:]]|
50
|TCP|4272|Control Interface|[[OsmoSMLC:]]|
51 13 neels
|UDP|4729|GSMTAP|Almost every osmocom project|
52 19 neels
|TCP|5000|A/IP|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
53 20 neels
|UDP|23000|NS-over-IP|[[OsmoSGSN:]],[[OsmoPCU:]],[[OpenBSC:osmo-gbproxy]]|
54 60 neels
|TCP|48049|CBSP (CBC)|[[OsmoBSC:]],[[osmo-cbc:]]|
55 21 neels
56
See also:
57
58
* https://git.osmocom.org/libosmocore/tree/include/osmocom/vty/ports.h
59 61 neels
* https://git.osmocom.org/libosmocore/tree/include/osmocom/ctrl/ports.h
60 21 neels
* https://git.osmocom.org/osmo-gsm-manuals/tree/common/chapters/port_numbers.adoc
61
62
_Modifications should be kept in sync between this wiki page, the header files
63 1 laforge
and the osmo-gsm-manuals._
64 38 laforge
65 47 neels
h2. Port numbers for test programs
66
67
In addition to above ports, when configuring --with-external-tests, the 'make check' build phase might be using below port numbers for VTY/CTRL/... testing. No production program will use these ports.
68
69
|_.L4|_.Port Number|_.Purpose|_.Software|
70
|TCP | 42042 | telnet (VTY) | libosmocore/tests/logging/logging_vty_test |
71
|TCP | 42043 | telnet (VTY) | libosmo-sccp/tests/vty/ss7_asp_vty_test |
72
73 38 laforge
h1. /etc/services
74
75
If you are continuously working with osmocom software, as a convenience helper, you might add something like
76
77
<pre>
78
osmo-pcap-client        4237/tcp
79
osmo-pcap-server        4238/tcp
80
osmo-stp                4239/tcp
81
osmo-pcu                4240/tcp
82
osmo-bts                4241/tcp
83
osmo-bsc                4242/tcp        osmo-nitb
84
osmo-mgw                4243/tcp        osmo-bsc_mgcp
85
osmo-bsc_nat            4244/tcp
86
osmo-sgsn               4245/tcp
87
osmo-gbproxy            4246/tcp
88
osmocombb               4247/tcp
89
sysmobts-mgr            4252/tcp
90
osmo-gtp-hub            4253/tcp
91
osmo-msc                4254/tcp
92
osmo-sip-connector      4256/tcp
93
osmo-hlr                4258/tcp
94
osmo-ggsn               4260/tcp
95 48 laforge
osmo-cbc                4264/tcp
96 56 laforge
osmo-uecups             4268/tcp
97 57 laforge
osmo-e1d                4269/tcp
98 38 laforge
</pre>
99
100
to the end of your @/etc/services@ file.  This will allow you to do something like @telnet localhost osmo-bsc@ rather than having to remember that the number was 4242.
Add picture from clipboard (Maximum size: 48.8 MB)