Jon Häggblad
7ea139b624
Move request response to version dir ( #4501 )
2024-03-26 12:03:05 +01:00
Jon Häggblad
f3be91741a
Add ability to create a single bundles IP packet directly
2024-03-25 07:26:21 +01:00
Bogdan-Ștefan Neacşu
c1e67cdc15
Increase subnet range for IPPR ( #4487 )
...
* Increase subnet range for IPPR
* Fix for IPv6
* Fix range
* Add unit test
* Bump version
2024-03-21 13:18:43 +02:00
Jon Häggblad
70d37576f4
Add new constructor methods to IPR request/responses ( #4486 )
...
* Add function to create ping request
* Add more constructor methods
2024-03-20 10:49:24 +01:00
Jon Häggblad
5bb9e36842
Tweak display impl for IpPair ( #4454 )
2024-03-11 18:03:39 +01:00
Jon Häggblad
0e56d8c2f7
Add severity level to IPR response and downgrade filter check failed ( #4447 )
...
* Add info level to response from ipr
* Downgrade exit policy filter check failed to warning
* Bump ipr request response version
2024-03-08 15:21:41 +01:00
Bogdan-Ștefan Neacşu
d3ba008b88
Add IPPair constructor ( #4440 )
...
* Add IPPair constructor
* Rename
2024-03-04 12:56:10 +02:00
Bogdan-Ștefan Neacşu
aebd386382
Add IPv6 support to IPPR ( #4431 )
2024-03-01 19:28:21 +02:00
Jon Häggblad
0e3dbece8b
Fix unit test
2024-02-12 08:21:32 +01:00
Jon Häggblad
3fde9e648f
Add health request response
2024-02-10 23:53:03 +01:00
Jon Häggblad
0b37b9fb1c
Add ping pong request response
2024-02-10 23:35:36 +01:00
Jon Häggblad
e273bfc25e
Add message for unrequested disconnect on the IPR
2024-02-10 23:27:07 +01:00
Jon Häggblad
d2ef94f1bd
Add buffer timeout to connect request
2024-02-10 23:13:50 +01:00
Jon Häggblad
3f0210d56a
Handle incoming multi-ip packets in IPR
2024-02-10 22:40:21 +01:00
Jon Häggblad
d8e484b77e
Disconnect stopped client handlers
2024-02-09 09:49:18 +01:00
Jon Häggblad
d5e332ad39
Deduplicate and clean up
2024-02-09 09:49:18 +01:00
Jon Häggblad
8b2f80b03c
Multi IP packet codec ( #4379 )
...
* Codec implementation
* rustfmt
* Extract out magic numbers
2024-02-08 11:01:01 +01:00
Jon Häggblad
b21346064e
Add disconnect request/response for the future
2024-02-07 10:18:23 +01:00
Jon Häggblad
8cccc9ab24
Bump IPR request version
2024-02-06 11:01:54 +01:00
Jon Häggblad
b43a1b8c94
Include destination in error reply
2024-02-05 11:27:28 +01:00
Jon Häggblad
4d62dc9c74
Respond to sender on version mismatch
2024-02-04 18:34:29 +01:00
Jon Häggblad
3d122f45b4
Add two more error responses likely to be used in the future
2024-02-02 17:02:24 +01:00
Jon Häggblad
cb375f15c2
Add ipr response for version mismatch
2024-02-02 16:43:52 +01:00
Jon Häggblad
d7d4c9f09a
Split ip-packet-requests types into modules
2024-02-02 14:49:51 +01:00
Jon Häggblad
0e26a6efdf
Register num_hops
2023-12-05 20:30:20 +01:00
Jon Häggblad
4a8c09f476
Handle dynamic ip allocation in ip packet router ( #4186 )
...
* Add dynamic connect support to ip packet router
* Disconnect inactive clients
* Don't generate ip same as tun device
* clippy
* Extract a few functions to separate mod
* clippy
2023-11-27 15:31:35 +01:00
Jon Häggblad
44395f8466
Implement ip-packet-router connect request response outline ( #4177 )
...
* Try revised request response connect types
* wip: try to get data requests work
* Also serialize response
* tweak log
* Add code path for connect response fail
* Convenience functions on ip packet request
* Remove commented out code
* Restore log to debug
2023-11-27 12:17:58 +01:00
Jon Häggblad
81c692d305
Extract out tun crate ( #4159 )
...
* wip
* Use common interface request response
* wip: extract crates
* wip
* new structure compiles
* Create tun_common subdir
* Comment out return_mix_delays for now
* Remove unused boringtun dependency
* Revert to previous packet encoding
* Allow dead code on non-linux
* Add new function
2023-11-21 09:55:35 +01:00