Skip to main content

Receiving Customer Data

Receiving Customer Data Files​

gHost supports incoming connections from multiple protocols, as well as the ability for our agents to poll external systems on a regular basis. The following sections detail the steps that enable gHost to capture and store data, for each of the supported connection methods.

SFTP​

  • Server Addresses (use port 22 for both)

    • Production: ftp.ghost.site (load-balanced)
    • Pilot: poc.ghost.site (single-server only)
  • Creating a user account

    • On an appropriate gHost server, create a domain-level user account with an appropriate name and password
    • This is typically [CUSTOMER_NAME] SFTP, with a logon name of gsa-[CUSTOMER_NAME]
    • Save the credentials in the appropriate GTS 1Password vault
  • Add to the correct security group

    • On an appropriate gHost server, add the user to the correct domain-level group
    • Production: SFTPCustomers
    • Pilot: SFTPUsers
  • Add to the list of allowed user accounts

    • On an appropriate gHost server, modify the sshd_config file and add a new Match User rule so that when the user logs in, they are isolated to their own folder
    • This file can be found at C:\ProgramData\ssh\sshd_config
    • Production: Must be done on both FTP servers
    • Pilot: Must be done on the solo FTP server
  • Create a folder for the user to store their data in

    • In the FTP root folder, create a new folder where the name matches gsa-[CUSTOMER_NAME]
    • In the folder's Properties > Security tab, edit the permissions to allow Read and Write access to the correct domain-level group
    • Production: SFTPCustomers
    • Pilot: SFTPUsers

FTPS​

  • Server Addresses (use port 21 and explicit SSL encryption for both)

    • Production: ftp.ghost.site (load-balanced)
    • Pilot: poc.ghost.site (single-server only)
  • Creating a user account

    • On an appropriate gHost server, create a domain-level user account with an appropriate name and password
    • This is typically [CUSTOMER_NAME] FTPS, with a logon name of gsa-[CUSTOMER_NAME]
    • Save the credentials in the appropriate GTS 1Password vault
  • Add to the correct security group

    • On an appropriate gHost server, add the user to the correct domain-level group
    • Production: FileTransfer
    • Pilot: FTPUsers
  • Create a folder for the user to store their data in

    • In the FTP root folder, create a new folder where the name matches gsa-[CUSTOMER_NAME]
    • In the folder's Properties > Security tab, edit the permissions to allow Read and Write access to the correct domain-level group
    • Production: FileTransfer
    • Pilot: FTPUsers

Email​

  • Server Addresses

    • Production: mail.ghost.site (load-balanced)
    • Pilot: poc.ghost.site (single-server only)
  • Creating a mailbox

    • On an appropriate gHost server, run mmc.exe from the Start window, and add the MailEnable Management snap-in
    • Expand Messaging Manager > Post Offices > gHost > Mailboxes
    • Right-click the primary snap-in area, click New Mailbox... and follow the wizard
  • Whitelisting senders

    • TBD - requires additional content from IPBan whitelisting processs
    • TBD - Processing attachments via gNode

REST API​

As the REST API requires a specific format of message to be sent, please see the [REST API](../../Infrastructure/REST API) page for specific setup information

Processing and Parsing Data Files​

  • USR

    • TBD - Writing your own parser to process data files
    • TBD - Adding health points to USR and SMT
  • gNode

    • TBD - Copying a parser - do we even have any?
    • TBD - Adding health points - do we even have any?