aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-11-27README: Add deprecation noteHEADmasterPau Espin Pedrol1-1/+6
Change-Id: I0c6fe9d0c59110211f8cc2ac28ce93b885fd565d
2018-11-27vty: skip installing cmds now always installed by defaultNeels Hofmeyr2-31/+0
Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b Change-Id: I0fc8142756040c98c1862ddb18a77a032f2a7143
2018-11-27tests: Fix build of mtp_parse_testPau Espin Pedrol1-2/+3
Change-Id: I120f015183f05ec8477cdcd9b04379f43e20428d
2018-11-27contrib/jenkins.sh: Update script to fix several issues and use recentPau Espin Pedrol1-30/+39
osmo-ci utils Previous script didn't clean workspace and git repositories were allegedly not being updated, hiding build failures against newer deps. Currently cellmgr-ng is not being maintained and fails to build against recent libosmo-sccp. For that dep repo, tag "old_sua" is used since after that tag, APIs changed considerably and it is known that cellmgr-ng cannot build starting from there. It's up to whoever wants to maintain it to make changes in cellmgr-ng to support newer libosmo-sccp. While building with new jenkins.sh script and "old_sua" tag, still there are some build issues (mostly related to build system), like some Makefile.am files missing some LDFLAGS. Some of them are fixed in follow-up patches. Some other are left as an exercise for whover wants to revive this repo. Change-Id: Ic597664198547ec367d7926d4e401b9734c8cfa9
2017-10-24Make a local releaseHolger Hans Peter Freyther1-0/+6
Change-Id: I32da63d05a45aff50c657fe8640fa997daa668e2
2017-10-23m3ua: Make connection non-blocking to not block other flowsHolger Hans Peter Freyther1-11/+92
Currently the connect is blocking leading to one bad connection (e.g. to a black hole) blocking all other connections leading to bursty traffic. Change-Id: Idfca8acbce09176055da3e577566386e07d7a348
2017-01-23Add gerrit settingsMax1-0/+3
This facilitate the use of "git review" command for gerrit submissions. Change-Id: Ic2df30f053687b6d48232cf04ce22592e1e09a94
2017-01-18build: Remove old left over from before libosmocore..Holger Hans Peter Freyther1-1/+1
Change-Id: Id3c41595475dac06dcdf3a104570640349c8f8bf
2017-01-18build: Link -losmocore last to please Ubuntu linkerHolger Hans Peter Freyther1-4/+4
It seems that the Ubuntu linker is quite picky in where it is looking for symbols. Link libosmocore (and as such talloc) last of the Osmocom libraries. This could fix: gcc -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -DNO_UNIPORTE -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o cellmgr_ng main.o mtp_layer3.o thread.o ipaccess.o pcap.o bss_patch.o bssap_sccp.o bsc_sccp.o bsc_ussd.o links.o msc_conn.o link_udp.o snmp_mtp.o debug.o isup.o mtp_link.o counter.o sccp_state.o bsc.o ss7_application.o vty_interface_legacy.o vty_interface_cmds.o mgcp_patch.o mgcp_callagent.o isup_filter.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -losmosccp -losmoxua -lpthread -lnetsnmp -lcrypto [ 79s] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libosmosccp.so: undefined reference to `talloc_free' Change-Id: I94c87496ebffd41a6217d860b0ca4bed6ff2d24c
2016-08-15debian: Make a new release with systemd service fileHolger Hans Peter Freyther1-0/+8
Change-Id: I51dccafb01c47a543f3223c3502f7b02819bd33f
2016-08-15jenkins: Disable building doxygen help in libosmocoreHolger Hans Peter Freyther1-1/+1
Change-Id: Iec6ad62c01aaaa7300086d130cc5512683f6c565
2016-08-15misc: Ignore some of the generated filesHolger Hans Peter Freyther1-1/+3
Change-Id: Ib50b6df0d843b730418a98907666aba42d20dd1a
2016-08-15tests/vty: Add VTY tests to the osmo-stpHolger Hans Peter Freyther9-22/+121
There seems to be issues with the write handling of the osmo-stp and so far we did not enable vty tests here. Make it possible to enable the tests, fix the VTY strings, change string to OsmoSTP. Change-Id: I547fd4840d86ce16e8589fb63802dd7099781194
2016-08-15debian: Add systemd service fileHolger Hans Peter Freyther2-1/+12
Provide a modern systemd service file for the osmo-stp. The sysvinit file is quite basic and doesn't signal syntax errors nicely. Let us embrace the future. Change-Id: Ic0cc0f17d442aa0ad38de9f0cf8aeb14121938de
2016-08-15misc: Attempt to fix various 64bit compiler warningsHolger Hans Peter Freyther5-6/+6
Change-Id: I4ed058aba15d9fdc22dde99d60df0aabd6585b75
2016-08-14mgcp: Address compiler warning and initializeHolger Hans Peter Freyther1-1/+1
mgcp/mgcp_protocol.c: In function ‘mgcp_handle_message’: /home/ich/install/openbsc/include/osmocom/core/logging.h:59:4: warning: ‘save’ may be used uninitialized in this function [-Wmaybe-uninitialized] logp2(ss, level, __BASE_FILE__, __LINE__, 0, fmt, ##args); \ ^ mgcp/mgcp_protocol.c:368:15: note: ‘save’ was declared here char *elem, *save; Change-Id: I28152373b043c8a5b55a83ac09dd7bafce4d2d66
2016-08-14vty: Adapt the go_parent_cb and fix compiler warningHolger Hans Peter Freyther3-3/+3
The return type changed from enum to int and it is time to catch up with it. vty_interface.c:108:2: warning: initialization from incompatible pointer type .go_parent_cb = ss7_go_parent, ^ vty_interface.c:108:2: warning: (near initialization for ‘vty_info.go_parent_cb’) mgcp_ss7_vty.c:36:2: warning: initialization from incompatible pointer type .go_parent_cb = mgcp_go_parent, ^ mgcp_ss7_vty.c:36:2: warning: (near initialization for ‘vty_info.go_parent_cb’) Change-Id: I8061df697daf79fa57b8313c15f6567ff152f4a5
2016-04-24distcheck: Include .version to fix build on newer versionsHolger Hans Peter Freyther1-0/+2
echo 1.3.0.66-35f9 > ../../.version-t && mv ../../.version-t ../../.version /bin/bash: ../../.version-t: Permission denied Makefile:786: recipe for target '../../.version' failed
2016-04-13jenkins: Add the build script from jenkins hereHolger Hans Peter Freyther1-0/+41
This can be used to replicate a build issue more easily.
2016-03-02logging: Fix logging after introduction of the early checkHolger Hans Peter Freyther1-2/+4
The introduction of a 'if + do {} while' lead to not being able to return the result of the logging anymore. Just return.
2015-10-23m3ua/sccp: Allow to skip T18/T20 TFP/TRA handling completelyHolger Hans Peter Freyther1-2/+12
For M3UA we already skip the link-test handling and there is no point in waiting for management messages to collect routing info. We already know where to send things. At first I tried to overload the skip handling but it is better to just set the timer to 0 and then move on.
2015-10-09Make the 1.4.6 releaseHolger Hans Peter Freyther1-0/+7
2015-10-09m3ua: Make the link up timeout configurable on the systemHolger Hans Peter Freyther1-0/+20
Make it possible to set it. 10s seems to be a very reasonable timeout. It should not really take much longer than that.
2015-10-09m3ua: Start timer to wait for ASPAC_ACKHolger Hans Peter Freyther2-0/+18
For M3UA we should have one time-out for operation we want and then re-transmit it. As this is too much work right now create a single timer that waits that after a connect the ASPAC_ACK state will be reached.
2015-10-09Make the 1.4.5 releaseHolger Hans Peter Freyther1-0/+6
2015-10-09ss7: Mark the link as down after the shutdownHolger Hans Peter Freyther1-1/+3
2015-10-04Prepare the 1.4.4 releaseHolger Hans Peter Freyther1-0/+10
2015-10-04ctr: Count number of dropped messagesHolger Hans Peter Freyther4-0/+10
In case of back pressure we can not send messages quick enough and will drop messages. Add a counter so we can count how often this happened per link/linkset. The SCTP M2UA code is not changed as we don't have a link in the hands and adding it is too risky without tests (not all M2UA have a link index so some might not have a link).
2015-09-21ss7: Make the failure mode configurableHolger Hans Peter Freyther1-0/+27
Try to make it clear that this is only for the IPA bridging mode and not a general setting.
2015-09-21ss7: Allow to force the link down when the IPA conn is going downHolger Hans Peter Freyther3-4/+39
For the "bridging" to IPA mode we can force the SCTP/M3UA connection down. This way the remote STP will do a proper link fail-over procedure instead of the STP throwing data away. This is not configurable yet.
2015-09-21ss7: Inform the application layer that a connection is downHolger Hans Peter Freyther3-0/+16
This can be used to force one connection down while the other is down. E.g. to force SCTP down when the IPA connection is down as well.
2015-08-30sctp: Print the rc and the errno in case of an errorHolger Hans Peter Freyther2-2/+6
Print the errno and RC to give some kind of idea about the error.
2015-04-22debian: Create a new changelog entryHolger Hans Peter Freyther1-1/+7
2015-04-22debian: Create a pidfile and kill based on itHolger Hans Peter Freyther1-11/+5
2015-04-22debian: Create a new changelog entryHolger Hans Peter Freyther1-0/+6
2015-04-22debian: Fix the start scriptHolger Hans Peter Freyther1-3/+3
* It is in sbin and not bin * Daemonize is not supported, let start-stop-daemon do it
2015-04-21vty: Avoid printing "ip (null)" in the saved config fileHolger Hans Peter Freyther1-1/+2
2015-04-21vty: Remember forward-only of the ss7 applicationHolger Hans Peter Freyther1-0/+2
We don't have regression testing here but this could be the correct fix.
2015-04-20debian: Adhere to newer standard versionHolger Hans Peter Freyther3-4/+4
2015-04-20debian: Build new packages with the traffic-mode configHolger Hans Peter Freyther1-1/+7
2015-04-19cellmgr: Attempt to fix the make distcheckHolger Hans Peter Freyther1-1/+1
2015-04-16m3ua: Make the traffic-mode configurableHolger Hans Peter Freyther7-5/+92
2015-04-16debian: Release new version for testingHolger Hans Peter Freyther1-2/+2
2015-04-16Merge branch 'zecke/m3ua'Holger Hans Peter Freyther18-219/+789
2015-03-24m3ua: Send data on stream != 0zecke/m3uaHolger Hans Peter Freyther1-1/+1
RFC4666: The DATA message MUST NOT be sent on stream 0
2015-03-24all: Use the libosmo-sccp version of mtp_level3.hHolger Hans Peter Freyther12-197/+16
2015-03-24m3ua: Use the MTP_READ_DPC/MTP_READ_OPC for using the right PCHolger Hans Peter Freyther1-5/+4
Make the code work for both ISUP and SCCP and let the address handling still be part of the linkset/mtp3 code.
2015-03-24m3ua: Implement link bring-up and sending/receiving of dataHolger Hans Peter Freyther2-2/+346
the opc/dpc for ISUP is currently wrong. The send/recv path for actual SCCP data is not tested.
2015-03-24m3ua: Implement connect and re-connect handlingHolger Hans Peter Freyther2-6/+165
2015-03-24m3ua: Begin to create a m3ua client connectionHolger Hans Peter Freyther5-3/+255
Implement a basic M3UA state machine on a SCTP connection.