summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
-rw-r--r--src/client_list.c2
-rw-r--r--src/client_list.h2
-rw-r--r--src/command_queue.c2
-rw-r--r--src/command_queue.h2
-rwxr-xr-xsrc/configure2
-rw-r--r--src/daemon.h30
-rw-r--r--src/datatypes.h2
-rw-r--r--src/health-watch.lua2
-rw-r--r--src/heartbeatclient.c2
-rw-r--r--src/key_value_storage.c2
-rw-r--r--src/key_value_storage.h2
-rw-r--r--src/l_cmd.c2
-rw-r--r--src/l_cmd.h2
-rw-r--r--src/l_log.c22
-rw-r--r--src/l_log.h26
-rw-r--r--src/l_sig_handler.c22
-rw-r--r--src/l_sig_handler.h26
-rw-r--r--src/log.c26
-rw-r--r--src/log.h30
-rw-r--r--src/log_targets.h30
-rw-r--r--src/luaclient.c2
-rw-r--r--src/mode-tcpserver.lua2
-rw-r--r--src/mode-watch.lua2
-rw-r--r--src/options.c3
-rw-r--r--src/options.h2
-rw-r--r--src/serialclient.c2
-rw-r--r--src/sig_handler.c26
-rw-r--r--src/sig_handler.h30
-rw-r--r--src/silence-watch.lua2
-rw-r--r--src/stdioclient.c2
-rw-r--r--src/string_list.c30
-rw-r--r--src/string_list.h30
-rw-r--r--src/switchctl.c2
-rw-r--r--src/utils.c2
-rw-r--r--src/utils.h2
-rw-r--r--src/utils.lua2
37 files changed, 114 insertions, 267 deletions
diff --git a/src/Makefile b/src/Makefile
index 7e7b9dc..2751eb7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
##
## rhctl
##
-## Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+## Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
##
## This file is part of rhctl.
##
@@ -119,4 +119,4 @@ clean:
rm -f $(EXE_SERIALCLIENT)
rm -f $(EXE_STDIOCLIENT)
rm -f $(EXE_HEARTBEATCLIENT)
- rm -f $(EXE_LUACLIENT) \ No newline at end of file
+ rm -f $(EXE_LUACLIENT)
diff --git a/src/client_list.c b/src/client_list.c
index 141a3a4..f21aea3 100644
--- a/src/client_list.c
+++ b/src/client_list.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/client_list.h b/src/client_list.h
index 2f3d5f2..d0b6d3e 100644
--- a/src/client_list.h
+++ b/src/client_list.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/command_queue.c b/src/command_queue.c
index b72d05e..d59f7ef 100644
--- a/src/command_queue.c
+++ b/src/command_queue.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/command_queue.h b/src/command_queue.h
index 4cdcf9f..3e5cdb2 100644
--- a/src/command_queue.h
+++ b/src/command_queue.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/configure b/src/configure
index 83fe4d3..cc8e728 100755
--- a/src/configure
+++ b/src/configure
@@ -2,7 +2,7 @@
#
# rhctl
#
-# Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+# Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
#
# This file is part of rhctl.
#
diff --git a/src/daemon.h b/src/daemon.h
index 9e6f1b2..a75c328 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -1,40 +1,26 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
- *
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
+ * This file is part of rhctl.
*
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef UANYTUN_daemon_h_INCLUDED
-#define UANYTUN_daemon_h_INCLUDED
+#ifndef RHCTL_daemon_h_INCLUDED
+#define RHCTL_daemon_h_INCLUDED
#include <poll.h>
#include <fcntl.h>
diff --git a/src/datatypes.h b/src/datatypes.h
index 3a72adc..e6715b1 100644
--- a/src/datatypes.h
+++ b/src/datatypes.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/health-watch.lua b/src/health-watch.lua
index 082c19d..2c2c32a 100644
--- a/src/health-watch.lua
+++ b/src/health-watch.lua
@@ -1,7 +1,7 @@
--
-- rhctl
--
--- Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+-- Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
--
-- This file is part of rhctl.
--
diff --git a/src/heartbeatclient.c b/src/heartbeatclient.c
index 3fe8423..6861050 100644
--- a/src/heartbeatclient.c
+++ b/src/heartbeatclient.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/key_value_storage.c b/src/key_value_storage.c
index c6341e6..31f48d9 100644
--- a/src/key_value_storage.c
+++ b/src/key_value_storage.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/key_value_storage.h b/src/key_value_storage.h
index 851897f..1a58a60 100644
--- a/src/key_value_storage.h
+++ b/src/key_value_storage.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/l_cmd.c b/src/l_cmd.c
index 86bc872..ffefd2b 100644
--- a/src/l_cmd.c
+++ b/src/l_cmd.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/l_cmd.h b/src/l_cmd.h
index 8c3652c..a23f79a 100644
--- a/src/l_cmd.h
+++ b/src/l_cmd.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/l_log.c b/src/l_log.c
index 4ccf18d..8da64bb 100644
--- a/src/l_log.c
+++ b/src/l_log.c
@@ -1,32 +1,22 @@
/*
- * anylike
+ * rhctl
*
- * anylike is an IKEv2 Implementation written in Lua and C. It's main
- * design goal is to provide anytun and uanytun or any other SATP
- * implementation with a key exchange mechanism but it should also be
- * possible to use anylike as key exchange daemon for IPSec security
- * associations. The use of Lua guarantees that anylike is easily
- * portable to many platforms including very small ones like wireless
- * routers.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2009-2010 Markus Grueneis <gimpf@anylike.org>
- * Christian Pointner <equinox@anylike.org>
- *
- * This file is part of anylike.
- *
- * anylike is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * anylike is distributed in the hope that it will be useful,
+ * rhctl 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 anylike. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
#include <lua.h>
diff --git a/src/l_log.h b/src/l_log.h
index c564c62..169b591 100644
--- a/src/l_log.h
+++ b/src/l_log.h
@@ -1,36 +1,26 @@
/*
- * anylike
+ * rhctl
*
- * anylike is an IKEv2 Implementation written in Lua and C. It's main
- * design goal is to provide anytun and uanytun or any other SATP
- * implementation with a key exchange mechanism but it should also be
- * possible to use anylike as key exchange daemon for IPSec security
- * associations. The use of Lua guarantees that anylike is easily
- * portable to many platforms including very small ones like wireless
- * routers.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2009-2010 Markus Grueneis <gimpf@anylike.org>
- * Christian Pointner <equinox@anylike.org>
- *
- * This file is part of anylike.
- *
- * anylike is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * anylike is distributed in the hope that it will be useful,
+ * rhctl 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 anylike. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ANYLIKE_l_log_h_INCLUDED
-#define ANYLIKE_l_log_h_INCLUDED
+#ifndef RHCTL_l_log_h_INCLUDED
+#define RHCTL_l_log_h_INCLUDED
#include <lua.h>
diff --git a/src/l_sig_handler.c b/src/l_sig_handler.c
index 1be30ce..82902ca 100644
--- a/src/l_sig_handler.c
+++ b/src/l_sig_handler.c
@@ -1,32 +1,22 @@
/*
- * anylike
+ * rhctl
*
- * anylike is an IKEv2 Implementation written in Lua and C. It's main
- * design goal is to provide anytun and uanytun or any other SATP
- * implementation with a key exchange mechanism but it should also be
- * possible to use anylike as key exchange daemon for IPSec security
- * associations. The use of Lua guarantees that anylike is easily
- * portable to many platforms including very small ones like wireless
- * routers.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2009-2010 Markus Grueneis <gimpf@anylike.org>
- * Christian Pointner <equinox@anylike.org>
- *
- * This file is part of anylike.
- *
- * anylike is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * anylike is distributed in the hope that it will be useful,
+ * rhctl 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 anylike. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
#include <lua.h>
diff --git a/src/l_sig_handler.h b/src/l_sig_handler.h
index 447b95e..310414a 100644
--- a/src/l_sig_handler.h
+++ b/src/l_sig_handler.h
@@ -1,36 +1,26 @@
/*
- * anylike
+ * rhctl
*
- * anylike is an IKEv2 Implementation written in Lua and C. It's main
- * design goal is to provide anytun and uanytun or any other SATP
- * implementation with a key exchange mechanism but it should also be
- * possible to use anylike as key exchange daemon for IPSec security
- * associations. The use of Lua guarantees that anylike is easily
- * portable to many platforms including very small ones like wireless
- * routers.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2009-2010 Markus Grueneis <gimpf@anylike.org>
- * Christian Pointner <equinox@anylike.org>
- *
- * This file is part of anylike.
- *
- * anylike is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * anylike is distributed in the hope that it will be useful,
+ * rhctl 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 anylike. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ANYLIKE_l_signal_handler_h_INCLUDED
-#define ANYLIKE_l_signal_handler_h_INCLUDED
+#ifndef RHCTL_l_signal_handler_h_INCLUDED
+#define RHCTL_l_signal_handler_h_INCLUDED
#include <lua.h>
diff --git a/src/log.c b/src/log.c
index 661f9a2..721d7c0 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,36 +1,22 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
- *
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
#include "datatypes.h"
diff --git a/src/log.h b/src/log.h
index e9f35dc..872e1ee 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,40 +1,26 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
- *
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef UANYTUN_log_h_INCLUDED
-#define UANYTUN_log_h_INCLUDED
+#ifndef RHCTL_log_h_INCLUDED
+#define RHCTL_log_h_INCLUDED
#define MSG_LENGTH_MAX 150
diff --git a/src/log_targets.h b/src/log_targets.h
index b6c3ae5..d0a85b1 100644
--- a/src/log_targets.h
+++ b/src/log_targets.h
@@ -1,40 +1,26 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
+ * This file is part of rhctl.
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
- *
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef UANYTUN_log_targets_h_INCLUDED
-#define UANYTUN_log_targets_h_INCLUDED
+#ifndef RHCTL_log_targets_h_INCLUDED
+#define RHCTL_log_targets_h_INCLUDED
#include <time.h>
diff --git a/src/luaclient.c b/src/luaclient.c
index 901d509..7ac102d 100644
--- a/src/luaclient.c
+++ b/src/luaclient.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/mode-tcpserver.lua b/src/mode-tcpserver.lua
index 26e42e2..78e416c 100644
--- a/src/mode-tcpserver.lua
+++ b/src/mode-tcpserver.lua
@@ -1,7 +1,7 @@
--
-- rhctl
--
--- Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+-- Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
--
-- This file is part of rhctl.
--
diff --git a/src/mode-watch.lua b/src/mode-watch.lua
index cf716cb..d90c86f 100644
--- a/src/mode-watch.lua
+++ b/src/mode-watch.lua
@@ -1,7 +1,7 @@
--
-- rhctl
--
--- Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+-- Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
--
-- This file is part of rhctl.
--
diff --git a/src/options.c b/src/options.c
index 7faa3ce..bff561e 100644
--- a/src/options.c
+++ b/src/options.c
@@ -1,8 +1,7 @@
-
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/options.h b/src/options.h
index 450c8f2..df13ebe 100644
--- a/src/options.h
+++ b/src/options.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/serialclient.c b/src/serialclient.c
index 18d62db..6ebbafb 100644
--- a/src/serialclient.c
+++ b/src/serialclient.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/sig_handler.c b/src/sig_handler.c
index 02dbcb0..f9043a1 100644
--- a/src/sig_handler.c
+++ b/src/sig_handler.c
@@ -1,36 +1,22 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
- *
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
+ * This file is part of rhctl.
*
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
#include "datatypes.h"
diff --git a/src/sig_handler.h b/src/sig_handler.h
index 3acd53a..a923418 100644
--- a/src/sig_handler.h
+++ b/src/sig_handler.h
@@ -1,40 +1,26 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
- *
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
+ * This file is part of rhctl.
*
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef UANYTUN_sig_handler_h_INCLUDED
-#define UANYTUN_sig_handler_h_INCLUDED
+#ifndef RHCTL_sig_handler_h_INCLUDED
+#define RHCTL_sig_handler_h_INCLUDED
extern int reset_flag;
diff --git a/src/silence-watch.lua b/src/silence-watch.lua
index 0a2ebe2..aa7354d 100644
--- a/src/silence-watch.lua
+++ b/src/silence-watch.lua
@@ -1,7 +1,7 @@
--
-- rhctl
--
--- Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+-- Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
--
-- This file is part of rhctl.
--
diff --git a/src/stdioclient.c b/src/stdioclient.c
index 670758a..a8bcad1 100644
--- a/src/stdioclient.c
+++ b/src/stdioclient.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/string_list.c b/src/string_list.c
index 5e0ddf8..870048b 100644
--- a/src/string_list.c
+++ b/src/string_list.c
@@ -1,36 +1,22 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
- *
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
+ * This file is part of rhctl.
*
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
#include <string.h>
@@ -43,7 +29,7 @@ void string_list_init(string_list_t* list)
{
if(!list)
return;
-
+
list->first_ = NULL;
}
@@ -104,7 +90,7 @@ void string_list_print(string_list_t* list, const char* head, const char* tail)
{
if(!list)
return;
-
+
string_list_element_t* tmp = list->first_;
while(tmp) {
printf("%s%s%s", head, tmp->string_, tail);
diff --git a/src/string_list.h b/src/string_list.h
index 9e210ae..6e415f9 100644
--- a/src/string_list.h
+++ b/src/string_list.h
@@ -1,40 +1,26 @@
/*
- * uAnytun
+ * rhctl
*
- * uAnytun is a tiny implementation of SATP. Unlike Anytun which is a full
- * featured implementation uAnytun has no support for multiple connections
- * or synchronisation. It is a small single threaded implementation intended
- * to act as a client on small platforms.
- * The secure anycast tunneling protocol (satp) defines a protocol used
- * for communication between any combination of unicast and anycast
- * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
- * mode and allows tunneling of every ETHER TYPE protocol (e.g.
- * ethernet, ip, arp ...). satp directly includes cryptography and
- * message authentication based on the methodes used by SRTP. It is
- * intended to deliver a generic, scaleable and secure solution for
- * tunneling and relaying of packets of any protocol.
- *
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
- * Copyright (C) 2007-2010 Christian Pointner <equinox@anytun.org>
+ * This file is part of rhctl.
*
- * This file is part of uAnytun.
- *
- * uAnytun is free software: you can redistribute it and/or modify
+ * rhctl 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
* any later version.
*
- * uAnytun is distributed in the hope that it will be useful,
+ * rhctl 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 uAnytun. If not, see <http://www.gnu.org/licenses/>.
+ * along with rhctl. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef UANYTUN_string_list_h_INCLUDED
-#define UANYTUN_string_list_h_INCLUDED
+#ifndef RHCTL_string_list_h_INCLUDED
+#define RHCTL_string_list_h_INCLUDED
struct string_list_element_struct {
char* string_;
diff --git a/src/switchctl.c b/src/switchctl.c
index f3daab0..1015185 100644
--- a/src/switchctl.c
+++ b/src/switchctl.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/utils.c b/src/utils.c
index 5ffbd5b..99a609b 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/utils.h b/src/utils.h
index f83bc84..5b86b90 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,7 +1,7 @@
/*
* rhctl
*
- * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ * Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
diff --git a/src/utils.lua b/src/utils.lua
index 6d1e3a0..0fb7377 100644
--- a/src/utils.lua
+++ b/src/utils.lua
@@ -1,7 +1,7 @@
--
-- rhctl
--
--- Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+-- Copyright (C) 2009-2015 Christian Pointner <equinox@helsinki.at>
--
-- This file is part of rhctl.
--