Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update netlinklibHEADmaster | Himbeer | 2025-03-18 | 1 | -8/+28 |
| | | | | | This includes assigning metrics to default routes in such a way that native connectivity is always preferred over DS-Lite. | ||||
* | Configure 192.168.100.2/24 on eth1 | Himbeer | 2024-09-07 | 1 | -1/+2 |
| | | | | | | My particular modem uses a different address range, but this is the standard range found on most other devices. To maximize compatibility with future modems this range should be included as well. | ||||
* | Offer carrier0 as VLAN 7 on eth1 (WAN interface) | Himbeer | 2024-09-07 | 1 | -0/+19 |
| | | | | | | | | | | Many providers require the use of this VLAN tag in order to access their services. My current DSL modem is capable of adding the tag on its own which is why this functionality wasn't implemented in RSDSL. However a GPON-based fiber infrastructure is going to be built soon. These networks generally use PPPoE just like DSL, but many of them use different VLAN tags. In my particular case the ISP is already known and VLAN 7 is correct for both the current and future providers. | ||||
* | Print IPv6 ULA prefixes to stdout | Himbeer | 2024-08-31 | 1 | -2/+2 |
| | |||||
* | Fix "File exists" error on restart | Himbeer | 2024-08-31 | 1 | -1/+3 |
| | | | | | | | | VLAN creation now checks if the VLAN interface already exists. If so, no creation attempt is made. The interface is still set to "up" and configured. This fixes the service falling into a permanent restart loop if it crashes, potentially enabling network access to the device for better debugging. | ||||
* | Fix native eth0 ULA prefix inconsistency with GUA subnetting scheme | Himbeer | 2024-08-31 | 1 | -1/+1 |
| | | | | | | | | The subnet ID was incorrectly set to 0. The GUA prefix is subnetted differently and uses 0 for the WAN-side address of the router, starting internal subnets at 1. This commit sets the ULA subnet ID of the native eth0 interface from 0 to 1. The VLAN subnet IDs are already implemented correctly. | ||||
* | Configure ULAs on LAN interfaces | Himbeer | 2024-08-20 | 1 | -0/+13 |
| | | | | | Rationale: IPv6 support for WireGuard VPN with dynamic GUA prefix using NPT | ||||
* | fix flush_conntrack being a no-op | HimbeerserverDE | 2023-11-23 | 1 | -6/+15 |
| | |||||
* | flush conntrack on wan event | HimbeerserverDE | 2023-11-23 | 1 | -0/+65 |
| | |||||
* | update netlinklib0.8.2 | HimbeerserverDE | 2023-11-18 | 1 | -47/+49 |
| | |||||
* | move library to its own create0.8.0-dev | HimbeerserverDE | 2023-11-14 | 7 | -889/+27 |
| | |||||
* | fix informing of netlinkd when the ppp link goes down0.7.3 | HimbeerserverDE | 2023-11-13 | 1 | -9/+14 |
| | |||||
* | inform dhcp6 of ppp (de)configuration0.7.2 | HimbeerserverDE | 2023-11-13 | 1 | -3/+20 |
| | |||||
* | fix sigusr1 kills0.7.1 | HimbeerserverDE | 2023-11-06 | 1 | -1/+1 |
| | |||||
* | inform radvd of ipv6 (re)configuration | HimbeerserverDE | 2023-10-15 | 1 | -0/+5 |
| | |||||
* | config dslite0 on SIGUSR1 | HimbeerserverDE | 2023-10-15 | 1 | -0/+20 |
| | |||||
* | config6 ppp0 gua on SIGUSR1 | HimbeerserverDE | 2023-10-15 | 1 | -0/+5 |
| | |||||
* | remove unused variables and imports | HimbeerserverDE | 2023-10-15 | 1 | -5/+2 |
| | |||||
* | log vlan configuration | HimbeerserverDE | 2023-10-15 | 1 | -0/+1 |
| | |||||
* | log ppp0 configuration | HimbeerserverDE | 2023-10-15 | 1 | -0/+4 |
| | |||||
* | config6 vlans on SIGUSR1 | HimbeerserverDE | 2023-10-15 | 1 | -0/+16 |
| | |||||
* | config6 eth0 on SIGUSR1 | HimbeerserverDE | 2023-10-15 | 1 | -0/+8 |
| | |||||
* | add ppp v6 as link local | HimbeerserverDE | 2023-10-15 | 1 | -1/+1 |
| | |||||
* | read pd config | HimbeerserverDE | 2023-10-15 | 1 | -0/+5 |
| | |||||
* | configure ppp0 on SIGUSR1 | HimbeerserverDE | 2023-10-15 | 1 | -1/+30 |
| | |||||
* | rewrite: initialize local interfaces | HimbeerserverDE | 2023-10-15 | 2 | -163/+41 |
| | |||||
* | fix byte order of endpoint addresses | HimbeerserverDE | 2023-10-15 | 1 | -6/+6 |
| | |||||
* | handle interface names shorter than IFNAMSIZ correctly | HimbeerserverDE | 2023-10-15 | 2 | -9/+30 |
| | |||||
* | use fixed size interface names | HimbeerserverDE | 2023-10-15 | 2 | -11/+20 |
| | |||||
* | fix a variety of memory errors | HimbeerserverDE | 2023-10-15 | 1 | -18/+28 |
| | |||||
* | delete_tunnel doc comment: creation -> deletion | HimbeerserverDE | 2023-10-15 | 1 | -1/+1 |
| | |||||
* | use pointers for strings | HimbeerserverDE | 2023-10-15 | 1 | -11/+11 |
| | |||||
* | compile on musl: change type of SIOC constants to c_int | HimbeerserverDE | 2023-10-15 | 1 | -3/+3 |
| | |||||
* | change type of SIOC constants to c_ulong | HimbeerserverDE | 2023-10-15 | 1 | -3/+3 |
| | |||||
* | fix borrowing | HimbeerserverDE | 2023-10-15 | 1 | -4/+4 |
| | |||||
* | add unsafe blocks | HimbeerserverDE | 2023-10-15 | 1 | -11/+17 |
| | |||||
* | rewrite tunnel deletion to use libc rather than bindings | HimbeerserverDE | 2023-10-15 | 1 | -18/+46 |
| | |||||
* | tunnel api: accept owned strings | HimbeerserverDE | 2023-10-15 | 1 | -10/+6 |
| | |||||
* | try to close socket after adding tunnel | HimbeerserverDE | 2023-10-15 | 1 | -0/+8 |
| | |||||
* | rewrite ipip6 tunnel creation to use libc rather than bindings | HimbeerserverDE | 2023-10-15 | 1 | -18/+56 |
| | |||||
* | mark tunnel structs as ipv4 | HimbeerserverDE | 2023-10-15 | 1 | -8/+8 |
| | |||||
* | rewrite sit tunnel creation to use libc rather than bindings | HimbeerserverDE | 2023-10-15 | 1 | -17/+89 |
| | |||||
* | shorten error imports | HimbeerserverDE | 2023-10-15 | 7 | -9/+14 |
| | |||||
* | move tunnel code to main crate | HimbeerserverDE | 2023-10-15 | 2 | -0/+108 |
| | | | | first step of getting rid of c bindings | ||||
* | enable net.ipv6.conf.default.forwarding | HimbeerserverDE | 2023-09-04 | 1 | -0/+1 |
| | |||||
* | re-add (don't delete) ipv6 link-local address to lan side interfaces after ↵ | HimbeerserverDE | 2023-08-17 | 1 | -0/+2 |
| | | | | flushing them for the wan update | ||||
* | Revert "ignore eth1 initialization" | HimbeerserverDE | 2023-08-14 | 1 | -0/+14 |
| | | | | This reverts commit 194168ebfd7d8a73f46d2485673a585def61adde. | ||||
* | ignore eth1 initialization | HimbeerserverDE | 2023-08-14 | 1 | -14/+0 |
| | |||||
* | always configure link-local ipv6 regardless of prefix status0.6.2 | HimbeerserverDE | 2023-08-14 | 1 | -4/+9 |
| | |||||
* | pd_config -> pdconfig consistency | HimbeerserverDE | 2023-08-13 | 1 | -2/+2 |
| |