Results 1 to 3 of 3

Thread: OpenBSD Firewall logging

  1. #1
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    OpenBSD Firewall logging

    Okay, I have a really sweet OpenBSD rig at work acing as a gateway. I would like to make life easy on myself and be able to give my CIO a firewall log report each morning via email or something. Now, setting up the mail is a breeze -- not hard. However getting the logs into a more windoze-ized (for a retarded windows guy) may be more of a programming task than I feel like biting into. Has anyone made a program that rotates my logs and will clean up the syntax a little so he can read it better? I am personally content with what I currently have and can understand it quite well. However the CIO is as anti unix as it gets.

    TIA guys!!
    And thanks again GnuVInce -- this box is awesome.

  2. #2
    Guest

    Re: OpenBSD Firewall logging

    Log rotation is done automatically. You can view logs with:

    Code:
    tcpdump -n -e -ttt -r /var/log/pflog

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re: OpenBSD Firewall logging


    Log rotation is done automatically. *You can view logs with:

    Code:
    tcpdump -n -e -ttt -r /var/log/pflog
    Thanks, I was busy all day yesterday trying to figure something out. Still have yet to resolve it. I am ready to get medieval on someones candy ass -- some app/ip is trying to access some other IP that is not there. So my term screens (no x installed) are going nuts dropping error messages. Whilst digging around looking for some clues, I noticed that the logs rotate on a dialy basis. And it seems like I can just parse the data myself and post it to a webpage or something, or a prettier text file.

    You have any idea what would be causing a routed[some numbers] error? Its the same damn thing over and over again, just different timestamp. A grep 224.0.0.1 /etc/* doesnt yeild anyhthnig? Nor does the grep 224.0.0.1 /var/log/* (well, besides the messages files)


    Thanks again

Similar Threads

  1. Running cusom firewall script -iptables -RHEL 4
    By sud.tech in forum Programming
    Replies: 0
    Last Post: 06-12-2008, 01:09 PM
  2. Firewall script in RHEL 4
    By sud.tech in forum Programming
    Replies: 8
    Last Post: 06-12-2008, 01:07 PM
  3. OpenBSD Installation Guide (for v3.0)
    By Schotty in forum Linux - General Topics
    Replies: 3
    Last Post: 02-28-2006, 08:34 AM
  4. Does Monmotha's firewall script support logging?
    By 10Dedfish in forum Programming
    Replies: 1
    Last Post: 12-27-2003, 11:32 PM
  5. Output of a nmap of my OpenBSD firewall
    By in forum General Chat
    Replies: 8
    Last Post: 04-16-2002, 03:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •