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 "UNNAMED PROJECT".
The branch, neels/subscr_vty has been updated
discards 047b45beb63553a4566eb1fe73a25bc2cb5af519 (commit)
discards 063a935062f6309aa5286bd0075eb725d343ad14 (commit)
discards a8992f2d44f8c9a8e349aabc0771478219709a81 (commit)
discards fc0b1d64ce14a4c083c702d5e9e8b4f5ac7dc08e (commit)
discards 0451e985905985a8025e49b20821c67874cdd085 (commit)
discards 96782fa5f76076a0d8e6d9a8932d5fe7b8d5352d (commit)
discards 2366161091f05d025f2eb9e18afa14766b5d9b9a (commit)
discards b2584c4831b40a265b63cecdf7bd2f4fca416298 (commit)
discards e171b00049ecf60fe45076ef69b0885af82411ff (commit)
discards 5e661d05b4f760ebb2c867a578af48f3db998243 (commit)
discards a085519047f1e140084a00954cf3b6986b7ebae0 (commit)
discards 21c4b1427c17ad567ef98cccc1848193bb09b617 (commit)
discards 02ea5241f7fd4d4874eaddeea83f488502854379 (commit)
discards 64ef6f7aab3b7a361db7d806d92d11740f03b3ef (commit)
discards 1161b21b357a50472510cf9174ccbee5d25058bc (commit)
discards b405dd45ded80a572f92cf435894156eeaee2c62 (commit)
discards f23fa4b75bbf44005cf85c6007df1bf38cbfc9ea (commit)
discards 7c13aa3fbb7e6ac470148ee6f026ac9bede48636 (commit)
discards f3e8f36f4066bb3f02db6755686679c311e104ec (commit)
discards 715e3f6397db19caa177d523ea7c2731ed3901e3 (commit)
discards cd65ee37252c491d9c578085a2c3d7b1c9907da5 (commit)
discards 6c1950e1f37b290f504a288c22eb2c5256cbacdf (commit)
via 54d99a452169a3faee2e88f08b67b54ef4268f35 (commit)
via 59352173df5bab7d0717c8ecfca3c7173e0919c0 (commit)
via 42ac4bbca6013ce647a2e44ef71333179b6bdf00 (commit)
via 2e86ab3a8704462c55245370ebdce9f6b134792d (commit)
via c5122f28292e4923f02bb645c6bb7fa4c270a5d5 (commit)
via 1cbdb70b27599b3a233184d01cee63cea5e8fee3 (commit)
via 76328e57d1d9c7df8763b2b8be6fce39e5822731 (commit)
via 57a8792f230f2ec6db72f3b6249b702428ab5d6e (commit)
via 1332a17a3db46bae7e2ee720baf21c594e1b2331 (commit)
via e50121ec96c2457c66501d7b6e1fcd539ee3c5e1 (commit)
via dd783056f7ede461dd27347fa86743a24c4c4eed (commit)
via e8ccd5013abe0e04b2400661405fd9e18e88cd89 (commit)
via 9c2bbc840f3678489d744d69a718afacafa60ad3 (commit)
via 32633e2b895233892a238095e21b89b12ed94d14 (commit)
via d7d9697d85cba6bb18bcb767ebd0005b1ae73e1c (commit)
via 985094601315c45c2e0a2ac8292df4c2f646c698 (commit)
via f7c3e6e3a29f67398fdb8790629d0e951a494bc1 (commit)
via 28da26ec191b176028c6bad6a43749a8c8926cb2 (commit)
via cd83b8a44c2824cfc9dfdca685fea28f9221f60e (commit)
via d3cd102505bdc78c92daed325ee824071fa48403 (commit)
via d4bb51ba1fbd0e3580fb994b6b2200c093e75d46 (commit)
via 1e31d18822c919896d26246950f5bca2e52dfeb5 (commit)
via e9c0c5b2724e9e0f749e9c24d77e73d7cbe3ede6 (commit)
via 3522819d8bf9d6634a504effe4f171975439e77d (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 (047b45beb63553a4566eb1fe73a25bc2cb5af519)
\
N -- N -- N (54d99a452169a3faee2e88f08b67b54ef4268f35)
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/osmo-hlr/commit/?id=54d99a452169a3faee2e88f08b67b54…
commit 54d99a452169a3faee2e88f08b67b54ef4268f35
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Oct 14 04:15:31 2017 +0200
add vty_script_runner.py
Standalone python3 script to verify a VTY transcript file.
Change-Id: Idf94eed98c9cf84f8e3b6b7cc5b30abfb2438c8b
http://cgit.osmocom.org/osmo-hlr/commit/?id=59352173df5bab7d0717c8ecfca3c71…
commit 59352173df5bab7d0717c8ecfca3c7173e0919c0
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 02:59:54 2017 +0200
implement subscriber vty, tests
Depends: libosmocore I1e94f5b0717b947d2a7a7d36bacdf04a75cb3522
Change-Id: I42b3b70a0439a8f2e4964d7cc31e593c1f0d7537
http://cgit.osmocom.org/osmo-hlr/commit/?id=42ac4bbca6013ce647a2e44ef713331…
commit 42ac4bbca6013ce647a2e44ef71333179b6bdf00
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 10 23:20:26 2017 +0200
fix db_subscr_get_by_*(): clear output data; test in db_test.c
db_subscr_get_by_*() failed to clear the out-param struct, meaning that data
could remain in a struct even though it is not present in the database. Always
zero out the struct before writing to it.
Adjust the db_test to catch this error by writing "-invalid-data-" to each
struct before running db get functions.
Change-Id: I038bd437452c87841d709fcdd5ac30ab1356b2db
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 2 +-
debian/control | 3 +-
debian/rules | 4 +
src/db_hlr.c | 13 +-
tests/Makefile.am | 20 ++-
tests/vty_script_runner.py | 376 +++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 406 insertions(+), 12 deletions(-)
create mode 100755 tests/vty_script_runner.py
hooks/post-receive
--
UNNAMED PROJECT
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 "Osmocom network interface library".
The branch, master has been updated
via 1bfbf98f066dc1fa34bffb5377220323ea7aa802 (commit)
via a2b50809c766bfb1f94ac0fc7c76517e3e3a66ab (commit)
via 8440357d4cc88479921350344e435ee9c5e4e0f1 (commit)
from fae8559ff5ce825a874eeb33b2f1053430c07dc3 (commit)
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/libosmo-netif/commit/?id=1bfbf98f066dc1fa34bffb5377…
commit 1bfbf98f066dc1fa34bffb5377220323ea7aa802
Author: Max <msuraev(a)sysmocom.de>
Date: Fri Oct 13 18:24:37 2017 +0200
cosmetic: print textual error from recv()
Change-Id: Ic9557c6519b44b5985daf7d2d14ec063790441fb
http://cgit.osmocom.org/libosmo-netif/commit/?id=a2b50809c766bfb1f94ac0fc7c…
commit a2b50809c766bfb1f94ac0fc7c76517e3e3a66ab
Author: Max <msuraev(a)sysmocom.de>
Date: Fri Oct 13 18:16:03 2017 +0200
cosmetic: relax UDP length check
Previously recv() returning 0 for UDP socket was considered as error
although it's legitimate return value for empty UDP packets. Relax the
error check to avoid confusing error messages.
The function behavior is the same:
* msg is not altered while receiving 0-length UDP packet
* return value is 0
The only result of the relaxed error check is the absense of error log
message for 0-length UDP packet.
Change-Id: I32e5fcbf5ed92cc923660ac59e6a37fd3f0703a7
Fixes: OS#2219
http://cgit.osmocom.org/libosmo-netif/commit/?id=8440357d4cc88479921350344e…
commit 8440357d4cc88479921350344e435ee9c5e4e0f1
Author: Max <msuraev(a)sysmocom.de>
Date: Fri Oct 13 15:30:54 2017 +0200
examples: add simple UDP client/server
In addition to showing basic UDP send/receive example, it helps to test
corner-case when dealing with 0-length UDP packets.
Change-Id: I08c0adf1cf9b6a6f1f7090b237d0497c2ec13cdf
Related: OS#2219
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 2 +
examples/Makefile.am | 10 ++++
examples/udp-test-client.c | 43 ++++++++++++++
examples/udp-test-server.c | 35 ++++++++++++
examples/udp-test.h | 137 +++++++++++++++++++++++++++++++++++++++++++++
src/datagram.c | 6 +-
6 files changed, 230 insertions(+), 3 deletions(-)
create mode 100644 examples/udp-test-client.c
create mode 100644 examples/udp-test-server.c
create mode 100644 examples/udp-test.h
hooks/post-receive
--
Osmocom network interface library
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 OpenGGSN project".
The branch, laforge/sgsnemu-v6 has been updated
discards 43ebce4107a7232b27b91a58f0c3a8208dccfeb8 (commit)
discards f9cbe96b9b693dc7e4d57d8c0f2b8272e50ffd00 (commit)
discards 370335c6e284e2508806455cfac665087abaafae (commit)
discards 80499fcaf5c3d0a56596f8b96f30b837343e3d29 (commit)
discards 3ffe4d8a4542372acc66919fff6a62a041681b38 (commit)
discards ecb6786afc172418b028cef413545f774c82eac4 (commit)
discards 8bebc794920bf27afd2ec62812390f44e9668c25 (commit)
discards 1f5370db5f1aa342a30882ca55b93f09adb284eb (commit)
discards d13a9254d2dd6ad5d1b76e86fe2836f1faf78656 (commit)
discards 6dd3d3e4fed8505ed54c2a8be64c80612044da26 (commit)
discards 519044f980e8bb32a654dd44b96611382bf17d8d (commit)
discards ff037b7a4156980f34e8bde1d50527f2d5ac7c00 (commit)
via 6641c26d22fd3768e251d158bc8117f4bc751142 (commit)
via 70e66cc42cac25d1c0e1829db965ad5a8cd68409 (commit)
via ea8f7e0fa9665475bb1042a541c393c5ae53eb3c (commit)
via 449c005c017a0031c6b798ef1a997cd8c86335aa (commit)
via 646f192225290f18c6cf9810fd8ee7b6795ac6f1 (commit)
via c55e7a747a8f7de0066df809e3f188b4702deb58 (commit)
via de50ee47c63b3e9a6f3ee30111d115dfe2835401 (commit)
via c314cb313dca634d0649fc35ad0a2acfd0b05f80 (commit)
via cba7ed7311c22f7b6421474c927afefa0d2b7071 (commit)
via 8376972050a3acefd98431aa98cfd26cb54f0817 (commit)
via a96402734409e5fa0ed89a9ef5cc87881dd0b9a0 (commit)
via c5150cecc56ebebc9c8eeda5986a561e4ed07709 (commit)
via 02af9b3ca274d72f972b81a9103f7b63d6caece8 (commit)
via db924d39082b0cb6e1371c949149737fe1d4a05c (commit)
via 34a7416ec01534ea63a580ffa3225a0e2a120443 (commit)
via 45ce2725aca73521044705cf03c99802dc3646be (commit)
via a2eb5eb7603a70c60eba88bbc27c5032357619e3 (commit)
via fdd732b130177072eb2b37a29d7cf211669453ab (commit)
via 1d8ffc6b239e837558947f38aaed165e49dd12e5 (commit)
via 58c0da7833b87cd67aee78cc0159102d70f36be3 (commit)
via 958256f5cfd19610ecec8b1130f726b7a6bb17fc (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 (43ebce4107a7232b27b91a58f0c3a8208dccfeb8)
\
N -- N -- N (6641c26d22fd3768e251d158bc8117f4bc751142)
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/osmo-ggsn/commit/?id=6641c26d22fd3768e251d158bc8117…
commit 6641c26d22fd3768e251d158bc8117f4bc751142
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 15:57:01 2017 +0200
WIP: Add unit tests for libgtp gtpie.[ch] functions
Change-Id: I30a6dd8a01b7a074ef2d3936d186dfff6c79e6c0
http://cgit.osmocom.org/osmo-ggsn/commit/?id=70e66cc42cac25d1c0e1829db965ad…
commit 70e66cc42cac25d1c0e1829db965ad5a8cd68409
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Mon Oct 9 10:15:04 2017 +0800
gtpie.h: Add IE identifier definitions up to 29.60 v11.8.0 Release 11
Change-Id: I6ab7bfb31f93f52f9f6b1b5880dcb2c232bba794
http://cgit.osmocom.org/osmo-ggsn/commit/?id=ea8f7e0fa9665475bb1042a541c393…
commit ea8f7e0fa9665475bb1042a541c393c5ae53eb3c
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sun Oct 8 07:50:20 2017 +0800
Allow Common flags 0x94 and ignore them in PDP activation
from https://github.com/osmocom/openggsn/pull/2
Change-Id: I31b3e4b378e74bb5a0a2f54af6d2a15b629876cf
http://cgit.osmocom.org/osmo-ggsn/commit/?id=449c005c017a0031c6b798ef1a997c…
commit 449c005c017a0031c6b798ef1a997cd8c86335aa
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:05:50 2017 +0800
sgsnemu: Use getprotobynumber() in print_ipprot()
There's no point in sgsnemu doing a poor mans reimplementation
of what the C library provides already by means of getprotobynumber()
Change-Id: I8cdc460e4fa5d86d80addf6e5f341d2d80093a35
http://cgit.osmocom.org/osmo-ggsn/commit/?id=646f192225290f18c6cf9810fd8ee7…
commit 646f192225290f18c6cf9810fd8ee7b6795ac6f1
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:03:25 2017 +0800
sgsnemu: Remove dead code: encaps_printf()
This function is never used/called, remove it.
Change-Id: I37a447e4d5387e3fc5f4433ab20ceba7c446684b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=c55e7a747a8f7de0066df809e3f188…
commit c55e7a747a8f7de0066df809e3f188b4702deb58
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:02:45 2017 +0800
sgsnemu: Mark local functions 'static'
We don't need to export those to the global name space as they're
not called from code in other files.
Change-Id: I454249335ba46abdb3afbc669c4a06a06f39ae72
http://cgit.osmocom.org/osmo-ggsn/commit/?id=de50ee47c63b3e9a6f3ee30111d115…
commit de50ee47c63b3e9a6f3ee30111d115dfe2835401
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:54:04 2017 +0800
sgsnemu: Make use of "dependon" feature in gengetopt
The gengetopt syntax can specify that a particular command line argument
depends on some other argument/option present. We can use this to
provide useful feedback to the user at the command line parsing state,
like --pingrate making no sense without --pinghost being specified.
Change-Id: Ief27275e90e6bce23aed1e83874dbac98dd0926b
http://cgit.osmocom.org/osmo-ggsn/commit/?id=c314cb313dca634d0649fc35ad0a2a…
commit c314cb313dca634d0649fc35ad0a2acfd0b05f80
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 09:36:35 2017 +0800
sgsnemu: Print warnings on broken IPv6 configuration (acept_ra)
When sgsnemu is used for an IPv6 pdp context, we rely on the router
discovery procedure and SLAAC to set the correct IPv6 address/prefix
on the tun device. This requires the system to be configure to accept
router-advertisements on the tun device. Let's print a warning
if accept_ra for the specific tun device is set to a wrong value.
We're leaving it up to the user to either set a system-wide
/proc/sys/net/ipv6/conf/default/accept_ra or to configure this in an
ip-up script used together with sgsnemu.
Change-Id: I563092ca35bc74f035a5023e11256779aac46e11
http://cgit.osmocom.org/osmo-ggsn/commit/?id=cba7ed7311c22f7b6421474c927afe…
commit cba7ed7311c22f7b6421474c927afefa0d2b7071
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Tue Oct 10 08:50:11 2017 +0800
sgsnemu: Add '--tun-device' option to specify TUN device name
This way, multiple sgsnemu instances can be runnig in parallel, each
of them creating a different tun device for their respective PDP context
Change-Id: Id12fbadf924a60db255b6d51b9f647aa51dd2e16
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
ggsn/ggsn.c | 10 +--
gtp/gtpie.c | 120 +++++++++++++++++++++++++++--
gtp/gtpie.h | 8 +-
lib/in46_addr.c | 4 +-
lib/ippool.c | 4 +-
lib/ippool.h | 8 +-
lib/tun.c | 8 +-
lib/tun.h | 6 +-
{intl => src}/Makefile.in | 0
tests/Makefile.am | 1 +
tests/gtp/Makefile.am | 18 +++++
tests/gtp/gtpie_test.c | 78 +++++++++++++++++++
tests/gtp/gtpie_test.ok | 2 +
tests/lib/Makefile.am | 2 +
tests/lib/in46a_test.c | 190 +++++++++++++++++++++++++++++++++++++++++++---
tests/lib/in46a_test.ok | 17 +++++
tests/lib/ippool_test.c | 6 +-
tests/testsuite.at | 10 ++-
19 files changed, 451 insertions(+), 42 deletions(-)
copy {intl => src}/Makefile.in (100%)
create mode 100644 tests/gtp/Makefile.am
create mode 100644 tests/gtp/gtpie_test.c
create mode 100644 tests/gtp/gtpie_test.ok
create mode 100644 tests/lib/in46a_test.ok
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, master has been updated
via 8376972050a3acefd98431aa98cfd26cb54f0817 (commit)
via a96402734409e5fa0ed89a9ef5cc87881dd0b9a0 (commit)
via c5150cecc56ebebc9c8eeda5986a561e4ed07709 (commit)
via 02af9b3ca274d72f972b81a9103f7b63d6caece8 (commit)
from db924d39082b0cb6e1371c949149737fe1d4a05c (commit)
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/osmo-ggsn/commit/?id=8376972050a3acefd98431aa98cfd2…
commit 8376972050a3acefd98431aa98cfd26cb54f0817
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 15:57:48 2017 +0200
gtpie: Add missing #include of <arpa/inet.h> for htonl() and friends
Change-Id: Id69d957d0860ee49e7f0db5c64ab8ba976f8c8d6
http://cgit.osmocom.org/osmo-ggsn/commit/?id=a96402734409e5fa0ed89a9ef5cc87…
commit a96402734409e5fa0ed89a9ef5cc87881dd0b9a0
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 12:06:08 2017 +0200
gtpie_decaps: const-ify pointer to input packet data
Change-Id: Ia048abcd80f29581c6ac02cd7f534f2617005671
http://cgit.osmocom.org/osmo-ggsn/commit/?id=c5150cecc56ebebc9c8eeda5986a56…
commit c5150cecc56ebebc9c8eeda5986a561e4ed07709
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 06:35:46 2017 +0200
gtpie: Add doxygen API documentation
libgtp should have proper API documentation, let's start with the
gtpie.[ch] parts.
Change-Id: I97df5bd3c8dcc5c97a114c8c6abadabf33147b05
http://cgit.osmocom.org/osmo-ggsn/commit/?id=02af9b3ca274d72f972b81a9103f7b…
commit 02af9b3ca274d72f972b81a9103f7b63d6caece8
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 05:04:33 2017 +0200
gtpie_tlv() gtpie_tv0(): const-ify read-only input argument
Change-Id: Ide487e34884c8356694246f43c3f1f562357304c
-----------------------------------------------------------------------
Summary of changes:
gtp/gtpie.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
gtp/gtpie.h | 8 ++--
2 files changed, 120 insertions(+), 8 deletions(-)
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, master has been updated
via db924d39082b0cb6e1371c949149737fe1d4a05c (commit)
from 34a7416ec01534ea63a580ffa3225a0e2a120443 (commit)
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/osmo-ggsn/commit/?id=db924d39082b0cb6e1371c94914973…
commit db924d39082b0cb6e1371c949149737fe1d4a05c
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 20:01:54 2017 +0800
Add unit tests for lib/in46_addr.c code
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
-----------------------------------------------------------------------
Summary of changes:
tests/lib/Makefile.am | 14 ++-
tests/lib/in46a_test.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++
tests/lib/in46a_test.ok | 17 ++++
tests/testsuite.at | 6 ++
4 files changed, 300 insertions(+), 2 deletions(-)
create mode 100644 tests/lib/in46a_test.c
create mode 100644 tests/lib/in46a_test.ok
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, master has been updated
via 34a7416ec01534ea63a580ffa3225a0e2a120443 (commit)
via 45ce2725aca73521044705cf03c99802dc3646be (commit)
via a2eb5eb7603a70c60eba88bbc27c5032357619e3 (commit)
via fdd732b130177072eb2b37a29d7cf211669453ab (commit)
via 1d8ffc6b239e837558947f38aaed165e49dd12e5 (commit)
from 58c0da7833b87cd67aee78cc0159102d70f36be3 (commit)
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/osmo-ggsn/commit/?id=34a7416ec01534ea63a580ffa3225a…
commit 34a7416ec01534ea63a580ffa3225a0e2a120443
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Fri Oct 13 16:24:59 2017 +0200
in46a_to_sas(): Return AF_INET6 in case of IPv6 address
Change-Id: Ia2f9ac60f08823d5f7c1a76c0b7cbd65ac615e26
http://cgit.osmocom.org/osmo-ggsn/commit/?id=45ce2725aca73521044705cf03c998…
commit 45ce2725aca73521044705cf03c99802dc3646be
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 13:10:15 2017 +0200
tests: Remove Makefile.in
Change-Id: Ie21e8bfab7cda52aa696dd26280efc05c4b51bba
http://cgit.osmocom.org/osmo-ggsn/commit/?id=a2eb5eb7603a70c60eba88bbc27c50…
commit a2eb5eb7603a70c60eba88bbc27c5032357619e3
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:37:14 2017 +0800
update .gitignore
Change-Id: I030bd616dd27d49e55b5bdcc7c0b4fa3eb523da4
http://cgit.osmocom.org/osmo-ggsn/commit/?id=fdd732b130177072eb2b37a29d7cf2…
commit fdd732b130177072eb2b37a29d7cf211669453ab
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 14:32:24 2017 +0200
Remove trailing whitespace
Change-Id: I8e24f95a88bef3a59006a89c219871e6156963d7
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1d8ffc6b239e837558947f38aaed16…
commit 1d8ffc6b239e837558947f38aaed165e49dd12e5
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:30:49 2017 +0800
Add ippool unit-test for 'make check' runs
This test creates a variety of v4 (and one v6) pool and performs
allocations until the pool is full, then frees a random number of
randomly distributed addresses, re-allocates them and again checks that
they're all available and finally once the pool is full allocations
fail.
Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 48 +-
Makefile.am | 2 +-
configure.ac | 2 +
ggsn/ggsn.c | 6 +-
lib/in46_addr.c | 4 +-
lib/ippool.c | 4 +-
lib/ippool.h | 8 +-
lib/tun.c | 6 +-
lib/tun.h | 6 +-
tests/Makefile.am | 40 +
tests/Makefile.in | 0
tests/lib/Makefile.am | 14 +
tests/lib/ippool_test.c | 118 +
tests/lib/ippool_test.err | 10 +
tests/lib/ippool_test.ok | 66555 ++++++++++++++++++++++++++++++++++++++++++++
tests/testsuite.at | 9 +
16 files changed, 66802 insertions(+), 30 deletions(-)
create mode 100644 tests/Makefile.am
delete mode 100644 tests/Makefile.in
create mode 100644 tests/lib/Makefile.am
create mode 100644 tests/lib/ippool_test.c
create mode 100644 tests/lib/ippool_test.err
create mode 100644 tests/lib/ippool_test.ok
create mode 100644 tests/testsuite.at
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, master has been updated
via 58c0da7833b87cd67aee78cc0159102d70f36be3 (commit)
from 958256f5cfd19610ecec8b1130f726b7a6bb17fc (commit)
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/osmo-ggsn/commit/?id=58c0da7833b87cd67aee78cc015910…
commit 58c0da7833b87cd67aee78cc0159102d70f36be3
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 16:42:46 2017 +0200
lib/tun.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()
From getifaddrs(3) man:
"The data returned by getifaddrs() is dynamically allocated and should
be freed using freeifaddrs() when no longer needed"
Change-Id: If6300d1c8d36fcafef294a4c11bbda31a158bb9c
-----------------------------------------------------------------------
Summary of changes:
lib/tun.c | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, pespin/ippool has been created
at 503f468366fc28720208aeee957bfb32a50a60d8 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=503f468366fc28720208aeee957bfb…
commit 503f468366fc28720208aeee957bfb32a50a60d8
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 14:32:09 2017 +0200
ippool: Implement and use blacklist instead of blindly using IPPOOL_NOGATEWAY
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
However, previous implementation relies on flag IPPOOL_NOGATEWAY flag to
blindly blacklist first IP after the network ip (ie, .0 and .1 are
removed), which limits the IP reserved for the tun device to be .1. If a
different IP in the range is assigned, it may cause issues. As a result,
a blacklist is introduced in this commit to dynamically fetch the tun IP
address and exlucde it from the pool of available IPs.
Change-Id: I8e91f7280d60490c858a769dd578c1c8e54e9243
http://cgit.osmocom.org/osmo-ggsn/commit/?id=d6ede37b7e62ca7e3544b7319b9234…
commit d6ede37b7e62ca7e3544b7319b9234c564365dca
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 11:56:16 2017 +0200
lib/ippool: Fix listsize calculated 1 elem too small
Take the chance this commit is changing test output to also remove use
of IPPOOL_NOGATEWAY which is going to be removed soon, and instead test
IPPOOL_NOBROADCAST.
Change-Id: I95c24bc690490155bec9e3933d678e4668d7745f
http://cgit.osmocom.org/osmo-ggsn/commit/?id=81ff18c9d7dde7541963922ddd22de…
commit 81ff18c9d7dde7541963922ddd22de4bba2eca58
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 14:32:24 2017 +0200
Remove trailing whitespace
Change-Id: I8e24f95a88bef3a59006a89c219871e6156963d7
http://cgit.osmocom.org/osmo-ggsn/commit/?id=6f7a46a9b603dbf01fce3b68247756…
commit 6f7a46a9b603dbf01fce3b6824775601e0cc2c70
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 11:18:59 2017 +0200
tests: Makefile.am: Add missing osmocom includedir
Change-Id: Ibc2f98fe06366c94342831205fc741675dc2dda6
http://cgit.osmocom.org/osmo-ggsn/commit/?id=4a76d4bd5dd73eaafcfcdc30bef170…
commit 4a76d4bd5dd73eaafcfcdc30bef1703e35383977
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 16:42:46 2017 +0200
lib/tun.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()
From getifaddrs(3) man:
"The data returned by getifaddrs() is dynamically allocated and should
be freed using freeifaddrs() when no longer needed"
Change-Id: If6300d1c8d36fcafef294a4c11bbda31a158bb9c
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1d4a2f8cf40f33425a9ea364a27ecc…
commit 1d4a2f8cf40f33425a9ea364a27ecc00528a0337
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 13:09:38 2017 +0200
tests: in46a_test: Add missing expected output file
Change-Id: I542f7a201df169b703519e800b1aab8deb95ea77
http://cgit.osmocom.org/osmo-ggsn/commit/?id=5c891eb0e778f35233c55da065c31d…
commit 5c891eb0e778f35233c55da065c31d3fc76d0db9
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Oct 13 13:10:15 2017 +0200
tests: Remove Makefile.in
Change-Id: Ie21e8bfab7cda52aa696dd26280efc05c4b51bba
http://cgit.osmocom.org/osmo-ggsn/commit/?id=adabfb2f4e6b7e50376c9fd3ca47d4…
commit adabfb2f4e6b7e50376c9fd3ca47d4d4b9bd8337
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 20:01:54 2017 +0800
add Unit test for lib/in46_addr.c code
Change-Id: Id032c330405e5dca8ecfc0970d128341ed75c675
http://cgit.osmocom.org/osmo-ggsn/commit/?id=336972cb622caf96aa7e1cbf35e5fb…
commit 336972cb622caf96aa7e1cbf35e5fbcc58b19285
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:37:14 2017 +0800
update .gitignore
Change-Id: I030bd616dd27d49e55b5bdcc7c0b4fa3eb523da4
http://cgit.osmocom.org/osmo-ggsn/commit/?id=1eb209c09b24b88c26deea4baec543…
commit 1eb209c09b24b88c26deea4baec543ab68928426
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Thu Oct 12 19:30:49 2017 +0800
Add ippool unit-test for 'make check' runs
This test creates a variety of v4 (and one v6) pool and performs
allocations until the pool is full, then frees a random number of
randomly distributed addresses, re-allocates them and again checks that
they're all available and finally once the pool is full allocations
fail.
Change-Id: Ibf4588e8f3ae71684e5262c0caaa2689aee73a94
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, pespin/fix-iproute has been deleted
was f9108cc53168b72bc35152b93a647e6c69f8a8c0
-----------------------------------------------------------------------
f9108cc53168b72bc35152b93a647e6c69f8a8c0 WIP
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project
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 OpenGGSN project".
The branch, pespin/fix-iproute has been updated
discards 1d9628a26f47f5b84f8dccb24d43a80349f7f145 (commit)
via f9108cc53168b72bc35152b93a647e6c69f8a8c0 (commit)
via 40d8c08b8959aba92816a64573fefb18b7c4fd85 (commit)
via 3a8fb39d6d91d5e7e7ac5ef649ba74977fcede3e (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 (1d9628a26f47f5b84f8dccb24d43a80349f7f145)
\
N -- N -- N (f9108cc53168b72bc35152b93a647e6c69f8a8c0)
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/osmo-ggsn/commit/?id=f9108cc53168b72bc35152b93a647e…
commit f9108cc53168b72bc35152b93a647e6c69f8a8c0
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 17:56:55 2017 +0200
WIP
Change-Id: Ia715fa6c81a647b1062ef0ffede4cb8642a25c70
http://cgit.osmocom.org/osmo-ggsn/commit/?id=40d8c08b8959aba92816a64573fefb…
commit 40d8c08b8959aba92816a64573fefb18b7c4fd85
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Thu Oct 12 16:42:46 2017 +0200
lib/tunc.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()
From getifaddrs(3) man:
"The data returned by getifaddrs() is dynamically allocated and should
be freed using freeifaddrs() when no longer needed"
Change-Id: If6300d1c8d36fcafef294a4c11bbda31a158bb9c
http://cgit.osmocom.org/osmo-ggsn/commit/?id=3a8fb39d6d91d5e7e7ac5ef649ba74…
commit 3a8fb39d6d91d5e7e7ac5ef649ba74977fcede3e
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Wed Oct 11 18:56:08 2017 +0200
apnt_start(): Pass ippool flags to avoid certain IPs
Commit dda21ed7d4a897c9284c69175d0da598598eae40 modified previous calls
to ippool_new() removing the pass of flags to avoid allocating certain
problematic IPs from the pool to MS, such as the network, gateway and
broadcast IPs.
Today I did some unsucessful tests with osmo-ggsn with a pool "ip prefix
dynamic 176.16.222.0/24", and thus IP 176.16.222.0 was being assigned to
the MS. De-capsulated DNS packets were received in the tun interface,
but the Linux system in there was unable to correctly forward the
packets to the gateway interface connected to the Internet. However,
adding a second MS which got 176.16.222.1 had its packets forwarded
correctly.
Change-Id: I72ae59ad5929ca0dc9ee69937c50e57a5f49ca76
-----------------------------------------------------------------------
Summary of changes:
ggsn/ggsn.c | 32 +++++++++++++++++++++++---------
lib/in46_addr.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
lib/in46_addr.h | 3 +++
lib/ippool.c | 38 ++++++++++++++++++++++++--------------
lib/ippool.h | 13 ++++++-------
lib/tun.c | 46 +++++++++++++++++++++++++++++++++++++++++-----
lib/tun.h | 9 +++++----
7 files changed, 153 insertions(+), 40 deletions(-)
hooks/post-receive
--
The OpenGGSN project