blob: 8f8ef7581daee3f758f1561d5c24b344fd328a9b [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
Harald Weltef39aed62014-08-24 16:52:12 +020011/* 4238 used by osmo-bts control interface */
Harald Weltef7add082017-04-08 09:34:04 +020012#define OSMO_VTY_PORT_STP 4239
Harald Welte28570a42014-08-21 12:15:59 +020013#define OSMO_VTY_PORT_PCU 4240 /* also: osmo_pcap_client */
14#define OSMO_VTY_PORT_BTS 4241 /* also: osmo_pcap_server */
15#define OSMO_VTY_PORT_NITB_BSC 4242
16#define OSMO_VTY_PORT_BSC_MGCP 4243
17#define OSMO_VTY_PORT_BSC_NAT 4244
18#define OSMO_VTY_PORT_SGSN 4245
19#define OSMO_VTY_PORT_GBPROXY 4246
20#define OSMO_VTY_PORT_BB 4247
Neels Hofmeyr667e83d2015-11-02 20:18:11 +010021/* 4249-4251 used by control interface */
Harald Welte28570a42014-08-21 12:15:59 +020022#define OSMO_VTY_PORT_BTSMGR 4252
Neels Hofmeyr07cf8612015-11-02 20:18:33 +010023#define OSMO_VTY_PORT_GTPHUB 4253
Neels Hofmeyrfa5dc932017-02-23 20:52:18 +010024#define OSMO_VTY_PORT_MSC 4254
Neels Hofmeyr86847142016-02-15 12:02:02 +010025/* 4255 used by control interface */
Holger Hans Peter Freyther793a2902016-03-23 14:48:39 +010026#define OSMO_VTY_PORT_MNCC_SIP 4256
Neels Hofmeyr1a587bd2016-09-08 12:59:08 +020027/* 4257 used by control interface */
Neels Hofmeyr92fa18e2017-01-28 04:02:53 +010028#define OSMO_VTY_PORT_HLR 4258
Neels Hofmeyr4a7f87c2017-01-30 12:57:47 +010029/* When adding/changing port numbers, keep docs and wiki in sync. See above. */