Dear all, I've recently set up pmacct for accounting and it works very well. However, most of the traffic I'm seeing is HTTP for name-based virtual hosts. As the page on classification says "traffic classification can result highly beneficial for ... accounting and billing per application layer logical entities (ie. virtual hosts)", I was wondering whether pmacct is capable of sorting out traffic in my case.
It would have to inspect the "Host:" header sent during the beginning of a http connection and classify traffic as "http" + the host name following the header. The README.developers file from the classifiers example files describes char protocol[] = "<something>" as a static value. As I understand it, when the classifier() function returns 1, it means that the flow belongs to that protocol. I think in my case the value would need to change with each successful classification. Do you think it would easily be possible to extend pmacct to reflect this? I think it would be a great feature if one could measure IP traffic for virtual hosts sharing an IP address. Thanks a lot! Matthias
_______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists