Current time: 06-26-2024, 10:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
POP3/IMAP Traffic Statics wrong ?
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: POP3/IMAP Traffic Statics wrong ?
I started to debug the wrong Traffic stats.
We talk about ALL TrafficStats in ispCP. In my eyes no traffic is really correct Shy

First i found a bug with a wrong secure smtp Port:
--> http://www.isp-control.net/ispcp/ticket/1770
On check the srv_traff_engine i saw this part:
Code:
if (defined($port) && $port > 0) {

                        $smtp_in += $bytes if ($port == 25);

                        $smtp_in += $bytes if ($port == 456);

                        $pop3_in += $bytes if ($port == 110);

                        $pop3_in += $bytes if ($port == 995);

                        $imap_in += $bytes if ($port == 143);

                        $imap_in += $bytes if ($port == 993);

                        $http_in += $bytes if ($port == 80);

                        $http_in += $bytes if ($port == 443);
An in the OUT Part only the half of the Ports are logged ?
Code:
if (defined($port) && $port > 0) {

            $smtp_out = $bytes if ($port == 25);

            $pop3_out = $bytes if ($port == 110);

            $imap_out = $bytes if ($port == 143);

            $http_out = $bytes if ($port == 80);
It this really correct or are the Ports here missing ?

There is also a differnt between DomainTraffic in ispCP and AWstats.
Ok there *could* be a traffic differnce between both, but we talk about hundreds of MB and GB ?!

Still on the way to find out the error.

Greez BeNe
(This post was last modified: 03-25-2009 07:36 PM by BeNe.)
03-25-2009 06:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
POP3/IMAP Traffic Statics wrong ? - BeNe - 03-06-2009, 02:59 AM
RE: POP3/IMAP Traffic Statics wrong ? - BeNe - 03-25-2009 06:21 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)