Skip to content

Address conflicts with $config#24

Open
gatheall wants to merge 4 commits intojullrich:masterfrom
gatheall:master
Open

Address conflicts with $config#24
gatheall wants to merge 4 commits intojullrich:masterfrom
gatheall:master

Conversation

@gatheall
Copy link
Contributor

As reported in #22, dshield.php reads configuration settings from dshield.ini into the array $config, and uses the information at various places in the script. Some settings, such as ccaddr, appear to be ignored when sending reports. The problem occurs because the script requires several include files from pfSense itself, one of which populates the same array with pfSense configuration information (through /etc/inc/config.inc), in effect clearing out the configuration settings from dshield.ini.

This set of commits is intended to fix that by renaming the array holding dshield.ini's settings from $config to $dshield_config. It also moves the empty From address check to support taking it from pfSense's configuration if it's not in dshield.ini.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments