summaryrefslogtreecommitdiffstats
path: root/ggsn_tests
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14ggsn: Switch over to new shared/common configuration file layoutHarald Welte2-29/+24
Change-Id: I491819c8bad8efa45cee161ea6f47c3f97941a17
2018-02-05Don't symlink non-existent fileMax1-1/+1
Change-Id: I10309f07fb207c027703f0b43a478c152a029b6d
2018-01-31ggsn_tests: Add test to validate if different pdp ctx can talk each otherPau Espin Pedrol2-0/+84
It seems due to the current network configuration, pdp v4 ctx can talk each other while pdp v6 ctx cannot. Change-Id: I67c04b056cc5c092d357abbb084b7665f59eaf3a
2018-01-31ggsn_tests: Add test case to validate packets forwarded vs droppedPau Espin Pedrol4-8/+262
New dependency is required: titan.ProtocolModules.ICMP It tests that ICMP echo packets can be sent successfully (reply is received or otherwise dest unreachable if routing is not set up correctly during the test). It also tests some cases in which osmo-ggsn is required to drop the packets (eg. unknown src ip unrelated to pdp ctx). It also checks that IPv6 packets are dropped in IPv4 pdp ctx and viceversa It also checks that IPv6 packets are dropped in IPv4 pdp ctx and vice versa. Change-Id: Ib9c6043a6cd3b6622782ec7e7fcd2815101755ba
2018-01-29ggsn_tests: Validate DNS PCO valuesPau Espin Pedrol2-2/+34
Change-Id: I54124cb5269c0992e6c72af1a1ecaa8e3202bf05
2018-01-29ggsn_tests: Configure expected GGSN DNS values and improve error messagePau Espin Pedrol2-4/+15
Change-Id: Ie64ca0b4cda22fd358c8c304d5b3909fd9685948
2018-01-26ggsn: Move random number helpers to Osmocom_Types.ttcnHarald Welte1-34/+0
Change-Id: I141289cbf1807e81d72f07ac1183fa48b2dc54af
2018-01-17Add "SourceInfoFormat := Single;" to all test configsHarald Welte1-0/+1
This will make sure that all log files will contain information about the .ttcn source file name and line number that has caused the log, which is extremely useful during debugging. Change-Id: Id6785757f20279ba84b34747f878baf67d065b20
2017-12-13generalize shared code from regen_makefile.sh into shared helper scriptHarald Welte1-9/+1
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba
2017-12-13regen_makefile.sh: Fix TITAN 6.1.0 supportHarald Welte1-1/+1
When introducing the rewriting for 6.3.0 we broke the 6.1.0 support. Now the result should build on Debian with both 6.1.0 and 6.3.0 Change-Id: I263a6abd2d9eb15ce5778ef8dbfcdac2a228b77d
2017-12-12Makefile: clone dependencies into 'deps' folderHarald Welte1-1/+1
We used to rely on out-of-tree git clones to be prepared by the user. This commit changes the system to make sure we clone all git repos we depend upon into the 'deps' folder, and then setup the symlinks to that folder. As a result, we should be able to support self-contained builds using the makefiles in this repo.
2017-12-08regen_makefile.sh: Add Regex's for TITAN 6.3.0Harald Welte1-0/+4
The TITAN 6.3.0 makefile generator needs some new regular expressions for patching the generated makefile to work on Debian
2017-12-04ggsn: verify IPv4 addr + byte order in IPCP PCO DNS addressesHarald Welte1-1/+1
2017-12-04ggsn: Encode IPCP in IPCP Request, rather than using hard-coded hex stringHarald Welte1-2/+11
We now have a proper definition of IPCP in IPCP_Types and can thus encode/decode on the fly and avoid hand-crafted octetstrings.
2017-12-04ggsn: Verify presence of DNS addresses in IPCP of PCOHarald Welte2-1/+55
If we request DNS in IPCP in PCO, we also expect a corresponding result.
2017-11-19Remove BSSAPP, BSSGP, BSSMAP, GTP, GTPv2, ISUP, LLC, MobileL3, NS, SNDCPHarald Welte1-1/+1
All of those now have separate upstream repositories on git://git.eclipse.org/gitroot/titan and we don't need to keep a copy around
2017-11-19Add ASP_ConnId_ReadyToRelease in all translation ports using IPL4aspHarald Welte1-0/+4
This is required after update to IPL4asp R.29.A of 2017-Oct-17
2017-09-21ggsn_tests: Remove incomplete user plane testing codeHarald Welte2-162/+6
In commit 0b7545dff13394fcaac2a9f904fe6858bca7d661 I accidentially committed incomplete support for user plane (GTP-U) testing to the GGSN test. This code has caused the jenkins tests since August 26th to fail, let's revert it until this is fully implemented + tested.
2017-09-07ggsn: Extend IPCP PDP IPv4 test with another PCO protocol beyond IPCPHarald Welte1-0/+3
This is to test for a bug that osmo-ggsn fixed in Icc2e6716c33d78d3c3e000f529806228d8aa155e
2017-08-26sysinfo: Fix the TC_telnet test case VTY command orderHarald Welte4-7/+167
2017-08-25GGSN_Tests: Fix IPv4 PCODNS matchingHarald Welte1-2/+2
2017-08-19generalize 'start.sh' script for executing synamically linked testsuiteHarald Welte1-2/+0
2017-08-19GGSN_Tests: Enable junit-xml generationHarald Welte3-2/+9
2017-08-19Add Native_Functions module for inet_addr / inet_ntoaHarald Welte1-2/+2
2017-08-19GGSN_Tests: Make SGSN and GGSN addresses configurable via moduleparHarald Welte4-10/+26
2017-08-14GGSN_Tests: Verify EUA and PCO in PDP context creationHarald Welte1-1/+58
The EUA and PCO of the created PDP context mustmatc wat we sent in the request.
2017-08-13GGSN_Tests: Comment on each test caseHarald Welte1-0/+6
2017-08-13GGSN_Tests: Actually request the right IPv4 PCO according to the test caseHarald Welte2-9/+51
Missing: Verification of returned PCO
2017-08-13GGSN_Test: Use randomized sequence numbers in every testHarald Welte1-2/+2
2017-08-13GGSN_Tests: remove unneeded ctx argument from f_send_gtpc()Harald Welte1-3/+3
2017-08-13GGSN_Tests: Add config fileHarald Welte1-0/+16
2017-08-13GGSN_Tests: Randomize IMSIs and use different APN for v4 + v6Harald Welte1-7/+38
2017-08-13GGSN_Tests: Make sure f_init() body is traversed only onceHarald Welte1-0/+7
We don't want the sequence numbers to be random-reinitialized on every test case, but only once.
2017-08-13GGSN_Tests: Sequence numbers are node-global and not per-PDP contextHarald Welte1-13/+16
2017-08-09GGSN: Test PDP Context activation wtih different PCOsHarald Welte1-14/+85
2017-08-09GGSN IPv6: Transmit Router Solicit, receive RouterAdv, transmit NeightSolicitHarald Welte1-7/+210
2017-08-09link/use IP and ICMPv6 ProtocolModulesHarald Welte2-1/+9
We will use them for router solicitation/advertisements soon
2017-08-05GGSN_Tests: Get it up to PDP Ctx ACT, GTP-U and Ctx DEACTHarald Welte1-40/+126
2017-08-05GGSN_Tests: Add function to send DELETE PDP CONTEXTHarald Welte1-0/+58
2017-08-04GGSN_Tests: Implement GTP-U ping/pong responseHarald Welte1-1/+74
2017-08-04GGSN_Tests: Prepare for separate IPs on control/user planeHarald Welte1-5/+7
2017-08-04GGSN_Tests: Add first functional PDP context activation tests for v4 + v6Harald Welte1-0/+322
2017-08-04GTP: convert from translation port to dual faced portHarald Welte4-31/+41
I spent numerous hours in trying to avoid the dual faced port from segfaulting, but in the end didn't succeed :( The easy way was then simply to fall back to the known-working pattern of the dual-faced port, which I already successfully used also on the NS module for the Gb Inteface
2017-08-03Revert "GTP: Attempt to use UDP_Testport instead of IPL4asp"Harald Welte5-45/+148
This reverts commit a967f3f50edd02aa8aaae1044d162758715ff040.
2017-08-03GTP: Attempt to use UDP_Testport instead of IPL4aspHarald Welte5-148/+45
2017-08-03First attempt with TranslationPort fails in CtrlFunctionsHarald Welte4-1/+186
2017-08-03initial template for GGSN / GTP test casesHarald Welte3-0/+48