author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
20,250
29.04.2018 23:27:08
-28,800
c61e2d8d1093c3dbb50f48bb3647a965aca1b47c
add api for stats server configuration add country code to exit_db
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/lib.rs", "new_path": "althea_kernel_interface/src/lib.rs", "diff": "@@ -39,8 +39,8 @@ mod manipulate_uci;\nmod open_tunnel;\nmod openwrt_ubus;\nmod setup_wg_if;\n-mod wireless;\nmod stats;\n+mod wireless;\npub use counter::FilterTar...
Rust
Apache License 2.0
althea-net/althea_rs
add api for stats server configuration add country code to exit_db
20,250
30.04.2018 19:18:08
-28,800
47f1175b4201f60ab119f7681e7766790ba01888
clean up error handling for network endpoints
[ { "change_type": "MODIFY", "old_path": "integration-tests/rita.py", "new_path": "integration-tests/rita.py", "diff": "@@ -227,7 +227,7 @@ def start_rita(node):\npwd=dname)\n)\ntime.sleep(0.2)\n- os.system(\"ip netns exec netlab-{id} curl -XPOST 127.0.0.1:4877/exit_setup -H 'Accept: application/json'...
Rust
Apache License 2.0
althea-net/althea_rs
clean up error handling for network endpoints
20,250
30.04.2018 22:21:07
-28,800
42a9425ae8f194c51758cddedd12c24a3c35faab
add general settings api which allows the reading and writing of any setting, add api to get info about ourselves
[ { "change_type": "MODIFY", "old_path": "integration-tests/rita.py", "new_path": "integration-tests/rita.py", "diff": "@@ -227,8 +227,8 @@ def start_rita(node):\npwd=dname)\n)\ntime.sleep(0.2)\n- os.system(\"ip netns exec netlab-{id} curl -XPOST 127.0.0.1:4877/exit_setup -H 'Content-Type: application...
Rust
Apache License 2.0
althea-net/althea_rs
add general settings api which allows the reading and writing of any setting, add api to get info about ourselves
20,244
30.04.2018 07:35:50
14,400
4b0aab249bc876a7973a8c28d245a8ef4ef799b8
Apply context to warning handling Some of the changes I made in the commit 'Fix Warnings in Althea Kernel Interface' where ill informed with the way those errors may actually be encountered.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/counter.rs", "new_path": "althea_kernel_interface/src/counter.rs", "diff": "@@ -68,7 +68,7 @@ impl KernelInterface {\n\"inet6\",\n\"counters\",\n],\n- ).expect(\"ipset failed to create counter\");\n+ )?;\nself.add_iptables_rule(\n\"...
Rust
Apache License 2.0
althea-net/althea_rs
Apply context to warning handling Some of the changes I made in the commit 'Fix Warnings in Althea Kernel Interface' where ill informed with the way those errors may actually be encountered.
20,244
07.05.2018 16:36:29
14,400
0b2078b9f53455ce7b6e0869b4a125a230422e76
Move WiFi settings into rita_client Also made common dashboard elements public, now we can have client and server specific dashboard components easily.
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -64,6 +64,7 @@ mod rita_client;\nmod rita_common;\nuse rita_common::dashboard::network_endpoints::*;\n+use rita_client::dashboard::network_endpoints::*;\nuse rita_common::network_endpoints::{he...
Rust
Apache License 2.0
althea-net/althea_rs
Move WiFi settings into rita_client Also made common dashboard elements public, now we can have client and server specific dashboard components easily.
20,250
10.05.2018 22:50:47
-28,800
ea97440ed0c59ee3be2f2656a93f35e788dccc3c
add geoip and allowed country
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -28,6 +28,7 @@ pub struct ExitRegistrationDetails {\n#[serde(skip_serializing_if = \"Option::is_none\")]\npub zip_code: Option<String>,\n+ // ISO country code\n#[serde(skip_se...
Rust
Apache License 2.0
althea-net/althea_rs
add geoip and allowed country
20,250
10.05.2018 23:39:20
-28,800
e646c018df2a69ac1fa7c6e6c9bef00aee39b596
change usage of rust fmt to check, rerun with latest
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -7,7 +7,7 @@ before_install:\n- sudo apt-get install -y libsqlite3-dev iperf3 python3-pip bridge-utils wireguard linux-source linux-headers-$(uname -r) curl git libssl-dev pkg-config build-essential ipset\n-...
Rust
Apache License 2.0
althea-net/althea_rs
change usage of rust fmt to check, rerun with latest
20,250
14.05.2018 19:17:14
-28,800
3f4be929b5991620d78c2cd6c35f752499131495
rename allowed_country to allowed_countries
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_exit/db_client/mod.rs", "new_path": "rita/src/rita_exit/db_client/mod.rs", "diff": "@@ -104,13 +104,13 @@ fn verify_identity(details: &ExitRegistrationDetails, request_ip: &IpAddr) -> Re\nbail!(\"email and zip must be set\");\n}\n- if SETTING.get...
Rust
Apache License 2.0
althea-net/althea_rs
rename allowed_country to allowed_countries
20,244
15.05.2018 17:18:40
14,400
42a3522b83ceee8b0c946381105ff1165cd04718
Update web-interface headers and parsing These changes are required to get the wifi interface page of the dash working. We need to allow cross site requests from the address of the server as well as change the way some of the parsing works to be compatible with the dashboard implementation.
[ { "change_type": "MODIFY", "old_path": "rita/Cargo.toml", "new_path": "rita/Cargo.toml", "diff": "@@ -49,3 +49,4 @@ serde = \"1.0\"\nserde_derive = \"1.0\"\nserde_json = \"1.0\"\ntokio = \"0.1\"\n+regex = \"1.0\"\n" }, { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new...
Rust
Apache License 2.0
althea-net/althea_rs
Update web-interface headers and parsing These changes are required to get the wifi interface page of the dash working. We need to allow cross site requests from the address of the server as well as change the way some of the parsing works to be compatible with the dashboard implementation.
20,244
16.05.2018 07:42:47
14,400
c01c6635322035f5879321ebec010e76adc96351
Rustfmt syntax update
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -7,7 +7,7 @@ before_install:\n- sudo apt-get install -y libsqlite3-dev iperf3 python3-pip bridge-utils wireguard linux-source linux-headers-$(uname -r) curl git libssl-dev pkg-config build-essential ipset\n-...
Rust
Apache License 2.0
althea-net/althea_rs
Rustfmt syntax update
20,244
17.05.2018 15:39:03
14,400
19413d7b6ce7a871a07a92907ebdc99dc336afae
Always write private key file This is sourced from a very frustrating debugging session in which the /tmp/privkey no longer matched the configured privatekey. This resulted in tunnels being setup improperly. We should consider the configured key in the toml as the source of truth and perform a write on each startup.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/create_wg_key.rs", "new_path": "althea_kernel_interface/src/create_wg_key.rs", "diff": "@@ -9,16 +9,11 @@ use failure::Error;\nimpl KernelInterface {\npub fn create_wg_key(&self, path: &Path, private_key: &String) -> Result<(), Erro...
Rust
Apache License 2.0
althea-net/althea_rs
Always write private key file This is sourced from a very frustrating debugging session in which the /tmp/privkey no longer matched the configured privatekey. This resulted in tunnels being setup improperly. We should consider the configured key in the toml as the source of truth and perform a write on each startup.
20,250
16.05.2018 20:50:56
-28,800
1526aa22159169e614c4cc8e34e6c2a669e798c2
change settings to allow for multiple exits
[ { "change_type": "MODIFY", "old_path": "clu/src/lib.rs", "new_path": "clu/src/lib.rs", "diff": "@@ -4,10 +4,10 @@ extern crate log;\n#[macro_use]\nextern crate failure;\n-use std::net::{IpAddr, SocketAddr};\n+use std::net::IpAddr;\nextern crate settings;\n-use settings::{NetworkSettings, RitaClientS...
Rust
Apache License 2.0
althea-net/althea_rs
change settings to allow for multiple exits (cherry picked from commit 0421095)
20,250
17.05.2018 22:44:23
-28,800
48668df34f17ae0e09b3b0e5a195a4c13d13e26f
Add feedback mechanism from exit setup process, and expose it to the frontend
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/setup_wg_if.rs", "new_path": "althea_kernel_interface/src/setup_wg_if.rs", "diff": "@@ -21,12 +21,17 @@ impl KernelInterface {\n/// calls iproute2 to set up a new interface with a given name.\npub fn setup_wg_if_named(&self, name: &...
Rust
Apache License 2.0
althea-net/althea_rs
Add feedback mechanism from exit setup process, and expose it to the frontend (cherry picked from commit 1d7392c)
20,250
18.05.2018 15:51:48
-28,800
bd8ccb5bdffa31957af3e26ab6c898a3ddecea28
split exit details into 2 structs, require an Identity instead of just IP address for exits
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -39,10 +39,11 @@ pub struct ExitRegistrationDetails {\n/// This is the state an exit can be in\n#[derive(Debug, Serialize, Deserialize, Clone, Eq, PartialEq, Hash)]\npub enum ...
Rust
Apache License 2.0
althea-net/althea_rs
split exit details into 2 structs, require an Identity instead of just IP address for exits (cherry picked from commit 3f3a41d)
20,244
18.05.2018 12:52:15
14,400
1bca98990436fc0e5df5a94954d9a7f1aa143a2e
Use mainline Actix Mocking features are now in mainline, no need to pin our own repo.
[ { "change_type": "MODIFY", "old_path": "althea_types/Cargo.toml", "new_path": "althea_types/Cargo.toml", "diff": "@@ -11,4 +11,4 @@ serde = \"1.0.24\"\nserde_json = \"1.0.8\"\nhex = \"0.3.1\"\neui48 = { git = \"https://github.com/althea-mesh/eui48\", features = [\"serde\"] }\n-actix = {git=\"https:/...
Rust
Apache License 2.0
althea-net/althea_rs
Use mainline Actix Mocking features are now in mainline, no need to pin our own repo.
20,244
21.05.2018 16:32:18
14,400
229d99334dd42ea51d05179e7b10a39e096e5706
Fix deserialization of ExitState type Previously you could generate and save the Enum using serde but not deserialize it, this corrects that issue.
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "use eth_address::EthAddress;\nuse num256::Uint256;\n+use serde;\n+use serde::Deserialize;\n+use serde::Deserializer;\nuse std::net::IpAddr;\n#[cfg(feature = \"actix\")]\n@@ -47,6...
Rust
Apache License 2.0
althea-net/althea_rs
Fix deserialization of ExitState type Previously you could generate and save the Enum using serde but not deserialize it, this corrects that issue.
20,248
21.05.2018 19:18:44
25,200
3818f65334064e910d45e32c8ac2a2f4e5e47652
add api docs dir
[ { "change_type": "ADD", "old_path": null, "new_path": "api-docs/example.md", "diff": "+# Title\n+\n+---\n+\n+<_Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple)._>\n+\n+## URL\n+\n+<_The URL Structure (pa...
Rust
Apache License 2.0
althea-net/althea_rs
add api docs dir
20,250
21.05.2018 20:37:15
-28,800
8a8c3fd4517e1b3794c460f839ae86337f4d53ca
Add version to rita help text, HTTP endpoint and log output
[ { "change_type": "MODIFY", "old_path": "rita/Cargo.toml", "new_path": "rita/Cargo.toml", "diff": "name = \"rita\"\nversion = \"0.1.0\"\nauthors = [\"Jehan <jehan.tremback@gmail.com>\", \"Ben <wangben3@gmail.com>\"]\n+build = \"build.rs\"\n[[bin]]\nname = \"rita_exit\"\n" }, { "change_type": ...
Rust
Apache License 2.0
althea-net/althea_rs
Add version to rita help text, HTTP endpoint and log output
20,250
22.05.2018 22:33:23
-28,800
1aa66b1136dbedc0290e5abfcb5536e2388c74f0
Add aggressive syncing to ci
[ { "change_type": "MODIFY", "old_path": "integration-tests/rita.py", "new_path": "integration-tests/rita.py", "diff": "@@ -87,12 +87,14 @@ def exec_or_exit(command, blocking=True, delay=0.01):\ndef cleanup():\n- os.system(\"rm -rf *.log *.pid *.toml private-key*\")\n+ os.system(\"rm -rf *.log *.pid p...
Rust
Apache License 2.0
althea-net/althea_rs
Add aggressive syncing to ci
20,244
22.05.2018 14:13:26
14,400
e122d0bc9a47d223471216e40c14216dac3df6a6
Easy cross build scripts for all architectures this grabs a tarball containing pre-built cross build binaries for all releases. This should work on any reasonably modern linux distribution.
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -8,6 +8,7 @@ target-mac\n**/test.db\ntest.db-journal\n*.log\n+/scripts/staging_dir/\nintegration-tests/private-key*\nintegration-tests/rita-settings*\nintegration-tests/staging*\n" }, { "change_type": ...
Rust
Apache License 2.0
althea-net/althea_rs
Easy cross build scripts for all architectures this grabs a tarball containing pre-built cross build binaries for all releases. This should work on any reasonably modern linux distribution.
20,244
22.05.2018 14:15:43
14,400
c83c6be8d52cf7f43aa437b6ac77502793970146
Squash actix threads warning
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -162,7 +162,7 @@ fn main() {\nr.method(Method::POST).with2(make_payments)\n})\n.resource(\"/hello\", |r| r.method(Method::POST).with2(hello_response))\n- }).threads(1)\n+ }).workers(1)\n.bind(f...
Rust
Apache License 2.0
althea-net/althea_rs
Squash actix threads warning
20,244
22.05.2018 16:25:37
14,400
841063e7c9b55317851a536e2ee2bca880e96cc8
Fix DeserializeWith typo for ExitState
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -71,7 +71,7 @@ impl DeserializeWith for ExitState {\n\"Denied\" => Ok(ExitState::Denied),\n\"Disabled\" => Ok(ExitState::Disabled),\n_ => Err(serde::de::Error::custom(\n- \"er...
Rust
Apache License 2.0
althea-net/althea_rs
Fix DeserializeWith typo for ExitState
20,244
22.05.2018 19:12:30
14,400
994483cee1c99b9fc66a02f20056a411b263a3c4
Fix crossbuild doc typo
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -64,4 +64,4 @@ Once you have a device running edit the `scripts/openwrt_upload.sh` script to ma\nThe router ip address is by default `192.168.1.1`, if your home network is on that same ip range (probable) you ma...
Rust
Apache License 2.0
althea-net/althea_rs
Fix crossbuild doc typo
20,250
22.05.2018 22:28:04
-28,800
e793170bfdaf8bf2f89c308b3639dbf09c031094
add docs to settings, do slight cleanup
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/exit_manager/mod.rs", "new_path": "rita/src/rita_client/exit_manager/mod.rs", "diff": "@@ -33,7 +33,7 @@ fn linux_setup_exit_tunnel() -> Result<(), Error> {\n)?;\nKI.set_route_to_tunnel(&general_details.server_internal_ip)?;\n- let lan_nic...
Rust
Apache License 2.0
althea-net/althea_rs
add docs to settings, do slight cleanup (cherry picked from commit a1dcb99)
20,250
23.05.2018 23:03:31
-28,800
3b78e6f56213d23e2bd5d4b2548773f3af346829
jsonify responses, add API documentation
[ { "change_type": "ADD", "old_path": null, "new_path": "api-docs/router-dashboard/get-info.md", "diff": "+# Router dashboard API\n+\n+## URL\n+\n+`<rita ip>:4877/info`\n+\n+## Method\n+\n+GET\n+\n+## Success Response\n+\n+### Code\n+\n+200\n+\n+### Content\n+\n+```\n+{\n+ \"balance\":-1029470595\n+}\...
Rust
Apache License 2.0
althea-net/althea_rs
jsonify responses, add API documentation (cherry picked from commit 55139fc)
20,244
24.05.2018 08:47:28
14,400
eedadd471885fbc5ff2c69b8436a76a0d69b91ba
Statically link Rita This solves problems for non musl targets, where dynamic linking may be used. Rust has static linking as mandatory for musl targets. Since we spend most of our time develping against those we should force consistency across all targets.
[ { "change_type": "MODIFY", "old_path": "scripts/openwrt_build_mips.sh", "new_path": "scripts/openwrt_build_mips.sh", "diff": "@@ -13,6 +13,7 @@ export CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_LINKER=$TARGET_CC\nexport CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_AR=$TARGET_AR\nexport SQLITE3_LIB_DIR=$DIR/stagin...
Rust
Apache License 2.0
althea-net/althea_rs
Statically link Rita This solves problems for non musl targets, where dynamic linking may be used. Rust has static linking as mandatory for musl targets. Since we spend most of our time develping against those we should force consistency across all targets.
20,244
24.05.2018 11:41:45
14,400
2081d51867079426f9c67c2d203a3745107a4778
Update Readme with new default ip
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -62,6 +62,6 @@ First download the latest [nightly firmware](https://github.com/althea-mesh/alth\nOnce you have a device running edit the `scripts/openwrt_upload.sh` script to match your device ip and target. If ...
Rust
Apache License 2.0
althea-net/althea_rs
Update Readme with new default ip
20,250
26.05.2018 11:08:10
-28,800
ed62a9de687a3f1c73b31983d7525d75500bc758
ensure outdated peer entries are removed from exit wireguard tunnels
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "new_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "diff": "@@ -34,6 +34,12 @@ impl KernelInterface {\n],\n)?;\n+ for i in self.get_peers(\"wg_exit\")? {\n+ if i != pubkey {\n+ self.run_command(...
Rust
Apache License 2.0
althea-net/althea_rs
ensure outdated peer entries are removed from exit wireguard tunnels
20,248
26.05.2018 11:05:38
25,200
855cc3cc5c30d5ca4f1d1b1dbac8aebbf3cfe0df
Update get-neighbors.md
[ { "change_type": "MODIFY", "old_path": "api-docs/router-dashboard/get-neighbors.md", "new_path": "api-docs/router-dashboard/get-neighbors.md", "diff": "@@ -23,14 +23,16 @@ GET\n\"route_metric_to_exit\": 0,\n\"total_debt\": 0,\n\"current_debt\": 0,\n- \"link_cost\": 0\n+ \"link_cost\": 0,\n+ \"price_...
Rust
Apache License 2.0
althea-net/althea_rs
Update get-neighbors.md
20,244
26.05.2018 15:09:16
14,400
202ff3351a50b95c9442acdec3516144a40fe54c
Better compile docs
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "This contains many (although confusingly not all) of the Rust components for the Althea firmware. The only separated component is [guac_rs](https://github.com/althea-mesh/guac_rs) which we want to be easily used ex...
Rust
Apache License 2.0
althea-net/althea_rs
Better compile docs
20,250
26.05.2018 20:25:33
-28,800
5f71ef1ad2c5468f497df6bdfea756ff87cbace9
gateway detection, and disable resolving of hostnamed manual peers on non gateway devices
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/interface_tools.rs", "new_path": "althea_kernel_interface/src/interface_tools.rs", "diff": "@@ -3,6 +3,7 @@ use super::KernelInterface;\nuse regex::Regex;\nuse failure::Error;\n+use std::str::from_utf8;\nimpl KernelInterface {\n/// ...
Rust
Apache License 2.0
althea-net/althea_rs
gateway detection, and disable resolving of hostnamed manual peers on non gateway devices
20,250
28.05.2018 22:56:41
-28,800
e9617f47bf47e71eb8e335901fabcc15fa0a6ce3
remove gateway detection
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -193,15 +193,6 @@ impl Handler<OpenTunnel> for TunnelManager {\n}\n}\n-fn is_gateway() -> Result<bool, Error> {\n- if let Some(ref wan_iface) = S...
Rust
Apache License 2.0
althea-net/althea_rs
remove gateway detection
20,244
28.05.2018 14:05:36
14,400
f303796379410a4e7fbad0a0bbe7748ebe558ae2
Update Neighs endpoint to poll Babel The Neigs endpoint now show relevent babel info about the quality each neighbor is offering to the exit as well as their price. Pretty slow right now. Needs optimization for sure.
[ { "change_type": "MODIFY", "old_path": "babel_monitor/src/lib.rs", "new_path": "babel_monitor/src/lib.rs", "diff": "@@ -30,6 +30,8 @@ pub enum BabelMonitorError {\nReadFailed(String),\n#[fail(display = \"No terminator after Babel output:\\n{}\", _0)]\nNoTerminator(String),\n+ #[fail(display = \"No N...
Rust
Apache License 2.0
althea-net/althea_rs
Update Neighs endpoint to poll Babel The Neigs endpoint now show relevent babel info about the quality each neighbor is offering to the exit as well as their price. Pretty slow right now. Needs optimization for sure.
20,244
30.05.2018 13:40:24
14,400
eb2e05ab2b0c032b0e585f6a2ebb1706f6d8de4e
Fix GotInfo typo
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -65,7 +65,7 @@ impl DeserializeWith for ExitState {\nmatch s.as_ref() {\n\"New\" => Ok(ExitState::New),\n- \"GotInto\" => Ok(ExitState::GotInfo),\n+ \"GotInfo\" => Ok(ExitStat...
Rust
Apache License 2.0
althea-net/althea_rs
Fix GotInfo typo
20,250
31.05.2018 23:56:55
-28,800
f8064661a14658665181626da718e3238e99e2f0
tunnel manager refactor
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/open_tunnel.rs", "new_path": "althea_kernel_interface/src/open_tunnel.rs", "diff": "@@ -132,6 +132,63 @@ impl KernelInterface {\n}\nOk(())\n}\n+\n+ pub fn open_tunnel_listener(\n+ &self,\n+ interface: &String,\n+ port: u16,\n+ remot...
Rust
Apache License 2.0
althea-net/althea_rs
tunnel manager refactor
20,244
01.06.2018 08:59:19
14,400
1b230388080fb318cdf18a16a9d5dd003ebb0251
Use real return types in the client dashbaord We now push our Errors up to a high enough level to get a 500 error from the request rather than crashing Rita
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/mod.rs", "new_path": "rita/src/rita_client/dashboard/mod.rs", "diff": "use actix::prelude::*;\nuse failure::Error;\n-use futures;\nuse futures::Future;\nuse serde_json;\nuse serde_json::Value;\n@@ -67,15 +66,9 @@ impl Handler<Get...
Rust
Apache License 2.0
althea-net/althea_rs
Use real return types in the client dashbaord We now push our Errors up to a high enough level to get a 500 error from the request rather than crashing Rita
20,250
01.06.2018 23:48:05
-28,800
7b9b7182c2e9bf3603f841597d9710c1d652a03a
tunnel manager backwards compatibility
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -162,7 +162,12 @@ fn main() {\n.resource(\"/make_payment\", |r| {\nr.method(Method::POST).with2(make_payments)\n})\n- .resource(\"/hello\", |r| r.method(Method::POST).with2(hello_response))\n+ ...
Rust
Apache License 2.0
althea-net/althea_rs
tunnel manager backwards compatibility
20,244
01.06.2018 17:59:36
14,400
64c6f8312f4f99fa0bb541da8f4181303d73d070
Fix readme typo, extra links
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "This contains many (although confusingly not all) of the Rust components for the Althea firmware. The only separated component is [guac_rs](https://github.com/althea-mesh/guac_rs) which we want to be easily used ex...
Rust
Apache License 2.0
althea-net/althea_rs
Fix readme typo, extra links
20,250
02.06.2018 13:34:45
-28,800
e865be2035ad78fcd986c12177122d2c64f3404e
fix request switching
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -162,12 +162,7 @@ fn main() {\n.resource(\"/make_payment\", |r| {\nr.method(Method::POST).with2(make_payments)\n})\n- .resource(\"/hello\", |r| {\n- r.method(Method::POST).with2(hello_response_...
Rust
Apache License 2.0
althea-net/althea_rs
fix request switching
20,244
02.06.2018 10:15:52
14,400
e9f2e00c543cbc45feb8e885a1898850ab3a3033
Client command help typo fix
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -79,7 +79,7 @@ struct Args {\n#[cfg(not(test))]\nlazy_static! {\nstatic ref USAGE: String = format!(\n- \"Usage: rita_exit --config=<settings> --platform=<platform>\n+ \"Usage: rita --config=<s...
Rust
Apache License 2.0
althea-net/althea_rs
Client command help typo fix
20,244
02.06.2018 10:16:12
14,400
f58827f028a2b45f1f8525417c40d97908b9e839
Use xz for easy crossbuild scripts This cuts the download size by about 50%
[ { "change_type": "MODIFY", "old_path": "scripts/openwrt_build_mips.sh", "new_path": "scripts/openwrt_build_mips.sh", "diff": "DIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\nif [[ ! -d $DIR/staging_dir ]]; then\npushd $DIR\n- wget -N https://updates.altheamesh.com/staging.tar.gz -O st...
Rust
Apache License 2.0
althea-net/althea_rs
Use xz for easy crossbuild scripts This cuts the download size by about 50%
20,250
03.06.2018 21:56:39
-28,800
27f36744c6379d2cc62b93cf6e94cf2c191a7875
add --future flag for better testing
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -74,15 +74,17 @@ use rita_common::network_endpoints::*;\nstruct Args {\nflag_config: String,\nflag_platform: String,\n+ flag_future: bool,\n}\n#[cfg(not(test))]\nlazy_static! {\nstatic ref USAG...
Rust
Apache License 2.0
althea-net/althea_rs
add --future flag for better testing
20,250
04.06.2018 17:53:24
-28,800
8c571b8bdfc7686ce09b332546b3c25ad90609ce
fix exit switching ip persistence issue
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "new_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "diff": "@@ -40,7 +40,7 @@ impl KernelInterface {\n}\n}\n- let _output = self.run_command(\n+ self.run_command(\n\"ip\",\n&[\n\"address\",\n@@ ...
Rust
Apache License 2.0
althea-net/althea_rs
fix exit switching ip persistence issue
20,244
04.06.2018 19:20:23
14,400
0ab35e1ee3f14e3e8acb9578515829c1a92d7644
Document ExitState enum in api-docs and organize to one file
[ { "change_type": "ADD", "old_path": null, "new_path": "api-docs/router-dashboard.md", "diff": "+# Router dashboard API\n+\n+This file documents the dashboard API found in Rita client.\n+\n+## /info\n+\n+- URL: `<rita ip>:<rita_dashboard_port>/info`\n+- Method: `GET`\n+- URL Params: `None`\n+- Data P...
Rust
Apache License 2.0
althea-net/althea_rs
Document ExitState enum in api-docs and organize to one file
20,250
06.06.2018 23:11:18
-28,800
e063243f80732630ac8816d0807d07d09ee9b1d5
fix exit switching ip race condition
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "new_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "diff": "@@ -40,6 +40,8 @@ impl KernelInterface {\n}\n}\n+ let prev_ip = self.get_global_device_ip(\"wg_exit\");\n+\nself.run_command(\n\"ip\",...
Rust
Apache License 2.0
althea-net/althea_rs
fix exit switching ip race condition
20,250
07.06.2018 21:49:41
-28,800
b0216cc7f36b84ad768eade6236855b12795e959
disable retry (no point right now)
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/payment_controller/mod.rs", "new_path": "rita/src/rita_common/payment_controller/mod.rs", "diff": "@@ -64,7 +64,7 @@ impl Handler<MakePayment> for PaymentController {\nOk(()) => {}\nErr(err) => {\nwarn!(\"got error from make payment {:?}, ...
Rust
Apache License 2.0
althea-net/althea_rs
disable retry (no point right now)
20,250
07.06.2018 22:18:50
-28,800
bcbd11b09ddadbee3d5af698675d40f02160cc37
switch to separate port for contacting rita over the mesh
[ { "change_type": "MODIFY", "old_path": "integration-tests/rita.py", "new_path": "integration-tests/rita.py", "diff": "@@ -491,12 +491,6 @@ class World:\nreturn result\ndef get_balances(self):\n- s = 1\n- n = 0\n- m = 0\n- balances = {}\n-\n- while s != 0 and n < 100:\nstatus = subprocess.Popen(\n[\"...
Rust
Apache License 2.0
althea-net/althea_rs
switch to separate port for contacting rita over the mesh
20,250
07.06.2018 22:37:03
-28,800
34fe01601f88fd4daa9b95b7e30b650635144c05
add port documentation
[ { "change_type": "ADD", "old_path": null, "new_path": "ports.md", "diff": "+**note everything is for incoming traffic**\n+\n+# Exit\n+\n+## Open to mesh\n+- network/rita_contact_port (default 4874)\n+- exit_network/exit_registration_port (default 4875)\n+- exit_network/wg_listen_port (default 59999)...
Rust
Apache License 2.0
althea-net/althea_rs
add port documentation
20,250
08.06.2018 22:40:44
-28,800
597c04d79f4924dc379c552b63ff1cd28949b6dd
fix exit switching
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "new_path": "althea_kernel_interface/src/exit_client_tunnel.rs", "diff": "@@ -42,26 +42,26 @@ impl KernelInterface {\nlet prev_ip = self.get_global_device_ip(\"wg_exit\");\n+ match prev_ip {\n+ Ok(prev_ip) =>...
Rust
Apache License 2.0
althea-net/althea_rs
fix exit switching
20,250
09.06.2018 00:58:29
-28,800
6349b149427d854827937613c22e7cdbeabaa2e6
add gateway detection and fix per hop tunnels opening over exit tunnels
[ { "change_type": "DELETE", "old_path": "althea_kernel_interface/src/exit_client_counter.rs", "new_path": null, "diff": "-use super::KernelInterface;\n-\n-use failure::Error;\n-\n-use regex::Regex;\n-\n-impl KernelInterface {\n- pub fn init_exit_client_counters(&self) -> Result<(), Error> {\n- self.a...
Rust
Apache License 2.0
althea-net/althea_rs
add gateway detection and fix per hop tunnels opening over exit tunnels
20,250
09.06.2018 22:24:44
-28,800
dc3a1ba1a0bd063d3d4458cc7e9281f2dac297f1
fix exit geoip by stopping rita from crashing when it strays off the happy path and return more descriptive errors to the client
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/exit_manager/mod.rs", "new_path": "rita/src/rita_client/exit_manager/mod.rs", "diff": "@@ -104,9 +104,14 @@ fn exit_setup_request(exit: &String) -> Result<(), Error> {\ntrace!(\"Got exit setup response {:?}\", exit_response.clone());\n+ ma...
Rust
Apache License 2.0
althea-net/althea_rs
fix exit geoip by stopping rita from crashing when it strays off the happy path and return more descriptive errors to the client
20,250
10.06.2018 18:18:30
-28,800
93b4c7899d25e8879a65322a2e57d4a2a4a38bc7
HTTPClient refactor remove threadpool (make everything async) Add exit requests to it Use Actix client everywhere
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "[[package]]\nname = \"actix\"\n-version = \"0.5.7\"\n-source = \"git+https://github.com/kingoflolz/actix?branch=custom-resolver#869f52dadf43082bd34bae1a6ed06e85eaecf8fb\"\n+version = \"0.5.8\"\n+source = \"regist...
Rust
Apache License 2.0
althea-net/althea_rs
HTTPClient refactor - remove threadpool (make everything async) - Add exit requests to it - Use Actix client everywhere
20,250
10.06.2018 23:39:51
-28,800
3e6337af127399c82df75e6941b1c0e2d5866a16
Use parity u256 type for better interoperability Note: The serialized form has changed from base 10 to hex prefixed with 0x
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -491,6 +491,11 @@ dependencies = [\n\"cfg-if 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)\",\n]\n+[[package]]\n+name = \"crunchy\"\n+version = \"0.1.6\"\n+source = \"registry+https://github.co...
Rust
Apache License 2.0
althea-net/althea_rs
Use parity u256 type for better interoperability Note: The serialized form has changed from base 10 to hex prefixed with 0x
20,244
05.06.2018 17:59:37
14,400
4079de5cc519e1a4be2ccaf0357126f0fbb93511
Only ping interfaces configured for peer discovery It's wasteful to ping all interfaces and then remove entries we don't need.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/get_neighbors.rs", "new_path": "althea_kernel_interface/src/get_neighbors.rs", "diff": "use super::KernelInterface;\n+use std::collections::HashSet;\nuse std::net::IpAddr;\nuse std::str::FromStr;\n@@ -25,8 +26,8 @@ impl KernelInterf...
Rust
Apache License 2.0
althea-net/althea_rs
Only ping interfaces configured for peer discovery It's wasteful to ping all interfaces and then remove entries we don't need.
20,250
12.06.2018 22:10:40
-28,800
f370e0c71cc0540e217a5d5462f21aa82d8eb4fe
switch althea types to reexporting parity/primitives
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -121,6 +121,7 @@ version = \"0.1.0\"\ndependencies = [\n\"actix 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"base64 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n+ \"...
Rust
Apache License 2.0
althea-net/althea_rs
switch althea types to reexporting parity/primitives
20,244
16.06.2018 06:46:21
14,400
1da4cc77a9cea6624ec6f0d24a0a6e505ddad5ed
Add version to info endpoint
[ { "change_type": "MODIFY", "old_path": "docs/api/router-dashboard.md", "new_path": "docs/api/router-dashboard.md", "diff": "@@ -15,6 +15,7 @@ This file documents the dashboard API found in Rita client.\n```\n{\n\"balance\":-1029470595\n+ \"version\": \"v0.1.1\"\n}\n```\n" }, { "change_type":...
Rust
Apache License 2.0
althea-net/althea_rs
Add version to info endpoint
20,250
19.06.2018 23:17:02
-28,800
d5b39101e0e36a4f5797eba4552798011dee3fa7
support build caching in compat tests
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -13,3 +13,4 @@ integration-tests/private-key*\nintegration-tests/rita-settings*\nintegration-tests/staging*\nintegration-tests/althea_rs_*\n+integration-tests/target*\n\\ No newline at end of file\n" }, { ...
Rust
Apache License 2.0
althea-net/althea_rs
support build caching in compat tests
20,250
19.06.2018 23:18:50
-28,800
9054a4bdae713eb76c3958770f8bd36396abc32b
flush, sync and close settings to make tests more reliable
[ { "change_type": "MODIFY", "old_path": "clu/src/lib.rs", "new_path": "clu/src/lib.rs", "diff": "@@ -138,16 +138,24 @@ fn linux_exit_init(config: Arc<RwLock<settings::RitaExitSettingsStruct>>) -> Res\npub fn init(platform: &str, settings: Arc<RwLock<settings::RitaSettingsStruct>>) {\nmatch platform {...
Rust
Apache License 2.0
althea-net/althea_rs
flush, sync and close settings to make tests more reliable
20,244
21.06.2018 11:18:52
14,400
0afdd1a93131f9a9683fd9f9ad0c84add7467c55
Fix up neigh endpoint This handles some edge case crashes
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/mod.rs", "new_path": "rita/src/rita_client/dashboard/mod.rs", "diff": "@@ -193,11 +193,28 @@ impl Handler<GetNodeInfo> for Dashboard {\nfor (identity, debt_info) in res.iter() {\nif current_exit.is_some() {\nlet exit_ip = current...
Rust
Apache License 2.0
althea-net/althea_rs
Fix up neigh endpoint This handles some edge case crashes
20,244
20.06.2018 12:02:14
14,400
dafc7e0242cd5c35acbf8411c5155fd2be7049e9
B side of Alpha 4 changes
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/http_client/mod.rs", "new_path": "rita/src/rita_common/http_client/mod.rs", "diff": "@@ -10,9 +10,6 @@ use futures::Future;\nuse althea_types::{ExitClientIdentity, ExitDetails, ExitServerReply, Identity, LocalIdentity};\n-use settings::Rit...
Rust
Apache License 2.0
althea-net/althea_rs
B side of Alpha 4 changes
20,244
21.06.2018 17:08:07
14,400
d6bd5da5c7fa92946e71887810bb361fa402abdc
Missed adding new setting to defaults
[ { "change_type": "MODIFY", "old_path": "settings/default.toml", "new_path": "settings/default.toml", "diff": "@@ -12,6 +12,7 @@ babel_port = 6872\nrita_hello_port = 4876\nrita_contact_port = 4874\nrita_dashboard_port = 4877\n+rita_tick_interval = 5\nbounty_port = 8888\nwg_private_key = \"\"\nwg_priv...
Rust
Apache License 2.0
althea-net/althea_rs
Missed adding new setting to defaults
20,250
13.06.2018 00:00:57
-28,800
0151714dd1a676bcacf79354bcf5d342411ecfc7
remove country requirement from ExitRegistrationDetails
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -31,10 +31,6 @@ pub struct ExitRegistrationDetails {\n#[serde(skip_serializing_if = \"Option::is_none\")]\npub zip_code: Option<String>,\n- // ISO country code\n- #[serde(skip...
Rust
Apache License 2.0
althea-net/althea_rs
remove country requirement from ExitRegistrationDetails
20,250
14.06.2018 21:49:21
-28,800
47c24371a08a5366ae68860bf563551be6993e20
remove actorness
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/exit_manager/mod.rs", "new_path": "rita/src/rita_client/exit_manager/mod.rs", "diff": "use actix::prelude::*;\nuse actix::registry::SystemService;\n-use althea_types::{ExitClientDetails, ExitClientIdentity, ExitState};\n+use althea_types::...
Rust
Apache License 2.0
althea-net/althea_rs
remove actorness
20,250
15.06.2018 01:00:52
-28,800
409e2ba36e2886d869dbb0c8f3ee5650a53ad3c2
get a mesh node's last hop's physical IP and uses that to make geoip decisions
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/interface_tools.rs", "new_path": "althea_kernel_interface/src/interface_tools.rs", "diff": "@@ -4,6 +4,7 @@ use regex::Regex;\nuse failure::Error;\nuse std::str::from_utf8;\n+use std::net::IpAddr;\nimpl KernelInterface {\n/// Return...
Rust
Apache License 2.0
althea-net/althea_rs
get a mesh node's last hop's physical IP and uses that to make geoip decisions
20,250
21.06.2018 00:42:08
-28,800
e81d9b0682fc81cc3574a9fb8db222162bafca57
exit signup refactor
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/interface_tools.rs", "new_path": "althea_kernel_interface/src/interface_tools.rs", "diff": "@@ -3,8 +3,8 @@ use super::KernelInterface;\nuse regex::Regex;\nuse failure::Error;\n-use std::str::from_utf8;\nuse std::net::IpAddr;\n+use ...
Rust
Apache License 2.0
althea-net/althea_rs
exit signup refactor
20,250
24.06.2018 22:53:29
-28,800
50e193596cce5060c7886c89d6ae23df9c88aded
add exit description field
[ { "change_type": "MODIFY", "old_path": "settings/src/lib.rs", "new_path": "settings/src/lib.rs", "diff": "@@ -175,6 +175,8 @@ pub struct ExitServer {\npub id: Identity,\n/// The port over which we will reach the exit apis on over the mesh\npub registration_port: u16,\n+ #[serde(default)]\n+ pub desc...
Rust
Apache License 2.0
althea-net/althea_rs
add exit description field
20,250
24.06.2018 23:54:28
-28,800
4d324c206d948b9e5147f75a145fc1aa1a9f916f
add automatic exit register ability and deserialization tests for exit state
[ { "change_type": "MODIFY", "old_path": "althea_types/src/interop.rs", "new_path": "althea_types/src/interop.rs", "diff": "@@ -40,6 +40,8 @@ pub enum ExitState {\nGotInfo {\ngeneral_details: ExitDetails,\nmessage: String,\n+ #[serde(default)]\n+ auto_register: bool,\n},\nRegistering {\ngeneral_detail...
Rust
Apache License 2.0
althea-net/althea_rs
add automatic exit register ability and deserialization tests for exit state
20,250
03.07.2018 20:49:26
-28,800
574261cc211bca26834fec6f5f88394cbda7d24d
add tests, better errors and more defaults to config files
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "@@ -41,7 +41,6 @@ extern crate tokio;\nextern crate tokio_core;\nextern crate trust_dns_resolver;\n-#[cfg(not(test))]\nuse docopt::Docopt;\n#[cfg(not(test))]\nuse settings::FileWrite;\n@@ -78,7 +7...
Rust
Apache License 2.0
althea-net/althea_rs
add tests, better errors and more defaults to config files
20,244
29.06.2018 17:00:15
14,400
af154685a28b101ba62e6e68a6cb207c899c3901
Make wifi mesh actually toggle meshing Now if someone posts to the wifi settings endpoint with mesh=true it will ignore the other settings and setup that interface as a mesh endpoint
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/mod.rs", "new_path": "rita/src/rita_client/dashboard/mod.rs", "diff": "@@ -11,7 +11,7 @@ use babel_monitor::Babel;\nuse num256::Int256;\nuse rita_common::dashboard::Dashboard;\nuse rita_common::debt_keeper::{DebtKeeper, Dump};\n-...
Rust
Apache License 2.0
althea-net/althea_rs
Make wifi mesh actually toggle meshing Now if someone posts to the wifi settings endpoint with mesh=true it will ignore the other settings and setup that interface as a mesh endpoint
20,244
05.07.2018 07:51:35
14,400
2a13b0651b677afe37d4187c1ab83481cc2a8191
Global allocator is stable now This removes a warning
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "-#![cfg_attr(feature = \"system_alloc\", feature(alloc_system, global_allocator, allocator_api))]\n+#![cfg_attr(feature = \"system_alloc\", feature(alloc_system, allocator_api))]\n#![cfg_attr(feat...
Rust
Apache License 2.0
althea-net/althea_rs
Global allocator is stable now This removes a warning
20,250
06.07.2018 00:24:46
-28,800
4d8e84ed2a1fb14a47e4b89d180cb23f585bc999
add migration sql, email cooldown, update docs
[ { "change_type": "MODIFY", "old_path": "docs/api/flow/exit-signup-chart.png", "new_path": "docs/api/flow/exit-signup-chart.png", "diff": "Binary files a/docs/api/flow/exit-signup-chart.png and b/docs/api/flow/exit-signup-chart.png differ\n" }, { "change_type": "MODIFY", "old_path": "exit...
Rust
Apache License 2.0
althea-net/althea_rs
add migration sql, email cooldown, update docs
20,244
12.07.2018 08:48:50
14,400
0d7864050ec3d931b4f804def2f8dfcc7262e900
Missing unwrap for wifi-mesh
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/mod.rs", "new_path": "rita/src/rita_client/dashboard/mod.rs", "diff": "@@ -123,7 +123,7 @@ impl Handler<SetWifiConfig> for Dashboard {\nlet iface_number = i.section_name.clone().chars().last();\nif i.mesh && iface_number.is_some(...
Rust
Apache License 2.0
althea-net/althea_rs
Missing unwrap for wifi-mesh
20,251
12.07.2018 11:01:11
-3,600
72d7e4c6cfa1d7082d7581178e3f138369cffbfb
Clean up code Cleaned up some minor bugs and refactored some logic to be easier to understand.
[ { "change_type": "MODIFY", "old_path": "althea_kernel_interface/src/iface_counter.rs", "new_path": "althea_kernel_interface/src/iface_counter.rs", "diff": "@@ -45,6 +45,6 @@ impl KernelInterface {\nlet caps = re.captures(&stdout).unwrap();\nlet input_traffic = (caps[2].parse::<u64>()?, caps[1].parse...
Rust
Apache License 2.0
althea-net/althea_rs
Clean up code Cleaned up some minor bugs and refactored some logic to be easier to understand.
20,251
18.07.2018 10:19:01
-3,600
9137b9e580aa22e08f8ca483c370aafed0a2b060
Clean up rita folder
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/traffic_watcher/mod.rs", "new_path": "rita/src/rita_client/traffic_watcher/mod.rs", "diff": "@@ -95,6 +95,8 @@ pub fn watch<T: Read + Write>(\n.timeout(Duration::from_secs(5))\n.build()?;\n+ let target_route = destinations[&exit.mesh_ip];\...
Rust
Apache License 2.0
althea-net/althea_rs
Clean up rita folder
20,252
27.07.2018 09:19:15
18,000
c90e74c2124e2658f9e3496ab042a4c39560e0a1
Updated integration test runner Need to specify bash as the shell interpreter because dash is the default on Ubuntu. Also removed kv_store crate as nothing referenced it.
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -15,3 +15,4 @@ integration-tests/staging*\nintegration-tests/althea_rs_*\nintegration-tests/target*\nintegration-tests/mail/*\n+integration-tests/bounty.db-journal\n" }, { "change_type": "MODIFY", ...
Rust
Apache License 2.0
althea-net/althea_rs
Updated integration test runner Need to specify bash as the shell interpreter because dash is the default on Ubuntu. Also removed kv_store crate as nothing referenced it.
20,252
31.07.2018 01:01:41
18,000
c2046c1710d505f09a6a6c10d3ceeb45365cd87f
Removed unused zip and luci_pass fields from database
[ { "change_type": "ADD", "old_path": null, "new_path": "exit_db/migrations/2018-07-30-160806_remove_unused/down.sql", "diff": "+ALTER TABLE clients ADD COLUMN luci_pass VARCHAR NOT NULL;\n+ALTER TABLE clients ADD COLUMN zip VARCHAR NOT NULL;\n" }, { "change_type": "ADD", "old_path": null,...
Rust
Apache License 2.0
althea-net/althea_rs
Removed unused zip and luci_pass fields from database
20,244
01.08.2018 17:36:57
14,400
2be5a84febdc3e9afae99ce654389025ff35dc38
Add ipq40xx arm target Turns out the glb1300 is a little different than the Omnia, this accounts for that.
[ { "change_type": "ADD", "old_path": null, "new_path": "scripts/README.md", "diff": "+**Build scripts**\n+\n+These build scripts are used to allow easy cross compilation. They download a tarred copy of all the OpenWRT toolchains we use from updates.altheamesh.com if one is not already found locally. ...
Rust
Apache License 2.0
althea-net/althea_rs
Add ipq40xx arm target Turns out the glb1300 is a little different than the Omnia, this accounts for that.
20,244
03.08.2018 11:12:43
14,400
27f578e4733d8c8e48a1c877f9a11e9414705bb7
OpenWRT upload script should kill running Rita
[ { "change_type": "MODIFY", "old_path": "scripts/openwrt_upload.sh", "new_path": "scripts/openwrt_upload.sh", "diff": "#!/usr/bin/env bash\nset -eux\n-export TARGET=mipsel\n-export TRIPLE=mipsel-unknown-linux-musl\n+export TARGET=mips\n+export TRIPLE=mips-unknown-linux-musl\nexport ROUTER_IP=192.168....
Rust
Apache License 2.0
althea-net/althea_rs
OpenWRT upload script should kill running Rita
20,244
03.08.2018 07:56:25
14,400
a2a736d83250793d31dfa5c752107551aac8617e
Fix possible port leak condition
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/http_client/mod.rs", "new_path": "rita/src/rita_common/http_client/mod.rs", "diff": "@@ -39,10 +39,13 @@ impl Message for Hello {\ntype Result = Result<(), Error>;\n}\n+/// Handler for sending hello messages, it's important that any path b...
Rust
Apache License 2.0
althea-net/althea_rs
Fix possible port leak condition
20,244
03.08.2018 11:04:34
14,400
89a58c3802b2895d87557f3ade8557e4d50fbc08
Apply manual peers only as a gateway This might be a little too broad, you could intheory want manual peers on the mesh, but it covers the most common usecase.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/tunnel_manager/mod.rs", "new_path": "rita/src/rita_common/tunnel_manager/mod.rs", "diff": "@@ -211,6 +211,8 @@ impl Handler<PeersToContact> for TunnelManager {\nwarn!(\"Neighbor inqury for {:?} failed!\", peer);\n}\n}\n+ // Do not contact ...
Rust
Apache License 2.0
althea-net/althea_rs
Apply manual peers only as a gateway This might be a little too broad, you could intheory want manual peers on the mesh, but it covers the most common usecase.
20,244
04.08.2018 08:40:13
14,400
9b25faff1b6470646d67a1668ef764740307f719
Have actix-web deserialize for us This cleans up the handler some by having actix do the json deserialization
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "-#![cfg_attr(\n- feature = \"system_alloc\",\n- feature(alloc_system, allocator_api)\n-)]\n+#![cfg_attr(feature = \"system_alloc\", feature(alloc_system, allocator_api))]\n#![cfg_attr(feature = \"...
Rust
Apache License 2.0
althea-net/althea_rs
Have actix-web deserialize for us This cleans up the handler some by having actix do the json deserialization
20,244
06.08.2018 08:18:46
14,400
bb820551fa82dbc18b4df48cfaf7c95a739317d6
Matches for more idiomatic error handling
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/http_client/mod.rs", "new_path": "rita/src/rita_common/http_client/mod.rs", "diff": "@@ -61,23 +61,27 @@ impl Handler<Hello> for HTTPClient {\nlet peer = msg.to;\nlet wg_port = msg.my_id.wg_port;\n- if stream.is_err() {\n- trace!(\"Error g...
Rust
Apache License 2.0
althea-net/althea_rs
Matches for more idiomatic error handling
20,244
06.08.2018 08:25:36
14,400
915c3be1ec3bdaf20c50396b064686304f15194b
Add documentation block comments
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/peer_listener/mod.rs", "new_path": "rita/src/rita_common/peer_listener/mod.rs", "diff": "+/*\n+PeerListener is used to detect nearby mesh peers, it listens on a ff02::/8 ipv6 address, which is\n+a link local multicast address, on each list...
Rust
Apache License 2.0
althea-net/althea_rs
Add documentation block comments
20,244
07.08.2018 14:13:33
14,400
5b9489cb6324a0c1d4f3c56fcff1ef9c03551725
Fix PeerListener and TunnelManager tests Missed some issues during my cherrypick
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "-#![cfg_attr(\n- feature = \"system_alloc\",\n- feature(alloc_system, allocator_api)\n-)]\n+#![cfg_attr(feature = \"system_alloc\", feature(alloc_system, allocator_api))]\n#![cfg_attr(feature = \"...
Rust
Apache License 2.0
althea-net/althea_rs
Fix PeerListener and TunnelManager tests Missed some issues during my cherrypick
20,244
08.08.2018 06:40:28
14,400
976bd6db4c5ace6a9163d2c4684267664724074d
Rustfmt and final nits
[ { "change_type": "MODIFY", "old_path": "rita/src/client.rs", "new_path": "rita/src/client.rs", "diff": "-#![cfg_attr(feature = \"system_alloc\", feature(alloc_system, allocator_api))]\n+#![cfg_attr(\n+ feature = \"system_alloc\",\n+ feature(alloc_system, allocator_api)\n+)]\n#![cfg_attr(feature = \"...
Rust
Apache License 2.0
althea-net/althea_rs
Rustfmt and final nits
20,244
08.08.2018 08:36:25
14,400
0e31a766b90ba6eaf2718efb975264bd91a972a2
Integration test fixes This makes the integration tests dump their current commit revision and check for the existance of the WireGuard kernel module. We also add the jq dependency properly.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -35,6 +35,6 @@ matrix:\n- script: ./integration-tests/rita.sh\nenv: INITIAL_POLL_INTERVAL=5 BACKOFF_FACTOR=\"1.5\" VERBOSE=1\n- script: ./integration-tests/rita.sh\n- env: REVISION_B=release COMPAT_LAYOUT=\"...
Rust
Apache License 2.0
althea-net/althea_rs
Integration test fixes This makes the integration tests dump their current commit revision and check for the existance of the WireGuard kernel module. We also add the jq dependency properly.
20,244
09.08.2018 15:56:13
14,400
2081b527be59564b55133d0981eef402b3f2f6cb
Fix unwrap in dashboard
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/dashboard/mod.rs", "new_path": "rita/src/rita_common/dashboard/mod.rs", "diff": "@@ -46,11 +46,12 @@ impl Handler<GetOwnInfo> for Dashboard {\nPaymentController::from_registry()\n.send(GetOwnBalance {})\n.from_err()\n- .and_then(|res| {\n-...
Rust
Apache License 2.0
althea-net/althea_rs
Fix unwrap in dashboard
20,244
09.08.2018 15:29:48
14,400
daff19c191594830ce5506f498dd2db9c4c1122a
Read /etc/resolv.conf for dns routes
[ { "change_type": "ADD", "old_path": null, "new_path": "althea_kernel_interface/src/dns.rs", "diff": "+use super::KernelInterface;\n+\n+use std::fs::File;\n+use std::io::Error;\n+use std::io::Read;\n+use std::net::IpAddr;\n+\n+impl KernelInterface {\n+ /// Gets a list of IP addresses of nameservers f...
Rust
Apache License 2.0
althea-net/althea_rs
Read /etc/resolv.conf for dns routes
20,244
09.08.2018 16:52:21
14,400
b8435bfc39a920cd3eee1929d6354af79c850fbe
Remove ip generation warnings
[ { "change_type": "MODIFY", "old_path": "clu/src/lib.rs", "new_path": "clu/src/lib.rs", "diff": "@@ -20,6 +20,7 @@ use failure::Error;\nuse althea_kernel_interface::KI;\nextern crate althea_kernel_interface;\n+use rand::distributions::Alphanumeric;\nuse regex::Regex;\nuse std::path::Path;\nuse std::s...
Rust
Apache License 2.0
althea-net/althea_rs
Remove ip generation warnings
20,244
15.08.2018 11:20:49
14,400
5605c9fe17dcd7dc9eb4ea381616a357ae02213b
Better profiling of the main loops
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/dashboard/network_endpoints.rs", "new_path": "rita/src/rita_client/dashboard/network_endpoints.rs", "diff": "@@ -4,6 +4,7 @@ use actix_web::{AsyncResponder, HttpRequest, HttpResponse, Json};\nuse failure::Error;\nuse futures::future;\nuse ...
Rust
Apache License 2.0
althea-net/althea_rs
Better profiling of the main loops
20,244
15.08.2018 12:13:27
14,400
9d9edb34154b63afc76d0daef001479239bf5710
Switch exit and client loops to managed Previously all of our loops notified themselves (thus slowing down when commands slowed) now all loops act like the common loop and are run from a system timer rather than self-notification.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_client/rita_loop/mod.rs", "new_path": "rita/src/rita_client/rita_loop/mod.rs", "diff": "-use std::time::Duration;\n+use std::time::{Duration, Instant};\nuse actix::prelude::*;\nuse actix::registry::SystemService;\n@@ -13,7 +13,10 @@ impl Actor fo...
Rust
Apache License 2.0
althea-net/althea_rs
Switch exit and client loops to managed Previously all of our loops notified themselves (thus slowing down when commands slowed) now all loops act like the common loop and are run from a system timer rather than self-notification.
20,244
16.08.2018 06:39:24
14,400
c3a4011df063c5f2c81eccf898678ce1e6ae7920
Pin reqwest version to git hash
[ { "change_type": "MODIFY", "old_path": "rita/Cargo.toml", "new_path": "rita/Cargo.toml", "diff": "@@ -50,7 +50,7 @@ minihttpse = \"0.1.6\"\nmockito = \"0.12.0\"\nmockstream = { git = \"https://github.com/lazy-bitfield/rust-mockstream.git\" }\nrand = \"0.5.4\"\n-reqwest = {git = \"https://github.com/...
Rust
Apache License 2.0
althea-net/althea_rs
Pin reqwest version to git hash
20,244
20.08.2018 06:28:53
14,400
c8df83279ff557cfced0f361a21e20ee60322649
Move owning ref back to Crates.io Bug fix finally merged
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "@@ -1671,14 +1671,14 @@ dependencies = [\n[[package]]\nname = \"owning_ref\"\nversion = \"0.3.3\"\n-source = \"git+https://github.com/kingoflolz/owning-ref-rs/?branch=fix-bug#601028848abf0754b0f5da8af97bdca1d92b5...
Rust
Apache License 2.0
althea-net/althea_rs
Move owning ref back to Crates.io Bug fix finally merged
20,244
20.08.2018 08:42:15
14,400
43720e05f45eb1ea865e361e7fd29737116c4d8b
Remove stats collection from Rita loop Stats collection is blocking and if enabled will cause the main program loop to go into a latency death spiral where it takes longer and longer for any of the futures to resolve.
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/rita_loop/mod.rs", "new_path": "rita/src/rita_common/rita_loop/mod.rs", "diff": "@@ -69,10 +69,6 @@ impl Handler<Tick> for RitaLoop {\nfn handle(&mut self, _: Tick, ctx: &mut Context<Self>) -> Self::Result {\ntrace!(\"Common tick!\");\n- /...
Rust
Apache License 2.0
althea-net/althea_rs
Remove stats collection from Rita loop Stats collection is blocking and if enabled will cause the main program loop to go into a latency death spiral where it takes longer and longer for any of the futures to resolve.
20,244
20.08.2018 08:39:16
14,400
c20beca84ff256d3ad59ecb773270a01c34563ae
Move to stable rustfmt This moves us to stable rustfmt and adds a little bash check to see if there are any unstaged changes after a rustfmt run rather than using the --check command.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -8,7 +8,7 @@ before_install:\n- which diesel || cargo install diesel_cli --no-default-features --features sqlite\n- sudo cp $(which diesel) /usr/bin\nenv:\n- - TEST_COMMAND=\"rustup component add rustfmt-pre...
Rust
Apache License 2.0
althea-net/althea_rs
Move to stable rustfmt This moves us to stable rustfmt and adds a little bash check to see if there are any unstaged changes after a rustfmt run rather than using the --check command.
20,244
20.08.2018 17:46:37
14,400
0709992f56c8e6282b550bb51d4506ea22e13d56
Run stable rustfmt
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "-# Althea_rs\n+# Althea_r\nThis contains many (although confusingly not all) of the Rust components for the Althea firmware. The only separated component is [guac_rs](https://github.com/althea-mesh/guac_rs) which w...
Rust
Apache License 2.0
althea-net/althea_rs
Run stable rustfmt
20,244
28.08.2018 07:11:44
14,400
89e819cbdff23d34af4e9f8c0eb031a6e11d08b1
Use upstream actix
[ { "change_type": "MODIFY", "old_path": "Cargo.lock", "new_path": "Cargo.lock", "diff": "[[package]]\nname = \"actix\"\n-version = \"0.7.0\"\n-source = \"git+https://github.com/kingoflolz/actix.git?branch=althea-mesh#24128214460d911943a06b87028810cae5011774\"\n+version = \"0.7.4\"\n+source = \"regist...
Rust
Apache License 2.0
althea-net/althea_rs
Use upstream actix
20,244
23.08.2018 21:05:15
18,000
02e545455d02559a1af891976543889e34a0266e
Add DAOManager Early prototype of the Subnet DAO functionaltiy
[ { "change_type": "ADD", "old_path": null, "new_path": "rita/src/rita_common/dao_manager/mod.rs", "diff": "+// Manages subnet DAO membership, DAOManager mantains a cache of subnet DAO entries.\n+// The workflow goes as follows, an actor message DAOCheck is sent to DAOManager\n+// if the identity is n...
Rust
Apache License 2.0
althea-net/althea_rs
Add DAOManager Early prototype of the Subnet DAO functionaltiy
20,244
24.08.2018 09:53:42
18,000
ef206e455f1436b653fb21cc950b4088bb89c5b0
Integrate SubnetDAO and tunnel manager
[ { "change_type": "MODIFY", "old_path": "rita/src/rita_common/dao_manager/mod.rs", "new_path": "rita/src/rita_common/dao_manager/mod.rs", "diff": "@@ -20,6 +20,9 @@ use tokio::net::TcpStream as TokioTcpStream;\nuse althea_types::EthAddress;\nuse althea_types::Identity;\nuse num256::Uint256;\n+use rit...
Rust
Apache License 2.0
althea-net/althea_rs
Integrate SubnetDAO and tunnel manager
20,244
24.08.2018 11:08:02
18,000
cca8656e5b02a50e8050b103ea03cfc5875aab7a
Add DAO configuration endpoints Some simple endpoints for DAO actions
[ { "change_type": "MODIFY", "old_path": "docs/api/router-dashboard.md", "new_path": "docs/api/router-dashboard.md", "diff": "@@ -25,8 +25,6 @@ This file documents the dashboard API found in Rita client.\n`curl 127.0.0.1:4877/info`\n-\n-\n## /neighbors\n- URL: `<rita ip>:<rita_dashboard_port>/neighbor...
Rust
Apache License 2.0
althea-net/althea_rs
Add DAO configuration endpoints Some simple endpoints for DAO actions