snort遍历端口集port_group 代码
作者:互联网
反向便利port_group 代码
snort
if(port_group->pgHead)
{
port_group->pgTail = port_group->pgHead;
while(port_group->pgTail->rnNext)
{
OptTreeNode *otn = (OptTreeNode *)port_group->pgTail->rnRuleData;
if(otn)
{
LogMessage("%d match SID \n",otn->sigInfo.id);
}
port_group->pgTail = port_group->pgTail->rnNext;
}
}
标签:group,rnNext,otn,snort,pgTail,port 来源: https://blog.csdn.net/sonflower123/article/details/114818411