blob: cca2dd357fdadfd107875db72bdef222378b2d0b [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file ports.h
Neels Hofmeyr56313c82016-09-08 12:58:25 +02002 * TCP port numbers used for VTY interfaces in osmocom projects. See also the
3 * osmocom wiki as well as the osmo-gsm-manuals, which should all be kept in
4 * sync with this file:
5 * https://osmocom.org/projects/cellular-infrastructure/wiki/PortNumbers
6 * https://git.osmocom.org/osmo-gsm-manuals/tree/common/chapters/port_numbers.adoc
7 */
Harald Welte28570a42014-08-21 12:15:59 +02008
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02009#pragma once
10
Pau Espin Pedrol98a7a262018-02-20 14:53:37 +010011/* 4236 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020012#define OSMO_VTY_PORT_TRX 4237
Harald Weltef39aed62014-08-24 16:52:12 +020013/* 4238 used by osmo-bts control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020014#define OSMO_VTY_PORT_STP 4239
15#define OSMO_VTY_PORT_PCU 4240 /* also: osmo_pcap_client */
16#define OSMO_VTY_PORT_BTS 4241 /* also: osmo_pcap_server */
17#define OSMO_VTY_PORT_NITB_BSC 4242
18#define OSMO_VTY_PORT_BSC_MGCP 4243
19#define OSMO_VTY_PORT_MGW OSMO_VTY_PORT_BSC_MGCP
20#define OSMO_VTY_PORT_BSC_NAT 4244
21#define OSMO_VTY_PORT_SGSN 4245
22#define OSMO_VTY_PORT_GBPROXY 4246
23#define OSMO_VTY_PORT_BB 4247
Neels Hofmeyr667e83d2015-11-02 20:18:11 +010024/* 4249-4251 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020025#define OSMO_VTY_PORT_BTSMGR 4252
26#define OSMO_VTY_PORT_GTPHUB 4253
27#define OSMO_VTY_PORT_MSC 4254
Neels Hofmeyr86847142016-02-15 12:02:02 +010028/* 4255 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020029#define OSMO_VTY_PORT_MNCC_SIP 4256
Neels Hofmeyr1a587bd2016-09-08 12:59:08 +020030/* 4257 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020031#define OSMO_VTY_PORT_HLR 4258
Harald Weltebd3bb132017-08-16 23:39:08 +020032/* 4259 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020033#define OSMO_VTY_PORT_GGSN 4260
34#define OSMO_VTY_PORT_HNBGW 4261
Daniel Willmann07f075d2018-05-29 20:55:18 +020035/* 4262-4263 used by control interface */
Oliver Smithd8f89192021-08-06 16:11:16 +020036#define OSMO_VTY_PORT_CBC 4264
37#define OSMO_VTY_PORT_UECUPS 4268
38#define OSMO_VTY_PORT_E1D 4269
39#define OSMO_VTY_PORT_SMLC 4271
Neels Hofmeyr4a7f87c2017-01-30 12:57:47 +010040/* When adding/changing port numbers, keep docs and wiki in sync. See above. */