18 Commits

Author SHA1 Message Date
Ryan Smith
fd02995f52 chore: add proxy options to default config
Adds proxy-related options to the default configuration file, with options set to disabled by default. This makes the features more discoverable for new users.
2025-05-15 17:13:32 -07:00
Ryan Smith
8ebec3a8c4 feat: add TLS support to threat feed server
This change adds optional support for running the threat feed server over HTTPS. This is controlled via the configuration file. Depending on the confgiuration, the threat feed may operate over either HTTP or HTTPS, but not both.

The following configuration options are added to the threat feed (the `<threatFeed>` section in the conffguration file):
- `<enableTLS>` - If `true`, the threat feed uses TLS. If `false` or if this is missing, use HTTP.
- `<certPath>` - Path to TLS cert in PEM format.
- `<keyPath>` - Path to private key in PEM format.

Default configuration files are updated to include the new settings. The TLS feature is off by default. Existing user configuration files only need to be updated if this feature is needed. Otherwise, existing configuration files start the threat feed using HTTP as before.

When the threat feed server starts in TLS mode, it automatically generates a self-signed cert if the cert and key files aen't found.
2025-04-16 08:33:36 -07:00
Ryan Smith
4fd048c287 Remove feature for custom threat file
This change removes the `CustomThreatsPath` setting from the threat feed configuration. The default configuration files are updated with this setting removed.
2025-03-26 18:23:37 -07:00
Ryan Smith
60ab753c42 Remove threat score feature, replace with observation count
This change removes the 'threat score' feature which allowed users to configure each honeypot server with a variable 'score' when updating the threat feed.

It is replaced with a fixed observation count that is incremented by 1 for each honeypot interaction.

The field `threat_score` has been replaced with `observations` in all API call parameters and threat feed data.

The `threat_score` field in the CSV file has been renamed to `observations`. Existing threat feed CSV files will be automatically updated on the next threat feed save.
2025-03-20 09:20:15 -07:00
Ryan Smith
b23e9b4a9e Remove minimum threat score feature and settings 2025-03-19 20:50:21 -07:00
Ryan Smith
563c76696b Change default SSH banner to appear as OpenSSH 9.6
This change adjusts the default SSH server version string to `SSH-2.0-OpenSSH_9.6`. This makes SSH honeypots appear as OpenSSH 9.6.

The change is applied both to default configuration files and as an application default when no configuration is provided.
2024-12-27 08:48:43 -08:00
Ryan Smith
1b76ac5251 Add default configuration file for Docker usage 2024-12-05 15:45:35 -08:00
Ryan Smith
865d06dd21 Update default config
This change updates the default configuration file by removing most comments. Configuration options will be documented separately.

The regex patterns in the default ruleset for HTTP honeypots is simplified.
2024-11-25 13:03:49 -08:00
Ryan Smith
f009206dbf Fix example UDP config should default to disabled 2024-11-17 18:01:18 -08:00
Ryan Smith
eca338336c Update default configuration
- Add a default ruleset for HTTP and HTTPS honeypots.
- Restructure XML and add comments for each section.
- Change threat feed default port from 8081 to 9000.
- Change SSH honeypot default port from 2022 to 2222.
- Add example TCP and UDP honeypots.
2024-11-17 14:39:34 -08:00
Ryan Smith
0e09a25258 Add threatScore settings to default config 2024-10-27 21:02:06 -07:00
Ryan Smith
9167188216 Change the default log path 2024-10-26 20:19:37 -07:00
Ryan Smith
6274c93d2a Change threat feed database to CSV
This commit changes the threat feed database format from JSON to CSV for improved efficiency when saving updates.
2024-10-26 20:19:07 -07:00
Ryan Smith
eb6d6c2c8e Change the default log directory
This commit changes the default log directory from /opt/deceptifeed/var/log/ to /opt/deceptifeed/logs/
2024-10-23 09:33:09 -07:00
Ryan Smith
d17f6fffaa Rename the project to Deceptifeed 2024-10-21 17:18:09 -07:00
Ryan Smith
2e9f314303 Update default configuration 2024-10-20 21:20:20 -07:00
Ryan Smith
2b5349aacf Rename XML logPath element to defaultLogPath
This change modifies the XML schema for the configuration file. The top-level `logPath` element is renamed to `defaultLogPath`. This adjustment prepares for a future change to allow each server to specify its own log path.
2024-10-19 19:32:01 -07:00
Ryan Smith
778dda1dfb Add a default configuration file 2024-10-19 11:08:46 -07:00