Commit Graph

1866 Commits

Author SHA1 Message Date
Heikki Hannikainen 1dfba6333a IS2: Go to protobuf v3 2022-10-26 01:55:27 +03:00
Heikki Hannikainen 5eee1b66d3 is2: Handle negative login responses 2022-10-26 01:55:26 +03:00
Heikki Hannikainen ef1863ffef aprsis2.proto: Specify format, silence a warning 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 9d1787812a Measure round-trip time when pinging IS2 servers 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 4ca8ea37e7 IS2: Implement live upgrade for IS2 clients, with test case. 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 3a5b229959 istest.pm: Add separate rx() test, second half of txrx() 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 17944aae70 IS2: is2_write_message(): remove malloc/free for every outgoing IS2 frame, use stack 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 6b908f22e2 IS2 UDP: Send sequence numbers, remove malloc()+free() from transmit 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 8dd4b107de IS2 UDP corepeer: make it pass packets 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 3da3454fd5 IS2: UDP peergroup IS2 mode negotiation
With exponential backoff for IS2 peering setup timer.
2022-10-26 01:55:04 +03:00
Heikki Hannikainen 74b2e253a9 IS2: Fix memory leak of unpacked IS2 messages, free them consistently in a single place 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 50ebbd98cd IS2 namespace cleanup: Prefix all IS2 messages with IS2 in the .proto file 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 4288769228 IS2 parameter setting: Provide reply messages and test them + sequence number 2022-10-26 01:55:04 +03:00
Heikki Hannikainen f9c6b77aa1 Add IS2 messaging test, works now when filters are implemented 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 1714b70911 IS2: Allow setting a filter over an IS2 connection 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 7833486513 filter.c/h: Refactor a bit, export filter_set() for use from IS2 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 1232faadf2 IS2 tests: load test 2022-10-26 01:55:04 +03:00
Heikki Hannikainen cdc6082f5f Add initial IS2 system test case 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 9e15231899 Add tests/libperl/Google/ProtocolBuffers.pm 2022-10-26 01:55:04 +03:00
Heikki Hannikainen b3e36ef8a2 aprsis2.c: Less debug log 2022-10-26 01:55:04 +03:00
Heikki Hannikainen d4b14f4d27 IS2: Return validation status correctly 2022-10-26 01:55:04 +03:00
Heikki Hannikainen a3c5d08996 aprsis2.proto: Switch comment style to strict // so that the perl protobuf implementation digs it 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 0e1edf1b23 Remove dead/commented code 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 24d247c2e2 + IS2PEERING.md for UDP handshake spec 2022-10-26 01:55:04 +03:00
Heikki Hannikainen d49673ab2c aprsis2: Fix a few things to actually make packets go downstream and upstream 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 0726d1c381 IS2: transmit packets to downstream servers 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 31ca5b7a83 Make a c->write_packet method to support packet transmission for IS2 2022-10-26 01:55:04 +03:00
Heikki Hannikainen f6116dc1f8 IS2: make login actually work (filters missing still) 2022-10-26 01:55:04 +03:00
Heikki Hannikainen ce4eb0187f merged aprsis2 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 0f3aadb96a uplink: modularize ssl peer cert validation 2022-10-26 01:55:04 +03:00
Heikki Hannikainen d18f4eed2d IS2: Added comments 2022-10-26 01:55:04 +03:00
Heikki Hannikainen cac5f5d555 IS2: fix memory leak 2022-10-26 01:55:04 +03:00
Heikki Hannikainen bc138eed27 IS2: improve parsing, get ping/pong working 2022-10-26 01:55:04 +03:00
Heikki Hannikainen b92a51737b IS2: adjust struct element names to be consistent, remove unused is2_deframe 2022-10-26 01:55:04 +03:00
Heikki Hannikainen ccd09e8e1c IS2: implement ping reply 2022-10-26 01:55:04 +03:00
Heikki Hannikainen e5ebb80268 IS2: Send keepalive pings in IS2 format 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 2fc95e7e1c IS2: Use explicit IS2 config for uplink setup 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 573a71dfe1 Use STX/ETX chars in framing IS2 packets. 24 bits for length.
Remove unaligned integer access from length decoding.
Implement IS2 deframing in a more generic way.
Support switching deframing method on the fly.
2022-10-26 01:55:04 +03:00
Heikki Hannikainen b44f2e976d protocol doc updates 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 058610e730 IS2: use a common IS2 message wrapper 2022-10-26 01:55:04 +03:00
Heikki Hannikainen b9b6560351 IS2: successful unpacking of server signature 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 437bf2b8b7 IS2: additional deframing code 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 0d4c8b594a aprsis2: write header and tail around outgoing message 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 4a751c6b85 Add OneMessage type for aprsis2.proto 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 922f1a56b3 A little initial work at sending a server signature in an IS2 protocol 2022-10-26 01:55:04 +03:00
Heikki Hannikainen 04f629bec6 Build with protocol buffers linked in 2022-10-26 01:55:04 +03:00
Heikki Hannikainen e9ad577e7f workflow: Update dependencies 2022-10-26 01:54:24 +03:00
Heikki Hannikainen a37a7c5c59 test: Ease up udp-load test some more 2022-10-25 08:33:43 +03:00
Heikki Hannikainen 91449335a2
Merge pull request #73 from hessu/feature/ssl
tls: fix warnings, rename from ssl to tls, prepare for testing
2022-10-25 02:10:51 +03:00
Heikki Hannikainen dc2f797c61 tls: Rename SSL to TLS in log messages 2022-10-25 02:03:24 +03:00