Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 2 | -12/+14 | |
2010-10-13 | nat: Make the queue routine work on any write_queue | Holger Hans Peter Freyther | 1 | -1/+6 | |
2010-10-13 | ipaccess: Put our extensions to the protocol into the same enum | Holger Hans Peter Freyther | 5 | -7/+8 | |
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. | |||||
2010-10-12 | misc: Replace the idiom for replacing a string with a function call | Holger Hans Peter Freyther | 6 | -56/+26 | |
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-12 | socket: Plug resource leak when the listen call is failing. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-10-12 | misc: Attempt to determine byte order in a cross-platform way | Holger Hans Peter Freyther | 2 | -2/+18 | |
OSX does not provide an endian.h, use the other header files that should define/include what we need. Also check that the byteorder define is available. | |||||
2010-10-12 | ussd: Catch up with libosmocore and pass the gsm48_hdr | Holger Hans Peter Freyther | 1 | -1/+3 | |
2010-10-10 | ussd: Move the code libosmocore, increase the version number. | Holger Hans Peter Freyther | 1 | -186/+0 | |
Move the code to libosmocore, update the header file and the version required in the configure.in. | |||||
2010-10-08 | nat: Allow a BSC to have multiple LACs | Holger Hans Peter Freyther | 3 | -19/+82 | |
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-10-07 | msc: Only unregister the fd if the fd value is valid. | Holger Hans Peter Freyther | 1 | -1/+3 | |
This makes sure that someone can call bsc_msc_lost multiple times even if there is no MSC connection. This makes sense as bsc_msc_lost is public and be called from client code. | |||||
2010-10-07 | msc: Stop the connection timeout when we unregister the bfd | Holger Hans Peter Freyther | 1 | -1/+4 | |
When we dropped the connection... stop the timer as we might call bsc_unregister_fd twice... | |||||
2010-10-06 | misc: Once again go from "On Waves" to "On-Waves".. | Holger Hans Peter Freyther | 11 | -11/+11 | |
Try to get the company name of our sponsor right... | |||||
2010-10-05 | [VTY] T3212 scaling is 6 minutes | Dieter Spaar | 1 | -2/+2 | |
The scaling of T3212 is in units of 6 minutes, not 10 minutes. | |||||
2010-10-06 | nat: Possible crash fix, only filter non local connections | Holger Hans Peter Freyther | 1 | -10/+13 | |
For local connections con_msc is not set and sending a RLSD to the network would have ended up in a segfault. | |||||
2010-10-06 | nat: Work around trying to forward a msg to a msc that does not exist | Holger Hans Peter Freyther | 1 | -1/+7 | |
Instead of segfaulting warn the user that the MSC Connection does not exist... | |||||
2010-10-06 | nat: Use the right access list for the stats (found by clang) | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-10-03 | nat: Provide statistics about amount of different messages. | Holger Hans Peter Freyther | 2 | -1/+34 | |
Provide simple statistics on how many LUs, Paging Responses etc. we are seeing in the network. | |||||
2010-09-30 | gsm_04_80: Require libosmocore for creating USSD messages | Holger Hans Peter Freyther | 2 | -139/+2 | |
Use the libosmocore to create USSD messages, increase the minimum version of libosmocore, add header files, remove the code. | |||||
2010-09-30 | gsm0408: Reorder the includes, openbsc first, osmocore second | Holger Hans Peter Freyther | 1 | -6/+7 | |
2010-09-30 | gsm0480: Reorder the includes, openbsc first, osmocore second | Holger Hans Peter Freyther | 1 | -3/+4 | |
2010-09-25 | nat: Keep track of how many connections we reject | Holger Hans Peter Freyther | 2 | -1/+32 | |
Keep track of how many connections we reject due the IMSI filter itself or due not being able to parse the message. | |||||
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-25 | nat: Add statistics to the access-list in the NAT | Holger Hans Peter Freyther | 1 | -0/+22 | |
Count how many times we match a BSC or NAT deny. This will give us the number of how often something should be filtered. | |||||
2010-09-24 | nat: Fix the filter when searching for a identity response | Holger Hans Peter Freyther | 1 | -5/+5 | |
The filter code will return < 0 for error, 0 for unknown subscriber, 1 for subscriber checked. Use the same if construct as for the CR message. This should fix passing LU when it starts with a TMSI of a different network. | |||||
2010-09-24 | mgcp: Return 0 in case transcoding is disabled. | Holger Hans Peter Freyther | 1 | -1/+1 | |
In case transcoding is disabled no error has happened, return a zero. This is fixing starting the nat without transcoding. | |||||
2010-09-21 | auth: Fix AuthTupe re-use condition | Sylvain Munaut | 1 | -1/+1 | |
It's not the key_seq of the last authtuple we must check, but the one sent by the MS. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2010-09-21 | auth: Fix XOR algorithm | Sylvain Munaut | 1 | -1/+1 | |
Thanks to the person on the ml that pointed this bug. Sorry I don't remember who (it was a while ago and somehow didn't got fixed at that time) Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2010-09-20 | mgcp: Count the packets that arrive on the transcoder | Holger Hans Peter Freyther | 2 | -1/+3 | |
2010-09-20 | mgcp: Remove code duplication for filling out the sockaddr_in | Holger Hans Peter Freyther | 1 | -22/+15 | |
Share the send to transcoder sockaddr sending routines. | |||||
2010-09-20 | nat: Send a transcoder reset on start up. | Holger Hans Peter Freyther | 2 | -0/+28 | |
The transcoder RESET is using the same extensions to reset all endpoints on a remote site. This makes sure that all allocations can be made in a properly configured network. | |||||
2010-09-20 | mgcp: Make the base port of the transcoder configurable | Holger Hans Peter Freyther | 3 | -2/+15 | |
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping. | |||||
2010-09-20 | mgcp: Prepare the CRCX/MDCX/DLCX messages for the transcoder. | Holger Hans Peter Freyther | 1 | -0/+102 | |
Send CRCX/MDCX/DLCX to the transcoder, fill out transcoder_end with the interesting data and hope that it is going to work. | |||||
2010-09-20 | mgcp: Forward data from the BTS-in to the transcoder | Holger Hans Peter Freyther | 3 | -8/+126 | |
Bind a new port for the transcoder, forward data from the BTS to the transcoder, and from the transcoder to the network. Leave BTS-IN where it is, BTS-OUT can now be after the transcoding took place. We send the data from the BTS RTP port. This whole route will be guarded by the transcoder_ip and if it is NULL (current default) it will not go through the transcoder. | |||||
2010-09-20 | mgcp: Add ports for the transcoder as well | Holger Hans Peter Freyther | 1 | -0/+27 | |
2010-09-20 | mgcp: Share the range parsing code for net/bts | Holger Hans Peter Freyther | 1 | -14/+20 | |
2010-09-20 | mgcp: Add a transcoder-mgw command to store the address | Holger Hans Peter Freyther | 1 | -0/+17 | |
2010-09-20 | nat: Keep the audio name and default payload around | Holger Hans Peter Freyther | 1 | -5/+0 | |
For all forwarded messages this will not be used, but it is of use for the transcoding. | |||||
2010-09-20 | nat: Use the write_queue inside the CFG. | Holger Hans Peter Freyther | 1 | -38/+39 | |
2010-09-20 | mgcp: Keep the gw_fd inside the mgcp_config | Holger Hans Peter Freyther | 1 | -12/+11 | |
Move the bfd from a static var into the mgcp_config. | |||||
2010-09-20 | mgcp: Be able to parse 'sendonly' for the connection mode. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-09-20 | mgcp: Switch the default audio codec to AMR | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-09-20 | nat: NULL check the allocation and print a nice warning. | Holger Hans Peter Freyther | 1 | -0/+6 | |
2010-09-18 | janitor: Move the * to the variable name | Holger Hans Peter Freyther | 10 | -14/+14 | |
2010-09-17 | gsm 04.11: increase the delivery attempt counter for an SMS right away in ↵ | Nico Golde | 1 | -1/+1 | |
gsm411_send_sms Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> | |||||
2010-09-16 | bsc: Fix the clear to release resources first, then set to NULL | Holger Hans Peter Freyther | 1 | -9/+7 | |
This is fixing a crash reported by Nico. Somehow I staged an unfinished version of this code. The crash should be gone. | |||||
2010-09-16 | gsm_04_11: count SMS delivery attempts for each CP-DATA | Nico Golde | 1 | -0/+2 | |
Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> |