Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-28 | nat: Fix a thinko in allowing '*' as a wildcard... | Holger Hans Peter Freyther | 1 | -2/+2 | |
We need to match everything BUT the wildcard and then do the normal strcmp... | |||||
2010-10-27 | Merge branch 'zecke/number-rewrite'openbsc/0.9.9 | Holger Hans Peter Freyther | 6 | -1/+304 | |
2010-10-27 | Merge branch 'zecke/ussd-side-channel' | Holger Hans Peter Freyther | 4 | -4/+68 | |
2010-10-27 | Require 0.1.27 for the new gsm0808 methods | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-10-27 | nat: Also send a Clear Command in case of the USSD Provider dies | Holger Hans Peter Freyther | 1 | -0/+23 | |
2010-10-27 | nat: Close SCCP connections when the USSD Provider is closed. | Holger Hans Peter Freyther | 3 | -1/+42 | |
Send a RLSD down to the BSC in case the USSD Provider is gone. It is not sending a Clear Command and ut depends if the BS+ will like this kind of behavior. At least the data on the NAT will be freed soon afterwards due the RLC message. | |||||
2010-10-27 | nat: Make clear where the RLSD is send to | Holger Hans Peter Freyther | 1 | -2/+2 | |
Add a _msc to the method as we will send a RLSD to the MSC and will add a method to send it down to the BSC as well. | |||||
2010-10-27 | nat: Look at the number type to figure out if we want to rewrite it | Holger Hans Peter Freyther | 1 | -1/+3 | |
2010-10-27 | nat: Explain that we do not want to have a + in the replacement rule | Holger Hans Peter Freyther | 1 | -0/+6 | |
2010-10-27 | nat: Add '*' as wildcard for the IMSI matching. | Holger Hans Peter Freyther | 1 | -2/+2 | |
In case any rule has a '*' we will always match this rule. | |||||
2010-10-27 | nat: Implement rewriting, have a very basic test for that feature | Holger Hans Peter Freyther | 5 | -4/+250 | |
2010-10-27 | nat: Add hook for rewriting a setup message | Holger Hans Peter Freyther | 3 | -1/+20 | |
Create a new function, hand the data to this function, take back a possible modified msgb and invalidate parsed at this point. | |||||
2010-10-27 | nat: Add vty option for number rewriting | Holger Hans Peter Freyther | 2 | -0/+30 | |
Parse a msg file in case we do have a list. | |||||
2010-10-26 | [vty] First set of fixes for the oml/rsl con dropping | Holger Hans Peter Freyther | 1 | -4/+7 | |
The code had wrong documentation in the VTY, it crashed when OML or RSL was not up yet. These issues are fixed right now. | |||||
2010-10-26 | [vty] Add ipa specific command to provoke failures to test OML/RSL reconnect | Holger Hans Peter Freyther | 1 | -0/+50 | |
We need to simulate OML/RSL failure in an easy and fast way and adding a command to do so seems like a good way to achieve this. The command is a bit misplaced, in one way it is no config and does not belong into the config node but then again it does not belong into the VIEW_NODE either as it is manipulating content. On this merge I have changed it to the ENABLE_NODE. | |||||
2010-10-25 | nat: Forward the data coming from the USSD module to the BSC. | Holger Hans Peter Freyther | 1 | -3/+44 | |
2010-10-25 | nat: Forward extra state and the message to the USSD provider | Holger Hans Peter Freyther | 2 | -4/+39 | |
Forward the SCCP state and the data to the USSD provider, also mark the connection as local. | |||||
2010-10-25 | ipaccess: Add a structure for informing the USSD provider about the state | Holger Hans Peter Freyther | 1 | -0/+12 | |
This is used to inform the USSD provider about the state of the connection. | |||||
2010-10-25 | nat: Implement accepting a USSD Provider connection, do authentication | Holger Hans Peter Freyther | 4 | -1/+205 | |
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 | 2 | -0/+30 | |
We will have the USSD provider connecting to us and we will use the IPA protocol, including the auth mechanism. | |||||
2010-10-25 | nat: Implement the matching of certain USSD messages | Holger Hans Peter Freyther | 1 | -1/+63 | |
Have various checks, check if the IMSI should be handled, if there is a USSD query set and then decode and compare the value. | |||||
2010-10-25 | nat: Add an option to set the query string to match | Holger Hans Peter Freyther | 2 | -0/+16 | |
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: Make the imsi checking function public. | Holger Hans Peter Freyther | 2 | -2/+3 | |
We will use this method in the USSD module to check if the IMSI should be handled for USSD queries. | |||||
2010-10-25 | nat: Provide a USSD access list to check for which to play HLR. | Holger Hans Peter Freyther | 2 | -0/+18 | |
2010-10-25 | nat: Create a USSD module to filter out USSDs... | Holger Hans Peter Freyther | 4 | -1/+43 | |
2010-10-25 | nat: Introduce a new connection type for Supplementary Services | Holger Hans Peter Freyther | 2 | -2/+11 | |
If we have a CM Service Request we will look into the message to see if it is a Supplementary Service Activation. | |||||
2010-10-21 | nat: Move the DTAP unpacking into a new method | Holger Hans Peter Freyther | 2 | -13/+24 | |
DTAP unpacking will be used by the USSD checking code | |||||
2010-10-21 | nat: Copy the IMSI, then free it or move the context to the connection | Holger Hans Peter Freyther | 4 | -10/+32 | |
Extract the IMSI from the first message as well and safe it in the connection structure. The problem is that we do not have this structure at this point, so we will allocate the imsi as child of the bsc_connection and then move/steal it. | |||||
2010-10-21 | nat: Store the IMSI inside the SCCP Connection data | Holger Hans Peter Freyther | 2 | -0/+2 | |
Store the IMSI for the connections that we are tracking, it will be freed when the normnal SCCP connection is freed. | |||||
2010-10-20 | lua: Mention that the code has some bugs... | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-10-20 | lua: Search for clear requests from the network as well | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-10-20 | lua: Check BSSMAP msgtypes in one function.. | Holger Hans Peter Freyther | 1 | -15/+7 | |
2010-10-20 | lua: Check for Cipher Mode Reject failures as well | Holger Hans Peter Freyther | 1 | -0/+13 | |
2010-10-20 | lua: Check for assignment failures | Holger Hans Peter Freyther | 1 | -0/+13 | |
2010-10-20 | lua: Check for disconnects with non normal release too | Holger Hans Peter Freyther | 1 | -0/+38 | |
2010-10-20 | lua: Fix the indenting of the file | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-10-20 | contrib: Add LUA script to store SCCP connections with Errors | Holger Hans Peter Freyther | 1 | -0/+110 | |
Split the trace based on SCCP Connections, in case an error is detected, the trace will be stored instead of being deleted and the full log can be viewed afterwards. Right now only LU Rejects are recognized, but this can be extended to other things as well. | |||||
2010-10-19 | nat: Change the order of the DENY/ALLOW rule for the BSC. | Holger Hans Peter Freyther | 2 | -7/+25 | |
Currently it is not is not easily possible to disable everyone and then only allow certain SIMs. By changing the order we can do: access-list imsi-deny only-something ^[0-9]*$ access-list imsi-allow only-something ^123[0-9]*$ and still keep the usecase of only forbidding certain SIMs on certain LACs. Adjust test case, test that the other cases are still functional. | |||||
2010-10-19 | nat: Convert the ip to host order to allow to bind to other ips | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-10-19 | nat: Add a method to add a proper message to the queue. | Holger Hans Peter Freyther | 2 | -0/+5 | |
This will be used by the USSD module to forward the data without creating another copy of the data. | |||||
2010-10-19 | nat: Find a connection by the real ref | Holger Hans Peter Freyther | 2 | -0/+15 | |
2010-10-19 | nat: Use the make_sock routine to listen for incoming connections. | Holger Hans Peter Freyther | 1 | -38/+4 | |
2010-10-19 | nat: Use strncmp on the string in case it is not null terminated | Holger Hans Peter Freyther | 1 | -1/+2 | |
2010-10-14 | ipaccess: Make sure the unitid is null terminated | Holger Hans Peter Freyther | 1 | -2/+9 | |
The nanoBTS is sending null terminated strings, make sure they are really null terminated. | |||||
2010-10-14 | ipaccess: Verify that the data fits in the package. | Holger Hans Peter Freyther | 1 | -1/+8 | |
There is something wrong with the code, the length is here uint8_t but when we generate a IDGET we put it as 16bit data. | |||||
2010-10-14 | ipaccess: memset the tlv_parsed structure before parsing | Holger Hans Peter Freyther | 1 | -0/+2 | |
Make sure the tlv_parsed structure is initialized properly, otherwise we might detect a tag that should not be present. | |||||
2010-10-13 | nat: Make the write_queue write callback a public function | Holger Hans Peter Freyther | 3 | -12/+15 | |
2010-10-13 | nat: Make the queue routine work on any write_queue | Holger Hans Peter Freyther | 2 | -1/+7 | |
2010-10-13 | ipaccess: Put our extensions to the protocol into the same enum | Holger Hans Peter Freyther | 7 | -9/+11 | |
Rename NAT_IPAC_PROTO_MGCP to IPAC_PROTO_MGCP and place it in the enum. We need to be prepared to change this number if IPA is ever going to use it for something else. |