Skip to content

Commit

Permalink
fixes nlog container error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Updyke committed Mar 11, 2024
1 parent c0ff751 commit a92473f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 30 deletions.
43 changes: 21 additions & 22 deletions docs/new.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,27 @@

Welcome to what's new in the GHOSTS framework. Use this page to review the latest changes.

## GHOSTS Core v7.0
## GHOSTS v8

- 10+ significant features built by 6+ contributors!
- We surpassed 175 issues/discussions!
- These new docs are hosted on GitHub Pages
- [GHOSTS PANDORA](content/pandora.md) - a new tool for delivering randomized content within a range
- [GHOSTS PANDORA SOCIAL](content/social.md) - a new tool for managing social media content within a range
- Beginning of moving to websockets — NPCs are now "always connected" and do not need to "check in" in order to execute activities, althought these are still being built out, and the old check-in system is still in place for the time being.
- Adds ability to configure random timespans to a timeline for delaybefore or delayafter some activity is executed.
- Cleans up and simplifies configuration on client and server systems (breaking change).
- Updates all framework and dependency versions to latest (.NET8).
- NetOffice binary update, particularly negatively impacting Excel, forcing it to continually restart. Updated to latest (and new source) for NetOffice libraries across all Office products.

In the Core Client, v7 Improves:
- "One docker-compose To Rule Them All" — we were seeing installs fail because of piecemeal installation of various ghosts modules. Now, there is a single docker-compose file that will install all of the necessary components for a GHOSTS system.
- Animator and SPECTRE merged into ghosts api proper.
- Animator job management is now done through the UI.
- API endpoints have been re-organized in a more logical fashion.
- Added a favicon.

- Performance
- The Clean up of created artifacts
- Logging
- Cron-like scheduling (in development for all handlers)
- New handlers for Firefox and Chrome Browsers
- Complete forms
- Post payloads (images, files, etc.)
- Better UA string handling
- SharePoint
- Drupal Blog Management
- Jabber (XMPP)
- RDP
- sFTP
- SSH
- Client Now Supports AutoIT
## Bug Fixes

- Updates Grafana docker compose to not use root.
- Cleans up containers and ensures all are amd64.
- Fixes a bug to get the cmd window to stay open after running a command, despite attempts to use parameters to get it to stay open.
- Cmd now stays open, but this can have different outcomes based on the types of commands passed in, plus ghosts will reap windows in order to save on machine resources, so a used command window won't always be there later.
- New improved RDP, fixes an array of different connectivity bugs.
- Fixes bugs in delay before and after with fixed integer/long values over int maximum.
- Adds "log" level to application logs.
- Fixes documentation bug in machine group timelines.
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The GHOSTS client should typically be run as a specific user, and not as an admi

### :material-linux: Linux Client

1. Your client Linux machine will need to have the latest [Microsoft dotnetcore runtime](https://dotnet.microsoft.com/download){:target="_blank"} installed (Note that for the GHOSTS client, there are versions for dotnetcoreapp3.1 - this will eventually go away — and dotnet6.0, which is LTS and should stick around for a while). Again, note that you only need the runtime installed, not the full SDK.
1. Your client Linux machine will need to have the latest [Microsoft dotnetcore runtime](https://dotnet.microsoft.com/download){:target="_blank"} installed. Again, note that you only need the runtime installed, not the full SDK.
2. [Download the latest Linux client](https://github.com/cmu-sei/GHOSTS/releases/latest){:target="_blank"} zip file. Unzip to a folder such as ~/ghosts for the user that you want GHOSTS to run as.

Note that on Linux machines running the client as root and utilizing web browsing may result in failures due to Gecko/Chromedriver display issues.
2 changes: 1 addition & 1 deletion src/Ghosts.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static void Main(string[] args)
}
catch (Exception ex)
{
_log.Fatal(ex, "An error occurred while seeding the GHOSTS database");
_log.Fatal(ex);
}
}

Expand Down
7 changes: 1 addition & 6 deletions src/Ghosts.Domain/nlog.config
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
AutoLoadExtensions="true"
internalLogToConsole="true"
internalLogFile="logs\nlog-internal.log"
internalLogLevel="Error"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target name="logfile" xsi:type="File" fileName="logs/app.log" layout="${Date:universalTime=true}|${callsite}|${message}" archiveAboveSize ="1000000" maxArchiveFiles="2" />
<target name="clientupdates" xsi:type="File" fileName="logs/clientupdates.log" layout="${message}" archiveAboveSize ="500000" maxArchiveFiles="20" />
Expand Down

0 comments on commit a92473f

Please sign in to comment.