aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuanhao Yin <sopium@mysterious.site>2017-03-24 10:22:14 +0800
committerGuanhao Yin <sopium@mysterious.site>2017-03-24 10:30:14 +0800
commit3c12709e3a1861c96b6090f6c02a97accaeffdfd (patch)
tree7ebc6ae67a3c0955e732371ae4be23414f8ce98e
parentAdd sopium's protocol implementation and wg-standalone (diff)
downloadwireguard-rs-3c12709e3a1861c96b6090f6c02a97accaeffdfd.tar.xz
wireguard-rs-3c12709e3a1861c96b6090f6c02a97accaeffdfd.zip
Use my real name. Fix #5
Not that I totally agree with Jason on this, but it is probably too late to hide anyway 🐢.
-rw-r--r--Cargo.toml2
-rw-r--r--src/crypto/hchacha20.rs2
-rw-r--r--src/crypto/mod.rs2
-rw-r--r--src/crypto/xchacha20poly1305.rs2
-rw-r--r--src/lib.rs2
-rw-r--r--src/protocol/README.md19
-rw-r--r--src/protocol/anti_replay.rs2
-rw-r--r--src/protocol/controller.rs2
-rw-r--r--src/protocol/cookie.rs2
-rw-r--r--src/protocol/handshake.rs2
-rw-r--r--src/protocol/ip.rs2
-rw-r--r--src/protocol/mod.rs2
-rw-r--r--src/protocol/re_exports.rs2
-rw-r--r--src/protocol/timer.rs2
-rw-r--r--src/protocol/types.rs2
-rw-r--r--src/tun.rs2
16 files changed, 34 insertions, 15 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a409c48..29b6abe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "wireguard"
version = "0.1.0"
-authors = ["The WireGuard developers", "Sascha Grunert <mail@saschagrunert.de>", "Sopium <sopium@mysterious.site>"]
+authors = ["The WireGuard developers", "Sascha Grunert <mail@saschagrunert.de>", "Guanhao Yin <sopium@mysterious.site>"]
license = "GPL-3.0"
repository = "https://git.zx2c4.com/wireguard-rs/"
description = "Userspace implementation of WireGuard, a fast, modern and secure VPN tunnel."
diff --git a/src/crypto/hchacha20.rs b/src/crypto/hchacha20.rs
index 60b3de2..dfeacdd 100644
--- a/src/crypto/hchacha20.rs
+++ b/src/crypto/hchacha20.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/crypto/mod.rs b/src/crypto/mod.rs
index 6bc8402..44c0342 100644
--- a/src/crypto/mod.rs
+++ b/src/crypto/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/crypto/xchacha20poly1305.rs b/src/crypto/xchacha20poly1305.rs
index 4d67d97..e9d9525 100644
--- a/src/crypto/xchacha20poly1305.rs
+++ b/src/crypto/xchacha20poly1305.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/lib.rs b/src/lib.rs
index e7e8798..d18d770 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sascha Grunert, Sopium
+// Copyright 2017 Sascha Grunert, Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/README.md b/src/protocol/README.md
index c6b4512..673f75f 100644
--- a/src/protocol/README.md
+++ b/src/protocol/README.md
@@ -134,3 +134,22 @@ every two minutes, is also handled this way.
### Testing
This module is under tested.
+
+## Copyright and License of this file
+
+Copyright 2017 Guanhao Yin <sopium@mysterious.site>
+
+This file is part of WireGuard.rs
+
+WireGuard.rs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+WireGuard.rs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with WireGuard.rs. If not, see <https://www.gnu.org/licenses/>.
diff --git a/src/protocol/anti_replay.rs b/src/protocol/anti_replay.rs
index 4fb2e11..f377475 100644
--- a/src/protocol/anti_replay.rs
+++ b/src/protocol/anti_replay.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/controller.rs b/src/protocol/controller.rs
index ed3b4e3..631cad5 100644
--- a/src/protocol/controller.rs
+++ b/src/protocol/controller.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/cookie.rs b/src/protocol/cookie.rs
index 008d03f..26c031a 100644
--- a/src/protocol/cookie.rs
+++ b/src/protocol/cookie.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/handshake.rs b/src/protocol/handshake.rs
index f8023ce..f30ece4 100644
--- a/src/protocol/handshake.rs
+++ b/src/protocol/handshake.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/ip.rs b/src/protocol/ip.rs
index f6b9920..1ff5979 100644
--- a/src/protocol/ip.rs
+++ b/src/protocol/ip.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/mod.rs b/src/protocol/mod.rs
index c8eff1b..c77f1f9 100644
--- a/src/protocol/mod.rs
+++ b/src/protocol/mod.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/re_exports.rs b/src/protocol/re_exports.rs
index 08a3b0c..8c11161 100644
--- a/src/protocol/re_exports.rs
+++ b/src/protocol/re_exports.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/timer.rs b/src/protocol/timer.rs
index d2bcfcb..9ebcdfc 100644
--- a/src/protocol/timer.rs
+++ b/src/protocol/timer.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/protocol/types.rs b/src/protocol/types.rs
index cc8db4d..841eb31 100644
--- a/src/protocol/types.rs
+++ b/src/protocol/types.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.
diff --git a/src/tun.rs b/src/tun.rs
index fc86308..9d47779 100644
--- a/src/tun.rs
+++ b/src/tun.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 Sopium
+// Copyright 2017 Guanhao Yin <sopium@mysterious.site>
// This file is part of WireGuard.rs.