aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Send LCP Protocol-Reject packets in response to unsupported protocolsHEADmasterHimbeer2025-04-052-6/+26
| | | | | This fixes a bug where the client crashes/hangs instead of handling the condition gracefully and reporting it to the peer.
* Update netlinklibHimbeer2025-03-182-3/+3
|
* Log the correct uplink interface on startupHimbeer2024-09-071-1/+1
|
* Switch to carrier0 as the uplink interfaceHimbeer2024-09-071-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 netlinklibHimbeer2024-08-172-202/+236
|
* Fix clippy warningsHimbeer2024-08-172-1/+2
|
* always issue an administrative open (LCP) when PPPoED starts a new sessionHimbeerserverDE2024-02-031-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 0xffffffffffffffffHimbeerserverDE2024-01-301-1/+1
| | | | Makes the code a little bit more readable.
* fix address information being lost on clean shutdownHimbeerserverDE2024-01-301-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)HimbeerserverDE2024-01-301-2/+2
|
* update rsdsl_ip_config to v0.3.0HimbeerserverDE2024-01-302-3/+3
|
* reset echo counter on lcp/auth recvHimbeerserverDE2023-11-221-0/+2
|
* use correct fd for pppiocgidleHimbeerserverDE2023-11-221-2/+2
|
* reconnect on SIGHUPHimbeerserverDE2023-11-221-0/+5
|
* adaptive lcp echo (only send requests if there is no recv activity on the link)HimbeerserverDE2023-11-222-22/+40
|
* fix PPPIOCNEWUNIT ioctl numberHimbeerserverDE2023-11-181-1/+1
|
* update netlinklibHimbeerserverDE2023-11-182-3/+3
|
* define ioctls ourselvesHimbeerserverDE2023-11-184-12/+12
|
* fork ioctls and enable aarch64 supportHimbeerserverDE2023-11-182-7/+5
|
* update netlinklibHimbeerserverDE2023-11-182-3/+3
|
* update netlinklibHimbeerserverDE2023-11-183-4/+4
|
* update netlinklibHimbeerserverDE2023-11-183-5/+8
|
* update netlinklibHimbeerserverDE2023-11-172-5/+5
|
* don't try to open new sessions after shutdown0.1.0HimbeerserverDE2023-11-151-3/+4
|
* make interface a constantHimbeerserverDE2023-11-151-2/+4
|
* fix extreme startup delay: poll interface status instead of sleepingHimbeerserverDE2023-11-154-6/+222
|
* cargo updateHimbeerserverDE2023-11-151-34/+51
|
* shutdown: give LCP a chance to send a Terminate-Request + PPPoE PADTHimbeerserverDE2023-11-151-6/+9
|
* don't delete ds config on graceful shutdownHimbeerserverDE2023-11-151-2/+11
|
* shut down properly on SIGTERMHimbeerserverDE2023-11-154-4/+26
|
* disable sysinfo default featuresHimbeerserverDE2023-11-152-68/+2
|
* prettify error messagesHimbeerserverDE2023-11-151-1/+1
|
* fix abnormally high cpu load resulting from bad async file read implementationHimbeerserverDE2023-11-133-51/+80
|
* Revert "inform dhcp6 of NCP changes"HimbeerserverDE2023-11-131-4/+0
| | | | This reverts commit a7f32f039b5704beacc097ecba3a19149ae7ac27.
* sleep to allow eth1 to come up instead of relying on init supervisionHimbeerserverDE2023-11-121-0/+5
|
* inform dhcp6 of NCP changesHimbeerserverDE2023-11-121-0/+4
| | | | This way the DHCPv6 client can figure out that the (IPv6) link has come up or gone down.
* fix sigusr1 killsHimbeerserverDE2023-11-061-1/+1
|
* update rsdsl_ip_configHimbeerserverDE2023-11-062-3/+3
|
* log new ds config creationHimbeerserverDE2023-11-061-1/+4
|
* truncate config output file on address updateHimbeerserverDE2023-11-061-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 ↵HimbeerserverDE2023-11-061-11/+11
| | | | | | requested option The RCN event now behaves properly if multiple options are nak'd.
* issue administrative open on pppoe on startup againHimbeerserverDE2023-11-061-2/+1
|
* pppoe: set restart counter to -1 on all InitiationSent transitionsHimbeerserverDE2023-11-061-0/+4
|
* chap: only cause timeout if actually waiting for somethingHimbeerserverDE2023-11-061-3/+5
|
* ensure that address updates overwrite the file instead of appending to itHimbeerserverDE2023-11-061-0/+9
|
* bias: prefer sending over receivingHimbeerserverDE2023-11-061-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 closeHimbeerserverDE2023-11-061-0/+4
| | | | fixes PADOs being ignores
* Revert "reset session id and remote mac address on lcp termination"HimbeerserverDE2023-11-061-4/+0
| | | | This reverts commit 752828e1654a2475c39cf4bf8f5ab7a996a6f0e6.
* reset session id and remote mac address on lcp terminationHimbeerserverDE2023-11-051-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 terminationHimbeerserverDE2023-11-051-0/+4
|