Commit Graph

137 Commits

Author SHA1 Message Date
Heikki Hannikainen ed37f32189 Classify clients only when they have logged in. Use classification
presence to determine if packets should be sent in outgoing.c, which
saves one more condition check for login status for every packet.
2013-02-01 07:33:04 +02:00
Heikki Hannikainen 6ac7098b5a Dupeclients: Prepend "dup\t" to outgoing dupe packets
in order to prevent regular clients from processing them.
2013-01-20 08:21:54 +02:00
Heikki Hannikainen 0312148286 PeerGroup config: Ignore local address quietly to allow symmetric configs 2012-11-23 09:57:51 +02:00
Heikki Hannikainen 48982660ac tests: Make them run 20 seconds faster by making sleeps in tests shorter 2012-11-22 00:19:11 +02:00
Heikki Hannikainen 4eba57d4b1 PeerGroup config: Specify remote ServerIDs before IP addresses 2012-11-20 22:15:35 +02:00
Heikki Hannikainen 74fdfadc30 udp-load test: use a smaller burst to reduce spurious failures 2012-11-20 22:15:00 +02:00
Heikki Hannikainen 45d807d20f Implemented "quirks mode" for buggy unmaintained blacklisted clients.
Initially contains only HR-IXPWIND / Haute Networks HauteWIND.
It transmits LF NUL for line termination instead of CR LF. Enabled
quirks mode for the client, and made it strip spaces and NULs
from beginning of packets.
2012-11-12 22:17:12 +02:00
Heikki Hannikainen 0e7ea413b3 Q construct drops: Account them separately for better drop reason reporting 2012-11-01 01:08:07 +02:00
Heikki Hannikainen 24131405f5 dupecheck: Catch dupes which have had their DEL (0x7f) bytes eaten.
Either replaced by spaces or completely stripped away. With counters,
web presentation and tests in test suite.
2012-10-29 19:22:38 +02:00
Heikki Hannikainen 9960016878 Dupecheck+web: Detect duplicates with low (< 0x20) bytes mangled,
either stripped or replaced with spaces. Count and show counters.
2012-10-26 21:06:53 +03:00
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