diff --git a/README.md b/README.md index 6c11559..4fe79ea 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Localization contributors: - Polish: [Atrate](https://github.com/Atrate) ## Dependencies -* [TunProxy](https://github.com/raise-isayan/TunProxy) - VPN server and traffic interceptor +* [NetGuard](https://github.com/M66B/NetGuard) / [TunProxy](https://github.com/raise-isayan/TunProxy) - VPN server and traffic interceptor * [LittleProxy](https://github.com/adamfisk/LittleProxy) - proxy server * [LittleProxy-MITM](https://github.com/ganskef/LittleProxy-mitm) - LittleProxy SSL extension * [dnsjava](https://github.com/dnsjava/dnsjava) - DNS library, DoH realization diff --git a/app/src/main/cpp/dhcp.c b/app/src/main/cpp/dhcp.c index cb8c5f9..d26b95a 100644 --- a/app/src/main/cpp/dhcp.c +++ b/app/src/main/cpp/dhcp.c @@ -1,4 +1,21 @@ +/* + This file is part of NetGuard. + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" diff --git a/app/src/main/cpp/dns.c b/app/src/main/cpp/dns.c index 2e6c3e0..36af3f7 100644 --- a/app/src/main/cpp/dns.c +++ b/app/src/main/cpp/dns.c @@ -1,4 +1,21 @@ +/* + This file is part of NetGuard. + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" int32_t get_qname(const uint8_t *data, const size_t datalen, uint16_t off, char *qname) { diff --git a/app/src/main/cpp/http.c b/app/src/main/cpp/http.c index 77fe6b5..4afe8a0 100644 --- a/app/src/main/cpp/http.c +++ b/app/src/main/cpp/http.c @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include #include /* malloc() */ diff --git a/app/src/main/cpp/http.h b/app/src/main/cpp/http.h index b940966..22b247e 100644 --- a/app/src/main/cpp/http.h +++ b/app/src/main/cpp/http.h @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #ifndef TUN2HTTP_HTTP_H #define TUN2HTTP_HTTP_H diff --git a/app/src/main/cpp/icmp.c b/app/src/main/cpp/icmp.c index 0f5efbd..00d10f4 100644 --- a/app/src/main/cpp/icmp.c +++ b/app/src/main/cpp/icmp.c @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" diff --git a/app/src/main/cpp/ip.c b/app/src/main/cpp/ip.c index 7b65fc5..40a5ba7 100644 --- a/app/src/main/cpp/ip.c +++ b/app/src/main/cpp/ip.c @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" diff --git a/app/src/main/cpp/session.c b/app/src/main/cpp/session.c index 0f5088f..911056b 100644 --- a/app/src/main/cpp/session.c +++ b/app/src/main/cpp/session.c @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" diff --git a/app/src/main/cpp/tcp.c b/app/src/main/cpp/tcp.c index a8d6cf1..77160c7 100644 --- a/app/src/main/cpp/tcp.c +++ b/app/src/main/cpp/tcp.c @@ -1,3 +1,22 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ + #include "tun2http.h" #include "tls.h" #include "http.h" diff --git a/app/src/main/cpp/tls.c b/app/src/main/cpp/tls.c index 83a45df..5b83971 100644 --- a/app/src/main/cpp/tls.c +++ b/app/src/main/cpp/tls.c @@ -1,4 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include #include /* malloc() */ diff --git a/app/src/main/cpp/tls.h b/app/src/main/cpp/tls.h index 9cfc6ac..41f86ae 100644 --- a/app/src/main/cpp/tls.h +++ b/app/src/main/cpp/tls.h @@ -1,4 +1,21 @@ +/* + This file is part of NetGuard. + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #ifndef TUN2HTTP_TLS_H #define TUN2HTTP_TLS_H diff --git a/app/src/main/cpp/tun2http.c b/app/src/main/cpp/tun2http.c index aefc240..bc60a6c 100644 --- a/app/src/main/cpp/tun2http.c +++ b/app/src/main/cpp/tun2http.c @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" diff --git a/app/src/main/cpp/tun2http.h b/app/src/main/cpp/tun2http.h index 33c22e1..65658d4 100644 --- a/app/src/main/cpp/tun2http.h +++ b/app/src/main/cpp/tun2http.h @@ -1,3 +1,22 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ + #include #include #include diff --git a/app/src/main/cpp/udp.c b/app/src/main/cpp/udp.c index b7a078f..17e8c4a 100644 --- a/app/src/main/cpp/udp.c +++ b/app/src/main/cpp/udp.c @@ -1,3 +1,21 @@ +/* + This file is part of NetGuard. + + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h" diff --git a/app/src/main/cpp/util.c b/app/src/main/cpp/util.c index a7aefa7..909248a 100644 --- a/app/src/main/cpp/util.c +++ b/app/src/main/cpp/util.c @@ -1,4 +1,21 @@ +/* + This file is part of NetGuard. + NetGuard 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. + + NetGuard 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 NetGuard. If not, see . + + Copyright 2015-2017 by Marcel Bokhorst (M66B) +*/ #include "tun2http.h"