Commit graph

42 commits

Author SHA1 Message Date
Jett Chen
af09c610b2 cargo format 2023-12-17 01:27:07 +08:00
Jett Chen
65efa0a2e1 add configuration module 2023-12-17 01:26:44 +08:00
Jett Chen
54ec260fe3 Initialize Tun Interface based on platform 2023-12-17 01:26:44 +08:00
Jett Chen
c346ec5b39 Update for MacOS 2023-12-17 01:26:44 +08:00
Conrad Kramer
3e5a01ffbe Update locking to be interior to PeerPcb 2023-12-17 01:26:44 +08:00
Jett Chen
261f24d9ef add makefile 2023-12-17 01:26:37 +08:00
Jett Chen
94233874e6 checkpoint 2023-12-17 01:23:42 +08:00
Jett Chen
17610ff90d Start Tun Interface at Daemon Command 2023-12-17 01:21:08 +08:00
Jett Chen
2cb9dd75ca Fix Duplicate Packet Error 2023-12-17 01:21:08 +08:00
Jett Chen
4a9fab62db Update daemon 2023-12-17 01:21:08 +08:00
Jett Chen
5226326caa add write to network on received packets 2023-12-17 01:21:08 +08:00
Jett Chen
5e4491105a fix misconfiguration 2023-12-17 01:21:08 +08:00
Jett Chen
7f6897f0d6 Fix async problem
remove timeouts
2023-12-17 01:21:08 +08:00
Jett Chen
28ebfec3ca Lower timeout interval 2023-12-17 01:21:08 +08:00
Jett Chen
4038d125db concurrent read write loop working
relies on timeouts. Write to Networks doesn't work yet
2023-12-17 01:21:08 +08:00
Jett Chen
6c1c806401 Switch to RwLock 2023-12-17 01:21:08 +08:00
Jett Chen
02f5a4ef74 WIP async read write implementation 2023-12-17 01:21:08 +08:00
Jett Chen
13a5ab8352 add support for preshared keys 2023-12-17 01:21:08 +08:00
Jett Chen
c58b77fb3f add more debug info 2023-12-17 01:21:08 +08:00
Jett Chen
cba9d091fa Attempt at decapsulation
Receives packet by remote wireguard server, but can't decapsulate currently
2023-12-17 01:21:08 +08:00
Jett Chen
ace35f96ba add catch-all allowed ip 2023-12-17 01:21:08 +08:00
Jett Chen
cdc3acdb5e incorporate wireguard daemon with network interface 2023-12-17 01:21:08 +08:00
Jett Chen
6339b6bc4b add makefile 2023-12-17 01:20:56 +08:00
dav
60257b256a Intial GTK, swtich to Relm, basic Flatpak Build 2023-11-18 12:42:52 -08:00
Jett Chen
c9f104e523 Generate NetworkSettings with IPC
This generates and applies NetworkSettings object with unix socket IPC.

- domain socket, json-rpc based communication
- switches to anyhow for burrow crate
- adds support for starting daemons on macos
2023-10-14 10:25:24 -07:00
dav
6368ca7f74 Add Burrow Crate Description 2023-10-07 23:37:44 -07:00
dav
6a77df3e20 Remove license-file field 2023-10-07 23:37:44 -07:00
dav
26d97c6a11 Super Basic RPM Install Config 2023-10-07 23:37:44 -07:00
Jett Chen
e643d9dd41 Switch logging to use tracing instead of log
Tracing has support for intervals and a great os_log integration.
2023-09-03 01:06:34 +08:00
dav
f869cbdb53 Implement sending commands via Unix sockets 2023-08-26 11:51:56 -07:00
Jett Chen
3ef13b09a3 Add C Swift Bindings
This adds C Swift bindings for burrow via compiling burrow
with a matching header file.
2023-08-16 13:28:20 -04:00
Sam Poder
da065b503f Log "Set" Actions in Tun (Linux)
I've used the log library and its info method.

I've also added but not used env-logger.
2023-06-27 15:42:36 -04:00
Malted
f3d086effc 📝 Add long description to clap help
Replaces the None value with a descriptive str
2023-06-11 15:46:26 +01:00
Malted
1ec7ea7d3c 🐛 Update the target for the nix crate
I'm a silly little goose and forger 💀  it before
2023-06-10 22:01:17 +01:00
Malted
ba22ebc79f 🐛 Include function on all Darwin platforms
Builds the relevant ensure root function on all Apple devices
2023-06-10 22:01:17 +01:00
Malted
40cc0ba049 🛂 Check for required permissions
On Linux, checks for the `CAP_NET_ADMIN` capability.
On macOS, checks for root.
2023-06-10 22:01:17 +01:00
Sam Poder
a73228cee0 Add Start Command
Command that will start burrow.
2023-06-06 18:16:08 -04:00
Sam Poder
e8704a2560 Add Start Command
This uses the subcommands feature, it was requested by Conrad.
2023-06-06 18:16:08 -04:00
Sam Poder
008ea9ec65 Enable derive on Clap
This let's us use the derive feature.
2023-06-06 18:16:08 -04:00
Sam Poder
d65b9a4c68 Begin CLI Work
Uses the Parser module + it sets up a help & version.
2023-06-06 18:16:08 -04:00
Conrad Kramer
4b0965b846 Build burrow library into iOS and macOS app
This commit adds a build script, build-rust.sh, which compiles the
burrow crate from inside of Xcode. The network extension then links
against this crate.
2023-04-29 16:46:23 -04:00
Conrad Kramer
c1e7415871 Initial commit 2023-04-10 16:49:23 -04:00