aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_vty.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-15nat: Fix vty output for connected BSCsHolger Hans Peter Freyther1-1/+1
2010-06-15nat: Do not use \n in the vty code.Holger Hans Peter Freyther1-5/+5
When we really need a newline we need to use VTY_NEWLINE.
2010-06-15nat: Add a command to close a given BSC ConnectionHolger Hans Peter Freyther1-0/+19
This can be used to clear stale connections for a given BSC or to force a reconnect of the BSC.
2010-06-15nat: Print the remote reference as well.Holger Hans Peter Freyther1-1/+5
2010-06-15nat: Use show bsc config for showing the configuration.Holger Hans Peter Freyther1-2/+2
2010-06-15[nat] Fix the vty option... use the right argument.Holger Hans Peter Freyther1-1/+1
2010-06-15[nat] Add option to forbid the paging to the BSC.Holger Hans Peter Freyther1-0/+19
This can be done for testing purposes and to allow making a BTS crash that can not handle paging requests properly.
2010-06-15nat: Make sccp/bsc show connections more Cisco like...Holger Hans Peter Freyther1-4/+4
Second attempt to use a syntax more comparable to 'Cisco', I have never used such a system... let us see how this is going.
2010-06-15nat: Remove the SHOW_STR from none show commands.Holger Freyther1-3/+3
2010-06-15nat: Make the MSC configurable.Holger Hans Peter Freyther1-0/+11
2010-06-15nat: Move MSC ip address into the config..Holger Hans Peter Freyther1-0/+11
The address can still be specified on the cli and it will overwrite the config in the config file.
2010-06-15nat: Two fixes for the write memory case...Holger Hans Peter Freyther1-1/+1
Add new BSCs to the tail so we keep the sort order when writing them out to the vty, fix the LAC command.
2010-06-15nat: Add config option to filter/handle certain imsi'es.Holger Hans Peter Freyther1-0/+74
2010-06-15[nat] Add show statistics to the natHolger Hans Peter Freyther1-0/+30
2010-06-15[nat] Change the command stringsHolger Hans Peter Freyther1-3/+3
Put the Target/Object first... Apparently this is more what people that know IOS expect to do.
2010-06-15nat: Print the IP address of the connected BSCsHolger Hans Peter Freyther1-2/+7
2010-06-15nat: Store the config in the connection instead of the lacHolger Hans Peter Freyther1-4/+7
This allows that we can print the Nr. next to the lac and it allows us to change the lac at runtime without reconnecting the BSC.
2010-06-15nat: Add logging commands for the nat as well.Holger Hans Peter Freyther1-0/+3
2010-06-15nat: Print the SCCP ref's as hex numbersHolger Hans Peter Freyther1-1/+1
This allows to more easily compare the numbers with traces seen in wireshark.
2010-06-15nat: Print the MSC multiplex as wellHolger Hans Peter Freyther1-2/+4
2010-06-15nat: Add MGCP code and parsing to the nat code..Holger Hans Peter Freyther1-0/+3
For the nat we will have NAT and MGCP in the same process and this commit starts with that. We are linking in the MGCP code and one can embed MGCP config snippets...
2010-06-15nat: Verify that the configured LACs are unique across the natHolger Hans Peter Freyther1-0/+9
2010-06-15nat: Start using a write_queue for the BSC connectionHolger Hans Peter Freyther1-1/+1
We are still writing to the BSC directly and don't make real use of this feature right now but we will need to do it.
2010-06-15nat: Redo a merge with master that happend at this time.Holger Hans Peter Freyther1-1/+2
2010-06-15[nat] Add VTY support to the BSC nat applicationHolger Hans Peter Freyther1-0/+207
* Create struct bsc_nat and move the various lists into this structure * Create the VTY code * Call the VTY init and parsing code * Create functions to create the types.. * Add some stuff into the bsc_connection to be used for the NAT with proper config files. E.g. to close the connection if the BSC does not respond to a given command.