RE: Syslog'ing PIX

From: Brad Tarver (btarver_at_fpwk.com)
Date: 03/23/04

  • Next message: Tadimeti Keshav: "using make to use a specific mirror while building ports"
    Date: Mon, 22 Mar 2004 22:09:35 -0600
    To: <Freebsd-newbies@freebsd.org>
    
    
    

    I found it after rereading the syslog.conf(5) man page.

         A hostname specification of the form `#+hostname' or `+hostname'
    means
         the following blocks will be applied to messages received from the
    speci-
         fied hostname. Alternatively, the hostname specification
    `#-hostname' or
         `-hostname' causes the following blocks to be applied to messages
    from
         any host but the one specified. If the hostname is given as `@',
    the
         local hostname will be used. As for program specifications,
    multiple
         comma-seprarated values may be specified for hostname
    specifications.

    Also, there appears to be a problem with the !startslip and !ppp at the
    end the 5.2.1-RELEASE default syslog.conf. None of my +hostname lines
    were parsed until I put them above the !prog lines.

    > -----Original Message-----
    > From: Brad Tarver
    > Sent: Monday, March 22, 2004 04:46 PM
    > To: 'Freebsd-newbies@freebsd.org'
    > Subject: Syslog'ing PIX
    >
    > I know I've done this before, so I know I'm not crazy.
    >
    > I'm trying to log two PIX firewalls, one at 192.168.1.2 and the other
    > is
    > at 192.168.100.2.
    >
    > Both PIXs are configured like this:
    > logging on
    > logging timestamp
    > logging trap debugging
    > logging host inside 10.1.1.126
    >
    > There is a way to tell syslogd to log to different files based on the
    > host
    > it's coming from:
    > hostname1:
    > *.* /var/log/hostname1
    >
    > hostname2:
    > *.* /var/log/hostname2
    >
    >
    > I can't remember the modifier that goes on the hostname line to make
    > syslog separate the files. Does anyone know? I thought it was a : or a
    > !
    >
    >
    > --
    > Brad Tarver, CCNA
    > Network Administrator
    > Forman Perry Watkins Krutz & Tardy
    > 188 East Capitol Street
    > Suite 200
    > Jackson, MS 39201
    > United States
    > Ph: 601-960-8600
    > Fax: 601-960-8613
    >
    >
    > Furbling, v.:
    > Having to wander through a maze of ropes at an airport or bank
    > even when you are the only person in line.
    > -- Rich Hall, "Sniglets"
    >

    Important Confidentiality And Limited Liability Notice

    This email and any attachments may be confidential and protected by law. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the email or any attachment is prohibited. If you have received this email in error, please notify us immediately by replying to the sender and deleting this copy and the reply from your system. Please note that any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of Forman Perry Watkins Krutz & Tardy LLP. (FPWK&T). The recipient should check this email and any attachments for the presence of viruses. FPWK&T accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation.

    
    

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Tadimeti Keshav: "using make to use a specific mirror while building ports"

    Relevant Pages

    • Re: hostnames and interfaces
      ... Apache documentation on doing virtual hosts and maybe do some ... A fully Qualified Host Name consists of two main parts. ... During installation, when it asks for hostname, it wants a Fully ... service what DNS server will be providing DNS service for that domain. ...
      (freebsd-questions)
    • RE: apache not starting: FreeBSd 5.4
      ... Assigning a Host name to your FBSD system. ... statement hostname= to /etc/rc.conf. ... registered domain name on the public Internet (unless of course it's ...
      (freebsd-questions)
    • Re: Disabling "Status of lp request" mails
      ... >>hostname incorrectly, or the host submitting the print jobs ... >>is providing the wrong hostname info. ... >print servers to blackhole attempted replies from lpsched to print jobs ... or on the mail servers that receive the messages from the print server, ...
      (comp.unix.solaris)
    • Re: mail confusion
      ... On Sun, 2005-10-30 at 12:06 -0500, Derek Martin wrote: ... > - change the hostname of your machine to something in a real domain ... This host has a dynamic IP. ... Evolution is configured to use sendmail on this ...
      (Fedora)
    • 5.3-BETA7 rc.conf: ntpdate vs. named clash?
      ... The hostnames of ntpdate list are not resolved. ... hostname nor servname provided, ... Looking for host time.kriss.re.kr and service ntp ...
      (freebsd-current)