openbsc.git branch neels/gtphub updated. 0.15.0-66-gc1ace69

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Tue Nov 24 12:21:38 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, neels/gtphub has been updated
  discards  f0335c813e9539526a6bd80249431be119af2332 (commit)
  discards  5d367871f9a0200d88d4d9508c970c207677eba0 (commit)
  discards  67dc19549bc9ba743c62fa3634c3831135c2c91e (commit)
  discards  3b97a1013e1c924a9df4a51b5879b265fa1f3b89 (commit)
  discards  4a8c0d63c6aa16d0293febea1e2fd10c820ec879 (commit)
  discards  b81d815cd2cc1e9712c20446da5850caf3ecd723 (commit)
  discards  4e79d595b0818a3bebaa242271bb1c9efbc4b085 (commit)
  discards  1d73f6752073bb3bd21347da08a0f92f0754ff5a (commit)
  discards  3d7cc4de4e97fe9526d44405088c62a6195a1d51 (commit)
  discards  23896e029df73b9d434dd666fa194be3574d71d6 (commit)
  discards  d7e260e37432e1a6484c062b7faf64ad3af7edd8 (commit)
  discards  d0bc2c601fc8c2642c72b53a9870023ab1d5b853 (commit)
  discards  0aff78a447d22b2671b5cdc4b4e68500ef8d3d81 (commit)
       via  c1ace699fcfb4282e0007fc6539cd996b818957d (commit)
       via  254714ceb1e9581b170044f35257b50d36d659b1 (commit)
       via  bd6f15c2664de6d53c6129f86cf104fa7fa75495 (commit)
       via  52712a4a879cbe1be066e50c0f9e8efb3a3cab24 (commit)
       via  bd49d8a4b599796369b845b2763f87f39a2d8354 (commit)
       via  88f25563c31fb68d3f0a67d8c80dadc3492d43fa (commit)
       via  57e34eb473562bf71962f01efaa1db875dd424c5 (commit)
       via  bbef1e556ad3d2968ad2baa9f41b4e932b0ec556 (commit)
       via  8a9ebc14bfc2937d0402aa9f8cba82a323f4889a (commit)
       via  bf6ac16ae3f906accb7b68ed9fffd343bcc1f148 (commit)
       via  5bdd48daaf45e824f3a683933617f41f65543d71 (commit)
       via  47493b5d258e66dcc8760f477aa6ecfb9dcbd442 (commit)
       via  c0e13b2dbd36015f25bdeb8c07abb13ac4ef65ec (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (f0335c813e9539526a6bd80249431be119af2332)
            \
             N -- N -- N (c1ace699fcfb4282e0007fc6539cd996b818957d)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=c1ace699fcfb4282e0007fc6539cd996b818957d

commit c1ace699fcfb4282e0007fc6539cd996b818957d
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:18:05 2015 +0100

    gtphub: refresh TEI timeout, add timestamp to packet struct.
    
    Make sure a TEI mapping remains valid when it is in use. So far all mappings
    would expire after 6 hours, in use or not. Note: this does not yet refresh a
    Ctrl TEI mapping when a corresponding User TEI is used (todo).
    
    Instead of passing the current time around in function arguments ('now'),
    rather store the current time once upon decoding a GTP packet in the
    gtp_packet_desc passed around anyway ('p->timestamp').
    
    Add an assertion to make 100% sure the user adds expiring_items in
    chronological order.
    
    Fix an argument name for expiry_add().
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=254714ceb1e9581b170044f35257b50d36d659b1

commit 254714ceb1e9581b170044f35257b50d36d659b1
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 03:16:19 2015 +0100

    gtphub: first vty show commands.
    
    Start adding VTY commands to show rate counters / statistics / cache dumps.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=bd6f15c2664de6d53c6129f86cf104fa7fa75495

commit bd6f15c2664de6d53c6129f86cf104fa7fa75495
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 01:28:40 2015 +0100

    gtphub: add first rate counters
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=52712a4a879cbe1be066e50c0f9e8efb3a3cab24

commit 52712a4a879cbe1be066e50c0f9e8efb3a3cab24
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 01:27:22 2015 +0100

    gtphub: cosmetic: clarify bind pointer naming.
    
    Some gtphub_bind pointers point to an array of binds, some point directly at
    instances. Make the distinction between the two more obvious by adding an
    '_arr' suffix to the array ones.
    
    Partly in preparation for upcoming rate counters.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=bd49d8a4b599796369b845b2763f87f39a2d8354

commit bd49d8a4b599796369b845b2763f87f39a2d8354
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 00:08:28 2015 +0100

    gtphub: add explicit cleanup handles.
    
    Clean up functionality is added for the test suite only, to be able to clean
    out all allocations and test against memory leaks.
    
    So far, it was sufficient to expire everything to free a gtphub. In preparation
    for the upcoming rate counters, which will need to be freed explicitly, add
    gtphub functions to clean up everything.
    
    As added bonus, also close the sockets explicitly -- not really needed upon
    program exit, neither by the test suite, but *if* we have a cleanup function,
    it should clean up everything properly.
    
    Closing the sockets is however kept separate, for the test suite.
    gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
    and gtphub_init() and gtphub_free() are for the test suite, without sockets.
    (gtphub_stop() will probably never be called by anyone, but its existence
    completes the picture.)
    
    In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
    expire everything by timeout, assert emptiness, then call the cleanup function.
    Call from each test in the end.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=88f25563c31fb68d3f0a67d8c80dadc3492d43fa

commit 88f25563c31fb68d3f0a67d8c80dadc3492d43fa
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 00:04:41 2015 +0100

    gtphub: ensure cleanup of peer addresses.
    
    Upon calling gtphub_peer_del(), all addresses and ports should already have
    expired (by force). Make sure the code heeds that with a so far missing
    assertion.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=57e34eb473562bf71962f01efaa1db875dd424c5

commit 57e34eb473562bf71962f01efaa1db875dd424c5
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Nov 19 00:44:52 2015 +0100

    gtphub: always send gtphub's own restart counter.
    
    So far, the sender's restart counter was copied through, which would break as
    soon as more than one SGSN or more than one GGSN would talk to the same peer.
    
    gtphub should also persist its restart counter and handle peers that have
    rebooted, both of which is still not implemented.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=bbef1e556ad3d2968ad2baa9f41b4e932b0ec556

commit bbef1e556ad3d2968ad2baa9f41b4e932b0ec556
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 18:11:32 2015 +0100

    gtphub: ares vty and init
    
    From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
    sgsn_instance.
    
    This is sort of preliminary. As described in comments, the sgsn_ares functions
    should actually be separated from the static sgsn structure. gtphub keeps such
    an sgsn structure just for the sgsn_ares functions.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=8a9ebc14bfc2937d0402aa9f8cba82a323f4889a

commit 8a9ebc14bfc2937d0402aa9f8cba82a323f4889a
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 18:11:09 2015 +0100

    gtphub: review some logging.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=bf6ac16ae3f906accb7b68ed9fffd343bcc1f148

commit bf6ac16ae3f906accb7b68ed9fffd343bcc1f148
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 17:53:00 2015 +0100

    gtphub: cosmetic: rename a file.
    
    gtphub_ext.c's initial purpose was to wrap a specific function. The file
    then turned into everything related to DNS, which fits pretty well. Rename
    to gtphub_ares.c.
    
    Tweak the header comment to reflect the new file name.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=5bdd48daaf45e824f3a683933617f41f65543d71

commit 5bdd48daaf45e824f3a683933617f41f65543d71
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:30:37 2015 +0100

    gtphub: nr_map: add min,max and wrap.
    
    Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
    and create unit tests for nr_map wrapping.
    
    Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
    Both cause problems when the nr_pool surpasses the range: seq exit their valid
    range, causing unmappings to fail, and a TEI would be mapped as zero (invalid).
    
    Add a comment about TEI wrapping, and lose the comment about random TEIs (not
    really important).
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=47493b5d258e66dcc8760f477aa6ecfb9dcbd442

commit 47493b5d258e66dcc8760f477aa6ecfb9dcbd442
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:24:46 2015 +0100

    gtphub: fix number map range for TEIs.
    
    Use unsigned int for nr_map, just large enough to fit the TEI space.
    Adjust log output formats and casts accordingly.
    
    Fixes: TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
    from 0x80000000 on to be handled and printed as a negative value.
    
    Sponsored-by: On-Waves ehi

http://cgit.osmocom.org/openbsc/commit/?id=c0e13b2dbd36015f25bdeb8c07abb13ac4ef65ec

commit c0e13b2dbd36015f25bdeb8c07abb13ac4ef65ec
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 17:09:22 2015 +0100

    gtphub: add to debian build
    
    By the example of osmo-sgsn, package osmo-gtphub for debian.
    
    Sponsored-by: On-Waves ehi

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list