Women in Technology

Hear us Roar



Article:
  Exploring the Mac OS X Firewall
Subject:   syslog.conf
Date:   2005-03-17 09:56:30
From:   adrianmayo
I was interested to see the use of
!-ipfw
and
!ipfw


I cannot find information on the '!' command in 'man 5 syslog.conf'. I can guess what is happening, but can you point me in the direction of this 'missing' syslog infomation.


Thanks.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • syslog.conf
    2005-03-30 22:54:45  johnwilkins [View]

    Here's the man page for syslog.conf from FreeBSD 4.11 (the one OS X is based on). It gives a full description of the "program specififcation" ( !program_name and !-program_name).

    http://www.freebsd.org/cgi/man.cgi?query=syslog.conf&apropos=0&sektion=0&manpath=FreeBSD+4.11-stable&format=html
  • syslog.conf
    2005-03-18 01:08:22  peterhickman [View]

    Strange I've never noticed that before. It isn't in the man page. It is mentioned in my redhat man page as an extension to the origonal BSD source. Seems to be working as expected, perhaps the OS X man pages need revising.


    This syslogd(8) has a syntax extension to the original BSD source, that makes its use more intuitively. You may precede every prior-
    ity with an equation sign (``='') to specify only this single priority and not any of the above. You may also (both is valid, too)
    precede the priority with an exclamation mark (``!'') to ignore all that priorities, either exact this one or this and any higher pri-
    ority. If you use both extensions than the exclamation mark must occur before the equation sign, just use it intuitively.