Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Send LCP Protocol-Reject packets in response to unsupported protocolsHEADmaster | Himbeer | 2025-04-05 | 2 | -6/+26 |
| | | | | | This fixes a bug where the client crashes/hangs instead of handling the condition gracefully and reporting it to the peer. | ||||
* | Update netlinklib | Himbeer | 2025-03-18 | 2 | -3/+3 |
| | |||||
* | Log the correct uplink interface on startup | Himbeer | 2024-09-07 | 1 | -1/+1 |
| | |||||
* | Switch to carrier0 as the uplink interface | Himbeer | 2024-09-07 | 1 | -1/+1 |
| | | | | | | | Previously eth1 was used directly. The new carrier0 uplink is provided by netlinkd and is a VLAN (currently using tag 7) required by many ISPs. Some modems are capable of attaching these tags automatically, but my feature GPON ONT is not. | ||||
* | update netlinklib | Himbeer | 2024-08-17 | 2 | -202/+236 |
| | |||||
* | Fix clippy warnings | Himbeer | 2024-08-17 | 2 | -1/+2 |
| | |||||
* | always issue an administrative open (LCP) when PPPoED starts a new session | HimbeerserverDE | 2024-02-03 | 1 | -0/+2 |
| | | | | Hopefully this fixes a bug that cannot be reproduced outside of production: LCP sometimes remains closed after a line resync. This should ensure that there is no way LCP can get stuck in the closed state even though it doesn't address the unknown root cause. Only time and testing in production will tell if this works. Check the commit history for a revert to find out. | ||||
* | use u128::from(u64::MAX) instead of 0xffffffffffffffff | HimbeerserverDE | 2024-01-30 | 1 | -1/+1 |
| | | | | Makes the code a little bit more readable. | ||||
* | fix address information being lost on clean shutdown | HimbeerserverDE | 2024-01-30 | 1 | -1/+16 |
| | | | | Address preservation is now attempted even across clean reboots. Forcing it to change now requires manual intervention. This fixes a regression introduced by clean terminations. | ||||
* | clippy: Iterator::cloned(): lazy instead of eager (move right before collect) | HimbeerserverDE | 2024-01-30 | 1 | -2/+2 |
| | |||||
* | update rsdsl_ip_config to v0.3.0 | HimbeerserverDE | 2024-01-30 | 2 | -3/+3 |
| | |||||
* | reset echo counter on lcp/auth recv | HimbeerserverDE | 2023-11-22 | 1 | -0/+2 |
| | |||||
* | use correct fd for pppiocgidle | HimbeerserverDE | 2023-11-22 | 1 | -2/+2 |
| | |||||
* | reconnect on SIGHUP | HimbeerserverDE | 2023-11-22 | 1 | -0/+5 |
| | |||||
* | adaptive lcp echo (only send requests if there is no recv activity on the link) | HimbeerserverDE | 2023-11-22 | 2 | -22/+40 |
| | |||||
* | fix PPPIOCNEWUNIT ioctl number | HimbeerserverDE | 2023-11-18 | 1 | -1/+1 |
| | |||||
* | update netlinklib | HimbeerserverDE | 2023-11-18 | 2 | -3/+3 |
| | |||||
* | define ioctls ourselves | HimbeerserverDE | 2023-11-18 | 4 | -12/+12 |
| | |||||
* | fork ioctls and enable aarch64 support | HimbeerserverDE | 2023-11-18 | 2 | -7/+5 |
| | |||||
* | update netlinklib | HimbeerserverDE | 2023-11-18 | 2 | -3/+3 |
| | |||||
* | update netlinklib | HimbeerserverDE | 2023-11-18 | 3 | -4/+4 |
| | |||||
* | update netlinklib | HimbeerserverDE | 2023-11-18 | 3 | -5/+8 |
| | |||||
* | update netlinklib | HimbeerserverDE | 2023-11-17 | 2 | -5/+5 |
| | |||||
* | don't try to open new sessions after shutdown0.1.0 | HimbeerserverDE | 2023-11-15 | 1 | -3/+4 |
| | |||||
* | make interface a constant | HimbeerserverDE | 2023-11-15 | 1 | -2/+4 |
| | |||||
* | fix extreme startup delay: poll interface status instead of sleeping | HimbeerserverDE | 2023-11-15 | 4 | -6/+222 |
| | |||||
* | cargo update | HimbeerserverDE | 2023-11-15 | 1 | -34/+51 |
| | |||||
* | shutdown: give LCP a chance to send a Terminate-Request + PPPoE PADT | HimbeerserverDE | 2023-11-15 | 1 | -6/+9 |
| | |||||
* | don't delete ds config on graceful shutdown | HimbeerserverDE | 2023-11-15 | 1 | -2/+11 |
| | |||||
* | shut down properly on SIGTERM | HimbeerserverDE | 2023-11-15 | 4 | -4/+26 |
| | |||||
* | disable sysinfo default features | HimbeerserverDE | 2023-11-15 | 2 | -68/+2 |
| | |||||
* | prettify error messages | HimbeerserverDE | 2023-11-15 | 1 | -1/+1 |
| | |||||
* | fix abnormally high cpu load resulting from bad async file read implementation | HimbeerserverDE | 2023-11-13 | 3 | -51/+80 |
| | |||||
* | Revert "inform dhcp6 of NCP changes" | HimbeerserverDE | 2023-11-13 | 1 | -4/+0 |
| | | | | This reverts commit a7f32f039b5704beacc097ecba3a19149ae7ac27. | ||||
* | sleep to allow eth1 to come up instead of relying on init supervision | HimbeerserverDE | 2023-11-12 | 1 | -0/+5 |
| | |||||
* | inform dhcp6 of NCP changes | HimbeerserverDE | 2023-11-12 | 1 | -0/+4 |
| | | | | This way the DHCPv6 client can figure out that the (IPv6) link has come up or gone down. | ||||
* | fix sigusr1 kills | HimbeerserverDE | 2023-11-06 | 1 | -1/+1 |
| | |||||
* | update rsdsl_ip_config | HimbeerserverDE | 2023-11-06 | 2 | -3/+3 |
| | |||||
* | log new ds config creation | HimbeerserverDE | 2023-11-06 | 1 | -1/+4 |
| | |||||
* | truncate config output file on address update | HimbeerserverDE | 2023-11-06 | 1 | -13/+12 |
| | | | | Fixes trailing characters not being removed, resulting in an unreadable file. | ||||
* | fix accepted_naks iterator being consumed after applying it to the first ↵ | HimbeerserverDE | 2023-11-06 | 1 | -11/+11 |
| | | | | | | requested option The RCN event now behaves properly if multiple options are nak'd. | ||||
* | issue administrative open on pppoe on startup again | HimbeerserverDE | 2023-11-06 | 1 | -2/+1 |
| | |||||
* | pppoe: set restart counter to -1 on all InitiationSent transitions | HimbeerserverDE | 2023-11-06 | 1 | -0/+4 |
| | |||||
* | chap: only cause timeout if actually waiting for something | HimbeerserverDE | 2023-11-06 | 1 | -3/+5 |
| | |||||
* | ensure that address updates overwrite the file instead of appending to it | HimbeerserverDE | 2023-11-06 | 1 | -0/+9 |
| | |||||
* | bias: prefer sending over receiving | HimbeerserverDE | 2023-11-06 | 1 | -22/+24 |
| | | | | Fixes an issue where sent PADTs already have the session ID and destination MAC address set to the starting values. | ||||
* | trigger pppoe status update on administrative/local close | HimbeerserverDE | 2023-11-06 | 1 | -0/+4 |
| | | | | fixes PADOs being ignores | ||||
* | Revert "reset session id and remote mac address on lcp termination" | HimbeerserverDE | 2023-11-06 | 1 | -4/+0 |
| | | | | This reverts commit 752828e1654a2475c39cf4bf8f5ab7a996a6f0e6. | ||||
* | reset session id and remote mac address on lcp termination | HimbeerserverDE | 2023-11-05 | 1 | -0/+4 |
| | | | | Until now this was only done when there was a PPPoE termination, but LCP causes it to go down too. Because of this PADOs for a new session were ignored. | ||||
* | fix high cpu load on lcp termination | HimbeerserverDE | 2023-11-05 | 1 | -0/+4 |
| |