Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-05-05 | Another version... another tryon-waves/0.3.99.7 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-05-05 | nat: Fix bad bug, make sure the fd is not overwritten.. | Holger Hans Peter Freyther | 1 | -11/+11 | |
The adding of the innocent looking code was actually overwrote the fd and then stupid things happened. Rename variables to avoid that. rc,ret should be scratch variables... | |||||
2010-05-05 | Bump the version for TCP_NODELAY.on-waves/0.3.99.6 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-05-05 | bsc_msc_ip: Attempt to disable nagle | Holger Hans Peter Freyther | 1 | -0/+7 | |
Use TCP_NODELAY on the connection to the MSC. We want small messages to be send immediately. | |||||
2010-05-05 | nat: Use TCP_NODELAY for the connection to the BSC. | Holger Hans Peter Freyther | 1 | -1/+7 | |
We do not want to use NAGLE for the BSC connection. | |||||
2010-05-05 | Bump versionon-waves/0.3.99.5 | Holger Hans Peter Freyther | 1 | -1/+1 | |
Configurable timeout. | |||||
2010-05-05 | bsc_msc_ip: Add VTY code for ping/pong timeout. | Holger Hans Peter Freyther | 1 | -0/+21 | |
2010-05-05 | bsc_msc_ip: Do not send a ping when the timeout is negative | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-05-05 | bsc_msc_ip: Make the ping/pong timeouts configurable | Holger Hans Peter Freyther | 3 | -2/+6 | |
Take the timeouts from the struct. | |||||
2010-05-05 | nat: Improve log messages. Refer to ip and fd. | Holger Hans Peter Freyther | 1 | -3/+6 | |
2010-05-05 | nat: Make ping/pong timeout configurable. | Holger Hans Peter Freyther | 4 | -3/+47 | |
2010-05-03 | Work with later libosmocore.on-waves/0.3.99.4 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-05-03 | move gsm48_construct_ra() to libosmocore | Harald Welte | 1 | -27/+0 | |
2010-05-03 | 'struct gprs_ra_id' is now defined in libosmocore | Harald Welte | 1 | -8/+0 | |
2010-05-03 | Bump version..on-waves/0.3.99.3 | Holger Hans Peter Freyther | 1 | -1/+1 | |
* ping pong and possible crash fix. | |||||
2010-05-03 | bsc: Speculative crash fix. | Holger Hans Peter Freyther | 1 | -0/+1 | |
Make sure the sccp_cc_timeout is stopped when we delete the associated data. There is one crash report that indicates that we have a pending timer that is inside freed memory. A crash could have occured when the connection to the MSC was lost while have unconfirmed connections. | |||||
2010-05-03 | nat/bsc: Send PONG on PING, send PING from the BSC too | Holger Hans Peter Freyther | 2 | -6/+70 | |
We do want to send PING/PONG in both ways to have a heartbeat on the TCP connection. When switching over to SCTP we can rely on the builtin heartbeat functionality. | |||||
2010-05-02 | nat: Send a IPA PING down the stream and wait for the pong. | Holger Hans Peter Freyther | 2 | -0/+59 | |
We will send a ping every 20 seconds and if we have no pong within 5 seconds we will close down the BSC connection and wait for a reconnect. We will start this after having authenticated the BSC and we stop the timer when destructing the BSC connection. | |||||
2010-05-02 | nat: Allow to only show statistics for a given BSC Cfg. | Holger Hans Peter Freyther | 1 | -1/+9 | |
2010-05-02 | nat: Do not allow a BSC to send auth messages twice. | Holger Hans Peter Freyther | 1 | -0/+6 | |
2010-05-02 | nat: Fix vty output for connected BSCs | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-05-01 | bssap: Store the link_id in the new msgb->cb. | Holger Hans Peter Freyther | 1 | -4/+6 | |
Work with a new version of libosmocore that gets rid of additional pointers. | |||||
2010-05-01 | remove any reference to 'struct gsm_bts_link' | Holger Hans Peter Freyther | 2 | -7/+0 | |
2010-05-01 | gsm_04_11.c: Use msgb->l4h instead of sms->smsh, as the latter is gone | Harald Welte | 1 | -1/+1 | |
2010-05-01 | configure.in: Bump the version due mem leak fixes.on-waves/0.3.99.2 | Holger Hans Peter Freyther | 1 | -1/+1 | |
The nat is stable and in testing.. | |||||
2010-05-01 | nat: Improve log message and refer to the BSC that was lost. | Holger Hans Peter Freyther | 1 | -2/+6 | |
2010-05-01 | nat: Fix memory leak... in MGCP forwarding | Holger Hans Peter Freyther | 1 | -0/+1 | |
The code needs to be refactored but this is fixing the leak for now. We used to forward everything to the BSC but now we handle the DLCX locally and this means we need to clear the patched message. We should refactor it to not generate the patched msg until a lot later. | |||||
2010-04-30 | [vty] Free the matched at the end of the routine. | Holger Hans Peter Freyther | 1 | -4/+0 | |
Remove the return from the case labels and cleanup at the end matched array at the end of the routine. | |||||
2010-04-30 | [vty] Plug memory leak on auto completion. | Holger Hans Peter Freyther | 1 | -1/+3 | |
I assume the original code crashed with a double free as we have a cleanup at the end of the method. Return from the routine like the case label below. This is fixing a memory leak I am experimenting. | |||||
2010-04-30 | [vty] Allow to create a buffer in a given context. | Holger Hans Peter Freyther | 4 | -6/+6 | |
Stop using the global vty context for all allocations and allow to embed the buffer into a given context, and allocate sub buffers with the context of its parent. | |||||
2010-04-30 | [vty] Move some allocations into the context of the vty. | Holger Hans Peter Freyther | 1 | -5/+5 | |
2010-04-30 | [vty] Remove FIXME as it appears to do the right thing. | Holger Hans Peter Freyther | 1 | -2/+1 | |
2010-04-30 | nat: Report some more contexts | Holger Hans Peter Freyther | 1 | -1/+11 | |
2010-04-29 | [mgcp] Remove talloc.h header. | Holger Hans Peter Freyther | 1 | -1/+0 | |
2010-04-27 | nat: Do not use \n in the vty code. | Holger Hans Peter Freyther | 1 | -5/+5 | |
When we really need a newline we need to use VTY_NEWLINE. | |||||
2010-04-27 | nat: Add a command to close a given BSC Connection | Holger Hans Peter Freyther | 3 | -5/+24 | |
This can be used to clear stale connections for a given BSC or to force a reconnect of the BSC. | |||||
2010-04-27 | nat: Print the remote reference as well. | Holger Hans Peter Freyther | 1 | -1/+5 | |
2010-04-26 | Bump the version of OpenBSC.on-waves/0.3.99.1 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-26 | [ts] Make the e1inp_ts delay configurable | Holger Hans Peter Freyther | 5 | -2/+14 | |
Currently the nanoBTS bootstrap code requires a high delay otherwise we are not bringing the device up properly. Changing the init code turns out harder than it seems like. So this is a workaround for that to allow a high speed RSL/OML connection after the bringup. The line driver can have a default TS delay. It is set to the current default for the nanoBTS and the BS11. For the ipaccess case we will set the delay lower for the RSL connection and inside the ipaccess-config we can set it low right away to have fast firmware flashing and such. | |||||
2010-04-26 | ipaccess: Restore the original delay for the nanoBTS delay. | Holger Hans Peter Freyther | 1 | -2/+1 | |
2010-04-26 | bsc_init: Do not use magic numbers for GSM 12.21 states. | Holger Hans Peter Freyther | 1 | -6/+6 | |
2010-04-26 | bsc_init: Remove printf that sneaked in. | Holger Hans Peter Freyther | 1 | -2/+0 | |
2010-04-24 | nat: Release the transaction id earlier, always reset the BSC | Holger Hans Peter Freyther | 1 | -6/+8 | |
In case we can not find the SCCP connection we still want to free any pending transaction ids and reset the BSC inside the endpoint. In most cases this should be already done when the SCCP connection or the whole BSC is gone. | |||||
2010-04-24 | [mgcp] Possible memleak fix for the allowed reallocation case | Holger Hans Peter Freyther | 1 | -0/+1 | |
When allowing to reallocate an allocated endpoint we will need to free it first. When freeing we will free the call id and other ids that we would have leaked otherwise. | |||||
2010-04-24 | nat: Attempt to clarify the text inside the log message. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-23 | nat: Allocate a named context to make dumping allocations possible | Holger Hans Peter Freyther | 1 | -0/+1 | |
This is fixing the SIGUSR1 to really report the allocated memory on stderr. | |||||
2010-04-23 | bsc_msc_ip: Add a timeout for waiting for the CC of the network | Holger Hans Peter Freyther | 2 | -20/+47 | |
Start a timeout to wait for the CC of the network and if it does not come in time we will abort the connection and take down the allocated lchans. | |||||
2010-04-23 | nat: Only close connections that were fully connected | Holger Hans Peter Freyther | 3 | -1/+4 | |
Remember that we have seen a CC and have a valid destination local reference now and only send a fake RLC to the MSC when we had connections in this state. | |||||
2010-04-23 | nat: When having a proper close down, or a short read close the connection | Holger Hans Peter Freyther | 1 | -9/+8 | |
For now close the connection when having a short read. This might be due a network issue (loss of segment) or similiar. As we are not handling these issues well, let us close the connection. | |||||
2010-04-22 | nat: Only send DLCX when we have send a CRCX to the BSC on this endpoint | Holger Hans Peter Freyther | 2 | -1/+4 | |