Attention is currently required from: lynxis lazus, pespin.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/38410?usp=email
to look at the new patch set (#6).
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: vlr: add a logging layer
......................................................................
vlr: add a logging layer
To prepare the split off into a separate library,
the logging can't use log category from a define.
Use the same strategy as all the other osmo libraries and
use a global array which is set on initialisation to define the logging
categories.
Change-Id: I6d87b38d6d7d704c7c7b2c90ad12187e4b953b8b
---
M include/osmocom/vlr/vlr.h
M src/libmsc/gsm_04_08.c
M src/libmsc/msc_net_init.c
M src/libvlr/vlr.c
M src/libvlr/vlr_access_req_fsm.c
M src/libvlr/vlr_access_req_fsm.h
M src/libvlr/vlr_auth_fsm.c
M src/libvlr/vlr_core.h
M src/libvlr/vlr_lu_fsm.c
M src/libvlr/vlr_lu_fsm.h
M src/libvlr/vlr_sgs.c
M src/libvlr/vlr_sgs_fsm.c
M src/libvlr/vlr_sgs_fsm.h
M tests/msc_vlr/msc_vlr_test_authen_reuse.err
M tests/msc_vlr/msc_vlr_test_call.err
M tests/msc_vlr/msc_vlr_test_gsm_authen.err
M tests/msc_vlr/msc_vlr_test_gsm_ciph.err
M tests/msc_vlr/msc_vlr_test_hlr_reject.err
M tests/msc_vlr/msc_vlr_test_hlr_timeout.err
M tests/msc_vlr/msc_vlr_test_ms_timeout.err
M tests/msc_vlr/msc_vlr_test_no_authen.err
M tests/msc_vlr/msc_vlr_test_reject_concurrency.err
M tests/msc_vlr/msc_vlr_test_rest.err
M tests/msc_vlr/msc_vlr_test_ss.err
M tests/msc_vlr/msc_vlr_test_umts_authen.err
M tests/msc_vlr/msc_vlr_tests.c
26 files changed, 314 insertions(+), 244 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/10/38410/6
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38410?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I6d87b38d6d7d704c7c7b2c90ad12187e4b953b8b
Gerrit-Change-Number: 38410
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: laforge, lynxis lazus, pespin.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/38411?usp=email
to look at the new patch set (#7).
The following approvals got outdated and were removed:
Code-Review+1 by laforge, Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: vlr: drop msc/debug.h header
......................................................................
vlr: drop msc/debug.h header
Since logging is done different, remove the MSC specific header.
Also drop some reference counting logging by a generic DEBUG handler.
Change-Id: I8fa2f16c07ef54be3a125c19e0990a68c4d5d2cf
---
M src/libvlr/vlr.c
M src/libvlr/vlr_access_req_fsm.c
M src/libvlr/vlr_auth_fsm.c
M src/libvlr/vlr_lu_fsm.c
M src/libvlr/vlr_sgs.c
M src/libvlr/vlr_sgs_fsm.c
M tests/msc_vlr/msc_vlr_test_authen_reuse.err
M tests/msc_vlr/msc_vlr_test_call.err
M tests/msc_vlr/msc_vlr_test_gsm_authen.err
M tests/msc_vlr/msc_vlr_test_gsm_ciph.err
M tests/msc_vlr/msc_vlr_test_hlr_reject.err
M tests/msc_vlr/msc_vlr_test_hlr_timeout.err
M tests/msc_vlr/msc_vlr_test_ms_timeout.err
M tests/msc_vlr/msc_vlr_test_no_authen.err
M tests/msc_vlr/msc_vlr_test_reject_concurrency.err
M tests/msc_vlr/msc_vlr_test_rest.err
M tests/msc_vlr/msc_vlr_test_ss.err
M tests/msc_vlr/msc_vlr_test_umts_authen.err
18 files changed, 2,493 insertions(+), 2,499 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/11/38411/7
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38411?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I8fa2f16c07ef54be3a125c19e0990a68c4d5d2cf
Gerrit-Change-Number: 38411
Gerrit-PatchSet: 7
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: lynxis lazus.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/38412?usp=email
to look at the new patch set (#7).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: vlr: make vlr_parq_fsm_init() private
......................................................................
vlr: make vlr_parq_fsm_init() private
All other fsm initialisation are internal to the libvlr code.
Change-Id: I3b4cfc01e6dd5434c74b4fa24a3e0945668b2a74
---
M include/osmocom/vlr/vlr.h
M src/libvlr/vlr_access_req_fsm.h
2 files changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/12/38412/7
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38412?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I3b4cfc01e6dd5434c74b4fa24a3e0945668b2a74
Gerrit-Change-Number: 38412
Gerrit-PatchSet: 7
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: fixeria, laforge, pespin.
lynxis lazus has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38457?usp=email )
Change subject: ggsn: Support announcing APN MTU over PCO
......................................................................
Patch Set 4: Code-Review-1
(1 comment)
Patchset:
PS4:
Why is this upper limit hardcoded to such low value? Can't you also allow bigger MTU if you want to? Supporting MTU > 1500 might be uncommon, but why not?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38457?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I8532acfffadda9e83962b30e4f6b17eb8b3362ac
Gerrit-Change-Number: 38457
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 21 Oct 2024 14:41:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email )
Change subject: ggsn: use libosmocore tundev API to create apn tun device
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Depends on https://gerrit.osmocom.org/c/libosmocore/+/38479 being merged before jenkins can +1.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I4d99ba147ac0f3b414d2efef0068b6b8d6cf0014
Gerrit-Change-Number: 38480
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Mon, 21 Oct 2024 13:56:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
pespin has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email )
Change subject: ggsn: use libosmocore tundev API to create apn tun device
......................................................................
ggsn: use libosmocore tundev API to create apn tun device
This way we can start dropping old osmo-ggsn specific API, avoiding
duplication of code.
Moreover, the osmo-ggsn code is using older ioctl APIs, which are
discouraged nowadays in favour of netlink, which osmo_tundev/osmo_netdev
from libosmocore is used.
Even better, we win for free non-blocking write behavior in the tundev
when switching to the new API, since it already has its own internal
wqueue.
While doing this, BSD code is dropped since anyway it's not been
maintained for a long time.
If needed, the BSD support can be added to libosmocore
osmo_tundev/osmo_netdev API.
This is a first step (already working). Follow-up commits will replace
the APIs to set up routes and addresses, and later on osmo-ggsn will win
support to set MTU on the interface.
Furthermore, this will allow easily adding netns support to osmo-ggsn
later on if ever needed.
Depends: libosmocore.git Change-Id Ia8a7e7ec6d96c7aebc80528236a0e0d035e7f38d
Change-Id: I4d99ba147ac0f3b414d2efef0068b6b8d6cf0014
---
M TODO-RELEASE
M ggsn/ggsn.c
M ggsn/ggsn.h
M lib/tun.c
M lib/tun.h
M sgsnemu/sgsnemu.c
6 files changed, 90 insertions(+), 148 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/80/38480/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I4d99ba147ac0f3b414d2efef0068b6b8d6cf0014
Gerrit-Change-Number: 38480
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Attention is currently required from: fixeria, laforge, pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38457?usp=email )
Change subject: ggsn: Support announcing APN MTU over PCO
......................................................................
Patch Set 4: Code-Review+1
(4 comments)
File ggsn/ggsn.h:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/918dde21_7d6b5cf8?us… :
PS4, Line 36: #define IPV6_HDR_MAX_SIZE 40 /* Assume no extension headers in general... */
> Yes because we assume no extension headers used by ipv6, while we account for maximum number of exte […]
Acknowledged
File ggsn/ggsn_vty.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/c6f120a1_87498701?us… :
PS4, Line 425: "mtu (<0-1464>|default)",
> It cannot be done, I already tried once. […]
Acknowledged
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/bbaf2c97_1cc06fa9?us… :
PS4, Line 428: "Default value of the MTU of the APN (1420)")
> It cannot be done, I already tried once. […]
Acknowledged
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/075fc300_e606542c?us… :
PS4, Line 708: vty_out(vty, " mtu %" PRIu16 "%s", apn->cfg.mtu, VTY_NEWLINE);
> I'd rather keep it like this, I think it's actually a good idea to always print it, the default is n […]
Acknowledged
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38457?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I8532acfffadda9e83962b30e4f6b17eb8b3362ac
Gerrit-Change-Number: 38457
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 21 Oct 2024 12:22:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/38478?usp=email )
Change subject: core/tun.c: Fix documentation in ret of osmo_tundev_send
......................................................................
core/tun.c: Fix documentation in ret of osmo_tundev_send
Change-Id: Id66f77774ed36593201fd5c54a1b29cc7651772b
---
M src/core/tun.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/78/38478/1
diff --git a/src/core/tun.c b/src/core/tun.c
index 8612819..ec68a96 100644
--- a/src/core/tun.c
+++ b/src/core/tun.c
@@ -556,7 +556,7 @@
/*! Submit a packet to the tunnel device managed by the tundev object
* \param[in] tundev The tundev object owning the tunnel device where to inject the packet
* \param[in] msg The msgb containg the packet to transfer
- * \returns The current value of the configured network namespace
+ * \returns 0 on success; negative on error
*
* This function takes the ownership of msg in all cases.
*/
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/38478?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id66f77774ed36593201fd5c54a1b29cc7651772b
Gerrit-Change-Number: 38478
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/38479?usp=email )
Change subject: core/tun: Add API osmo_tundev_get_fd
......................................................................
core/tun: Add API osmo_tundev_get_fd
Change-Id: Ia8a7e7ec6d96c7aebc80528236a0e0d035e7f38d
---
M TODO-RELEASE
M include/osmocom/core/tun.h
M src/core/libosmocore.map
M src/core/tun.c
4 files changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/79/38479/1
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 8a1e0dc..b3e4742 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -9,3 +9,4 @@
#library what description / commit summary line
gb ADD add bssgp_parse_cell_id2/bssgp_create_cell_id2
gsm ADD add osmo_rai_to_gprs/gprs_rai_to_osmo
+core ADD add API osmo_tundev_get_fd()
\ No newline at end of file
diff --git a/include/osmocom/core/tun.h b/include/osmocom/core/tun.h
index 86bd8df..21e7703 100644
--- a/include/osmocom/core/tun.h
+++ b/include/osmocom/core/tun.h
@@ -29,6 +29,8 @@
const char *osmo_tundev_get_name(const struct osmo_tundev *tundev);
+int osmo_tundev_get_fd(const struct osmo_tundev *tundev);
+
int osmo_tundev_set_dev_name(struct osmo_tundev *tundev, const char *dev_name);
const char *osmo_tundev_get_dev_name(const struct osmo_tundev *tundev);
diff --git a/src/core/libosmocore.map b/src/core/libosmocore.map
index c5ab6e3..c48a2b9 100644
--- a/src/core/libosmocore.map
+++ b/src/core/libosmocore.map
@@ -569,6 +569,7 @@
osmo_tundev_close;
osmo_tundev_free;
osmo_tundev_get_dev_name;
+osmo_tundev_get_fd;
osmo_tundev_get_name;
osmo_tundev_get_netdev;
osmo_tundev_get_netns_name;
diff --git a/src/core/tun.c b/src/core/tun.c
index ec68a96..04a1972 100644
--- a/src/core/tun.c
+++ b/src/core/tun.c
@@ -489,6 +489,15 @@
return tundev->name;
}
+/*! Get FD associated to the tundev object.
+ * \param[in] tundev The tundev object from where to retrieve the field
+ * \returns The fd of the currently open tundev, negative otherwise
+ */
+int osmo_tundev_get_fd(const struct osmo_tundev *tundev)
+{
+ return tundev->wqueue.bfd.fd;
+}
+
/*! Set name used to name the tunnel interface created by the tundev object.
* \param[in] tundev The tundev object where the field is set
* \param[in] dev_name The tunnel interface name to use
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/38479?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia8a7e7ec6d96c7aebc80528236a0e0d035e7f38d
Gerrit-Change-Number: 38479
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>