author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
20,253 | 07.02.2022 09:57:05 | 28,800 | ef4f83b49863f7189c37a2afdd964044a5d483b8 | migrating traffic watcher to async/await | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/rita_loop/fast_loop.rs",
"new_path": "rita_common/src/rita_loop/fast_loop.rs",
"diff": "@@ -9,7 +9,7 @@ use crate::payment_validator::validate;\nuse crate::peer_listener::get_peers;\nuse crate::peer_listener::tick;\nuse crate::tm_trigger_gc;\n-... | Rust | Apache License 2.0 | althea-net/althea_rs | migrating traffic watcher to async/await |
20,255 | 08.02.2022 11:53:57 | 28,800 | 5534c6bce9f5ee73538eacb7dc98d50065e440fe | Migrated Exit endpoints to async/await | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3281,12 +3281,15 @@ dependencies = [\nname = \"rita_exit\"\nversion = \"0.19.1\"\ndependencies = [\n+ \"actix 0.12.0\",\n\"actix 0.7.11\",\n\"actix-web 0.7.19\",\n+ \"actix-web 4.0.0-beta.20\",\n\"actix-web-h... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrated Exit endpoints to async/await |
20,255 | 04.02.2022 10:43:58 | 28,800 | cb9a12b88e5cf0f7125b292e70be54aa142d2c66 | Migrated Rita common and client endpoints and light client manager to async/await
Rita Client endpoint had light client manager, so that module was also migrated to async/await | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3203,6 +3203,7 @@ dependencies = [\n\"actix 0.12.0\",\n\"actix 0.7.11\",\n\"actix-web 0.7.19\",\n+ \"actix-web 4.0.0-beta.20\",\n\"althea_kernel_interface\",\n\"althea_types\",\n\"antenna_forwarding_client\",... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrated Rita common and client endpoints and light client manager to async/await
Rita Client endpoint had light client manager, so that module was also migrated to async/await |
20,253 | 11.02.2022 01:18:42 | 28,800 | 8d13c978bf9d5dd6bb89b22476cac4f184345c09 | migrating heartbeat sender to async/await
actix resolver has been replaced with use of to_socket_addrs
heartbeat sender now has its own loop to keep to_socket_addrs from blocking forever | [
{
"change_type": "MODIFY",
"old_path": "rita_bin/Cargo.toml",
"new_path": "rita_bin/Cargo.toml",
"diff": "@@ -52,6 +52,7 @@ jemallocator = {version = \"0.3\", optional = true}\nopenssl = {version = \"0.10\", features = [\"vendored\"], optional = true}\n[features]\n+default = [\"bundle_openssl\"]\nje... | Rust | Apache License 2.0 | althea-net/althea_rs | migrating heartbeat sender to async/await
actix resolver has been replaced with use of to_socket_addrs
heartbeat sender now has its own loop to keep to_socket_addrs from blocking forever |
20,253 | 18.02.2022 00:58:39 | 28,800 | 1d4b18bdcfb8b5c23af6c97ff46f2e5096fc434e | migrating conditional compilation statements to if statements
to remove dead code tags | [
{
"change_type": "MODIFY",
"old_path": "rita_bin/Cargo.toml",
"new_path": "rita_bin/Cargo.toml",
"diff": "@@ -52,7 +52,6 @@ jemallocator = {version = \"0.3\", optional = true}\nopenssl = {version = \"0.10\", features = [\"vendored\"], optional = true}\n[features]\n-default = [\"bundle_openssl\"]\nje... | Rust | Apache License 2.0 | althea-net/althea_rs | migrating conditional compilation statements to if statements
to remove dead code tags |
20,253 | 22.02.2022 14:44:01 | 28,800 | 1a08b5657961a86ed1bf2e552965f66b8d7b2be9 | Migrates openwrt_build scripts to use cross which maintains the openwrt toolchain | [
{
"change_type": "DELETE",
"old_path": "scripts/bridge.sh",
"new_path": null,
"diff": "-#!/usr/bin/env bash\n-# this bridges a router into the integration test mesh\n-\n-# ip link set enx000ec6a0b495 netns netlab-1\n-# ip netns exec netlab-1 ifconfig enx000ec6a0b495 up\n-\n-ifconfig enp7s0f3u3u2u1 d... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrates openwrt_build scripts to use cross which maintains the openwrt toolchain |
20,244 | 20.02.2022 08:44:41 | 18,000 | 311932eed82ced289d2e869c15e4a1d76af8bedb | Remove fudge_factor setting
This has never been used in production and is not currently being used.
Therefore it's safe to remove as dead code. | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/debt_keeper/mod.rs",
"new_path": "rita_common/src/debt_keeper/mod.rs",
"diff": "@@ -514,7 +514,6 @@ impl DebtKeeper {\nlet payment_settings = settings::get_rita_common().payment;\nlet close_threshold = get_oracle_close_thresh();\nlet pay_thresh... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove fudge_factor setting
This has never been used in production and is not currently being used.
Therefore it's safe to remove as dead code. |
20,247 | 28.02.2022 12:23:19 | 28,800 | 6b774ebcfa3c7cbe4ea42807db449c7e651c8c4c | Bump for Beta 19 RC 2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3176,7 +3176,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.1\"\n+version = \"0.19.2\"\ndependencies = [\n\"actix 0.12.0\",\n\"actix 0.7.11\",\n@@ -3213,7 +3213,7 @@ dependencies =... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19 RC 2 |
20,255 | 28.02.2022 10:27:49 | 28,800 | 32690246319a5a2744fc856258bda1c8ed788ad9 | Completely Migrated Rita Client to asnyc await. Removed the following dependencies:
futures01 0.1
babel-monitor-legacy
tokio 0.1
tokio-codec 0.1
actix 0.1
actix-web 0.7 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3216,8 +3216,6 @@ name = \"rita_client\"\nversion = \"0.19.2\"\ndependencies = [\n\"actix 0.12.0\",\n- \"actix 0.7.11\",\n- \"actix-web 0.7.19\",\n\"actix-web 4.0.0-beta.20\",\n\"actix-web-httpauth 0.6.0-beta... | Rust | Apache License 2.0 | althea-net/althea_rs | Completely Migrated Rita Client to asnyc await. Removed the following dependencies:
futures01 0.1
babel-monitor-legacy
tokio 0.1
tokio-codec 0.1
actix 0.1
actix-web 0.7 |
20,255 | 28.02.2022 11:24:45 | 28,800 | 9d3ceaed1513c36e819050011085c88b9d47aaa8 | Completely Migrated Rita Common to async/await. Removed the following dependencies:
actix 0.7
actix-web 0.7
tokio 0.1
babel-monitor-legacy | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3251,9 +3251,7 @@ name = \"rita_common\"\nversion = \"0.19.2\"\ndependencies = [\n\"actix 0.12.0\",\n- \"actix 0.7.11\",\n\"actix-service\",\n- \"actix-web 0.7.19\",\n\"actix-web 4.0.0-beta.20\",\n\"actix-web... | Rust | Apache License 2.0 | althea-net/althea_rs | Completely Migrated Rita Common to async/await. Removed the following dependencies:
actix 0.7
actix-web 0.7
tokio 0.1
babel-monitor-legacy |
20,255 | 28.02.2022 10:11:37 | 28,800 | b38356b907e09de37292fb022170dcb30a78c087 | Migrated exit dbclient, geoip and traffic watcher to async/await | [
{
"change_type": "MODIFY",
"old_path": "rita_bin/src/exit.rs",
"new_path": "rita_bin/src/exit.rs",
"diff": "@@ -30,7 +30,6 @@ use rita_common::rita_loop::start_rita_common_loops;\nuse rita_common::usage_tracker::save_usage_on_shutdown;\nuse rita_common::utils::env_vars_contains;\nuse rita_exit::data... | Rust | Apache License 2.0 | althea-net/althea_rs | Migrated exit dbclient, geoip and traffic watcher to async/await |
20,255 | 28.02.2022 12:14:43 | 28,800 | 28fd1d66f2cb422f973d51403016a9e107e07d5c | Completely Migrated Rita Exit to asnyc/await. Removed the following dependencies:
actix 0.7
actix-web 0.7
babel-monitor-legacy
futures01 0.1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3290,20 +3290,16 @@ name = \"rita_exit\"\nversion = \"0.19.2\"\ndependencies = [\n\"actix 0.12.0\",\n- \"actix 0.7.11\",\n- \"actix-web 0.7.19\",\n\"actix-web 4.0.0-beta.20\",\n\"althea_kernel_interface\",\n\... | Rust | Apache License 2.0 | althea-net/althea_rs | Completely Migrated Rita Exit to asnyc/await. Removed the following dependencies:
actix 0.7
actix-web 0.7
babel-monitor-legacy
futures01 0.1 |
20,244 | 01.03.2022 07:50:54 | 18,000 | 7d47948d00cb57a99880d1be58813466c5957636 | Restore linux_build_static as build_exit.sh
This pulls a recently deleted file out of the history becuase I simply
can't figure out how to staticly link postgresql without it. | [
{
"change_type": "MODIFY",
"old_path": "scripts/build_exit.sh",
"new_path": "scripts/build_exit.sh",
"diff": "#!/bin/bash\n+# Usage: ./linux_build_static [--debug] [--release]\n+#\n+# This script builds a static Linux binaries.\n+#\n+# Options:\n+# --debug (optional) Use debug profile\n+# --release ... | Rust | Apache License 2.0 | althea-net/althea_rs | Restore linux_build_static as build_exit.sh
This pulls a recently deleted file out of the history becuase I simply
can't figure out how to staticly link postgresql without it. |
20,244 | 01.03.2022 11:23:44 | 18,000 | f6ca50a40f4949512d0dda13ea131602b29a8a28 | Correct new clippy nits for Rust v1.59.0 | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/open_tunnel.rs",
"new_path": "althea_kernel_interface/src/open_tunnel.rs",
"diff": "@@ -103,7 +103,7 @@ impl dyn KernelInterface {\n\"listen-port\",\n&format!(\"{}\", args.port),\n\"private-key\",\n- &args.private_key_path.to_str().... | Rust | Apache License 2.0 | althea-net/althea_rs | Correct new clippy nits for Rust v1.59.0 |
20,255 | 01.03.2022 13:11:29 | 28,800 | 7f44d4cd64f9a67f710cdad54f8b524d083450c0 | Patch to 'Prevent repeated payments' commit
1.) Calling an unwrap on a negative debt value was fixed
2.) Sending a i32 '0' instead of Int256 was leading to a deserialization error, fixed | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/network_endpoints/mod.rs",
"new_path": "rita_exit/src/network_endpoints/mod.rs",
"diff": "@@ -255,18 +255,29 @@ pub fn get_client_debt(client: Json<Identity>) -> HttpResponse {\nlet incoming_payments = debt.payment_details.incoming_payments;\nlet... | Rust | Apache License 2.0 | althea-net/althea_rs | Patch to 'Prevent repeated payments' commit
1.) Calling an unwrap on a negative debt value was fixed
2.) Sending a i32 '0' instead of Int256 was leading to a deserialization error, fixed |
20,243 | 02.03.2022 06:49:29 | 28,800 | 68612ceb182d24b4839743bfb4ce06f7443132e8 | Removed migration code and old exit member struct and instances and
updated config
The config has been migrated and updated in the firmware repo. The
old exit code is no longer needed. It's not necessary to run every
time on first boot, so deleting this code is useful. | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/exit_manager/exit_switcher.rs",
"new_path": "rita_client/src/exit_manager/exit_switcher.rs",
"diff": "@@ -1109,7 +1109,6 @@ mod tests {\nlet path = \"./src/exit_manager/config_in_use.toml\".to_string();\nlet settings = RitaClientSettings::new(&... | Rust | Apache License 2.0 | althea-net/althea_rs | Removed migration code and old exit member struct and instances and
updated config
The config has been migrated and updated in the firmware repo. The
old exit code is no longer needed. It's not necessary to run every
time on first boot, so deleting this code is useful. |
20,255 | 04.03.2022 14:45:34 | 28,800 | 53548481c59a52738b6d8fbbcdf09fa74b63a2bf | Added Wifi info to HardwareInfo
For every wifi device in /proc/net/wireless, we add the survey dump and station dump to the hardware info struct
which will then be send to display on op tools | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/hardware_info.rs",
"new_path": "althea_kernel_interface/src/hardware_info.rs",
"diff": "use crate::file_io::get_lines;\nuse crate::KernelInterfaceError as Error;\n+use althea_types::extract_wifi_station_data;\n+use althea_types::ext... | Rust | Apache License 2.0 | althea-net/althea_rs | Added Wifi info to HardwareInfo
For every wifi device in /proc/net/wireless, we add the survey dump and station dump to the hardware info struct
which will then be send to display on op tools |
20,255 | 11.03.2022 12:29:35 | 28,800 | 57f8d8c0ee6a2b9eed98e699bc8282e281affd2c | Added Serde Default to wifiDevice field to prevent deserialization error on optools | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -574,6 +574,7 @@ pub struct HardwareInfo {\n/// Vector of eth data i.e. whether a link is up and if so what the link speed is\npub ethernet_stats: Option<Vec<EthernetStats>>,\... | Rust | Apache License 2.0 | althea-net/althea_rs | Added Serde Default to wifiDevice field to prevent deserialization error on optools |
20,247 | 16.03.2022 14:04:36 | 25,200 | d1c8ae7b56d66d957816be37de904927fc9ab00c | Restrict mr8300 to wifi channels 36 & 149 | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/wifi.rs",
"new_path": "rita_client/src/dashboard/wifi.rs",
"diff": "@@ -29,8 +29,9 @@ pub const ALLOWED_FIVE_80_IPQ40XX: [u16; 2] = [36, 149];\n/// list of nonoverlapping 80mhz channels for the TPLink-a6v3/wr-2100/e5600\npub const ALL... | Rust | Apache License 2.0 | althea-net/althea_rs | Restrict mr8300 to wifi channels 36 & 149 |
20,247 | 16.03.2022 22:07:41 | 25,200 | 28251144e75c1b00130c3f9b061cdc1957b87712 | Bump to Beta 19 RC 3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2551,7 +2551,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.2\"\n+version = \"0.19.3\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2584,7 +2584,7 @@ dependencies = [\... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump to Beta 19 RC 3 |
20,253 | 08.03.2022 11:11:06 | 28,800 | d8ba7757fb1ba7d1123f101f8e0eee9b2bf2e548 | Adding sequence number to contact info to enable editing from ops tools
This sequence number is keeping track of the most recently updated version
of a router's user contact info. Editing it either from the router or from
ops tools will increment it and ops tools will display the most recent edit. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/contact_info.rs",
"new_path": "althea_types/src/contact_info.rs",
"diff": "@@ -17,21 +17,32 @@ pub struct ContactDetails {\nimpl From<ContactType> for ContactDetails {\nfn from(val: ContactType) -> Self {\nmatch val {\n- ContactType::Phone { n... | Rust | Apache License 2.0 | althea-net/althea_rs | Adding sequence number to contact info to enable editing from ops tools
This sequence number is keeping track of the most recently updated version
of a router's user contact info. Editing it either from the router or from
ops tools will increment it and ops tools will display the most recent edit. |
20,253 | 17.03.2022 11:05:08 | 25,200 | 41c5cfa03fd068fe1d228f3a782c71a66d4e0a78 | Cleaning up router checkin fn by breaking into smaller fns | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_update/mod.rs",
"new_path": "rita_client/src/operator_update/mod.rs",
"diff": "@@ -8,10 +8,15 @@ use crate::rita_loop::CLIENT_LOOP_TIMEOUT;\nuse crate::set_router_update_instruction;\nuse althea_kernel_interface::opkg_feeds::CUSTOMFEED... | Rust | Apache License 2.0 | althea-net/althea_rs | Cleaning up router checkin fn by breaking into smaller fns |
20,243 | 02.03.2022 08:24:42 | 28,800 | ff2a4deffcdf36d0f1116b802f60ca359becbf80 | Creating stripped binary by adding strip to Cargo.toml
Simple addition to Cargo.toml to strip unnecessary information like debuginfo
from binaries to make it smaller. | [
{
"change_type": "MODIFY",
"old_path": "rita_bin/Cargo.toml",
"new_path": "rita_bin/Cargo.toml",
"diff": "@@ -5,6 +5,9 @@ edition = \"2018\"\nlicense = \"Apache-2.0\"\nbuild = \"build.rs\"\n+[profile.release]\n+strip = \"true\"\n+\n[[bin]]\nname = \"rita_exit\"\npath = \"src/exit.rs\"\n@@ -60,3 +63,... | Rust | Apache License 2.0 | althea-net/althea_rs | Creating stripped binary by adding strip to Cargo.toml
Simple addition to Cargo.toml to strip unnecessary information like debuginfo
from binaries to make it smaller. |
20,243 | 22.03.2022 13:47:37 | 25,200 | 0acd852b703b8b939478475008997bbbb3dc8cb0 | Changed alias for exits to resolve serde issue
Apparently, serde doesn't override a value and will instead
create duplicate key values when you alias something. In order,
to fix this the alias was changed to be renamed. | [
{
"change_type": "MODIFY",
"old_path": "settings/src/client.rs",
"new_path": "settings/src/client.rs",
"diff": "@@ -106,7 +106,7 @@ fn default_balance_notification() -> bool {\n#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq)]\npub struct ExitClientSettings {\n/// This stores a mapping ... | Rust | Apache License 2.0 | althea-net/althea_rs | Changed alias for exits to resolve serde issue
Apparently, serde doesn't override a value and will instead
create duplicate key values when you alias something. In order,
to fix this the alias was changed to be renamed. |
20,244 | 23.03.2022 16:03:54 | 14,400 | 768b57a04da9b3aeeebb56eeef5fe6874b438556 | Only use bracket format on ipv6 manual peers
Previously the actix http library handled brackets around ipv4
addresses, the latest version no longer handles this transparently and
we now have to check our address formatting depending on if we have an
ipv4 or v6 address to send a http hello to. | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/hello_handler/mod.rs",
"new_path": "rita_common/src/hello_handler/mod.rs",
"diff": "@@ -26,11 +26,20 @@ pub struct Hello {\npub async fn handle_hello(msg: Hello) {\ntrace!(\"Sending Hello {:?}\", msg);\n- let endpoint = format!(\n+ // ipv6 addr... | Rust | Apache License 2.0 | althea-net/althea_rs | Only use bracket format on ipv6 manual peers
Previously the actix http library handled brackets around ipv4
addresses, the latest version no longer handles this transparently and
we now have to check our address formatting depending on if we have an
ipv4 or v6 address to send a http hello to. |
20,244 | 23.03.2022 16:09:48 | 14,400 | c816e94538abb4f2f79f6cb44be2e4b92813ba49 | Provide helper functions for last tunnel manager GC
This is a trivial re-phrasing of the same functionality that is slightly
cleaner in terms of making sure the lock does not get held by accident. | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/tunnel_manager/gc.rs",
"new_path": "rita_common/src/tunnel_manager/gc.rs",
"diff": "@@ -18,6 +18,17 @@ lazy_static! {\nstatic ref LAST_GC: Arc<RwLock<Instant>> = Arc::new(RwLock::new(Instant::now()));\n}\n+/// gets the last GC instant\n+fn get_... | Rust | Apache License 2.0 | althea-net/althea_rs | Provide helper functions for last tunnel manager GC
This is a trivial re-phrasing of the same functionality that is slightly
cleaner in terms of making sure the lock does not get held by accident. |
20,244 | 23.03.2022 16:11:01 | 14,400 | 0857ae1b8e44f7da11956a75aedbbf612187dc4a | Add some function comments to PeerListener
My goal here to help the reader easy understand both the http and udp
peer discovery flow. | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/peer_listener/mod.rs",
"new_path": "rita_common/src/peer_listener/mod.rs",
"diff": "@@ -89,6 +89,7 @@ impl PeerListener {\n}\n}\n+/// Creates a listen interface on all interfaces in the peer_interfaces hashmap.\nfn listen_to_available_ifaces(pe... | Rust | Apache License 2.0 | althea-net/althea_rs | Add some function comments to PeerListener
My goal here to help the reader easy understand both the http and udp
peer discovery flow. |
20,244 | 29.03.2022 16:39:33 | 14,400 | 1740a2e8aa06f68c6d0bf86ec219a2430171648c | Strip flag needs to be in top level workspace
This binary strip flag was not effective since profile settings must be
performed at the top level of the workspace. | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -12,3 +12,4 @@ opt-level = \"z\"\nlto = true\ncodegen-units = 1\nincremental = false\n+strip = true\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "rita_bin/Cargo.toml",... | Rust | Apache License 2.0 | althea-net/althea_rs | Strip flag needs to be in top level workspace
This binary strip flag was not effective since profile settings must be
performed at the top level of the workspace. |
20,253 | 30.03.2022 10:14:57 | 25,200 | 1d94dfad1aa81bf65933b3f26b3c25aca4353201 | disables hardware info collection when logging disabled
If the user has disabled logging but left operator configured
on the router it no longer sends hardware info with checkin so
as to not reveal info about connected devices(wifi info, which
was recently added to hardware info). | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_update/mod.rs",
"new_path": "rita_client/src/operator_update/mod.rs",
"diff": "@@ -167,12 +167,16 @@ async fn checkin() {\nneighbor_info.push(status);\n}\n- let hardware_info = match get_hardware_info(rita_client.network.device) {\n+ /... | Rust | Apache License 2.0 | althea-net/althea_rs | disables hardware info collection when logging disabled
If the user has disabled logging but left operator configured
on the router it no longer sends hardware info with checkin so
as to not reveal info about connected devices(wifi info, which
was recently added to hardware info). |
20,244 | 30.03.2022 17:07:57 | 14,400 | e02b0079c688ca6ef4d2903156099b5e3112c1d0 | Log some hardware info
Currently this hardware info is being sent to operator tools but once
it's there we can only visualize so much of it to help with debugging,
this provides more historical data for us to use via logging
visualizations. | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_update/mod.rs",
"new_path": "rita_client/src/operator_update/mod.rs",
"diff": "@@ -10,6 +10,7 @@ use althea_kernel_interface::opkg_feeds::CUSTOMFEEDS;\nuse althea_types::get_sequence_num;\nuse althea_types::ContactStorage;\nuse althea_... | Rust | Apache License 2.0 | althea-net/althea_rs | Log some hardware info
Currently this hardware info is being sent to operator tools but once
it's there we can only visualize so much of it to help with debugging,
this provides more historical data for us to use via logging
visualizations. |
20,244 | 31.03.2022 14:58:45 | 14,400 | c33c93a3e973d3f3791d4a3c65ccea740ced193d | Disable tests that rely on live ETH or XDAI nodes
Due to an issue with our ETH cluster we currently can't serve these
requests causing errors in our integration tests here. This is hindering
progress so we should simply run these tests manually. | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/src/lib.rs",
"new_path": "auto_bridge/src/lib.rs",
"diff": "@@ -792,6 +792,7 @@ mod tests {\n}\n#[test]\n+ #[ignore]\nfn test_check_withdrawals() {\nlet runner = actix::System::new();\n@@ -842,6 +843,7 @@ mod tests {\n}\n#[test]\n+ #[ignore]\nfn te... | Rust | Apache License 2.0 | althea-net/althea_rs | Disable tests that rely on live ETH or XDAI nodes
Due to an issue with our ETH cluster we currently can't serve these
requests causing errors in our integration tests here. This is hindering
progress so we should simply run these tests manually. |
20,255 | 31.03.2022 10:40:02 | 25,200 | 19b520e6a8ce4e75a0e9776fb563ee5db7fe4bae | Send assigned ipv6 subnet from exit to clients | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -328,6 +328,7 @@ dependencies = [\n\"base64 0.13.0\",\n\"clarity\",\n\"hex\",\n+ \"ipnetwork 0.18.0\",\n\"lettre\",\n\"num256\",\n\"phonenumber\",\n"
},
{
"change_type": "MODIFY",
"old_path": "alth... | Rust | Apache License 2.0 | althea-net/althea_rs | Send assigned ipv6 subnet from exit to clients |
20,244 | 11.04.2022 09:06:26 | 14,400 | 16f1da2568a0448723eb5dc7caadaa021fadbcb8 | Re-enable deregistration
Reviewing exit logs from the last month this is seems safe to enable. | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/database/mod.rs",
"new_path": "rita_exit/src/database/mod.rs",
"diff": "@@ -224,11 +224,7 @@ pub fn client_status(\n})\n} else {\nerror!(\"De-registering client! {:?}\", client);\n- Err(RitaExitError::MiscStringError(\n- \"Refusing to de-register... | Rust | Apache License 2.0 | althea-net/althea_rs | Re-enable deregistration
Reviewing exit logs from the last month this is seems safe to enable. |
20,244 | 13.04.2022 20:39:27 | 14,400 | 174ba51d8da7726c2459a4b7b8580e71559a3b20 | Better doc comments for ExitServer | [
{
"change_type": "MODIFY",
"old_path": "settings/src/client.rs",
"new_path": "settings/src/client.rs",
"diff": "@@ -27,31 +27,35 @@ pub fn default_config_path() -> String {\nformat!(\"/etc/{}.toml\", APP_NAME)\n}\n-/// This struct is used by rita to store exit specific information\n-/// There is one... | Rust | Apache License 2.0 | althea-net/althea_rs | Better doc comments for ExitServer |
20,244 | 13.04.2022 23:01:55 | 14,400 | 61f00a4b22f7fa4207087125e01605220e949f73 | Allow for optional ipv6 assigments to clients
We currently do not actually use any of these assignments client side so
making it optional is easier. On the exit side I suspect issues actually
handing out these IPs to existing registrations will be encountered. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -278,7 +278,7 @@ pub struct ExitDetails {\n#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Clone, Copy)]\npub struct ExitClientDetails {\npub client_internal_ip: ... | Rust | Apache License 2.0 | althea-net/althea_rs | Allow for optional ipv6 assigments to clients
We currently do not actually use any of these assignments client side so
making it optional is easier. On the exit side I suspect issues actually
handing out these IPs to existing registrations will be encountered. |
20,244 | 13.04.2022 23:08:26 | 14,400 | eb533af5d687a64736714e7504e8be83d23ecf9e | Bump for Beta 19 RC5 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2646,7 +2646,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.4\"\n+version = \"0.19.5\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2679,7 +2679,7 @@ dependencies = [\... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19 RC5 |
20,244 | 25.04.2022 11:55:05 | 14,400 | 0d3f62ece286879405f27d3879ac89b47f6283e3 | Reduce logging in forwarding loop | [
{
"change_type": "MODIFY",
"old_path": "antenna_forwarding_protocol/src/lib.rs",
"new_path": "antenna_forwarding_protocol/src/lib.rs",
"diff": "@@ -182,7 +182,7 @@ pub fn process_streams<S: ::std::hash::BuildHasher>(\nmatch read_till_block(&mut antenna_stream.stream) {\nOk(bytes) => {\nif !bytes.is_... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce logging in forwarding loop |
20,253 | 25.04.2022 12:19:24 | 25,200 | 457724b9c0f0034c389d34f0cecee646c9a34ff2 | Expanding feature rita_client/dev_env for ops tools
Part of an update to ops tools dev env to add a rita tower
instance, this feature now points the dev tower to the correct
heartbeat server key and sends it dummy exit info | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/heartbeat/mod.rs",
"new_path": "rita_client/src/heartbeat/mod.rs",
"diff": "@@ -64,13 +64,13 @@ pub struct HeartbeatCache {\nexit_neighbor_rita: RitaNeighbor,\n}\n-#[cfg(not(feature = \"operator_debug\"))]\n+#[cfg(not(any(feature = \"operator_d... | Rust | Apache License 2.0 | althea-net/althea_rs | Expanding feature rita_client/dev_env for ops tools
Part of an update to ops tools dev env to add a rita tower
instance, this feature now points the dev tower to the correct
heartbeat server key and sends it dummy exit info |
20,243 | 27.04.2022 10:23:13 | 25,200 | d156b01278cd72967e978d331c6c0205af107988 | Added simple check to prevent payments from non updated nodes
The code simply adds to the blockchain oracle struct a instant and
a function that returns true if the blockchain oracle is outdated.
The function will be modified to prevent further potential payment
issues in the future. | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.sh",
"new_path": "integration-tests/rita.sh",
"diff": "@@ -84,7 +84,7 @@ if [ ! -z \"${COMPAT_LAYOUT-}\" ] ; then\nelse\npushd ..\nRUSTFLAGS=\"-C target-cpu=native\"\n- cargo build --all --release\n+ cargo build --all --release --feature... | Rust | Apache License 2.0 | althea-net/althea_rs | Added simple check to prevent payments from non updated nodes
The code simply adds to the blockchain oracle struct a instant and
a function that returns true if the blockchain oracle is outdated.
The function will be modified to prevent further potential payment
issues in the future. |
20,244 | 29.04.2022 11:19:13 | 14,400 | b308ca9137fee0945d5a3c40e614fb80879bf91d | Make postgres initdb locale independent
A container rebuild for the integration tests seems to require this
flag, probably an update to the way locales are handled. | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -109,7 +109,7 @@ class World:\nEXIT_NAMESPACE, POSTGRES_USER, POSTGRES_BIN, POSTGRES_DATABASE, POSTGRES_CONFIG), False)\ntime.sle... | Rust | Apache License 2.0 | althea-net/althea_rs | Make postgres initdb locale independent
A container rebuild for the integration tests seems to require this
flag, probably an update to the way locales are handled. |
20,244 | 29.04.2022 16:45:56 | 14,400 | e8b88de89c7bdfd83d41adb857f17361d16b81a0 | Bump for Beta 19RC6 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2646,7 +2646,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.5\"\n+version = \"0.19.6\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2679,7 +2679,7 @@ dependencies = [\... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19RC6 |
20,255 | 02.05.2022 13:28:26 | 25,200 | f41afa05469b4be6185d8f64228170d5baa5080c | Changed position of funciton that calls local exit ip initiaztion
Previously the function initialize_selected_exit_list was called in a position that was unreachable. This moves it to the front
of the exit_manager_tick loop | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/exits.rs",
"new_path": "rita_client/src/dashboard/exits.rs",
"diff": "@@ -65,6 +65,7 @@ pub fn dashboard_get_exit_info() -> Result<Vec<ExitInfo>, RitaClientError> {\nfor exit in exit_client.exits.clone().into_iter() {\nlet selected = ... | Rust | Apache License 2.0 | althea-net/althea_rs | Changed position of funciton that calls local exit ip initiaztion
Previously the function initialize_selected_exit_list was called in a position that was unreachable. This moves it to the front
of the exit_manager_tick loop |
20,244 | 03.05.2022 07:09:35 | 14,400 | 74161503fc0ffc7c868b15e2ed2c42891e6b6306 | Bump for Beta 19 RC7 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2646,7 +2646,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.6\"\n+version = \"0.19.7\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2679,7 +2679,7 @@ dependencies = [\... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19 RC7 |
20,244 | 07.05.2022 08:20:11 | 14,400 | 7d616205df858f6ce709f6cd6acc3e2b61b84564 | Prevent interactive prompts from integration test | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/container/Dockerfile",
"new_path": "integration-tests/container/Dockerfile",
"diff": "FROM postgres\nRUN echo \"deb http://deb.debian.org/debian/ unstable main\" > /etc/apt/sources.list.d/unstable.list\nRUN printf 'Package: *\\nPin: release a... | Rust | Apache License 2.0 | althea-net/althea_rs | Prevent interactive prompts from integration test |
20,244 | 07.05.2022 08:31:32 | 14,400 | 2f9ea7487ffcc6908454c0b47a4828e497c187e1 | Actually run cross tests in test.sh
The --all argument was ommitted here, resulting in us not actually
running the tests. | [
{
"change_type": "MODIFY",
"old_path": "scripts/test.sh",
"new_path": "scripts/test.sh",
"diff": "@@ -10,7 +10,7 @@ cargo clippy --all --all-targets --all-features -- -D warnings\ncargo fmt --all -- --check\n# test rita only on many architectures\n-CROSS_TEST_ARGS=\"--verbose -- --test-threads=1\"\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Actually run cross tests in test.sh
The --all argument was ommitted here, resulting in us not actually
running the tests. |
20,253 | 02.05.2022 10:45:37 | 25,200 | a7c329f0bd42a73ae5225875704100547b1f7bb5 | Adds a toggle for wifi encryption
Users can switch between a set list of encryption
modes from the router dashboard | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/mod.rs",
"new_path": "rita_client/src/dashboard/mod.rs",
"diff": "@@ -143,6 +143,10 @@ pub fn start_client_dashboard(rita_dashboard_port: u16) {\n\"/wifi_settings/get_channels/{radio}\",\nweb::get().to(get_allowed_wifi_channels),\n)\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Adds a toggle for wifi encryption
Users can switch between a set list of encryption
modes from the router dashboard |
20,255 | 05.05.2022 14:21:44 | 25,200 | 01bb6663ef5f01c99a8e0708d7b0083a6c90fef0 | Fix the router dashboard password not being set on the frontend
Two issues were fixed in this commit
1.) router_dashboard_password being saved to rita settings after hitting the /router/password endpoint
2.) Sending a 403 Forbidden to the frontend when not authenticated so that we get the login popup | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/auth.rs",
"new_path": "rita_client/src/dashboard/auth.rs",
"diff": "use actix_web_async::{http::StatusCode, web::Json, HttpResponse};\nuse clarity::utils::bytes_to_hex_str;\nuse rita_common::{RitaCommonError, KI};\n+use settings::set_... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix the router dashboard password not being set on the frontend
Two issues were fixed in this commit
1.) router_dashboard_password being saved to rita settings after hitting the /router/password endpoint
2.) Sending a 403 Forbidden to the frontend when not authenticated so that we get the login popup |
20,244 | 07.05.2022 08:34:44 | 14,400 | 079e5811895128b2aa6abff73449c1f66703e072 | Bump for Beta 19 RC8 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2646,7 +2646,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.7\"\n+version = \"0.19.8\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2679,7 +2679,7 @@ dependencies = [\... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19 RC8 |
20,244 | 09.05.2022 16:30:46 | 14,400 | fbffcf991fae3025cb0c1ec1cab26a4b7a538664 | Simplify operator update lazy statics | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_update/mod.rs",
"new_path": "rita_client/src/operator_update/mod.rs",
"diff": "@@ -73,35 +73,18 @@ impl UptimeStruct {\n}\nlazy_static! {\n- pub static ref RITA_UPTIME: Instant = Instant::now();\n- pub static ref TIME_PASSED: Arc<RwLoc... | Rust | Apache License 2.0 | althea-net/althea_rs | Simplify operator update lazy statics |
20,253 | 09.05.2022 10:38:03 | 25,200 | d5e15425dbb83b8e109c5ff6287c37a975142b2a | Putting wifi encryption strings into enum | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/wifi.rs",
"new_path": "rita_client/src/dashboard/wifi.rs",
"diff": "use ::actix_web_async::http::StatusCode;\nuse ::actix_web_async::web::Path;\nuse ::actix_web_async::{web::Json, HttpRequest, HttpResponse};\n+use althea_types::FromSt... | Rust | Apache License 2.0 | althea-net/althea_rs | Putting wifi encryption strings into enum |
20,244 | 09.05.2022 17:06:26 | 14,400 | daac559c6d7297872262858dc11c197263fcb339 | Bump for Beta 19 RC9 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2646,7 +2646,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.8\"\n+version = \"0.19.9\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2679,7 +2679,7 @@ dependencies = [\... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19 RC9 |
20,244 | 10.05.2022 08:44:48 | 14,400 | 7ca6393deb0703d46b80d11393959be9bbb27ca3 | Reduce middleware logging
This would increase log volume by a huge amount for no good reason now
that basic testing is done. | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/middleware.rs",
"new_path": "rita_common/src/middleware.rs",
"diff": "@@ -74,7 +74,7 @@ where\nNone => url_no_port,\n};\n- info!(\"our req is {:?} and origin is {:?}\", req, origin);\n+ trace!(\"our req is {:?} and origin is {:?}\", req, origin... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce middleware logging
This would increase log volume by a huge amount for no good reason now
that basic testing is done. |
20,253 | 11.05.2022 17:32:32 | 25,200 | 0807fe4c294d5c13e4e87936fdf40773d60b85b3 | Removing installation details on ops checkin
Installation details are stored in ops tools and are
unneeded on the router side. Checking in to ops will
now set installation details to None if successful | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_update/mod.rs",
"new_path": "rita_client/src/operator_update/mod.rs",
"diff": "@@ -222,6 +222,7 @@ async fn checkin() {\nlet mut operator = rita_client.operator;\nlet new_operator_fee = Uint256::from(new_settings.operator_fee);\noperat... | Rust | Apache License 2.0 | althea-net/althea_rs | Removing installation details on ops checkin
Installation details are stored in ops tools and are
unneeded on the router side. Checking in to ops will
now set installation details to None if successful |
20,255 | 18.05.2022 09:43:53 | 25,200 | a41787b36bde8f6f5b719de0b58debb29584a848 | Fixing bug in is_router_storage_small() functionality | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/rita_loop/write_to_disk.rs",
"new_path": "rita_common/src/rita_loop/write_to_disk.rs",
"diff": "@@ -99,18 +99,21 @@ pub fn save_to_disk_loop(mut old_settings: SettingsOnDisk, file_path: &str) {\n/// running out of write endurance and\n/// the h... | Rust | Apache License 2.0 | althea-net/althea_rs | Fixing bug in is_router_storage_small() functionality |
20,255 | 18.05.2022 09:46:19 | 25,200 | 7188e990860323f69a3d120d7967802e06195327 | Removed todo!() condition causing a panic on exit instances during Ctrl-C handling | [
{
"change_type": "MODIFY",
"old_path": "rita_common/src/usage_tracker/mod.rs",
"new_path": "rita_common/src/usage_tracker/mod.rs",
"diff": "@@ -428,13 +428,11 @@ pub fn save_usage_on_shutdown() {\nlet history = &mut USAGE_TRACKER.write().unwrap();\nlet router_model = settings::get_rita_common().netw... | Rust | Apache License 2.0 | althea-net/althea_rs | Removed todo!() condition causing a panic on exit instances during Ctrl-C handling |
20,255 | 18.05.2022 09:53:53 | 25,200 | a17329ccbf77a6c5f3c7c5c69511d0c1aa283e8d | Modified crossbuilders dockerfile to build on Debian and fixed build_exit.sh | [
{
"change_type": "MODIFY",
"old_path": "cross-builders/exit/Dockerfile",
"new_path": "cross-builders/exit/Dockerfile",
"diff": "-FROM rustembedded/cross:x86_64-unknown-linux-gnu-0.2.0\n+FROM debian:11.3\nRUN apt-get update && apt-get install clang-6.0 libclang-6.0-dev llvm-dev libssl-dev postgresql-... | Rust | Apache License 2.0 | althea-net/althea_rs | Modified crossbuilders dockerfile to build on Debian and fixed build_exit.sh |
20,255 | 17.05.2022 13:44:44 | 25,200 | c0737b7cf4ce8094dc44862ff422f4fef7ffcd30 | Fixed bug with exit subnet reclaiming for client that disconnect | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/database/database_tools.rs",
"new_path": "rita_exit/src/database/database_tools.rs",
"diff": "@@ -301,7 +301,7 @@ pub fn delete_client(client: ExitClient, connection: &PgConnection) -> Result<()\ninfo!(\"Reclaimed index is: {:?}\", index);\n- let... | Rust | Apache License 2.0 | althea-net/althea_rs | Fixed bug with exit subnet reclaiming for client that disconnect |
20,255 | 18.05.2022 10:01:08 | 25,200 | c2d8f703972a5f6bc998ba7de7fcce3b57c3a848 | Added diesel migration instructions for prod databases to ipv6 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "exit_db/2022-05-18-184145_ipv6_migration/down.sql",
"diff": "+-- This file should undo anything in `up.sql`\n+ALTER TABLE clients\n+ DROP COLUMN internet_ipv6\n+;\n+DROP TABLE assigned_ips;\n\\ No newline at end of file\n"
},
{
"change_t... | Rust | Apache License 2.0 | althea-net/althea_rs | Added diesel migration instructions for prod databases to ipv6 |
20,255 | 19.05.2022 14:00:25 | 25,200 | 6731ab29725b30cf4e34fb3228e892be2f308b6c | Modified RitaExit to tackle certain edge cases in regard to ipv6 support:
1.) handle multiple ipv6 subnets for clients rather than just 1 per exit cluster
2.) Handle when exit instances dont have ipv6 | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/database/database_tools.rs",
"new_path": "rita_exit/src/database/database_tools.rs",
"diff": "@@ -274,7 +274,7 @@ pub fn client_conflict(\n/// Delete a client from the Clients database. Retrieve the reclaimed subnet index and add it to\n/// avail... | Rust | Apache License 2.0 | althea-net/althea_rs | Modified RitaExit to tackle certain edge cases in regard to ipv6 support:
1.) handle multiple ipv6 subnets for clients rather than just 1 per exit cluster
2.) Handle when exit instances dont have ipv6 |
20,243 | 23.05.2022 14:41:46 | 25,200 | bbd7351a2df6bb26a2469a2cf20d4ddcdc551735 | Change to neighborstatus back to original
Previous change was unnecessary to neighbor status here. | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/interop.rs",
"new_path": "althea_types/src/interop.rs",
"diff": "@@ -706,8 +706,6 @@ pub struct NeighborStatus {\n/// If this user is currently being enforced upon\n#[serde(default)]\npub enforced: bool,\n- #[serde(default)]\n- pub neighbor_na... | Rust | Apache License 2.0 | althea-net/althea_rs | Change to neighborstatus back to original
Previous change was unnecessary to neighbor status here. |
20,244 | 24.05.2022 06:56:57 | 14,400 | 00d460751ac433a343b4b2b8315cc3c3b5273644 | Update exit builder script
Debian builds where not compatible with centos, so this patch
successfully gets us building with cross gnu | [
{
"change_type": "MODIFY",
"old_path": "cross-builders/exit/Dockerfile",
"new_path": "cross-builders/exit/Dockerfile",
"diff": "-FROM debian:11.3\n-RUN apt-get update && apt-get install clang-6.0 libclang-6.0-dev llvm-dev libssl-dev postgresql-server-dev-all -y\n\\ No newline at end of file\n+FROM r... | Rust | Apache License 2.0 | althea-net/althea_rs | Update exit builder script
Debian builds where not compatible with centos, so this patch
successfully gets us building with cross gnu |
20,244 | 24.05.2022 07:28:52 | 14,400 | 7e60cf04e3b36faf8b5fcaf45e37d449850fbb22 | Cleanup migrations
Previously the ipv6 migration had been incorrectly folded into the
initial setup migration. This resulted in a conflict when correcting the
migration folder structure.
This patch resolves the issue by reverting the changes to the 2019
migration and moving the new 2022 ipv6 migration to the correct
lo... | [
{
"change_type": "MODIFY",
"old_path": "exit_db/migrations/2019-02-22-214628_rita-setup/down.sql",
"new_path": "exit_db/migrations/2019-02-22-214628_rita-setup/down.sql",
"diff": "-- This file should undo anything in `up.sql`\nDROP TABLE clients;\n\\ No newline at end of file\n-DROP TABLE assigned_i... | Rust | Apache License 2.0 | althea-net/althea_rs | Cleanup migrations
Previously the ipv6 migration had been incorrectly folded into the
initial setup migration. This resulted in a conflict when correcting the
migration folder structure.
This patch resolves the issue by reverting the changes to the 2019
migration and moving the new 2022 ipv6 migration to the correct
... |
20,244 | 25.05.2022 09:00:59 | 14,400 | 17a0246137fd66eae2bfc1f0abea80f7fd00bf53 | Do not panic when enforcement fails | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/database/mod.rs",
"new_path": "rita_exit/src/database/mod.rs",
"diff": "@@ -464,7 +464,7 @@ pub fn enforce_exit_clients(\nKI.set_class_limit(\"wg_exit\", 10_000_000, 10_000_000, ip)\n};\nif res.is_err() {\n- panic!(\"Failed to limit {} with {:?}\... | Rust | Apache License 2.0 | althea-net/althea_rs | Do not panic when enforcement fails |
20,244 | 25.05.2022 15:23:01 | 14,400 | 461b514a7f5b2f3f7c4625b6e50d0a2c846a8b4c | Remove WyreReservationRequest
It's only used downstream so it should be defined downstream | [
{
"change_type": "MODIFY",
"old_path": "althea_types/src/user_info.rs",
"new_path": "althea_types/src/user_info.rs",
"diff": "@@ -80,38 +80,6 @@ pub struct WyreReservationRequestCarrier {\npub billing_details: BillingDetails,\n}\n-/// The exact struct for sending to this endpoint\n-///https://docs.s... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove WyreReservationRequest
It's only used downstream so it should be defined downstream |
20,255 | 24.05.2022 12:13:37 | 25,200 | 8cc0fb72b81f1077c13e1e6694d5e4d037d70006 | Fixed clippy lint: holding rwlock across async/await calls | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_fee_manager/mod.rs",
"new_path": "rita_client/src/operator_fee_manager/mod.rs",
"diff": "@@ -40,6 +40,7 @@ pub fn get_operator_fee_debt() -> Uint256 {\nstate.operator_debt.clone()\n}\n+#[derive(Clone)]\nstruct OperatorFeeManager {\n///... | Rust | Apache License 2.0 | althea-net/althea_rs | Fixed clippy lint: holding rwlock across async/await calls |
20,255 | 25.05.2022 13:28:22 | 25,200 | 95e69de966f296c4d0495e0c55c517396f34b7cc | Added a magic phone number in config that allows exit registration without authentication
Currently operators enter their phone number when trying to signup users to get an auth code
Adding this magic nubmer in the config allows operators to directly register without using their details
and makes the process of registr... | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/database/sms.rs",
"new_path": "rita_exit/src/database/sms.rs",
"diff": "@@ -9,6 +9,7 @@ use crate::RitaExitError;\nuse althea_types::{ExitClientDetails, ExitClientIdentity, ExitState};\nuse phonenumber::PhoneNumber;\nuse settings::exit::ExitVerif... | Rust | Apache License 2.0 | althea-net/althea_rs | Added a magic phone number in config that allows exit registration without authentication
Currently operators enter their phone number when trying to signup users to get an auth code
Adding this magic nubmer in the config allows operators to directly register without using their details
and makes the process of regist... |
20,244 | 27.05.2022 17:41:01 | 14,400 | e7a0e4adde501f0ccaf29682e8d664385568682e | Add mtu functions for kernel interface
These functions allow modification of interface MTU values. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/interface_tools.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "+use crate::file_io::get_lines;\nuse crate::KernelInterface;\nuse crate::KernelInterfaceError as Error;\nuse regex::Regex;\n@@ -124,6 +125,3... | Rust | Apache License 2.0 | althea-net/althea_rs | Add mtu functions for kernel interface
These functions allow modification of interface MTU values. |
20,244 | 27.05.2022 18:12:13 | 14,400 | 295c9463fbb1fea83b893e1d33c030c3302faa20 | Bump for Beta19 RC10 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2646,7 +2646,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.9\"\n+version = \"0.19.10\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2679,7 +2679,7 @@ dependencies = [... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta19 RC10 |
20,244 | 07.06.2022 07:32:34 | 14,400 | db0c0e1eb3b56674032a4add847a1d4e162a03e7 | Don't use sftp for uploads
The latest openssh version uses sftp by default for uploads, dropbear on
openwrt does not yet support this behavior, adding this flag ops out of
the new sftp flow. | [
{
"change_type": "MODIFY",
"old_path": "scripts/openwrt_upload.sh",
"new_path": "scripts/openwrt_upload.sh",
"diff": "@@ -7,5 +7,5 @@ bash scripts/openwrt_build_$TARGET.sh --features rita_bin/development\nset +e\nssh root@$ROUTER_IP killall -9 rita\nset -e\n-scp target/$TRIPLE/release/rita root@$ROU... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't use sftp for uploads
The latest openssh version uses sftp by default for uploads, dropbear on
openwrt does not yet support this behavior, adding this flag ops out of
the new sftp flow. |
20,244 | 09.06.2022 14:52:33 | 14,400 | b735f7dfbac685ed5eba560126319c44781fd6b9 | Update jemallocator crate | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1573,9 +1573,9 @@ checksum = \"1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35\"\n[[package]]\nname = \"jemalloc-sys\"\n-version = \"0.3.2\"\n+version = \"0.5.0+5.3.0\"\nsource = \"registry+h... | Rust | Apache License 2.0 | althea-net/althea_rs | Update jemallocator crate |
20,244 | 09.06.2022 15:00:36 | 14,400 | 4e724faf0629a436cb3243a18de7c9d64e425778 | Add psdk2+ccmp mode to wifi security
Some routers have this mode set, so we need to support it. | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/wifi.rs",
"new_path": "rita_client/src/dashboard/wifi.rs",
"diff": "@@ -128,7 +128,7 @@ impl FromStr for EncryptionModes {\n\"none\" | \"NONE\" => Ok(EncryptionModes::None),\n\"sae\" | \"WPA3\" => Ok(EncryptionModes::Sae),\n\"sae-mixe... | Rust | Apache License 2.0 | althea-net/althea_rs | Add psdk2+ccmp mode to wifi security
Some routers have this mode set, so we need to support it. |
20,255 | 02.06.2022 13:36:08 | 25,200 | 23dd3ba49bb5f1fed8bceb6256c6dfecacf179d7 | Making client subnet a config configurable field instead of a hardcoded field
This is the subnet size a client router receives from the exit. The default is set to /56 when
this field is None in the config | [
{
"change_type": "MODIFY",
"old_path": "rita_exit/src/database/database_tools.rs",
"new_path": "rita_exit/src/database/database_tools.rs",
"diff": "@@ -19,8 +19,8 @@ use std::convert::TryInto;\nuse std::net::IpAddr;\nuse std::net::Ipv4Addr;\n-// Subnet size assigned to each client\n-const CLIENT_SUB... | Rust | Apache License 2.0 | althea-net/althea_rs | Making client subnet a config configurable field instead of a hardcoded field
This is the subnet size a client router receives from the exit. The default is set to /56 when
this field is None in the config |
20,255 | 06.06.2022 11:24:45 | 25,200 | 8b1746375c87ec8c349915f66942f42a3a902ea0 | Adding case to fuzzy_traffic_match CI test to account for 0 traffic | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/utils.py",
"new_path": "integration-tests/integration-test-script/utils.py",
"diff": "@@ -361,10 +361,10 @@ def fuzzy_traffic_match(numA, numB):\n# signs must not match\nif numA > 0 and numB > 0 or numA < 0 and numB < ... | Rust | Apache License 2.0 | althea-net/althea_rs | Adding case to fuzzy_traffic_match CI test to account for 0 traffic |
20,244 | 15.06.2022 09:09:14 | 14,400 | 49a765160f430d011ef8401acacd3b5ad49fa1a1 | Bump for Beta 19 RC11 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2619,7 +2619,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.10\"\n+version = \"0.19.11\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2652,7 +2652,7 @@ dependencies = ... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 19 RC11 |
20,253 | 15.06.2022 10:49:18 | 25,200 | 883ea69a502081fec52f6e6939aa2056363a8b91 | Adds multi port toggling
Interfaces endpoint now accepts an array so that a user
may change and send multiple port reassignments at once
from the dashboard
adds
multiset_interfaces to handle the incoming Vecs of changes
now reboots within multiset_interfaces instead of at the end of ethernet_transform_mode | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -874,9 +874,9 @@ Format:\n## /interfaces\n-Calling HTTP `POST` request on this endpoint with a json object specifying an interface and a mode\n-will transform that interface... | Rust | Apache License 2.0 | althea-net/althea_rs | Adds multi port toggling
Interfaces endpoint now accepts an array so that a user
may change and send multiple port reassignments at once
from the dashboard
adds
multiset_interfaces to handle the incoming Vecs of changes
now reboots within multiset_interfaces instead of at the end of ethernet_transform_mode |
20,247 | 15.06.2022 13:08:41 | 25,200 | 556fff579ca768e0d36c1051cd72bcb627d691de | Save org address changes immediately
With write optimization, there's now a greater likelihood that setting an org address will be followed by the router being turned off before the settings file is saved. This ensures that the settings file is saved immediately. | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/operator.rs",
"new_path": "rita_client/src/dashboard/operator.rs",
"diff": "@@ -92,6 +92,11 @@ pub async fn change_operator(path: Path<Address>) -> HttpResponse {\nrita_client.operator = operator;\nsettings::set_rita_client(rita_clien... | Rust | Apache License 2.0 | althea-net/althea_rs | Save org address changes immediately
With write optimization, there's now a greater likelihood that setting an org address will be followed by the router being turned off before the settings file is saved. This ensures that the settings file is saved immediately. |
20,244 | 16.06.2022 15:28:40 | 14,400 | 48eafe8658715a05bf539df216021255c1e826f7 | Add support for tkip+aes wifi encryption | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/wifi.rs",
"new_path": "rita_client/src/dashboard/wifi.rs",
"diff": "@@ -128,7 +128,9 @@ impl FromStr for EncryptionModes {\n\"none\" | \"NONE\" => Ok(EncryptionModes::None),\n\"sae\" | \"WPA3\" => Ok(EncryptionModes::Sae),\n\"sae-mixe... | Rust | Apache License 2.0 | althea-net/althea_rs | Add support for tkip+aes wifi encryption |
20,255 | 13.06.2022 10:30:29 | 25,200 | 5f7d4144bedcae06da532f384f9ca55111dc00ec | Added client internet ipv6 subnet to allowed ips on the exit side | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -306,6 +306,7 @@ name = \"althea_kernel_interface\"\nversion = \"0.1.0\"\ndependencies = [\n\"althea_types\",\n+ \"ipnetwork 0.18.0\",\n\"itertools 0.10.3\",\n\"lazy_static\",\n\"log\",\n"
},
{
"change... | Rust | Apache License 2.0 | althea-net/althea_rs | Added client internet ipv6 subnet to allowed ips on the exit side |
20,255 | 13.06.2022 10:49:23 | 25,200 | 8e586715495b7f40624cd87b3496cda4f5c67240 | Added link local ip addr to wg_exit and ip6tables to route ip6traffic between eth0 and wg_exit on the exit side | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"diff": "+use crate::open_tunnel::to_wg_local;\n+\nuse super::{KernelInterface, KernelInterfaceError};\nuse althea_types::WgKey;\n-use ipnetwor... | Rust | Apache License 2.0 | althea-net/althea_rs | Added link local ip addr to wg_exit and ip6tables to route ip6traffic between eth0 and wg_exit on the exit side |
20,255 | 16.06.2022 11:32:57 | 25,200 | 3b8f8d47217f8c26e26c6b8ef9936a7025e62c5e | Add ipv6 routes for every client subnet on the exit side | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_server_tunnel.rs",
"diff": "@@ -2,6 +2,7 @@ use crate::open_tunnel::to_wg_local;\nuse super::{KernelInterface, KernelInterfaceError};\nuse althea_types::WgKey;\n+... | Rust | Apache License 2.0 | althea-net/althea_rs | Add ipv6 routes for every client subnet on the exit side |
20,255 | 05.06.2022 19:17:41 | 25,200 | 30e0244209401803f07ff1c176658be16a6f3535 | Set the ipv6 address in router /etc/config/network
When set under 'lan' in the network config, SLAAC take a subnet and assigns
a /64 address to hosts that connect. Rita exit sends a /60, we assign the router this
address in this commit and slaac does ip assignment | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/ip_addr.rs",
"new_path": "althea_kernel_interface/src/ip_addr.rs",
"diff": "use crate::KernelInterface;\nuse crate::KernelInterfaceError as Error;\n+use ipnetwork::IpNetwork;\nuse std::net::Ipv4Addr;\nimpl dyn KernelInterface {\n@@ ... | Rust | Apache License 2.0 | althea-net/althea_rs | Set the ipv6 address in router /etc/config/network
When set under 'lan' in the network config, SLAAC take a subnet and assigns
a /64 address to hosts that connect. Rita exit sends a /60, we assign the router this
address in this commit and slaac does ip assignment |
20,255 | 08.06.2022 13:14:05 | 25,200 | 950743c7077dc7b8526ed742dc9c759524748e7f | Adding ::/0 to wireguard allowed ips on client side | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "@@ -46,7 +46,7 @@ impl dyn KernelInterface {\n\"endpoint\",\n&format!(\"[{}]:{}\", args.endpoint.ip(), args.endpoint.port()),\n\"allow... | Rust | Apache License 2.0 | althea-net/althea_rs | Adding ::/0 to wireguard allowed ips on client side |
20,255 | 08.06.2022 14:22:48 | 25,200 | 7008177629341ff3d0bf7bf81d3cbfcff2d3aaee | Automatically copy an fe80 address to the wg_exit interface on the client side | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "use super::KernelInterface;\n-use crate::KernelInterfaceError as Error;\n+use crate::{open_tunnel::to_wg_local, KernelInterfaceError a... | Rust | Apache License 2.0 | althea-net/althea_rs | Automatically copy an fe80 address to the wg_exit interface on the client side |
20,255 | 08.06.2022 15:01:11 | 25,200 | 8fe198f73f3620e50334e7729ea4a83f6717eb8e | Added default ipv6 route on the client through wg_exit | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "@@ -200,6 +200,34 @@ impl dyn KernelInterface {\nOk(())\n}\n+ pub fn set_ipv6_route_to_tunnel(&self) -> Result<(), Error> {\n+\n+ // R... | Rust | Apache License 2.0 | althea-net/althea_rs | Added default ipv6 route on the client through wg_exit |
20,255 | 13.06.2022 14:08:37 | 25,200 | 5510b41099b3ff104382b11d6b4caf9f2e43eb6b | Fixed CI division by zero edge case | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"new_path": "althea_kernel_interface/src/exit_client_tunnel.rs",
"diff": "@@ -201,23 +201,13 @@ impl dyn KernelInterface {\n}\npub fn set_ipv6_route_to_tunnel(&self) -> Result<(), Error> {\n-\n// Remove curre... | Rust | Apache License 2.0 | althea-net/althea_rs | Fixed CI division by zero edge case |
20,244 | 23.06.2022 16:47:59 | 14,400 | 5c90639bf694f7a5411ad6de8c71147e1530e385 | Use sys instead of regex for ifindex
Previously we where getting the interface index using a regex. This is
not at all needed as the info is easy to access in the linux /sys/
interface. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/interface_tools.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "@@ -136,6 +136,16 @@ impl dyn KernelInterface {\n}\n}\n+ /// Gets the ifidx from an interface\n+ pub fn get_ifidx(&self, if_name: &str) -> R... | Rust | Apache License 2.0 | althea-net/althea_rs | Use sys instead of regex for ifindex
Previously we where getting the interface index using a regex. This is
not at all needed as the info is easy to access in the linux /sys/
interface. |
20,244 | 23.06.2022 18:55:41 | 14,400 | 28669b13c6416bf10028291fee7df99db7924e68 | Make mtu setting DSA aware
This patch makes mtu changes dsa aware by adding a function to use
the iflink value to lookup the ifindex of the parent interface. If a
parent interface exists it's mtu is also bumped as appropriate. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/interface_tools.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "@@ -24,6 +24,16 @@ impl dyn KernelInterface {\nOk(vec)\n}\n+ pub fn ifindex_to_interface_name(&self, ifindex: usize) -> Result<String, Error... | Rust | Apache License 2.0 | althea-net/althea_rs | Make mtu setting DSA aware
This patch makes mtu changes dsa aware by adding a function to use
the iflink value to lookup the ifindex of the parent interface. If a
parent interface exists it's mtu is also bumped as appropriate. |
20,244 | 23.06.2022 19:19:34 | 14,400 | 275dfe57bc0bac13affa0aef867196167555f947 | Use /sys/ for get_interfaces()
This makes the get_interfaces() function in kernel inteface much easier
by using native linux /sys/ properties rather than building a regex and
parsing the output of 'ip' | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/interface_tools.rs",
"new_path": "althea_kernel_interface/src/interface_tools.rs",
"diff": "@@ -2,22 +2,24 @@ use crate::file_io::get_lines;\nuse crate::KernelInterface;\nuse crate::KernelInterfaceError as Error;\nuse regex::Regex;\... | Rust | Apache License 2.0 | althea-net/althea_rs | Use /sys/ for get_interfaces()
This makes the get_interfaces() function in kernel inteface much easier
by using native linux /sys/ properties rather than building a regex and
parsing the output of 'ip' |
20,244 | 23.06.2022 19:53:54 | 14,400 | 5b85dd6640556cbbb6a95edea174dff2886035b3 | Bump for Beta 20 rc1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2620,7 +2620,7 @@ dependencies = [\n[[package]]\nname = \"rita_bin\"\n-version = \"0.19.11\"\n+version = \"0.20.1\"\ndependencies = [\n\"actix 0.13.0\",\n\"actix-web\",\n@@ -2653,7 +2653,7 @@ dependencies = [... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 20 rc1 |
20,244 | 23.06.2022 20:03:52 | 14,400 | 7275b5a22069d64c6e642f9d2c713df92bdbc4d5 | Bump web30, ipnetwork and awc deps
Plus transitive deps via cargo.lock | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -69,9 +69,9 @@ dependencies = [\n[[package]]\nname = \"actix-http\"\n-version = \"3.0.4\"\n+version = \"3.1.0\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"a5885cb81a0d4d... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump web30, ipnetwork and awc deps
Plus transitive deps via cargo.lock |
20,244 | 24.06.2022 18:20:20 | 14,400 | 0645d39feb252c7b5d6371c97b469f79d12fadc5 | Do not suppport tkip wifi security
This patch modifies the way we handle /etc/config/wireless to be
compatible with reading tkip based modes and all documented mode
strings, but only writing the most basic format for CCMP (aes) enabled
encryption. This is more secure and also more widely supported. | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/dashboard/wifi.rs",
"new_path": "rita_client/src/dashboard/wifi.rs",
"diff": "@@ -102,8 +102,8 @@ impl EncryptionModes {\nEncryptionModes::None => \"none\".to_string(),\nEncryptionModes::Sae => \"sae\".to_string(),\nEncryptionModes::SaeMixed =>... | Rust | Apache License 2.0 | althea-net/althea_rs | Do not suppport tkip wifi security
This patch modifies the way we handle /etc/config/wireless to be
compatible with reading tkip based modes and all documented mode
strings, but only writing the most basic format for CCMP (aes) enabled
encryption. This is more secure and also more widely supported. |
20,255 | 23.06.2022 12:43:13 | 25,200 | 511041bde1a8b735180f982359d33139eedb6cdd | Add a loop in rita client to truncate babeld logs
Some routers had an issue with updates, the babeld logs filling up the /tmp
folder are the culprit. This ensures that log file doesnt get too large and
sends these over to graylog, while truncating the babeld.log file | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/rita_loop/mod.rs",
"new_path": "rita_client/src/rita_loop/mod.rs",
"diff": "@@ -24,10 +24,18 @@ use rita_common::rita_loop::set_gateway;\nuse rita_common::tunnel_manager::tm_get_neighbors;\nuse rita_common::tunnel_manager::tm_get_tunnels;\nuse ... | Rust | Apache License 2.0 | althea-net/althea_rs | Add a loop in rita client to truncate babeld logs
Some routers had an issue with updates, the babeld logs filling up the /tmp
folder are the culprit. This ensures that log file doesnt get too large and
sends these over to graylog, while truncating the babeld.log file |
20,255 | 24.06.2022 10:28:00 | 25,200 | ef500b57458262f9e9b7d9c8acb555f2f86b97bb | Restart babeld on startup
Right now when Rita restarts babel also needs to be restarted, because Rita inserts tunnels
into the babel routing table as interfaces when Rita is restarted those tunnels are torn
down and re-created without notifying babel resulting in complete network failure. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "althea_kernel_interface/src/babel.rs",
"diff": "+use crate::KernelInterface;\n+\n+impl dyn KernelInterface {\n+ pub fn restart_babel(&self) {\n+ let _res = self.run_command(\"/etc/init.d/babeld\", &[\"restart\"]);\n+ }\n+}\n"
},
{
"chang... | Rust | Apache License 2.0 | althea-net/althea_rs | Restart babeld on startup
Right now when Rita restarts babel also needs to be restarted, because Rita inserts tunnels
into the babel routing table as interfaces when Rita is restarted those tunnels are torn
down and re-created without notifying babel resulting in complete network failure. |
20,255 | 27.06.2022 11:19:29 | 25,200 | b3f18b338dc9ae77b63e6edf672d1ec8ba85dc77 | Update rita tower after an opkg update | [
{
"change_type": "MODIFY",
"old_path": "rita_client/src/operator_update/updater.rs",
"new_path": "rita_client/src/operator_update/updater.rs",
"diff": "@@ -35,6 +35,10 @@ pub fn update_system(instruction: UpdateType) -> Result<(), KernelInterfaceError\nif let Err(e) = KI.run_command(\"/etc/init.d/ri... | Rust | Apache License 2.0 | althea-net/althea_rs | Update rita tower after an opkg update |
20,244 | 11.07.2022 15:53:05 | 14,400 | c2dfae54b9e1c0c8670274895a73267aa39ef7cb | Fix new clippy nits | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -3532,9 +3532,9 @@ dependencies = [\n[[package]]\nname = \"web30\"\n-version = \"0.19.1\"\n+version = \"0.19.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"463b0185237bb... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix new clippy nits |
20,244 | 11.07.2022 17:14:57 | 14,400 | 66d5104fa241dfec0fbc244e1a72416985b23f10 | Minor token bridge cleanup | [
{
"change_type": "MODIFY",
"old_path": "auto_bridge/src/lib.rs",
"new_path": "auto_bridge/src/lib.rs",
"diff": "@@ -100,10 +100,10 @@ impl TokenBridge {\n/// takes in 'amount' of dai and returns correspoding amount of eth\npub async fn dai_to_eth_price(&self, amount: Uint256) -> Result<Uint256, Toke... | Rust | Apache License 2.0 | althea-net/althea_rs | Minor token bridge cleanup |
20,255 | 14.07.2022 14:52:34 | 25,200 | d02f9e491a0b273934eb5c6893154aa059a8bc7b | Add cargo audit to github CI | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/rust.yml",
"new_path": ".github/workflows/rust.yml",
"diff": "@@ -40,6 +40,14 @@ jobs:\n- uses: Swatinem/rust-cache@v1\n- name: Check for Clippy lints\nrun: rustup component add clippy && cargo clippy --all --all-targets --all-features -- -D ... | Rust | Apache License 2.0 | althea-net/althea_rs | Add cargo audit to github CI |
20,255 | 15.07.2022 13:20:00 | 25,200 | be46fe4b128c38bba69f793c50d13683ed760ad2 | Removed IPAddress dep from rita exit
cargo audit shows this crate with security vulneribilites so it has been removed and
replaced with other ip network functions | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -115,7 +115,7 @@ dependencies = [\n\"firestorm\",\n\"http\",\n\"log\",\n- \"regex 1.6.0\",\n+ \"regex\",\n\"serde 1.0.139\",\n]\n@@ -215,7 +215,7 @@ dependencies = [\n\"mime\",\n\"once_cell\",\n\"pin-project-l... | Rust | Apache License 2.0 | althea-net/althea_rs | Removed IPAddress dep from rita exit
cargo audit shows this crate with security vulneribilites so it has been removed and
replaced with other ip network functions |
20,255 | 19.07.2022 11:23:30 | 25,200 | e267f7d86405b060aa6c628020b88d2cced5de12 | Update lettre crate to 0.10
Cargo audit point out a vulnerability with version 0.9.4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -79,7 +79,7 @@ dependencies = [\n\"actix-tls\",\n\"actix-utils\",\n\"ahash\",\n- \"base64 0.13.0\",\n+ \"base64\",\n\"bitflags\",\n\"brotli\",\n\"bytes\",\n@@ -98,7 +98,7 @@ dependencies = [\n\"mime\",\n\"perc... | Rust | Apache License 2.0 | althea-net/althea_rs | Update lettre crate to 0.10
Cargo audit point out a vulnerability with version 0.9.4 |
20,255 | 20.07.2022 10:12:47 | 25,200 | ee4aed25baeabb2e849bbeaf99e0a281533fe30a | Use compressed log 0.5.1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -116,7 +116,7 @@ dependencies = [\n\"http\",\n\"log\",\n\"regex\",\n- \"serde 1.0.139\",\n+ \"serde 1.0.140\",\n]\n[[package]]\n@@ -216,12 +216,12 @@ dependencies = [\n\"once_cell\",\n\"pin-project-lite\",\n\"... | Rust | Apache License 2.0 | althea-net/althea_rs | Use compressed log 0.5.1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.