Patent ID: 7813290

Claim:
A computer readable recording medium that stores an information collecting program, the information collecting program causes the computer to execute operations comprising: judging whether a received packet corresponds to a monitoring target packet; adding identifying information uniquely identifying the judged monitoring target packet to the judged monitoring target packet; adding process information indicating a user policy used in data communication and/or network related processing of the monitoring target packet to the monitoring target packet; and storing the process information added to said monitoring target packet, in association with the identifying information added to the monitoring target packet by judging whether the process information added to the monitoring target packet is a storing target and storing the process information in association with the identifying information added to the monitoring target packet, when judged that the process information is the storing target, wherein the storing further includes: determining whether the process information added to the monitoring target packet indicates the monitoring target packet is discarded, and judging the process information is the storing target and storing the process information in association with the identifying information added to the monitoring target packet, if determined that the monitoring target packet is discarded.