Syslog question

Discussion in 'Tomato Firmware' started by mikester, Oct 1, 2010.

  1. mikester

    mikester Network Guru Member

    Is there a way to log the actual http requests in syslog?

    I'd like to be able to see the complete http request along with the IP/URL being requested in order to make my adblocking/filtering easier to debug.
  2. pfoomer

    pfoomer LI Guru Member

    An alternative

    Dont think it does, but you could try wireshark to monitor the flow on one machine, or if multiple box's to monitor, tee the data to a box running wireshark, or get a hub and pass the traffic through it (between the router and modem for example) using wireshark in promiscuous mode.
  3. mikester

    mikester Network Guru Member

    I was hoping to use my Tomato instead of playing man in the middle ;-)
  4. ehunt123

    ehunt123 Networkin' Nut Member


    The amount of syslog readers has always been lacking. Even on linux where you have twenty-six different options to replace the stock syslogd, client side applications have never been something that I've seen a lot of or faded into the vaporware.

    When I had this problem a few years back, I wound up finding a project on SF that was quite old but surprisingly worked fine on the console. I was even able to get it compiled on OSX without any modifications to the source or Darwin-not-posix fixes that some things require.

    Only other options are the *laugh* syslog viewers that people want $50 for.

    Great for debugging and such.

    Compiled for me on my NSLU2.
  5. mikester

    mikester Network Guru Member

    Can you email me/provide a link to a compiled ipk I can try out?

    I'm currently using Wallwatcher on a PC and it shows the source/destination IP's and ports but it doesn't give any details as to what the http requests actually are.

    Does your waplog display more detailed info than wallwatcher?
  6. rhester72

    rhester72 Network Guru Member

    I haven't played with it, but I compiled a copy on my site (see signature), feel free to see how it works for you (it's not ipk, just raw binary).

  7. mikester

    mikester Network Guru Member

    What does it give you? do you have any sample output?
  8. rhester72

    rhester72 Network Guru Member

    Like I said, haven't looked at it at all, don't have a use case for it.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice