Unconfigured Ad Widget

Collapse

Log all communication on router

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ripcurlksm
    Veteran Member
    • Dec 2006
    • 3146

    Log all communication on router

    I have a Linksys WRT54G Router and I would like to capture all email or messages that are sent through it. I have the incoming and outgoing logs turned on and I can monitor IP address and port access, but is it possible to capture all communication to a log?
    Kevin
  • #2
    Cokebottle
    Seņor Member
    CGN Contributor - Lifetime
    • Oct 2009
    • 32373

    Definitely not with that level of router, and I'm not even sure it's possible to do that with a gateway server unless you are using a local Outlook client with the server acting as an MS Exchange server... but that would only store email, calendar, contacts, etc... basically a mirror of the Outlook database.

    Anything other than that would have no way to differentiate an email from a web request.... in or out. It would be a combination of a keystroke logger with a storage buffer for all inbound data.... totally unmanageable.
    - Rich

    Originally posted by dantodd
    A just government will not be overthrown by force or violence because the people have no incentive to overthrow a just government. If a small minority of people attempt such an insurrection to grab power and enslave the people, the RKBA of the whole is our insurance against their success.

    Comment

    • #3
      Turo
      Calguns Addict
      • May 2009
      • 5066

      Not really able to do it with just a router. If you had a gateway setup, you can see the web pages requested, but other than that it's not really feasible.

      I've got a gateway setup in my house with roommates and we can see websites and most traffic that goes through, but email is a different animal. Plus, some people use websites for email rather than a local client, so you would have to be able to differentiate.
      "The tree of liberty must be refreshed from time to time, with the blood of patriots and tyrants. It is its natural manure."
      -Thomas Jefferson

      Comment

      • #4
        ripcurlksm
        Veteran Member
        • Dec 2006
        • 3146

        ok thanks
        Kevin

        Comment

        • #5
          JDay
          I need a LIFE!!
          • Nov 2008
          • 19393

          Originally posted by ripcurlksm
          I have a Linksys WRT54G Router and I would like to capture all email or messages that are sent through it. I have the incoming and outgoing logs turned on and I can monitor IP address and port access, but is it possible to capture all communication to a log?
          If you put a 3rd party firmware on it you can setup an iptables policy that will log specified packets. You will need to log to a SMB share though because the router does not have enough storage for log files really.
          Oppressors can tyrannize only when they achieve a standing army, an enslaved press, and a disarmed populace. -- James Madison

          The Constitution shall never be construed to authorize Congress to prevent the people of the United States, who are peaceable citizens, from keeping their own arms. -- Samuel Adams, Debates and Proceedings in the Convention of the Commonwealth of Massachusetts, 86-87 (Pearce and Hale, eds., Boston, 1850)

          Comment

          • #6
            JDay
            I need a LIFE!!
            • Nov 2008
            • 19393

            Originally posted by Turo
            Not really able to do it with just a router. If you had a gateway setup, you can see the web pages requested, but other than that it's not really feasible.

            I've got a gateway setup in my house with roommates and we can see websites and most traffic that goes through, but email is a different animal. Plus, some people use websites for email rather than a local client, so you would have to be able to differentiate.
            You could log all traffic on urls that have mail in them, the problem though is that most providers use SSL for webmail.
            Oppressors can tyrannize only when they achieve a standing army, an enslaved press, and a disarmed populace. -- James Madison

            The Constitution shall never be construed to authorize Congress to prevent the people of the United States, who are peaceable citizens, from keeping their own arms. -- Samuel Adams, Debates and Proceedings in the Convention of the Commonwealth of Massachusetts, 86-87 (Pearce and Hale, eds., Boston, 1850)

            Comment

            • #7
              NSR500
              Banned
              • Aug 2006
              • 19530

              Maybe you can do that with a ClarkConnect server/firewall/gateway. The WRT54G will just be run as a WAP off of the CC machine.

              Comment

              • #8
                goldleviathan
                Member
                • Sep 2009
                • 205

                This was kind of a creepy question to begin with.

                Comment

                • #9
                  Turo
                  Calguns Addict
                  • May 2009
                  • 5066

                  Originally posted by goldleviathan
                  This was kind of a creepy question to begin with.
                  Not really, if the OP wanted to monitor their kids' actions online, it would be a very valid question.
                  "The tree of liberty must be refreshed from time to time, with the blood of patriots and tyrants. It is its natural manure."
                  -Thomas Jefferson

                  Comment

                  • #10
                    goldleviathan
                    Member
                    • Sep 2009
                    • 205

                    Originally posted by Turo
                    Not really, if the OP wanted to monitor their kids' actions online, it would be a very valid question.
                    Yeah, I'm sure that's what he wanted to do.
                    Last edited by goldleviathan; 12-10-2009, 5:02 AM.

                    Comment

                    • #11
                      Cokebottle
                      Seņor Member
                      CGN Contributor - Lifetime
                      • Oct 2009
                      • 32373

                      Originally posted by goldleviathan
                      Yeah, I'm sure that's what he wanted to do.
                      What else then?

                      Maybe he runs a small business. Email and web activity through business systems has no expectation of privacy.

                      It's his router (obviously has access to configure logs, and you have to be hardwired to do that to the WRT54G), it's not a matter of stalking or bugging a neighbor.
                      - Rich

                      Originally posted by dantodd
                      A just government will not be overthrown by force or violence because the people have no incentive to overthrow a just government. If a small minority of people attempt such an insurrection to grab power and enslave the people, the RKBA of the whole is our insurance against their success.

                      Comment

                      • #12
                        ripcurlksm
                        Veteran Member
                        • Dec 2006
                        • 3146

                        My purpose is not malicious. Thanks for your time.
                        Kevin

                        Comment

                        • #13
                          nick
                          CGN/CGSSA Contributor
                          CGN Contributor
                          • Aug 2008
                          • 19152

                          Originally posted by JDay
                          You could log all traffic on urls that have mail in them, the problem though is that most providers use SSL for webmail.
                          Many use HTTPS/SSL for authentication, but then drop to HTTP when one actually checks mail.

                          Depending on the setup (which I don't know), real requirements, and how important the project is (i.e. how much money you're willing to drop on it) the OP can:

                          1. Install third-party firmware on the WRT (dd-wrt, tomato, or sveasoft are the ones that come to mind, I'm sure there're more packages out there), and either configure it to offload syslog to some host on his network, or, like JDay said, to offload all the traffic (might be too taxing on the WRT, they're not exactly powerful).

                          2. Get a switch that supports SPAN/smart/monitoring/whatever else the manufacturers call them ports (the ports to which the router can copy all the traffic passing through the monitored switch port). For that matter, I wouldn't be surprised if some third-party WRT firmware supported this.

                          On the host connected to the SPAN port, either configure a packet sniffer (wireshark is free and pretty good), or install some specialized traffic monitoring software. Cyber Predator (http://www.ingenuity.co.uk/cp/cp.asp...ail monitoring) is pretty good and fairly cheap.

                          3. Consider logging on the internal hosts. There're hundreds of software packages for that.
                          DiaHero Foundation - helping people manage diabetes. Sending diabetes supplies to Ukraine now, any help is appreciated.

                          DDR AK furniture and Norinco M14 parts kit: https://www.calguns.net/calgunforum/....php?t=1756292
                          sigpic

                          Comment

                          • #14
                            skip
                            Member
                            • May 2009
                            • 247

                            not for the router, but you can use a keystroke logger like this:

                            Comment

                            • #15
                              ocabj
                              Calguns Addict
                              • Oct 2005
                              • 7924

                              If you want to "log all communication", are you saying you want to see every single packet and then analyze the content of every packet? Even if you had the capability to mirror ports on a consumer/home router, you'd still need to setup a computer and facility to manage that analysis.

                              We have hosts monitoring all the links at our borders for campus, and even then we're only logging flow data, not packet contents.

                              If you want to just monitor web traffic, you can setup squid and force all your computers to use the local squid proxy.

                              Distinguished Rifleman #1924
                              NRA Certified Instructor (Rifle and Metallic Cartridge Reloading) and RSO
                              NRL22 Match Director at WEGC

                              https://www.ocabj.net

                              Comment

                              Working...
                              UA-8071174-1