aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-12-02 14:07:34 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-12-02 14:07:34 +0100
commit1629c3621e02a8e176172f44a72d155030172d35 (patch)
treef125880354a771c047cfde27d3e9023668acb87e
parent6a147a95c105fe4884f01accbd3fcd6e571b1b10 (diff)
downloaddns-1629c3621e02a8e176172f44a72d155030172d35.tar.gz
Prepare for license
-rw-r--r--Readme.md5
-rw-r--r--src/dns.c5
-rw-r--r--src/dns.h5
-rw-r--r--src/log.c5
-rw-r--r--src/log.h5
-rw-r--r--src/main.c5
-rwxr-xr-xtest/netfuzz.sh (renamed from netfuzz.sh)0
7 files changed, 30 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
new file mode 100644
index 0000000..82bbbb6
--- /dev/null
+++ b/Readme.md
@@ -0,0 +1,5 @@
+# DNS
+
+A simple authorative DNS server implementation in c
+
+License: MIT
diff --git a/src/dns.c b/src/dns.c
index eaa032e..6cdae43 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -1,3 +1,8 @@
+/* dns.c
+ * (c) Jonas Gunz, 2019
+ * License: MIT
+ * */
+
#include "dns.h"
int dns_parse_packet ( char* _buffer, int _bufflen, struct dns_message* _msg )
diff --git a/src/dns.h b/src/dns.h
index c2d6d18..f93480e 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -1,3 +1,8 @@
+/* dns.h
+ * (c) Jonas Gunz, 2019
+ * License: MIT
+ * */
+
#pragma once
#include <stdint.h>
diff --git a/src/log.c b/src/log.c
index 197582c..df1ae6a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,3 +1,8 @@
+/* log.c
+ * (c) Jonas Gunz, 2019
+ * License: MIT
+ * */
+
#include "log.h"
const char* log_loglevel_str[5] = {
diff --git a/src/log.h b/src/log.h
index 8b2c881..81cea3d 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,3 +1,8 @@
+/* log.h
+ * (c) Jonas Gunz, 2019
+ * License: MIT
+ * */
+
#pragma once
#include <stdio.h>
diff --git a/src/main.c b/src/main.c
index cb0432e..1e96f33 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,8 @@
+/* main.c
+ * (c) Jonas Gunz, 2019
+ * License: MIT
+ * */
+
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
diff --git a/netfuzz.sh b/test/netfuzz.sh
index 42a8543..42a8543 100755
--- a/netfuzz.sh
+++ b/test/netfuzz.sh