Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-17 | bsc_api: Move gsm48_rcvmsg into the BSC API and dispatch. | Holger Hans Peter Freyther | 10 | -17/+52 | |
The next step in the way to the BSC API. We have a clear a new connection was opened signal now... and the MSC could use it... | |||||
2010-06-17 | bsc_api: Make paging/silent call work with the subscriber_connection | Holger Hans Peter Freyther | 9 | -29/+26 | |
Do not use the lchan for the paging but operate on the subscriber_connection, change the signals too to not carry the lchan but the subscriber connection... the silent call and vty code still assume there is a lchan inside the subscriber connection. | |||||
2010-06-17 | nat: Rename BSC_NODE to NAT_BSC_NODE to avoid future issues. | Holger Hans Peter Freyther | 3 | -13/+13 | |
2010-06-17 | nat: Add the exit/end command to the NAT config nodes. | Holger Hans Peter Freyther | 1 | -0/+4 | |
2010-06-17 | Merge branch 'on-waves/mgcp' | Holger Hans Peter Freyther | 3 | -2/+28 | |
2010-06-17 | [mgcp] Set the IP_TOS/DSCP on RTP/RTCP IP packets. | Holger Hans Peter Freyther | 3 | -0/+24 | |
2010-06-17 | [mgcp] Only patch RTP packets when they arrived on the RTP port | Holger Hans Peter Freyther | 1 | -2/+4 | |
Do not attempt to patch RTCP packets... | |||||
2010-06-16 | bsc_api: Pass the subscriber connection to the SMS... | Holger Hans Peter Freyther | 3 | -9/+9 | |
2010-06-16 | bsc_api: Remove the _lchan and make the method static.. | Holger Hans Peter Freyther | 2 | -8/+8 | |
2010-06-16 | bsc_api: Remove some more occurences of the lchan. | Holger Hans Peter Freyther | 1 | -5/+1 | |
2010-06-16 | bsc_api: Move BSC API between MSC and RSL code... | Holger Hans Peter Freyther | 3 | -2/+9 | |
The lowlevel BSC paging API is a simple wrapper around the RSL command. The BTS will automatically repeat these messages but if we end up with two MSC inputs we will need to count these messages somewhere... | |||||
2010-06-16 | bsc_api: Operate on the subscriber connection for subscriber management | Holger Hans Peter Freyther | 3 | -7/+6 | |
2010-06-16 | bsc_api: Use gsm_subscriber_connection in rrlp.c | Holger Hans Peter Freyther | 3 | -9/+9 | |
2010-06-16 | bsc_api: Rename lchan_for_subscr to connection_for_subscr and update code | Holger Hans Peter Freyther | 7 | -37/+37 | |
With handover and late/early assignment there might be two channels for one subscriber and only the BSC knows which one to use, so use the gsm_subscriber_connection everywhere... | |||||
2010-06-16 | chan_alloc: Make the lchan_find(bts,subscr) private/internal.. | Holger Hans Peter Freyther | 2 | -4/+1 | |
2010-06-16 | gsm48: Release the "operation" after sending out data... | Holger Hans Peter Freyther | 1 | -3/+2 | |
* With an immediate release we would release the lchan before sending the data... change it. | |||||
2010-06-16 | bsc_api: Remove the lchan from the secure channel code... | Holger Hans Peter Freyther | 1 | -32/+29 | |
The code still needs to stop touching the lchan directly and put stuff into it. | |||||
2010-06-16 | bsc_api: Cut back on direct lchan usage. | Holger Hans Peter Freyther | 3 | -22/+22 | |
2010-06-16 | gsm_subscriber_base: Pass the subscriber as param to avoid crash. | Holger Hans Peter Freyther | 1 | -1/+1 | |
The function we call will take the item from the list and do the right thing. | |||||
2010-06-16 | gsm_04_11: Fix a crash... in case there is a already a connection | Holger Hans Peter Freyther | 1 | -1/+1 | |
If there is a connection, return before paging... otherwise we will delete the SMS twice. | |||||
2010-06-16 | si13: Use the correct pseudo length for the SI13 message | Holger Hans Peter Freyther | 1 | -1/+2 | |
The GSM04.08 Section 10.5.2.19 specifies the L2 Pseudo Length and the length does not include rest octets, so we will need to use a zero for the length. The patch is coming from Dieter Spaar. | |||||
2010-06-15 | nat: Add the OSMO NAT to the build process. | Holger Hans Peter Freyther | 5 | -3/+18 | |
2010-06-15 | nat: Make the test compile, no bssap.c, use log_target | Holger Hans Peter Freyther | 2 | -6/+5 | |
2010-06-15 | nat: Attempt to update the VTY usage to the latest version | Holger Hans Peter Freyther | 2 | -19/+34 | |
* Install the show commands to be available in the enable mode as well * Provide a copyright header.. | |||||
2010-06-15 | nat: Do not use the bssap.h include as it does not exist in this branch. | Holger Hans Peter Freyther | 4 | -5/+5 | |
2010-06-15 | [mgcp] Build a libmgcp.a and link to it. | Holger Hans Peter Freyther | 1 | -4/+5 | |
2010-06-15 | nat: Add NAT_NODE and BSC_NODE for the nat | Holger Hans Peter Freyther | 2 | -0/+22 | |
Implement the go to parent and exit functions for the nat. | |||||
2010-06-15 | nat: Register a debug region for the nat. | Holger Hans Peter Freyther | 2 | -0/+6 | |
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: Add both entries to the tail to keep the order they are inserted | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-06-15 | nat: Allow to specify multiple entries in the access-list... | Holger Hans Peter Freyther | 4 | -20/+92 | |
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 | 4 | -26/+26 | |
2010-06-15 | [nat] Implement the removal of an access-list. | Holger Hans Peter Freyther | 3 | -0/+24 | |
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 | 4 | -51/+152 | |
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 | 3 | -0/+16 | |
This is applied to all incoming BSC connections. | |||||
2010-06-15 | msc: Add msc ip-tos NR option for the BSC | Holger Hans Peter Freyther | 4 | -3/+13 | |
Allow to set the TOS field via the VTY interface. The SO_PRIORITY was not used as it has no effect on the packets being sent (in contrast to the documentation). | |||||
2010-06-15 | [nat] Make the refusal more complicated to support more MSCs | Holger Hans Peter Freyther | 3 | -7/+53 | |
We will need to confirm the connection, then we can send the GSM48 message, then we need to close the connection... the embedding in the refusal method was way too easy.. | |||||
2010-06-15 | [nat] Make create_sccp_src_ref return the SCCP Connection. | Holger Hans Peter Freyther | 4 | -11/+16 | |
Right now it was not possible to just find a connection, by returning the connection that is created we will have direct access to it. It will be used by the local connection handling. | |||||
2010-06-15 | [nat] Remove parameter that is never accessed directly | Holger Hans Peter Freyther | 4 | -4/+4 | |
The msgb needs to be around when we access the parsed structure but that needs to be guranteed by the caller handing out the parsed structure. | |||||
2010-06-15 | [nat] Add the notion of a "local" connection. | Holger Hans Peter Freyther | 2 | -0/+8 | |
A local connection is only between the MUX and the real BSC. We will not forward anything to the MSC. This will be needed for the IMSI filtering as sending a CREF is not liked by every BSC... | |||||
2010-06-15 | [nat] Do not access the con after the removal | Holger Hans Peter Freyther | 1 | -3/+15 | |
In case of a RLC message we will destroy the SCCP connection. This means that accessing the con and con->bsc will access old memory. Keep the status local and move the con into an inner scope. | |||||
2010-06-15 | [nat] Send a GSM48 message within the reject message | Holger Hans Peter Freyther | 1 | -1/+19 | |
2010-06-15 | [nat] Move the SCCP CREF handling into a new method. | Holger Hans Peter Freyther | 1 | -7/+17 | |
We will need to generate messages with a proper reason and it is easier to do that from a dedicated method. | |||||
2010-06-15 | [nat] Use and print the connection type of a SCCP connection. | Holger Hans Peter Freyther | 4 | -1/+21 | |
2010-06-15 | [nat] Set the connection type/reason as out parameter | Holger Hans Peter Freyther | 4 | -5/+34 | |
We are analyzing each CR message and it is nice to know the reason these connections were created. Change the nat method. | |||||
2010-06-15 | [nat] Use the new gsm48 method to parse the MI followed by a classmark. | Holger Hans Peter Freyther | 1 | -22/+9 | |
2010-06-15 | [nat] Let IMSI DETACH and other messages pass by. | Holger Hans Peter Freyther | 1 | -3/+2 | |
2010-06-15 | [nat] Print on which BSC config this happend. | Holger Hans Peter Freyther | 1 | -2/+2 | |