index
:
potd.git
A high scalable low to medium interactive SSH/TCP honeypot using Linux Namespaces, capabilities, seccomp, cgroups designed for OpenWrt and IoT devices.
log msg
author
committer
range
feature/jail_packet
feature/jail_protocol
master
skeleton
thesis
about
summary
refs
log
tree
commit
diff
path:
root
/
src
/
protocol_ssh.h
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'src/protocol_ssh.h')
-rw-r--r--
src/protocol_ssh.h
14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/protocol_ssh.h b/src/protocol_ssh.h
new file mode 100644
index 0000000..b5edfe0
--- /dev/null
+++ b/
src/protocol_ssh.h
@@ -0,0 +1,14 @@
+#ifndef POTD_SERVER_SSH_H
+#define POTD_SERVER_SSH_H 1
+
+#include <libssh/server.h>
+
+#include "protocol.h"
+
+int ssh_init_cb(protocol_ctx *ctx);
+
+int ssh_on_listen(protocol_ctx *ctx);
+
+int ssh_on_shutdown(protocol_ctx *ctx);
+
+#endif