Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
OpenBSD Firewall logging
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,760

    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,760

    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. OpenBSD firewall/gateway
    By peter in forum Tutorials
    Replies: 2
    Last Post: 11-24-2008, 04:08 AM
  2. Does Monmotha's firewall script support logging?
    By 10Dedfish in forum Programming
    Replies: 1
    Last Post: 12-28-2003, 12:32 AM
  3. Problems Logging In
    By JockVSJock in forum Announcements and Suggestions
    Replies: 7
    Last Post: 04-17-2003, 08:29 PM
  4. Problem when logging in
    By LiNuts in forum Announcements and Suggestions
    Replies: 0
    Last Post: 09-03-2002, 01:20 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
  •