Skip to content

Commit d004196

Browse files
committed
Update and bump v0.3
1 parent dc1bc05 commit d004196

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Honeypot SSH-Server
22
[Russian](README_RU.md) | English</br>
33
The program is provided "as is" and without any warranties. </br>
4-
It is based on the LibSSH library and the example called ssh_server_fork.
4+
It is based on the LibSSH library and the example called ssh_server_fork. </br>
55
`By default, a database is created where all logs are written to /var/lib/honeypot-ssh/honeypot.db`
66

77
Example log at `/var/log/honeypot-ssh/honeypot.log`</br>

README_RU.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Russian | [English](README.md)</br>
33
Программа поставляется "как есть" и без каких-либо гарантий. </br>
44
За основу взята библиотека `LibSSH` и пример под названием `ssh_server_fork`.</br>
5-
`По умолчанию создается база данных, куда пишется все логи /var/lib/honeypot-ssh/honeypot.db`
5+
`По умолчанию создается база данных, куда пишутся все логи /var/lib/honeypot-ssh/honeypot.db`
66

77
Пример лога `/var/log/honeypot-ssh/honeypot.log`</br>
88
```

src/honeypot-ssh-server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ int main(int argc, char *argv[]) {
438438
}
439439

440440
// Таймаут для сессии
441-
unsigned int timeout = 100;
441+
unsigned int timeout = 30;
442442
ssh_options_set(session, SSH_OPTIONS_TIMEOUT, &timeout);
443443

444444
// Блокирует выполнение до появления нового входящего соединения

0 commit comments

Comments
 (0)