Hello Champ,
I had a quick look at the source and I believe the issue is a small
one.
The config file parser is setting the "sagan_ext_flag" variable in the
config structure (as below: sagan-config.c:265)
if (!strcmp(sagan_var, "external:")) {
snprintf(config->sagan_extern, sizeof(config->sagan_extern),
"%s", strtok_r(NULL, " ", &tok));
if (strstr(strtok_r(NULL, " ", &tok), "parsable")) config-
>sagan_exttype=1;
config->sagan_ext_flag=1;
}
but the main() routing is checking for the file "output_thread_flag"
variable (as below: sagan.c:1264) to fire off the new thread.
if ( config->output_thread_flag ) {
Adding the "output_thread_flag" variable name to the config parser (as
the "sagan_ext_flag" is referenced by the sagan-output routines)
appears to make everything fall into place. This is only a two minute
check, so I don't know if this would have further negative impact.
if (!strcmp(sagan_var, "external:")) {
snprintf(config->sagan_extern, sizeof(config->sagan_extern),
"%s", strtok_r(NULL, " ", &tok));
if (strstr(strtok_r(NULL, " ", &tok), "parsable")) config-
>sagan_exttype=1;
config->sagan_ext_flag=1;
config->output_thread_flag=1;
}
Hope it helps a little
- SrvrSide
On Jun 22, 10:12 pm, Champ Clark III <
ccl...@quadrantsec.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I just did a really, really quick test and you're correct. The
> "external:" is no being called. I'll take a look at it over the
> weekend and let you know what I find.
>
> In the mean time, I'm going to file a bug for this. Thanks for the
> information.
>
> - --
> - - Champ Clark III (
ccl...@quadrantsec.com)
> Quadrant Information Security (
http://quadrantsec.com)
> Key Fingerprint: 2E56 C2EB 1B25 C517 D5BA 2DCF 5E70 B2F8 0381 878A
> GPG Key ID: 0381878A
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools -
http://gpgtools.org
> Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/