Attention is currently required from: osmith, daniel.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/30279 )
Change subject: gtp: Introduce VTY configurable GTP timer X3
......................................................................
Patch Set 1:
(1 comment)
File gtp/gsn.h:
https://gerrit.osmocom.org/c/osmo-ggsn/+/30279/comment/b9d2ce2e_c7dfc32c
PS1, Line 70: GTP_GSN_TIMER_T3_HOLD_RESPONSE = -3,
> Neels told me, we try to keep timer numbers unique in Osmocom. […]
There's already geran X3, utran X3 and sgs X3, so not adding a new problem here imho. I prefer keeping it X3 since it relates somehow to T3.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/30279
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ia15c1cfd201d7c43e9a1d6ceb6725ddf392d2c65
Gerrit-Change-Number: 30279
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 23 Nov 2022 13:21:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: comment
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/30281 )
Change subject: ipaccess: require tcp keepalive related defines
......................................................................
ipaccess: require tcp keepalive related defines
Fail the compilation if TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT or
TCP_USER_TIMEOUT are not defined.
Harald wrote:
> What we want to prevent is the user configuring timeouts, assuming
> they would be installed into the kernel TCP stack, which then simply
> end up no-ops becaus somehow the libc didn't define them or the right
> #include file was not present at compile time.
>
> [...] Apparently TCP_KEEP{IDLE,INTVL,CNT} were introduced with kernel
> 2.4 and TCP_USER_TIMEOUT with 2.6.37. I think it's fair to say that
> using a modern/master libosmo-* on such old systems might fail for
> various other reasons (eventfd, ...) and cannot be considered a valid
> configuration anyway.
Closes: OS#5786
Change-Id: Idc0ff1ff02ce4b994692d8213c14c0b2caad756e
---
M src/input/ipaccess.c
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/81/30281/1
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 42dd942..3a20967 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -610,7 +610,6 @@
else
LOGP(DLINP, LOGL_NOTICE, "Keepalive is set: %i\n", ret);
-#if defined(TCP_KEEPIDLE) && defined(TCP_KEEPINTVL) && defined(TCP_KEEPCNT)
/* The following options are not portable! */
val = line->keepalive_idle_timeout > 0 ?
line->keepalive_idle_timeout :
@@ -639,7 +638,6 @@
LOGP(DLINP, LOGL_NOTICE,
"Failed to set keepalive count: %s\n",
strerror(errno));
-#if defined(TCP_USER_TIMEOUT)
val = 1000 * line->keepalive_num_probes *
line->keepalive_probe_interval +
line->keepalive_idle_timeout;
@@ -649,8 +647,6 @@
LOGP(DLINP, LOGL_NOTICE,
"Failed to set user timoeut: %s\n",
strerror(errno));
-#endif
-#endif
}
val = 1;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/30281
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Idc0ff1ff02ce4b994692d8213c14c0b2caad756e
Gerrit-Change-Number: 30281
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: pespin, daniel.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/30279 )
Change subject: gtp: Introduce VTY configurable GTP timer X3
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
Patchset:
PS1:
maybe the timer number needs to be changed, otherwise LGTM
File gtp/gsn.h:
https://gerrit.osmocom.org/c/osmo-ggsn/+/30279/comment/2770e114_1dd72819
PS1, Line 70: GTP_GSN_TIMER_T3_HOLD_RESPONSE = -3,
Neels told me, we try to keep timer numbers unique in Osmocom. Use a number that isn't used yet and add it here?
https://osmocom.org/projects/cellular-infrastructure/wiki/List_of_Timer_num…
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/30279
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ia15c1cfd201d7c43e9a1d6ceb6725ddf392d2c65
Gerrit-Change-Number: 30279
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 23 Nov 2022 11:53:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment