Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-03 | Rename bsc_nat -> osmo-bsc_nat and bsc_mgcp -> osmo-bsc_mgcp | Harald Welte | 1 | -788/+0 | |
This now enforces a unique structure: All of our main daemon programs start with an "osmo-" prefix. | |||||
2011-02-28 | nat: For debugging make it possible to set the last used endpoint | Holger Hans Peter Freyther | 1 | -0/+27 | |
This will influence the allocator from where to search for the next free endpoint. This can be used to force it to allocate a specific endpoint next. | |||||
2011-02-27 | nat: Change number of multiplexes to the max-endpoints | Holger Hans Peter Freyther | 1 | -7/+9 | |
2011-02-26 | nat: Allocate endpoints from multiple multiplexes. | Holger Hans Peter Freyther | 1 | -7/+10 | |
This code allocates endpoints from multiple multiplexes but will always leave 0x0 and 0x1f unassigned in the multiplex. | |||||
2011-02-26 | nat: Start making the number of multiplexes configurable | Holger Hans Peter Freyther | 1 | -1/+13 | |
Introduce a VTY setting that right now needs to be set to one. To make updating this setting possible we will now store the number of endpoints in the bsc connection as well. | |||||
2011-02-26 | nat: Allocate the endpoint status dynamically | Holger Hans Peter Freyther | 1 | -2/+8 | |
Allocate the status for an endpoint dynamically. We will support BSCs with different amount of multiplexes and need to have this flexibility in the future. Add the proper null checks to the current users of this code. | |||||
2011-02-24 | misc: Compile fixes due 4d54d0b883dcf85cd92290dd4cea51754c70b621 | Holger Hans Peter Freyther | 1 | -2/+4 | |
2011-01-01 | License change: We are now AGPLv3+ instead of GPLv2+ | Harald Welte | 1 | -6/+5 | |
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code. | |||||
2010-10-27 | nat: Add vty option for number rewriting | Holger Hans Peter Freyther | 1 | -0/+25 | |
Parse a msg file in case we do have a list. | |||||
2010-10-25 | nat: Replace the idiom for replacing a string with a function call | Holger Hans Peter Freyther | 1 | -12/+4 | |
Remove a lot of code in favor of a new function that is freeing the old string and copying the new one. I should have gotten the context and the strings right. | |||||
2010-10-25 | nat: Keep a ussd token in the config | Holger Hans Peter Freyther | 1 | -0/+28 | |
We will have the USSD provider connecting to us and we will use the IPA protocol, including the auth mechanism. | |||||
2010-10-25 | nat: Add an option to set the query string to match | Holger Hans Peter Freyther | 1 | -0/+15 | |
Allow the query string to be set. The ussd matching code will check for this string and then forward it to the bypass. | |||||
2010-10-25 | nat: Provide a USSD access list to check for which to play HLR. | Holger Hans Peter Freyther | 1 | -0/+15 | |
2010-10-12 | misc: Replace the idiom for replacing a string with a function call | Holger Hans Peter Freyther | 1 | -15/+5 | |
Remove a lot of code in favor of a new function that is freeing the old string and copying the new one. I should have gotten the context and the strings right. | |||||
2010-10-08 | nat: Allow a BSC to have multiple LACs | Holger Hans Peter Freyther | 1 | -13/+32 | |
Make it possible that one BSC is serving multiple cells. Introduce a list of lacs, add functions to manipulate the lists. The current test cases for paging by lac continue to work. | |||||
2010-09-25 | nat: Print the statistics of the access-list matches | Holger Hans Peter Freyther | 1 | -0/+18 | |
Print the statistics for the rule matches via the vty. | |||||
2010-09-15 | nat: Fix the grammar of the sentence for listing open sccp connections0.9.6 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-29 | nat: Add vty command to show the endpoint allocation status | Holger Hans Peter Freyther | 1 | -0/+26 | |
2010-08-29 | nat: Make the code work in terms of endpoints instead of timeslot/multiplex | Holger Hans Peter Freyther | 1 | -1/+1 | |
We are going to have more than one trunk, so all code hardcoding the multiplex to zero must go. Avoid this kind of problem by saving the MGCP endpoint number and comparing that. | |||||
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 | |