Commit Graph

24 Commits

Author SHA1 Message Date
0d38256c5d
Bug fixes and misc changes
- Fix DHCP longrun using up instead of run
- Fix wireguard circular dependency
- Use net/netip for anything but net.HardwareAddr
- Add thetford-mines.canada functional example host
- Add a navigator for the structure
- Add helper functions
- Fix types of some elements
2024-09-10 13:41:49 +00:00
0bcad8a5c6
Switch to golang version 2024-09-04 12:32:51 +00:00
f4043a1a9b
Set thetford-mines.canada to use static addressing but still accept_ra 2024-09-01 17:54:21 +00:00
1992777852
Remove unused wrong shift 2024-08-28 14:01:10 +00:00
36f8f392e4
Change to net-predictable assigned name 2024-08-26 14:47:40 +00:00
1c39a2aaf4
Push changes done during networking restucturing 2024-08-26 14:24:50 +00:00
6188aa31b6
Lots of refactorings and few new hosts 2024-08-15 16:50:08 +00:00
6128b07ac4
Update to latest 2023-12-27 06:02:58 +00:00
d9e8db91d3
Log dhcp messages to logger 2023-10-21 15:30:53 +00:00
00dce74879
Many small changes
Netdev:
- Add accept_ra
- Generalize sysctls
- Add property header
- Add vrf gateway
- Bump unreachable metric up to 4096

Router example:
- Tree-structure definitions
2023-10-21 11:52:39 +00:00
7200ce64c9
Change order 2023-10-16 18:10:49 +00:00
6d8cd3530f
Fix some wrong fields and add dhcp definition 2023-10-15 12:21:58 +00:00
7f65658cb6
Structural changes and a few misc fixes
- Merged common functions used
	- depends
	- contains
- Added a stage-separated system where services can depend on interface
  stage readiness
	- configure: early configuration and laydowns
	- ready: interface is administratively up and may recieve
	  link-local addresses and properties only possible on a live
	  interface
- Renamed functions to make them more structured
	- This still needs some improvement but so far this is the best
	  i came up with
2023-10-14 20:47:18 +00:00
a80e93ec6e
More fixes and generalizing, add hypervisor WIP template 2023-09-03 13:27:04 +00:00
8bad04acb6
More cleanup and generalizing 2023-09-03 13:18:01 +00:00
93cccc63fa
Cleanups 2023-09-03 10:47:28 +00:00
cc62fe6dad
Enable snooping on home and set querier interval to 120 seconds, fix typo 2023-08-19 09:36:02 +00:00
0cb4c29392
Don't force self to be mcast router 2023-08-17 08:37:29 +00:00
6859984225
Merge property setting to one function and a bit of bugsquashes, add mcast routing 2023-08-17 08:17:50 +00:00
f8856c5b33
Add argument checks and allow lladdrs and stp to be set 2023-08-16 06:52:45 +00:00
79cb1609e7
Split definitions and functions 2023-05-04 12:43:14 +00:00
9a04e647a5
Disable per-interface forwarding as vrf behaves weirdly without ALL forwarding being set to 1, set exception for home and remove redundant vrf addrkeep 2023-03-30 07:08:03 +00:00
91b023149f
Don't enslave before keeping addresses of interfaces 2023-03-30 05:44:50 +00:00
2714a654e1
Initial commit 2023-03-29 21:00:33 +00:00