Heikki Hannikainen
6d4fca0b12
Added qconstr protocols tests
2016-07-26 16:37:54 +03:00
Heikki Hannikainen
cb9dda75a8
t/20qconstr-clientonly.t: Test invalid protocol ID in Q construct
2016-07-26 16:22:04 +03:00
Heikki Hannikainen
97a3b8f857
Fix a parsing bug with long repeated filters
2016-06-01 23:56:34 +03:00
Heikki Hannikainen
d7e765069f
Test case for checking that a cached position is used for m/ filter
2015-09-10 20:07:47 +03:00
Heikki Hannikainen
c47cd1cbfb
63udp-submit.t: Test packet rejections
2015-09-06 12:38:59 +03:00
Heikki Hannikainen
8c0d983b50
Add new tests for login rejections
2015-09-06 11:52:42 +03:00
Heikki Hannikainen
8875cfb8fd
New config option DisallowLoginCall to reject logins by glob match
2015-09-06 11:51:36 +03:00
Heikki Hannikainen
be7784197a
Do not use N0CALL on t/22path-trace.t test, it's getting dropped now
2015-09-06 11:25:39 +03:00
Heikki Hannikainen
097e542e00
Additional test case for wildcard not matching any chars in the end
2015-09-06 10:46:26 +03:00
Heikki Hannikainen
890b3c0497
New DisallowSourceCall config option to drop packets from additional source callsigns (glob match)
2015-09-06 10:44:59 +03:00
Heikki Hannikainen
95a7c57442
Drop packets from N0CALL* and NOCALL* with any suffix/SSID, not just without SSID
2015-09-06 08:39:06 +03:00
Heikki Hannikainen
7d53f15137
Fix m/ filter test to actually work, it was overlapping with the f/ test range
2015-08-31 09:29:56 +03:00
Heikki Hannikainen
86ab75b45f
Allow t/w filter to match stations with an overlay character on their symbol
2015-08-30 20:24:03 +03:00
Heikki Hannikainen
0998247967
Tests: Test ack message which is going to a station which never sent a position
2014-02-18 08:22:06 +02:00
Heikki Hannikainen
8bed3149b5
Tests: Test o/ object filter with HHMMSSh timestamps (fails currently!)
2014-02-18 08:21:26 +02:00
Heikki Hannikainen
576182ecdd
Deleted unused certs from git
2013-12-28 12:23:42 +02:00
Heikki Hannikainen
a18e760201
Disallow a set of message destinations, old status messages sent by old aprsds.
...
Matches javaprssrvr functionality now.
"javaMSG", /* old aprsd */
"JAVATITLE", /* old aprsd */
"JAVATITL2", /* old aprsd */
"USERLIST", /* old aprsd */
"KIPSS", /* APRS+SA */
2013-12-20 08:36:35 +02:00
Heikki Hannikainen
f08cee43bc
Drop DX packets (DX de ...)
2013-12-19 22:51:38 +02:00
Heikki Hannikainen
cf6f6e2ed7
Drop packets having source callsign of N0CALL, NOCALL, or SERVER
...
* NOCALLs being a default on many TNCs and software
* potentially blocks a message loop between SERVERs
2013-12-19 08:32:15 +02:00
Heikki Hannikainen
a950c8ab4e
Added messaging test with different SSID
2013-06-25 08:18:21 +03:00
Heikki Hannikainen
a71eba8b77
Messaging test: Test 0xFF byte too, and sleep less, run faster.
2013-04-23 08:02:57 +03:00
Heikki Hannikainen
10de64f0ed
Added messaging test which tries high value bytes (127-255)
2013-04-23 06:50:07 +03:00
Heikki Hannikainen
6bbc2c7e91
Tests: test CWOP filtering with CW and EW prefixes
2013-04-19 20:08:44 +03:00
Heikki Hannikainen
ca13794f61
incoming srccall check: relax SSID length requirement a bit to match javap3 for now
2013-04-18 23:05:25 +03:00
Heikki Hannikainen
8da002be7f
Renamed c->handler to handler_line_in
2013-04-13 14:06:09 +03:00
Heikki Hannikainen
1c5106925b
Allow -0 SSID in srccall (and dstcall), to match javaprssrvr
2013-04-10 08:13:24 +03:00
Heikki Hannikainen
fca8f208e9
Drop incoming packets with -0 SSIDs in callsigns. Speedup in callsign
...
checking (array reference instead of pointer math and referencing) and
stricter callsign syntax checks.
2013-04-09 18:33:12 +03:00
Heikki Hannikainen
8540eb7752
parse_aprs: Fix logging of "Unknown NMEA" to use hlog_packet
2013-03-07 21:23:54 +02:00
Heikki Hannikainen
75d860808b
ca/cert-selfsigned: Fixed hashbang shell path, thanks to Ge0rG for bug report
2013-03-05 01:23:04 +02:00
Heikki Hannikainen
6265b05d42
ssl key + cert for testing, + openssl scripts to create
2013-03-04 20:22:52 +02:00
Heikki Hannikainen
203925785f
Improved quirks mode: Clean up spaces in end of path elements
2013-03-01 16:55:10 +02:00
Heikki Hannikainen
4c6dcd6f21
quirks mode: Trim spaces from the end of srccall
2013-02-26 17:36:09 +02:00
Heikki Hannikainen
62848fb241
HTTP status server test: further JSON content tests
2013-02-24 08:27:17 +02:00
Heikki Hannikainen
98baac306a
HTTP status server tests: Make sure JSON responses actually decode
2013-02-24 08:20:31 +02:00
Heikki Hannikainen
77456779aa
HTTP status server test cases: Do compressed downloads
2013-02-24 08:08:06 +02:00
Heikki Hannikainen
fbe1933f5f
http status web test: added test for counterdata fetch
2013-02-23 18:05:53 +02:00
Heikki Hannikainen
5173a3fc06
Fix issue 20: Escape unprintable characters when logging packets
2013-02-19 18:02:49 +02:00
Heikki Hannikainen
f99bcd70f3
Fix third-party header parser to allow more than 2 path elements.
2013-02-06 19:07:07 +02:00
Heikki Hannikainen
4e5f5f6243
misc-drops: Fix pass test in the end to use a valid packet
2013-02-06 17:44:41 +02:00
Heikki Hannikainen
d6087a259e
Really drop invalid 3rd-party packets (and test it right)
2013-02-05 22:46:16 +02:00
Heikki Hannikainen
0a41e69a9f
Make p and b filters work on 3rd-party packets. Validate
...
3rd party packet header validation in tests, too.
2013-02-05 22:29:02 +02:00
Heikki Hannikainen
ef56b7431f
Parse most data out of 3rd-party packets, add tests.
...
Validate calls in path after Q construct.
2013-02-05 13:28:22 +02:00
Heikki Hannikainen
7475552ca2
startup: Don't do DNS call-home when running the test suite.
2013-02-04 23:55:40 +02:00
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