Project

General

Profile

Port Numbers » History » Version 47

Version 46 (daniel, 05/29/2018 07:06 PM) → Version 47/50 (neels, 09/26/2018 08:03 PM)

{{>toc}}

h1. List of TCP/UDP Port numbers

Below is a list of TCP/UDP port numbers as it is used by Osmocom GSM related software.

|_.L4|_.Port Number|_.Purpose|_.Software|
|UDP|2427|MGCP GW|[[OsmoBSC:Osmo-bsc_mgcp|osmo-bsc_mgcp]], [[OsmoMGW:]]|
|TCP|2775|SMPP|[[OsmoNITB:]]|
|SCTP|2905|M3UA|[[OsmoSTP:]]|
|TCP|3002|A-bis/IP OML|[[OsmoBTS:]], [[OsmoBSC:]], [[OsmoNITB:]]|
|TCP|3003|A-bis/IP RSL|[[OsmoBTS:]], [[OsmoBSC:]], [[OsmoNITB:]]|
|TCP|4222|GSUP|[[OsmoHLR:]]|
|TCP|4236|Control Interface|[[OsmoTRX:]]|
|TCP|4237|telnet (VTY)|[[OsmoTRX:]], osmo-pcap-server|
|TCP|4238|Control Interface|[[OsmoBTS:]], osmo-pcap-server|
|TCP|4239|telnet (VTY)|[[OsmoSTP:]]|
|TCP|4240|telnet (VTY)|[[OsmoPCU:]], osmo_pcap_client|
|TCP|4241|telnet (VTY)|[[OsmoBTS:]], osmo_pcap_server|
|TCP|4242|telnet (VTY)|[[OsmoNITB:]], [[OsmoBSC:]], [[cellmgr-ng:cellmgr_ng]]|
|TCP|4243|telnet (VTY)|[[OsmoMGW:]], [[OsmoBSC:Osmo-bsc_mgcp|osmo-bsc_mgcp]]|
|TCP|4244|telnet (VTY)|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
|TCP|4245|telnet (VTY)|[[OsmoSGSN:]]|
|TCP|4246|telnet (VTY)|[[OpenBSC:osmo-gbproxy]]|
|TCP|4247|telnet (VTY)|[[OsmocomBB:]]|
|TCP|4249|Control Interface|[[OsmoNITB:]]/[[OsmoBSC:]]|
|TCP|4250|Control Interface|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
|TCP|4251|Control Interface|[[OsmoSGSN:]]|
|TCP|4252|telnet (VTY)|sysmobts-mgr|
|TCP|4253|telnet (VTY)|[[OsmoGTPHub]]|
|TCP|4254|telnet (VTY)|[[OsmoMSC:]]|
|TCP|4255|Control Interface|[[OsmoMSC:]]|
|TCP|4256|telnet (VTY)|[[miscellaneous-projects:Osmo-sip-connector]]|
|TCP|4257|Control Interface|[[OpenGGSN:]]/[[OpenGGSN:OsmoGGSN]]|
|TCP|4258|telnet (VTY)|[[OsmoHLR:]]|
|TCP|4259|Control Interface|[[OsmoHLR:]]|
|TCP|4260|telnet (VTY)|[[OpenGGSN:OsmoGGSN]]|
|TCP|4261|telnet (VTY)|[[OsmoHNBGW:]]|
|TCP|4262|Control Interface|[[OsmoHNBGW:]]|
|TCP|4263|Control Interface|[[OpenBSC:osmo-gbproxy]]|
|UDP|4729|GSMTAP|Almost every osmocom project|
|TCP|5000|A/IP|[[OpenBSC:bsc_nat|osmo-bsc_nat]]|
|UDP|23000|NS-over-IP|[[OsmoSGSN:]],[[OsmoPCU:]],[[OpenBSC:osmo-gbproxy]]|

See also:

* https://git.osmocom.org/libosmocore/tree/include/osmocom/vty/ports.h
* https://git.osmocom.org/libosmocore/tree/include/osmocom/ctrl/ports.h
* https://git.osmocom.org/osmo-gsm-manuals/tree/common/chapters/port_numbers.adoc

_Modifications should be kept in sync between this wiki page, the header files
and the osmo-gsm-manuals._

h2. Port numbers for test programs

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.

|_.L4|_.Port Number|_.Purpose|_.Software|
|TCP | 42042 | telnet (VTY) | libosmocore/tests/logging/logging_vty_test |
|TCP | 42043 | telnet (VTY) | libosmo-sccp/tests/vty/ss7_asp_vty_test |

h1. /etc/services

If you are continuously working with osmocom software, as a convenience helper, you might add something like

<pre>
osmo-pcap-client 4237/tcp
osmo-pcap-server 4238/tcp
osmo-stp 4239/tcp
osmo-pcu 4240/tcp
osmo-bts 4241/tcp
osmo-bsc 4242/tcp osmo-nitb
osmo-mgw 4243/tcp osmo-bsc_mgcp
osmo-bsc_nat 4244/tcp
osmo-sgsn 4245/tcp
osmo-gbproxy 4246/tcp
osmocombb 4247/tcp
sysmobts-mgr 4252/tcp
osmo-gtp-hub 4253/tcp
osmo-msc 4254/tcp
osmo-sip-connector 4256/tcp
osmo-hlr 4258/tcp
osmo-ggsn 4260/tcp
</pre>

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)