Project

General

Profile

Port Numbers » History » Version 72

pespin, 08/12/2022 12:16 PM

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 71 pespin
|UDP|1984|Osmux|[[OsmoMGW:]], [[OsmoBTS:]]|
9 41 dexter
|UDP|2427|MGCP GW|[[OsmoBSC:Osmo-bsc_mgcp|osmo-bsc_mgcp]], [[OsmoMGW:]]|
10 50 neels
|TCP|2775|SMPP|[[OsmoMSC:]], [[OsmoNITB:]]|
11 39 neels
|SCTP|2905|M3UA|[[OsmoSTP:]]|
12 12 laforge
|TCP|3002|A-bis/IP OML|[[OsmoBTS:]], [[OsmoBSC:]], [[OsmoNITB:]]|
13
|TCP|3003|A-bis/IP RSL|[[OsmoBTS:]], [[OsmoBSC:]], [[OsmoNITB:]]|
14 63 laforge
|TCP|4200-4219|OsmoCC|[[osmo-cc:]]|
15 29 neels
|TCP|4222|GSUP|[[OsmoHLR:]]|
16 64 osmith
|TCP|4227|telnet (VTY)|[[osmo-pcap:|osmo-pcap-client]]|
17
|TCP|4228|telnet (VTY)|[[osmo-pcap:|osmo-pcap-server]]|
18 1 laforge
|TCP|4236|Control Interface|[[OsmoTRX:]]|
19 64 osmith
|TCP|4237|telnet (VTY)|[[OsmoTRX:]]|
20
|TCP|4238|Control Interface|[[OsmoBTS:]]|
21 12 laforge
|TCP|4239|telnet (VTY)|[[OsmoSTP:]]|
22 65 osmith
|TCP|4240|telnet (VTY)|[[OsmoPCU:]]|
23
|TCP|4241|telnet (VTY)|[[OsmoBTS:]]|
24 42 neels
|TCP|4242|telnet (VTY)|[[OsmoNITB:]], [[OsmoBSC:]], [[cellmgr-ng:cellmgr_ng]]|
25 13 neels
|TCP|4243|telnet (VTY)|[[OsmoMGW:]], [[OsmoBSC:Osmo-bsc_mgcp|osmo-bsc_mgcp]]|
26 12 laforge
|TCP|4244|telnet (VTY)|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
27 13 neels
|TCP|4245|telnet (VTY)|[[OsmoSGSN:]]|
28 12 laforge
|TCP|4246|telnet (VTY)|[[OpenBSC:osmo-gbproxy]]|
29
|TCP|4247|telnet (VTY)|[[OsmocomBB:]]|
30 13 neels
|TCP|4249|Control Interface|[[OsmoNITB:]]/[[OsmoBSC:]]|
31 12 laforge
|TCP|4250|Control Interface|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
32 17 neels
|TCP|4251|Control Interface|[[OsmoSGSN:]]|
33 16 neels
|TCP|4252|telnet (VTY)|sysmobts-mgr|
34 37 neels
|TCP|4253|telnet (VTY)|[[OsmoGTPHub]]|
35
|TCP|4254|telnet (VTY)|[[OsmoMSC:]]|
36 18 neels
|TCP|4255|Control Interface|[[OsmoMSC:]]|
37 31 laforge
|TCP|4256|telnet (VTY)|[[miscellaneous-projects:Osmo-sip-connector]]|
38 27 neels
|TCP|4257|Control Interface|[[OpenGGSN:]]/[[OpenGGSN:OsmoGGSN]]|
39
|TCP|4258|telnet (VTY)|[[OsmoHLR:]]|
40 36 neels
|TCP|4259|Control Interface|[[OsmoHLR:]]|
41 44 neels
|TCP|4260|telnet (VTY)|[[OpenGGSN:OsmoGGSN]]|
42
|TCP|4261|telnet (VTY)|[[OsmoHNBGW:]]|
43 46 daniel
|TCP|4262|Control Interface|[[OsmoHNBGW:]]|
44 48 laforge
|TCP|4263|Control Interface|[[OpenBSC:osmo-gbproxy]]|
45
|TCP|4264|telnet (VTY)|[[osmo-cbc:]]|
46 49 neels
|TCP|4265|Control Interface|[[osmo-cbc:]]|
47 51 laforge
|UDP|4266|D-GSM MS Lookup: mDNS server|[[osmo-hlr:]]|
48 55 laforge
|TCP|4267|Control Interface|[[osmo-mgw:]]|
49
|TCP|4268|telnet (VTY)|[[osmo-uecups:]]|
50 57 laforge
|SCTP|4268|UECUPS|[[osmo-uecups:]]|
51 58 laforge
|TCP|4269|telnet (VTY)|[[osmo-e1d:]]|
52
|TCP|4271|telnet (VTY)|[[OsmoSMLC:]]|
53 13 neels
|TCP|4272|Control Interface|[[OsmoSMLC:]]|
54 67 neels
|TCP|4273|telnet (VTY)|[[OsmohNodeB:]]|
55
|TCP|4274|Control Interface|[[OsmohNodeB:]]|
56
|TCP|4275|telnet (VTY)|[[OsmoUPF:]]|
57
|TCP|4276|Control Interface|[[OsmoUPF:]]|
58 68 neels
|TCP|4277|telnet (VTY)|[[OsmoUPF:osmo-pfcp-tool]]|
59
|TCP|4278|Control Interface|[[OsmoUPF:osmo-pfcp-tool]]|
60 19 neels
|UDP|4729|GSMTAP|Almost every osmocom project|
61 20 neels
|TCP|5000|A/IP|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
62 60 neels
|UDP|23000|NS-over-IP|[[OsmoSGSN:]],[[OsmoPCU:]],[[OpenBSC:osmo-gbproxy]]|
63 21 neels
|TCP|48049|CBSP (CBC)|[[OsmoBSC:]],[[osmo-cbc:]]|
64
65
See also:
66
67 69 laforge
* https://gitea.osmocom.org/osmocom/libosmocore/src/branch/master/include/osmocom/vty/ports.h
68
* https://gitea.osmocom.org/osmocom/libosmocore/src/branch/master/include/osmocom/ctrl/ports.h
69
* https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-manuals/src/branch/master/common/chapters/port_numbers.adoc
70 21 neels
71 1 laforge
_Modifications should be kept in sync between this wiki page, the header files
72 38 laforge
and the osmo-gsm-manuals._
73 47 neels
74
h2. Port numbers for test programs
75
76
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.
77
78
|_.L4|_.Port Number|_.Purpose|_.Software|
79
|TCP | 42042 | telnet (VTY) | libosmocore/tests/logging/logging_vty_test |
80
|TCP | 42043 | telnet (VTY) | libosmo-sccp/tests/vty/ss7_asp_vty_test |
81 38 laforge
82
h1. /etc/services
83
84
If you are continuously working with osmocom software, as a convenience helper, you might add something like
85
86
<pre>
87 65 osmith
osmo-pcap-client        4227/tcp
88
osmo-pcap-server        4228/tcp
89 38 laforge
osmo-stp                4239/tcp
90
osmo-pcu                4240/tcp
91
osmo-bts                4241/tcp
92
osmo-bsc                4242/tcp        osmo-nitb
93
osmo-mgw                4243/tcp        osmo-bsc_mgcp
94
osmo-bsc_nat            4244/tcp
95
osmo-sgsn               4245/tcp
96
osmo-gbproxy            4246/tcp
97
osmocombb               4247/tcp
98
sysmobts-mgr            4252/tcp
99
osmo-gtp-hub            4253/tcp
100
osmo-msc                4254/tcp
101
osmo-sip-connector      4256/tcp
102
osmo-hlr                4258/tcp
103 48 laforge
osmo-ggsn               4260/tcp
104 56 laforge
osmo-cbc                4264/tcp
105 57 laforge
osmo-uecups             4268/tcp
106 38 laforge
osmo-e1d                4269/tcp
107
</pre>
108
109 1 laforge
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.
110 72 pespin
Alternatively, one can find out the ports open for a process running on the system, for instance osmo-bsc, by running command: @ss -lnp | grep osmo-bsc@
Add picture from clipboard (Maximum size: 48.8 MB)