Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-06 | Tag on-waves 0.3.92 after the merge with masteron-waves/0.3.92 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | Merge remote branch 'origin/master' into on-waves/bsc-master | Holger Hans Peter Freyther | 58 | -916/+1167 | |
* Move to the new log code and update binaries * Catch up with lchan changes from master Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/bsc_rll.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_04_08.c openbsc/src/gsm_04_11.c openbsc/src/gsm_subscriber_base.c openbsc/src/handover_logic.c openbsc/src/silent_call.c openbsc/src/transaction.c openbsc/src/vty_interface.c openbsc/src/vty_interface_cmds.c | |||||
2010-04-06 | Increase version numberon-waves/0.3.91 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | bsc_msc_ip.c: Do not attempt to disconnect when not connected | Holger Hans Peter Freyther | 1 | -0/+2 | |
This is fixing a segfault due calling bsc_unregsiter_fd twice without being in the list. | |||||
2010-04-06 | bsc_msc_ip.c: Crash fix when the MSC disconnects | Holger Hans Peter Freyther | 1 | -2/+12 | |
Check if we do have the msc_data before invoking code in bssap.c. We might have lost the MSC connection and asked for the channel to be taken down but we might have received one last message from the BTS. | |||||
2010-04-06 | nat: Send a RLSD to the network for connections belonging to the BSC | Holger Hans Peter Freyther | 1 | -1/+27 | |
Sending a RLSD with SCCP failure makes the MSC free all the resources (MGCP, audio channels), right now we are ignoring the RLC we get from the network and print a unhandled message. | |||||
2010-04-06 | bsc_msc_ip.c: Register the SIGUSR2 handler... to really handle it. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-04-06 | nat: Print a MSG when receiving unknown SCCP messages. | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-04-06 | nat: Store the config in the connection instead of the lac | Holger Hans Peter Freyther | 5 | -11/+18 | |
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-04-06 | nat: Close the filedescriptor when ignoring the request. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-04-06 | bsc_msc_ip.c: Remove unused variable. | Holger Hans Peter Freyther | 1 | -1/+0 | |
2010-04-06 | [vty] Move the VTY logging commands to a new file | Holger Hans Peter Freyther | 5 | -209/+254 | |
Currently vty_interface.c is used for the BSC config, in case of the MGCP Gateway or the BSC Nat process these logging commands are not available. Move the commands to a new vty_interface_cmds.c file to allow to share basic commands across different programs. | |||||
2010-04-06 | [vty] Add the nat area to the list of categories. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | nat: Add logging commands for the nat as well. | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-04-06 | [mgcp] Add the logging commands for the MGCP command. | Holger Hans Peter Freyther | 2 | -1/+3 | |
2010-04-06 | [vty] Move the VTY logging commands to a new file | Holger Hans Peter Freyther | 5 | -210/+254 | |
Currently vty_interface.c is used for the BSC config, in case of the MGCP Gateway or the BSC Nat process these logging commands are not available. Move the commands to a new vty_interface_cmds.c file to allow to share basic commands across different programs. | |||||
2010-04-06 | nat: Fix thinko... use the right fd to determine the IP of the bts | Holger Hans Peter Freyther | 1 | -1/+1 | |
Use the fd of the BSC Connection to determine the IP address of the BTS as we are seeing it. | |||||
2010-04-06 | nat: Improve the log message and print the errno/strerror(errno) | Holger Hans Peter Freyther | 1 | -1/+2 | |
2010-04-06 | [mgcp] Do not patch RTP payload when type is set to -1. | Holger Hans Peter Freyther | 1 | -0/+3 | |
For the nat we might or might not want to patch it, do not patch if we have no valid rtp payload type. | |||||
2010-04-06 | nat: Set the MGCP audio payload to -1. | Holger Hans Peter Freyther | 1 | -0/+1 | |
This value is copied into the bts_audio_payload when allocating a BTS MGCP endpoint. For the nat we have actually no interest in patching MGCP messages. We will patch them to the network because the code will do it anyway, we will not patch things back to the BTS. | |||||
2010-04-06 | [mgcp] Reset the the address when freeing the endp as well | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-04-06 | Revert "nat: Remember where the BTS is listening for things." | Holger Hans Peter Freyther | 3 | -31/+1 | |
Remove the code to parse port as we need to discover the BTS behind the nat and most likely it will have a different port than the one advertised by the BTS. This reverts commit c6a1fe773d16eb20d4cb1d3097761419436f4537. | |||||
2010-04-06 | nat: Print the unknown byte as a integer instead of charachter | Holger Hans Peter Freyther | 1 | -1/+1 | |
The value might be a non printable one. | |||||
2010-04-06 | bsc_msc.c: Print the error message of the connection. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-06 | nat: Patch IT messages as well.. | Holger Hans Peter Freyther | 1 | -0/+2 | |
We need to patch the source/dest reference inside the messages as well otherwise we will see failures in the SCCP connection on long calls. | |||||
2010-04-06 | nat: Test forwarding Inactivity Test messages. | Holger Hans Peter Freyther | 1 | -0/+19 | |
No change needed to the code. | |||||
2010-04-05 | nat: Close all endpoints used by a BSC when the BSC is gone | Holger Hans Peter Freyther | 3 | -0/+22 | |
Cleanup all endpoints that belonged to a given BSC. This is one part of the cleanup, the other is to bring down the SCCP link properly. | |||||
2010-04-05 | nat: Remember a pending delete on an endpoint and carry it out later | Holger Hans Peter Freyther | 2 | -0/+10 | |
2010-04-05 | [mgcp] Fix navigation in the vty hierachy (make exit work) | Holger Hans Peter Freyther | 1 | -0/+3 | |
Make exit from the MGCP node work properly. | |||||
2010-04-05 | nat: Fix navigation inside the config structure (fix exit) | Holger Hans Peter Freyther | 1 | -0/+9 | |
Make sure exit in nat and nat/bsc is working and we go one level up. | |||||
2010-04-05 | nat: remove is called on already patched connections.. | Holger Hans Peter Freyther | 2 | -5/+5 | |
Fix the test to search for the original message instead of the already patched one that should not find any items anyway. The remove is called on already patched connections so we need to match it with the patch reference count. | |||||
2010-04-05 | bsc_msc_ip: Use the force_free method to free the SCCP connection | Holger Hans Peter Freyther | 1 | -2/+1 | |
Before the connection was not properly removed from the list of connections and our connection list contained a dangling pointer. | |||||
2010-04-05 | [sccp] Add a force_free method for connections | Holger Hans Peter Freyther | 2 | -0/+16 | |
E.g. when the underlying connection transport medium is gone one needs to force to close SCCP connections, add this helper. It will remove the connection from the list of connections and it will free the data. | |||||
2010-04-05 | 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. | |||||
2010-04-05 | nat: Avoid crashing when we have no pending transaction | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-04-05 | nat: Logging improvement for the nat. | Holger Hans Peter Freyther | 4 | -3/+7 | |
Print some more information, e.g. when a BSC is connected and authenticated, print the SCCP ref number. | |||||
2010-04-05 | [mgcp] Reduce this to a debug message... | Holger Hans Peter Freyther | 1 | -1/+1 | |
This message can get in the way during a re-establishment of the MSC connection while the MSCs gateway is still sending data to us. | |||||
2010-04-05 | bsc_msc_ip: Verify that the sccp connection is present. | Holger Hans Peter Freyther | 1 | -1/+2 | |
The SCCP might have been freed by the error case already so we need to check this one for zero. | |||||
2010-04-05 | nat: Print the MSC multiplex as well | Holger Hans Peter Freyther | 1 | -2/+4 | |
2010-04-05 | nat: Remember where the BTS is listening for things. | Holger Hans Peter Freyther | 3 | -1/+31 | |
Extract the port from the BSS's MGCP Gateway so we know where to forward the data to. | |||||
2010-04-05 | nat: No need to match \r\n when parsing the C: N | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-05 | [mgcp] Use a different port to more easily differentiate | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-05 | [mgcp] Print the BTS IP addr of the endpoint. | Holger Hans Peter Freyther | 1 | -2/+3 | |
2010-04-04 | nat: Remove the broken empty line check, follow \n vs \r\n of input | Holger Hans Peter Freyther | 2 | -9/+23 | |
Instead of checking the token for NULL we need to check if running was set to null. Look at the data of the token and check if the line was ending with a \r\n or \n and then when rewriting a line use that line ending as well. Add a new test for that. | |||||
2010-04-04 | [mgcp] Start to look into the MGCP messages and extract the CI | Holger Hans Peter Freyther | 1 | -11/+17 | |
we will need the call identifier for the MDCX and DLCX message for now we were just assuming it would increment, use som python to extract the CI from a possible response, also switch back to a blocking read to test the BSC nat. | |||||
2010-04-04 | [ipa] When including MGCP our messages might be bigger than 300 byte | Holger Hans Peter Freyther | 1 | -1/+1 | |
The length field of the IPA header allows to have 16bit numbers and I just ran into the 300 byte limit with MGCP messages. Make it three times the size and see how long this is going to be enough. | |||||
2010-04-04 | nat: Use a ptr that was allocated by talloc | Holger Hans Peter Freyther | 1 | -1/+1 | |
The endp is part of an array allocated by talloc and simple array members do not qualify as a context start address. | |||||
2010-04-04 | nat: Make rewrite work on string, read to a string first, copy to msgb | Holger Hans Peter Freyther | 3 | -24/+25 | |
The MGCP protocol parsing is adding '\0' to make sure we do not parse beyond where we should parse. This does not mix with strtok or similiar routines. For now we will read the msg into a global array first, then copy it to the msgb for mgcp protocol handling and if we are required to forward it to the MGCP we have a untouched copy we will modify into our own msgb. | |||||
2010-04-04 | [mgcp] Set the right variable to NULL otherwise we get a double free | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-04 | [mgcp] Fix the transaction id of the AUEP request | Holger Hans Peter Freyther | 1 | -1/+1 | |