added data serialization, encryption, and ip subnet checking to spectre

This commit is contained in:
JT Smith 2006-02-08 20:18:00 +00:00
parent 6595290272
commit 75ecd4d7f4
9 changed files with 139 additions and 6 deletions

View file

@ -320,7 +320,19 @@
# the LDAP server. Note that this will only happen for users
# that have LDAP as their authentication.
"SyncProfilesToLDAP_hour" : 2
"SyncProfilesToLDAP_hour" : 2,
# Define the subnets that WebGUI should expect Spectre communication
# to come from. All other subnets will be ignored. The subnet
# should be listed in CIDR notation.
"spectreSubnets" : [ "127.0.0.1/32" ],
# Define the key that will be used to encrypt communcation
# between Spectre and WebGUI. Note that this must match the
# cryptoKey in the Spectre config file.
"spectreCryptoKey" : "123qwe"
}

View file

@ -2,6 +2,12 @@
{
# Define a key that will be used between Spectre and WebGUI to encrypt
# communication. Note that this key must match the "spectreCryptoKey"
# directive in your WebGUI config files.
"cryptoKey" : "123qwe",
# Define a port for Spectre to run on between 1024 and 65000.
"port" : 32133,