Project

General

Profile

Port Numbers » History » Version 48

laforge, 05/08/2019 01:48 PM
add osmo-cbc

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