Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-04 | nat: Show if we are connected to the MSC. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-08-04 | nat: Indent the connected... to make it belong to the BSC group | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-03 | Use new include paths of libosmo-sccp 0.0.2 | Harald Welte | 1 | -1/+1 | |
2010-07-31 | nat: Fix compilation with nat not being enabled. | Holger Hans Peter Freyther | 1 | -0/+1 | |
common_vty.c was including bsc_nat.h which tried to get the sccp/sccp_types.h which is not required to be installed. Move all structs using/embedding SCCP structures into the bsc_nat_sccp.h and include. This should fix the compilation. | |||||
2010-07-27 | nat: Rename ip-tos to ip-dscp and provide an alias... | Holger Hans Peter Freyther | 1 | -5/+11 | |
2010-07-22 | nat: Provide an easy view to see if something is connected to the NAT. | Holger Hans Peter Freyther | 1 | -0/+12 | |
2010-07-22 | nat: Introduce a show statistics-by-lac LAC | Holger Hans Peter Freyther | 1 | -13/+43 | |
Currently show show statistics only work by given the internal configuration number, add a version that is working by LAC of the BSC. | |||||
2010-06-17 | nat: Switch per BSC counters to the rate ctr. | Holger Hans Peter Freyther | 1 | -5/+2 | |
This is switching the simple statistics to the rate counter and is updating all users... | |||||
2010-06-17 | nat: Rename BSC_NODE to NAT_BSC_NODE to avoid future issues. | Holger Hans Peter Freyther | 1 | -10/+10 | |
2010-06-17 | nat: Add the exit/end command to the NAT config nodes. | Holger Hans Peter Freyther | 1 | -0/+4 | |
2010-06-15 | nat: Attempt to update the VTY usage to the latest version | Holger Hans Peter Freyther | 1 | -16/+8 | |
* Install the show commands to be available in the enable mode as well * Provide a copyright header.. | |||||
2010-06-15 | nat: Fix the access-list-name command... | Holger Hans Peter Freyther | 1 | -2/+2 | |
We have added two commands with the same name to the tree.. the second one should have been the BSC... | |||||
2010-06-15 | nat: Allow to specify multiple entries in the access-list... | Holger Hans Peter Freyther | 1 | -8/+27 | |
Inside the access-list we have a list of entries that have either one allow or one deny rule... we do not allow to remove a single rule but one has to remove the whole list, in that case talloc will handle cleaning all entries. Right now the matching is O(n*m) as we traverse the list (multiple times) and run the regexp multiple times. One way to make it faster would be to concat all regexps into one. | |||||
2010-06-15 | nat: Shorten the access-list struct and method names (still way too long) | Holger Hans Peter Freyther | 1 | -8/+8 | |
2010-06-15 | [nat] Implement the removal of an access-list. | Holger Hans Peter Freyther | 1 | -0/+17 | |
2010-06-15 | [nat] Fix the parsing of the access-list regexp... | Holger Hans Peter Freyther | 1 | -2/+2 | |
We need to start at argv[1] for the regexp of this access-list, also subtract one from number of items.. | |||||
2010-06-15 | [nat] Fix VTY bug with access-lists... | Holger Hans Peter Freyther | 1 | -4/+2 | |
vty->index does not hold a BSC Config at this point as we are on the nat level... use the global _nat pointer for now... | |||||
2010-06-15 | [nat] Introduce the concept of access-list | Holger Hans Peter Freyther | 1 | -35/+75 | |
One can set one access-list to one BSC and one access-list to one NAT. The matching of IMSIs remains the same for now, also applying the white/blacklist. Access lists can not be deleted for now and no perf opt is done (e.g. one could cache the result of the last lookup in the bsc struct). | |||||
2010-06-15 | [nat] Add ip-tos option to the nat. | Holger Hans Peter Freyther | 1 | -0/+10 | |
This is applied to all incoming BSC connections. | |||||
2010-06-15 | [nat] Use and print the connection type of a SCCP connection. | Holger Hans Peter Freyther | 1 | -1/+2 | |
2010-06-15 | [nat] Remove the imsi allow option on the nat level. | Holger Hans Peter Freyther | 1 | -13/+0 | |
For now we have: 1.) bsc imsi deny to deny at the BSC level 2.) bsc imsi allow to allow a SIM at the BSC level 3.) nat imsi deny to deny at the global level | |||||
2010-06-15 | [nat] Add a token to the nat config and handle ID GET | Holger Hans Peter Freyther | 1 | -0/+13 | |
This allows to chain a nat with a nat by answering to the id get code and sending the token. | |||||
2010-06-15 | [nat] Add a regexp test command to the VTY. | Holger Hans Peter Freyther | 1 | -0/+19 | |
This allows to test the regexp to be used for allo/deny of the imsi filter. | |||||
2010-06-15 | [nat] Fix the imsi deny config write. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-06-15 | [nat] Allow to set the description for the bsc. | Holger Hans Peter Freyther | 1 | -0/+21 | |
This will allow to add description to each BSC. | |||||
2010-06-15 | [nat] Make the string -> regexp parsing public | Holger Hans Peter Freyther | 1 | -18/+4 | |
This way it can be used from within a test case to test the regexps.. | |||||
2010-06-15 | [nat] Use A.B.C.D for the IP address | Holger Hans Peter Freyther | 1 | -1/+1 | |
The VTY code will then be able to validate the IP Address. | |||||
2010-06-15 | [nat] Remove range checks inside the VTY command. | Holger Hans Peter Freyther | 1 | -6/+0 | |
The ranges are enforced by the VTY code. | |||||
2010-06-15 | nat: Print the MSC status with a new vty command. | Holger Hans Peter Freyther | 1 | -0/+18 | |
2010-06-15 | nat: Make ping/pong timeout configurable. | Holger Hans Peter Freyther | 1 | -0/+33 | |
2010-06-15 | nat: Allow to only show statistics for a given BSC Cfg. | Holger Hans Peter Freyther | 1 | -1/+9 | |
2010-06-15 | nat: Fix vty output for connected BSCs | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-06-15 | nat: Do not use \n in the vty code. | Holger Hans Peter Freyther | 1 | -5/+5 | |
When we really need a newline we need to use VTY_NEWLINE. | |||||
2010-06-15 | nat: Add a command to close a given BSC Connection | Holger Hans Peter Freyther | 1 | -0/+19 | |
This can be used to clear stale connections for a given BSC or to force a reconnect of the BSC. | |||||
2010-06-15 | nat: Print the remote reference as well. | Holger Hans Peter Freyther | 1 | -1/+5 | |
2010-06-15 | nat: Use show bsc config for showing the configuration. | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-06-15 | [nat] Fix the vty option... use the right argument. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-06-15 | [nat] Add option to forbid the paging to the BSC. | Holger Hans Peter Freyther | 1 | -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-15 | nat: Make sccp/bsc show connections more Cisco like... | Holger Hans Peter Freyther | 1 | -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-15 | nat: Remove the SHOW_STR from none show commands. | Holger Freyther | 1 | -3/+3 | |
2010-06-15 | nat: Make the MSC configurable. | Holger Hans Peter Freyther | 1 | -0/+11 | |
2010-06-15 | nat: Move MSC ip address into the config.. | Holger Hans Peter Freyther | 1 | -0/+11 | |
The address can still be specified on the cli and it will overwrite the config in the config file. | |||||
2010-06-15 | nat: Two fixes for the write memory case... | Holger Hans Peter Freyther | 1 | -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-15 | nat: Add config option to filter/handle certain imsi'es. | Holger Hans Peter Freyther | 1 | -0/+74 | |
2010-06-15 | [nat] Add show statistics to the nat | Holger Hans Peter Freyther | 1 | -0/+30 | |
2010-06-15 | [nat] Change the command strings | Holger Hans Peter Freyther | 1 | -3/+3 | |
Put the Target/Object first... Apparently this is more what people that know IOS expect to do. | |||||
2010-06-15 | nat: Print the IP address of the connected BSCs | Holger Hans Peter Freyther | 1 | -2/+7 | |
2010-06-15 | nat: Store the config in the connection instead of the lac | Holger Hans Peter Freyther | 1 | -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-15 | nat: Add logging commands for the nat as well. | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-06-15 | nat: Print the SCCP ref's as hex numbers | Holger Hans Peter Freyther | 1 | -1/+1 | |
This allows to more easily compare the numbers with traces seen in wireshark. |