Fork 0
Commit Graph

429 Commits

Author SHA1 Message Date
Oliver Smith 3ebec515f5 debian/control: remove dh-systemd build-depend
Related: OS#5223
Change-Id: I90c4723034a7fcd29421ef825b958dbdbb594dc2
2021-09-01 16:07:05 +02:00
Oliver Smith 3167d74c0b debian/control: put build-depends in own lines
Related: OS#5223
Change-Id: I5d085695d4bdd2aaac4105c129e423d27be63a3e
2021-09-01 16:03:16 +02:00
Pau Espin 72e29f57ee README: Add deprecation note
Change-Id: I0c6fe9d0c59110211f8cc2ac28ce93b885fd565d
2018-11-27 16:33:45 +01:00
Neels Hofmeyr fd7a290b0c vty: skip installing cmds now always installed by default
Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b
Change-Id: I0fc8142756040c98c1862ddb18a77a032f2a7143
2018-11-27 16:33:45 +01:00
Pau Espin ca1c33a29b tests: Fix build of mtp_parse_test
Change-Id: I120f015183f05ec8477cdcd9b04379f43e20428d
2018-11-27 12:48:16 +01:00
Pau Espin 3bd747e3af contrib/jenkins.sh: Update script to fix several issues and use recent
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
2018-11-27 12:48:15 +01:00
Holger Hans Peter Freyther 6501764354 Make a local release
Change-Id: I32da63d05a45aff50c657fe8640fa997daa668e2
2017-10-24 19:47:11 +08:00
Holger Hans Peter Freyther 1bf8a4e42a m3ua: Make connection non-blocking to not block other flows
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-10-23 11:55:28 +08:00
Max a6d27a62ed Add gerrit settings
This facilitate the use of "git review" command for gerrit submissions.

Change-Id: Ic2df30f053687b6d48232cf04ce22592e1e09a94
2017-01-23 11:56:34 +00:00
Holger Hans Peter Freyther bfa6d0703f build: Remove old left over from before libosmocore..
Change-Id: Id3c41595475dac06dcdf3a104570640349c8f8bf
2017-01-18 09:23:31 +01:00
Holger Hans Peter Freyther 9e0723fb6d build: Link -losmocore last to please Ubuntu linker
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
2017-01-18 09:13:43 +01:00
Holger Hans Peter Freyther 2012f40ec3 debian: Make a new release with systemd service file
Change-Id: I51dccafb01c47a543f3223c3502f7b02819bd33f
2016-08-15 14:02:11 +02:00
Holger Hans Peter Freyther 8ddafcc5ac jenkins: Disable building doxygen help in libosmocore
Change-Id: Iec6ad62c01aaaa7300086d130cc5512683f6c565
2016-08-15 13:57:20 +02:00
Holger Hans Peter Freyther f192e55666 misc: Ignore some of the generated files
Change-Id: Ib50b6df0d843b730418a98907666aba42d20dd1a
2016-08-15 13:56:19 +02:00
Holger Hans Peter Freyther 368e549a92 tests/vty: Add VTY tests to the osmo-stp
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-15 13:36:25 +02:00
Holger Hans Peter Freyther b1d46b4488 debian: Add systemd service file
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-15 13:36:25 +02:00
Holger Hans Peter Freyther f3afabe989 misc: Attempt to fix various 64bit compiler warnings
Change-Id: I4ed058aba15d9fdc22dde99d60df0aabd6585b75
2016-08-15 13:36:11 +02:00
Holger Hans Peter Freyther baaa66c445 mgcp: Address compiler warning and initialize
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-14 08:18:34 +02:00
Holger Hans Peter Freyther e0b626adc0 vty: Adapt the go_parent_cb and fix compiler warning
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-08-14 08:18:33 +02:00
Holger Hans Peter Freyther 6dd4499ea9 distcheck: Include .version to fix build on newer versions
echo > ../../.version-t && mv ../../.version-t ../../.version
/bin/bash: ../../.version-t: Permission denied
Makefile:786: recipe for target '../../.version' failed
2016-04-24 10:28:37 +02:00
Holger Hans Peter Freyther 35f9136d76 jenkins: Add the build script from jenkins here
This can be used to replicate a build issue more easily.
2016-04-13 18:58:26 -04:00
Holger Hans Peter Freyther db3684ee61 logging: Fix logging after introduction of the early check
The introduction of a 'if + do {} while' lead to not being able to
return the result of the logging anymore. Just return.
2016-03-02 17:45:56 +01:00
Holger Hans Peter Freyther 72722c34b0 m3ua/sccp: Allow to skip T18/T20 TFP/TRA handling completely
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-23 14:06:36 +08:00
Holger Hans Peter Freyther 68acda7f22 Make the 1.4.6 release 2015-10-09 14:52:26 +02:00
Holger Hans Peter Freyther a41c992c12 m3ua: Make the link up timeout configurable on the system
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-09 14:48:05 +02:00
Holger Hans Peter Freyther e948224d44 m3ua: Start timer to wait for ASPAC_ACK
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-09 14:43:12 +02:00
Holger Hans Peter Freyther f0c65696a4 Make the 1.4.5 release 2015-10-09 12:54:10 +02:00
Holger Hans Peter Freyther 2c33e2a81e ss7: Mark the link as down after the shutdown 2015-10-09 12:10:49 +02:00
Holger Hans Peter Freyther 38d37c598c Prepare the 1.4.4 release 2015-10-04 18:40:45 +02:00
Holger Hans Peter Freyther 1a1aa0c739 ctr: Count number of dropped messages
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-10-04 15:24:27 +02:00
Holger Hans Peter Freyther 2f79ae9b66 ss7: Make the failure mode configurable
Try to make it clear that this is only for the IPA bridging
mode and not a general setting.
2015-09-21 16:52:03 +02:00
Holger Hans Peter Freyther b492e86e4f ss7: Allow to force the link down when the IPA conn is going down
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-21 16:43:20 +02:00
Holger Hans Peter Freyther 78f5060c62 ss7: Inform the application layer that a connection is down
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-09-21 15:47:10 +02:00
Holger Hans Peter Freyther d5be846c92 sctp: Print the rc and the errno in case of an error
Print the errno and RC to give some kind of idea about
the error.
2015-08-30 22:55:54 +02:00
Holger Hans Peter Freyther e3e6944cfe debian: Create a new changelog entry 2015-04-22 11:40:47 -04:00
Holger Hans Peter Freyther 29f38d3240 debian: Create a pidfile and kill based on it 2015-04-22 11:39:19 -04:00
Holger Hans Peter Freyther 2f3f851357 debian: Create a new changelog entry 2015-04-22 09:52:00 -04:00
Holger Hans Peter Freyther d9298692b0 debian: Fix the start script
* It is in sbin and not bin
* Daemonize is not supported, let start-stop-daemon do it
2015-04-22 09:49:38 -04:00
Holger Hans Peter Freyther c5950d7c60 vty: Avoid printing "ip (null)" in the saved config file 2015-04-21 13:08:35 -04:00
Holger Hans Peter Freyther e2aba7d0d0 vty: Remember forward-only of the ss7 application
We don't have regression testing here but this could be
the correct fix.
2015-04-21 13:06:34 -04:00
Holger Hans Peter Freyther 070139387b debian: Adhere to newer standard version 2015-04-20 03:15:53 +02:00
Holger Hans Peter Freyther 43a87e3123 debian: Build new packages with the traffic-mode config 2015-04-20 03:07:55 +02:00
Holger Hans Peter Freyther 1a3ceaf9a5 cellmgr: Attempt to fix the make distcheck 2015-04-19 20:52:11 -04:00
Holger Hans Peter Freyther 6a441c86fe m3ua: Make the traffic-mode configurable 2015-04-16 22:32:09 +02:00
Holger Hans Peter Freyther 0bcf47ba05 debian: Release new version for testing 2015-04-16 20:30:32 +02:00
Holger Hans Peter Freyther 5c25c78ec7 Merge branch 'zecke/m3ua' 2015-04-16 14:27:24 -04:00
Holger Hans Peter Freyther 71477e1342 m3ua: Send data on stream != 0
 The DATA message MUST NOT be sent on stream 0
2015-03-24 21:14:18 +01:00
Holger Hans Peter Freyther 316168249f all: Use the libosmo-sccp version of mtp_level3.h 2015-03-24 19:24:22 +01:00
Holger Hans Peter Freyther ebdbc11403 m3ua: Use the MTP_READ_DPC/MTP_READ_OPC for using the right PC
Make the code work for both ISUP and SCCP and let the address
handling still be part of the linkset/mtp3 code.
2015-03-24 19:21:01 +01:00
Holger Hans Peter Freyther d1df399a97 m3ua: Implement link bring-up and sending/receiving of data
the opc/dpc for ISUP is currently wrong. The send/recv path
for actual SCCP data is not tested.
2015-03-24 18:53:21 +01:00