Re: [pmacct-discussion] HTTP Virtual Hosts classification

2009-02-18 Thread Paolo Lucente
Hi Matthias, In concept, and as documentation says, what you want to achieve is feasible and your understanding of the classifier() is correct - you only have to write down your own patterns: re-phrased, regular expressions are typically employed to recognize protocols but they can be of course

Re: [pmacct-discussion] HTTP Virtual Hosts classification

2009-02-18 Thread Chris Wilson
Hi all, On Wed, 18 Feb 2009, Paolo Lucente wrote: In concept, and as documentation says, what you want to achieve is feasible and your understanding of the classifier() is correct - you only have to write down your own patterns: re-phrased, regular expressions are typically employed to

[pmacct-discussion] Patch to fix strcpy bug

2009-02-18 Thread Karl O. Pinc
Hi, strcpy does not work reliably with overlapping source and destination buffers. This patch fixes at least some cases of this problem. To apply: cd pmacct-0.11.5 patch -p1 memmove.patch Karl k...@meme.com Free Software: You don't pay back, you pay forward. -- Robert A.

[pmacct-discussion] strlcpy patch

2009-02-18 Thread Karl O. Pinc
Pedantic removal of strcpy that mostly serves to make it easier to find and remove other unsafe (buffer overflow prone) uses of strcpy. To apply: cd pmacct-0.11.5 patch -p1 strlcpy.patch Karl k...@meme.com Free Software: You don't pay back, you pay forward. -- Robert A.