Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Incoming and Outgoing Logs

    webGUI
    2
    9
    5197
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alexus last edited by

      Hey,
      Is it posible to add logs there I can see on what sites was the traffic directed (like domaon name if possible, if not then IP) and the amount of data transfered… Also it would be nice to have the sites assosiated with usernames from captive potal if enabled...

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        I guess you are looking for the ntop package. It can deliver most parts of the info you are seeking.

        1 Reply Last reply Reply Quote 0
        • A
          alexus last edited by

          maybe, but I can not install packages on WRAP bosrds :-(

          1 Reply Last reply Reply Quote 0
          • H
            hoba last edited by

            correct and writing a lot of logs wouldn't doo your cf-card any good. keep in mind, cf-cards have limited writecycles. you might want to use an external solution for that. Wallwatcher can provide some information, check http://wallwatcher.com/ and let it listen to your wrap.

            1 Reply Last reply Reply Quote 0
            • A
              alexus last edited by

              yep wallwacher is similar to what I want, but I has on small problem (well 2) it doesnt "go"  thhrough firewalls and it needs to be run on the server (well ant machine) and it can not upload logd to MySQL database….

              And if I have this log service avelible on the device, the device will:
              a) work as server
              b) it has the data alredy compiled anyweat so onlything is left to send it to remote MySQL
              c) CF card is not used because data sent either to MySQL or SysLog remote servers
              d) it gives easy way to understand what is going on with the desentralized network such as the hotspots or mesh systems.
              e) it is a part of the system as I call it "central managment for decentralized networs"

              did I make myself clear on what and why I want it?

              1 Reply Last reply Reply Quote 0
              • H
                hoba last edited by

                Yeah, I understand you but that's not doable with 1.0 on an embedded install unless you hack that functionality in.

                1 Reply Last reply Reply Quote 0
                • A
                  alexus last edited by

                  not doable? My linux scripting is very limited by I see the way to do that, at some extand….

                  here is what I think, and tell me if I'm correct:
                  -you can get the IP of ingoing and outgoing traffic from linux itself, you even have that in the serial console mode... am I correct?

                  then if you have that u just grub the data with PHP and send it to the MySQL as an IP address, latter on we can incorporate all other features such as DNS lookup and reverse lookup and assosiate the traffic with Captive Portal USers...

                  1 Reply Last reply Reply Quote 0
                  • H
                    hoba last edited by

                    That is what I meant with "hack it in". It's "not doable" with the stock installation.

                    1 Reply Last reply Reply Quote 0
                    • A
                      alexus last edited by

                      hang on, I just was playing aroud with the OS and found half of the work done alredy….  exept  im in condition where I am 90% asleep now, so I willl post my idea later

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post