Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-18 | misc: Address warnings coming from clang | Holger Hans Peter Freyther | 1 | -1/+0 | |
* Include stdlib.h before the snmp headers to have a free declaration * Use sprintf(dest, "%s", str) to avoid format string attacks * Avoid bogus assignment. This pattern was used for marking something as unused in the past. | |||||
2012-07-01 | adler: Remove the SCTP hack that we needed to force the adler checksum | Holger Hans Peter Freyther | 1 | -3/+0 | |
Remove the hack that was required for inter-op. The equipment will migrate to the CRC32 checksum soon. | |||||
2011-08-10 | sctp: Really apply the MSC workaround | Holger Hans Peter Freyther | 1 | -16/+9 | |
The MSC workaround was added in 5960ba387aa84574fc8b9df20ea98ca1594d1658 but it has never worked as in 8fd28dbbe64cb32e5f296bd2679cebf03b5d14c0 (earlier) we were checking for link->conn != conn in the dispatch method. Move the code over to the generic dispatch and check for NULL. | |||||
2011-08-10 | sctp: Check if there is any other connection with the ASP ident | Holger Hans Peter Freyther | 1 | -0/+15 | |
When we get an ASP UP check if there is any other ASP that is using the same identifier and then complain. | |||||
2011-08-10 | m2ua: Print information about number of SCTP connections | Holger Hans Peter Freyther | 1 | -1/+17 | |
It appears that it is possible to have a stale SCTP connection and this added LOGL_NOTICE and the VTY interface might help to identify this situation in the future (the mean time of failure is about five month). | |||||
2011-05-08 | Adopt to recent libosmocore namespace changes and libosmogsm | Harald Welte | 1 | -10/+10 | |
2011-03-03 | sctp: Mention the link index that got released | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-03-02 | sctp: Use the right link index when sending messages | Holger Hans Peter Freyther | 1 | -1/+1 | |
Stop using the hardcoded link index and use the link index of the link. | |||||
2011-03-02 | sctp: Handle establish request for a wrong ASP | Holger Hans Peter Freyther | 1 | -4/+13 | |
The MSC we test is not sending an ASP Active when the link is unblocked. If the m2ua_link has no connection associated we will forgive the MSC and active it. | |||||
2011-02-25 | sctp: Fix a memory leak on connection failures. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2011-02-25 | sctp: Only handle traffic with the payload type of M2UA | Holger Hans Peter Freyther | 1 | -1/+9 | |
2011-02-25 | sctp: Fail if we fail to enable SCTP events on this socket | Holger Hans Peter Freyther | 1 | -5/+10 | |
Without events we don't have access to the SCTP sndrcvinfo and the ppid in it and we will do bad things like sending M2UA on PPID 0. | |||||
2011-02-23 | vty: Add all mighty new vty interface for osmo-stp | Holger Hans Peter Freyther | 1 | -28/+27 | |
This new interface allows to have multiple linksets, msc connections and ways to connect those in one instance of the osmo-stp. Forbid to reset linksets without an app. | |||||
2011-02-22 | misc: Use llist_add_tail to add new links to the end | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-02-22 | m2ua: Make sure all replies contain the link identifier | Holger Hans Peter Freyther | 1 | -1/+11 | |
2011-02-17 | m2ua: Start link only after we had the emergency alignment | Holger Hans Peter Freyther | 1 | -3/+7 | |
This should avoid us getting an error as we are sending the SLTM too fast. In one way this makes sense, on the other hand we already have too many states and should remove some variables | |||||
2011-02-17 | log: Improve some logging messages across several files. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-02-17 | m2ua: Do nothing on a reset request for now. | Holger Hans Peter Freyther | 1 | -4/+10 | |
Only restart the link test on this link in case the link is present and we need to do things. The link up/down should be controlled in a different way. | |||||
2011-02-17 | m2ua: Keep the M2UA ASP state in the mtp_m2ua_link | Holger Hans Peter Freyther | 1 | -34/+88 | |
This change allows to run multiple links over the same SCTP connection or multiple SCTP connections. It does not yet support fail over handling or load balancing but that seems possible now. | |||||
2011-02-17 | m2ua: Include the interface identifier in the notify message | Holger Hans Peter Freyther | 1 | -2/+5 | |
2011-02-17 | mtp: Make the mtp_link point to a specific type of link | Holger Hans Peter Freyther | 1 | -13/+26 | |
We might want to be able to change the type of a link at runtime. Decouple the link and the actual type of the link. | |||||
2011-02-17 | mtp: Remove the bsc pointer from the MTP LinkSet | Holger Hans Peter Freyther | 1 | -3/+4 | |
2011-02-17 | m2ua: Start to separate the SCTP code and M2UA to allow multiple links | Holger Hans Peter Freyther | 1 | -55/+116 | |
We want to be able to support multiple links over different SCTP connection and in the future also over the same connection. This is the first step to separate the SCTP connection handling from the link handling inside these messages. | |||||
2011-02-17 | bsc: Allocate the bsc with talloc instead | Holger Hans Peter Freyther | 1 | -2/+0 | |
Allocate the bsc with talloc to have a nice root context for everything in the system. | |||||
2011-02-17 | m2ua: Close a huge memory leak in the m2ua code. | Holger Hans Peter Freyther | 1 | -3/+6 | |
2011-01-26 | sctp: Close the socket if we get <= 0 as a result for sctp_rcvmsg | Holger Hans Peter Freyther | 1 | -1/+1 | |
The manpage says that -1 is the indication for error but on 2.6.12 we just ended up in a infinite loop as select shows the socket as readable but a recvmsg does not give any data. | |||||
2011-01-25 | mtp: Fix the logic... close the socket if we are blocked | Holger Hans Peter Freyther | 1 | -1/+1 | |
Thinko or such. | |||||
2011-01-24 | mtp: Make it possible to block a link. | Holger Hans Peter Freyther | 1 | -3/+11 | |
The semantic of a block is to take the physical link down, call mtp_link_down and to make sure that the link remains down and no packets are forwarded there. The unblock call will reset the link and this should get it back into operation again. | |||||
2011-01-22 | pcap: Classify the direction of such a message | Holger Hans Peter Freyther | 1 | -2/+2 | |
2011-01-22 | pcap: Run all pcap operations through one method | Holger Hans Peter Freyther | 1 | -4/+2 | |
2011-01-22 | stats: Count packets on a per link level | Holger Hans Peter Freyther | 1 | -2/+9 | |
2011-01-20 | mtp: Make the input path work on a specific link of the linkset | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-01-20 | m2ua: Write MTP packets to the pcap file if requested. | Holger Hans Peter Freyther | 1 | -1/+10 | |
2011-01-17 | m2ua: Create a MTP Link class using SCTP/M2UA for the transporton-waves/m2ua | Holger Hans Peter Freyther | 1 | -0/+631 | |
This is a MTP Link that can be used with a MTP LinkSet. E.g. with some config changes one could use cellmgr_ng or udt_relay over a M2UA link. |