Commit Graph

127 Commits

Author SHA1 Message Date
Heikki Hannikainen b554e09319 incoming: Only drop 3rd-party packets with TCPIP/TCPXX in second path 2012-10-21 14:56:52 +03:00
Heikki Hannikainen faea0af01b Disallow unverified packets with TCPXX in path or qAX q construct 2012-10-19 22:16:06 +03:00
Heikki Hannikainen 745c092044 allow testing with 40000 clients 2012-10-11 22:43:32 +03:00
Heikki Hannikainen 5f021c73f8 testing: test cases for dupecheck 8-bit mangling handling 2012-10-09 01:57:32 +03:00
Heikki Hannikainen 627605bc68 dupecheck: Store a space-trimmed version of packet to dupecheck db
(if there were spaces in the end of the packet), and drop any
further whitespace-trimmed packets. Whitespace-appended packets
will get throught, still.
This is an UI-View hack - it tends to drop spaces in TNC2 mode.
2012-10-09 00:47:10 +03:00
Heikki Hannikainen 1968dc4b38 Improve validation for srccall/dstcall/path/q construct
* separate src/dstcall check function
* check lenghts of callsigns
* allow '*' after callsign only in digipeater elements
* allow hex IPv6 address after Q construct (only)
2012-10-08 23:01:23 +03:00
Heikki Hannikainen eef48259ce incoming: validate all callsigns in digi path to not contain junk,
allow alphanumeric, '-', and '*' only in the end.
(test case updated, in 11misc-drops.t)
2012-10-08 10:11:49 +03:00
Heikki Hannikainen 514e19916c misc-drops test: added cntrl-chars-in-srccall-and-dstcall tests 2012-10-08 09:31:44 +03:00
Heikki Hannikainen 3fe8cad58c Fixed ,qAI login processing - don't do it for UDP core peers
since we don't know their usernames anyway.
Added test case within 61udp-peer.t.
2012-10-07 14:28:15 +03:00
Heikki Hannikainen 3d5e849b69 incoming #filter commands: make the filter keyword case insensitive
like it is in javaprssrvr. Test case update included.
2012-10-05 00:59:13 +03:00
Heikki Hannikainen b0154fa542 Testing: Validate that all packets from unverified clients are dropped 2012-10-05 00:49:28 +03:00
Heikki Hannikainen ded7b6146c 30filter-cmd test: less debug output 2012-10-05 00:25:29 +03:00
Heikki Hannikainen ca96f895e0 Drop general queries (?APRS?), since they cause reply floods.
Commit includes test case within the misc-drops test.
2012-10-01 00:12:28 +03:00
Heikki Hannikainen ae89e64575 dupecheck test cases: added case with different dstcall SSID
(it must be ignored in dupecheck algorithm)
2012-09-28 17:10:20 +03:00
Heikki Hannikainen 81c6a049f1 Removed unnecessary timers (with default settings) from test configs 2012-09-22 13:39:58 +03:00
Heikki Hannikainen d6ad1c4ba0 Increased UDP socket buffer sizes to make UDP peers pass higher
packet rates. Tuned UDP load test to run with a larger window.
2012-09-19 14:31:37 +03:00
Heikki Hannikainen b790aabcfe Added an UDP load test script in the testing suite. 2012-09-19 14:19:11 +03:00
Heikki Hannikainen b7e9d89a3b IS_Fake_UDP.pm (testing UDP fake peer): increase buffer sizes
to 64k.
2012-09-19 14:18:26 +03:00
Heikki Hannikainen 7e5c6828f4 Additional mic-e test cases with large longitude values
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@870 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-09-17 20:26:39 +00:00
Heikki Hannikainen e8993533ba tests: second mic-e testing packet, and use a prefix which does not match the P/ filter
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@869 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-09-17 19:44:09 +00:00
Heikki Hannikainen 5c0ab36f5b Removed LogDir configuration directive - it's a command line parameter,
we need to log even if config file reading fails.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@790 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-09-01 11:03:08 +00:00
Heikki Hannikainen c664bab01c aggregator tests: fix to do real login procedures
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@788 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-09-01 11:01:55 +00:00
Heikki Hannikainen 463f4ebafb filter messages: reply to filter?
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@784 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-09-01 10:15:08 +00:00
Heikki Hannikainen 84bbe35a77 filter-cmd: more accurate test for filter command in message, validated
against javap 4.0


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@778 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-31 23:22:01 +00:00
Heikki Hannikainen 3b5bbb9515 + filter-cmd test for filter-in-message
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@777 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-31 22:53:04 +00:00
Heikki Hannikainen e99cab345a aggregator test: put PassCode in place
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@756 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-30 13:28:23 +00:00
Heikki Hannikainen d93b888201 tests/runproduct: allow setting PRODUCT_NORUN environment variable to test
a pre-running instance under gdb.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@734 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 16:56:02 +00:00
Heikki Hannikainen 6d8d2d7fec version 0.7.1:
passcode configuration


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@733 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 08:05:53 +00:00
Heikki Hannikainen 1021d1ff8b Add udp submit in example + testing config files
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@730 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 07:37:50 +00:00
Heikki Hannikainen e43668ebd1 Commit missing qAI test set
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@729 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 07:37:06 +00:00
Heikki Hannikainen 740689fe88 Added UDP submit port test case
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@723 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-27 18:42:48 +00:00
Heikki Hannikainen 3b3ae34b1b q algorithm: fixes for TCPIP*,qAC,TESTING insertion in all the right places
Added separate test cases for clientonly and non-clientonly
verified clients


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@670 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-23 07:10:15 +00:00
Heikki Hannikainen 867aafaef8 tests updats for load testing
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@665 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-19 06:43:50 +00:00
Heikki Hannikainen c1eacfc5e4 http-client test: test with variable case headers
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@627 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-14 09:35:29 +00:00
Heikki Hannikainen 5abc1ec3a5 removed obsolete messageonly options from testing config files
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@622 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-13 21:04:59 +00:00
Heikki Hannikainen 14e5192204 added test to check for dropping 3rd party packets and NOGATE/RFONLY
paths


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@598 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-05 08:18:13 +00:00
Heikki Hannikainen 2b3508a453 Accept irregular filter commands (#kjaehrlfkjwfilter <filterstring>) like
the other software.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@586 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-04 07:26:36 +00:00
Heikki Hannikainen 330772c897 Updated test set config files to user ServerId instead of MyCall
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@561 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-01 14:42:16 +00:00
Heikki Hannikainen 26881bb247 Messaging fix: route messages destined to the logged-in username/callsign,
even before a position packet has been transmitted by that call.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@543 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-30 17:43:06 +00:00
Heikki Hannikainen f09f6318c3 added a http post testing tool
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@524 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-29 19:29:11 +00:00
Heikki Hannikainen 92ad943f2b Fixed callsign filters to be case insensitive, and changed the
filter test to test that.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@522 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-29 19:28:08 +00:00
Heikki Hannikainen 1345b9f57a basic config: document the ro flag
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@519 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-29 16:42:20 +00:00
Heikki Hannikainen 299a0c3280 basic config: document Uplink syntax
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@518 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-29 16:03:27 +00:00
Heikki Hannikainen 673f18a779 http upload test: actually verify what comes out
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@509 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-28 13:06:40 +00:00
Heikki Hannikainen ca3e38cc91 added initial test for HTTP packet uploading
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@508 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-28 13:02:33 +00:00
Heikki Hannikainen 2b2c025e54 Log getaddrinfo failure messages from gai_strerrors where applicable.
Handle lookup errors as fatal errors at startup and bail out.
Properly pick IPv6 core peers based on their address in the incoming
packets.
When configuring peergroups, check foor looping and duplicate-generating
configs pointing to myself or having the same peer twice.
Handle [addr]:port syntax in configuration for IPv6.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@506 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-28 09:37:44 +00:00
Heikki Hannikainen 1a7514b4f8 Tuned UDP tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@503 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-26 18:03:42 +00:00
Heikki Hannikainen 27e09d345b javap test config: set up an uplink in basic profile
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@501 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-26 06:28:16 +00:00
Heikki Hannikainen db44312240 Implemented UDP peer group tests
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@499 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-25 22:03:00 +00:00
Heikki Hannikainen 517e4097ae load test: tune parameters a bit
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@498 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-07-25 22:02:38 +00:00