"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dynamic-preprocessors/dcerpc2/snort_dce2.c" between
snort-2.9.16.1.tar.gz and snort-2.9.17.tar.gz

About: Snort is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

snort_dce2.c  (snort-2.9.16.1):snort_dce2.c  (snort-2.9.17)
skipping to change at line 163 skipping to change at line 163
PREPROC_PROFILE_END(dce2_pstat_new_session); PREPROC_PROFILE_END(dce2_pstat_new_session);
return NULL; return NULL;
} }
DCE2_SsnSetAppData(p, (void *)sd, DCE2_SsnFree); DCE2_SsnSetAppData(p, (void *)sd, DCE2_SsnFree);
#ifdef SNORT_RELOAD #ifdef SNORT_RELOAD
ada_add( ada, (void *) sd, p->stream_session ); ada_add( ada, (void *) sd, p->stream_session );
#endif #endif
dce2_stats.sessions++; dce2_stats.sessions++;
dce2_stats.sessions_active++;
DEBUG_WRAP(DCE2_DebugMsg(DCE2_DEBUG__MAIN, "Created (%p)\n", (void *)sd)); DEBUG_WRAP(DCE2_DebugMsg(DCE2_DEBUG__MAIN, "Created (%p)\n", (void *)sd));
sd->trans = trans; sd->trans = trans;
sd->server_policy = DCE2_ScPolicy(sc); sd->server_policy = DCE2_ScPolicy(sc);
sd->client_policy = DCE2_POLICY__WINXP; // Default to Windows XP sd->client_policy = DCE2_POLICY__WINXP; // Default to Windows XP
sd->sconfig = sc; sd->sconfig = sc;
sd->wire_pkt = p; sd->wire_pkt = p;
sd->policy_id = policy_id; sd->policy_id = policy_id;
sd->config = dce2_config; sd->config = dce2_config;
skipping to change at line 1353 skipping to change at line 1354
{ {
sfPolicyUserDataClear (config, policy_id); sfPolicyUserDataClear (config, policy_id);
DCE2_FreeConfig(pPolicyConfig); DCE2_FreeConfig(pPolicyConfig);
/* No more outstanding policies for this config */ /* No more outstanding policies for this config */
if (sfPolicyUserPolicyGetActive(config) == 0) if (sfPolicyUserPolicyGetActive(config) == 0)
DCE2_FreeConfigs(config); DCE2_FreeConfigs(config);
} }
} }
#endif #endif
dce2_stats.sessions_active--;
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)