path: root/ggsn_tests/
AgeCommit message (Collapse)AuthorFilesLines
2018-04-06test GGSN support for optional GTP-U sequence numbersStefan Sperling1-1/+1
Add VTY functionality to GGSN tests, and use the VTY to enable/disable GTP-U Tx sequence numbers in the running osmo-ggsn. The GTPU packet template now makes sequence numbers optional. A template created with its sequence number set to 'omit' will result in a packet without a sequence number, i.e. the 'sequence number present' bit in the packet header is cleared, and the sequence number field is omitted from the encoded GTPU T-PDU packet. Re-use the existing TC_pdp4_clients_interact() test for testing the behaviour of osmo-ggsn. This test is now run twice, once with and once without GTP-U Tx sequence numbers. Verify that packets relayed by osmo-ggsn match its "g-pdu tx-sequence-numbers" configuration setting. Change-Id: I1dc299407c61b1c865035add44067b8ab89001b3 Related: OS#2519
2018-01-31ggsn_tests: Add test case to validate packets forwarded vs droppedPau Espin Pedrol1-1/+1
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
2017-12-13generalize shared code from into shared helper scriptHarald Welte1-9/+1
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba 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 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-08-26sysinfo: Fix the TC_telnet test case VTY command orderHarald Welte1-1/+1
2017-08-19GGSN_Tests: Enable junit-xml generationHarald Welte1-2/+2
2017-08-19GGSN_Tests: Make SGSN and GGSN addresses configurable via moduleparHarald Welte1-1/+1
2017-08-09link/use IP and ICMPv6 ProtocolModulesHarald Welte1-1/+1
We will use them for router solicitation/advertisements soon
2017-08-04GTP: convert from translation port to dual faced portHarald Welte1-1/+1
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 Welte1-1/+1
This reverts commit a967f3f50edd02aa8aaae1044d162758715ff040.
2017-08-03GTP: Attempt to use UDP_Testport instead of IPL4aspHarald Welte1-1/+1
2017-08-03First attempt with TranslationPort fails in CtrlFunctionsHarald Welte1-1/+1
2017-08-03initial template for GGSN / GTP test casesHarald Welte1-0/+9