Hi Gregory,

1. pfbandwidthd listen on the inline interface so inbytes is bytes incoming in the inline interface. 2. you probably will not show that because if pfdhcplistener detect that the ip change then it will not close the entry in inline_accounting (few lines of code to add).

Regards
Fabrice


Le 2014-07-16 10:17, Thomas, Gregory A a écrit :

Fabrice,

I can see that.

Two questions:

1.Outbytes / inbytes, is out to the Internet or the inline domain. It may seem like a dumb question, but having view several reporting tools, the out/in seems to differ on every os/programmer

2.If my IP addresses rolls to a new MAC address, will this log show that?

Once again, thanks in advance.

--

Gregory A. Thomas

IT Manager, Student Life

University of Wisconsin-Parkside

[email protected] <mailto:[email protected]>

262.595.2432

*From:*Durand fabrice [mailto:[email protected]]
*Sent:* Tuesday, July 15, 2014 5:20 PM
*To:* [email protected]
*Subject:* Re: [PacketFence-users] pfbandwidth

Hi Thomas,

you will be able to have information about inline accounting directly in the inline_accounting mysql table but i don´t think you are able to see the result in the admin gui yet.

Regards
Fabrice


Le 2014-07-15 17:04, Thomas, Gregory A a écrit :

    Pfbandwidth now appears to be starting properly. I am now just not
    smart enough to know what the service is now doing.

    I started the service on Friday morning and let it run all weekend
    to hopefully find some type of data. When I got in this morning,
    opend the Packetfence Admin site and tried to get a report, it was
    blank. I then opend the logs and last week's archive and the
    absolute last entry is:

    Jul 11 11:26:18 pfbandwidthd(19280) INFO: pfbandwidthd starting
    and writing 19283 to /usr/local/pf/var/run/pfbandwidthd.pid
    (pf::services::util::createpid)

    An entry that states the service started.

    Can someone direct me to how this needs to be configured so that I
    can collect data for both reports and possible violation use?

    Thanks again.

    --

    Gregory A. Thomas

    IT Manager, Student Life

    University of Wisconsin-Parkside

    [email protected] <mailto:[email protected]>

    262.595.2432

    *From:*Fabrice DURAND [mailto:[email protected]]
    *Sent:* Friday, July 11, 2014 11:13 AM
    *To:* [email protected]
    <mailto:[email protected]>
    *Subject:* Re: [PacketFence-users] pfbandwidth

    Fixed, launch one more time pf-maint.pl

    Fabrice

    Le 2014-07-11 11:54, Thomas, Gregory A a écrit :

        Making sure this is an expected log entry:

        Jul 11 10:41:52 pfbandwidthd(2757) INFO: pfbandwidthd starting
        and writing 2769 to /usr/local/pf/var/run/pfbandwidthd.pid
        (pf::services::util::createpid)

        Jul 11 10:41:52 pfbandwidthd(2757) ERROR: Use of uninitialized
        value $type in exists at /usr/local/pf/lib/pf/config.pm line
        1012, <DATA> line 522.

        (pf::config::is_type_inline)

        --

        Gregory A. Thomas

        IT Manager, Student Life

        University of Wisconsin-Parkside

        [email protected] <mailto:[email protected]>

        262.595.2432

        *From:*Fabrice DURAND [mailto:[email protected]]
        *Sent:* Friday, July 11, 2014 8:21 AM
        *To:* [email protected]
        <mailto:[email protected]>
        *Subject:* Re: [PacketFence-users] pfbandwidth

        Ok so it was an error in the code, it has been fixed :
        
https://github.com/inverse-inc/packetfence/commit/6599028d716166894acb61012f0259e9b89336fa

        Btw you can run pf-maint.pl to apply the patch


        Regards
        Fabrice

        Le 2014-07-10 12:57, Fabrice DURAND a écrit :

            Ok i will have a look and get back to you.

            Le 2014-07-10 11:56, Thomas, Gregory A a écrit :

                Yes, that is the inline side. A tcpdump --i eth1 shows
                a constant stream of traffic.

                --

                Gregory A. Thomas

                IT Manager, Student Life

                University of Wisconsin-Parkside

                [email protected] <mailto:[email protected]>

                262.595.2432

                *From:*Fabrice DURAND [mailto:[email protected]]
                *Sent:* Thursday, July 10, 2014 10:33 AM
                *To:* [email protected]
                <mailto:[email protected]>
                *Subject:* Re: [PacketFence-users] pfbandwidth

                Hi,

                a simple question but is eth1 up ?

                Regards
                Fabrice

                Le 2014-07-10 10:35, Thomas, Gregory A a écrit :

                    I am trying to get pfbandwith working on my newly
                    installed 4.3 system.

                    I am using the system in inline mode only with two
                    "physical" nics on ESXi. IT is registering and
                    passing traffic like a champ right now. Since it
                    is wide open to the Internet, I would like to some
                    how cap the bandwidth to the users hence pfbandwidth.

                    When I start pfbandwidth is logs: interface eth1:
                    No such device exists (SIOCGIFHWADDR: No such
                    device) at ./sbin/pfbandwidthd line 115

                    In my config, eth1 is the inline2 nic

                    Please help.

                    --

                    Gregory A. Thomas

                    IT Manager, Student Life

                    University of Wisconsin-Parkside

                    [email protected] <mailto:[email protected]>

                    262.595.2432







                    
------------------------------------------------------------------------------

                    Open source business process management suite built on Java 
and Eclipse

                    Turn processes into business applications with Bonita BPM 
Community Edition

                    Quickly connect people, data, and systems into organized 
workflows

                    Winner of BOSSIE, CODIE, OW2 and Gartner awards

                    http://p.sf.net/sfu/Bonitasoft







                    _______________________________________________

                    PacketFence-users mailing list

                    [email protected]  
<mailto:[email protected]>

                    
https://lists.sourceforge.net/lists/listinfo/packetfence-users







--
                Fabrice Durand

                [email protected]  <mailto:[email protected]>  ::  +1.514.447.4918 
(x135) ::www.inverse.ca  <http://www.inverse.ca>

                Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and 
PacketFence (http://packetfence.org)






                
------------------------------------------------------------------------------

                Open source business process management suite built on Java and 
Eclipse

                Turn processes into business applications with Bonita BPM 
Community Edition

                Quickly connect people, data, and systems into organized 
workflows

                Winner of BOSSIE, CODIE, OW2 and Gartner awards

                http://p.sf.net/sfu/Bonitasoft






                _______________________________________________

                PacketFence-users mailing list

                [email protected]  
<mailto:[email protected]>

                https://lists.sourceforge.net/lists/listinfo/packetfence-users






--
            Fabrice Durand

            [email protected]  <mailto:[email protected]>  ::  +1.514.447.4918 
(x135) ::www.inverse.ca  <http://www.inverse.ca>

            Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and 
PacketFence (http://packetfence.org)






            
------------------------------------------------------------------------------

            Open source business process management suite built on Java and 
Eclipse

            Turn processes into business applications with Bonita BPM Community 
Edition

            Quickly connect people, data, and systems into organized workflows

            Winner of BOSSIE, CODIE, OW2 and Gartner awards

            http://p.sf.net/sfu/Bonitasoft






            _______________________________________________

            PacketFence-users mailing list

            [email protected]  
<mailto:[email protected]>

            https://lists.sourceforge.net/lists/listinfo/packetfence-users






--
        Fabrice Durand

        [email protected]  <mailto:[email protected]>  ::  +1.514.447.4918 (x135) 
::www.inverse.ca  <http://www.inverse.ca>

        Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and 
PacketFence (http://packetfence.org)





        
------------------------------------------------------------------------------





        _______________________________________________

        PacketFence-users mailing list

        [email protected]  
<mailto:[email protected]>

        https://lists.sourceforge.net/lists/listinfo/packetfence-users





--
    Fabrice Durand

    [email protected]  <mailto:[email protected]>  ::  +1.514.447.4918 (x135) 
::www.inverse.ca  <http://www.inverse.ca>

    Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)




    
------------------------------------------------------------------------------

    Want fast and easy access to all the code in your enterprise? Index and

    search up to 200,000 lines of code with a free copy of Black Duck

    Code Sight - the same software that powers the world's largest code

    search on Ohloh, the Black Duck Open Hub! Try it now.

    http://p.sf.net/sfu/bds




    _______________________________________________

    PacketFence-users mailing list

    [email protected]  
<mailto:[email protected]>

    https://lists.sourceforge.net/lists/listinfo/packetfence-users



------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to