OSSP CVS Repository

ossp - Check-in [3314]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3314
Date: 2003-Mar-24 17:11:51 (local)
2003-Mar-24 16:11:51 (UTC)
User:thl
Branch:
Comment: document fsl/l2/syslog experiences in a faq
Tickets:
Inspections:
Files:
ossp-web/pkg/lib/fsl/faq.wml      added-> 1.1
ossp-web/pkg/lib/fsl/index.wml      1.16 -> 1.17     2 inserted, 1 deleted

ossp-web/pkg/lib/fsl/faq.wml -> 1.1

*** /dev/null    Sat Nov 23 10:16:08 2024
--- -    Sat Nov 23 10:16:15 2024
***************
*** 0 ****
--- 1,96 ----
+ 
+ #use wml::ossp area=pkg:lib subarea=fsl
+ 
+ <title>OSSP fsl</title>
+ 
+ <h1>Faked/Flexible Syslog</h1>
+ 
+ <h2>Abstract</h2>
+ 
+ <title>Frequently Asked Questions (FAQ)</title>
+ 
+ <h1>Frequently Asked Questions (FAQ)</h1>
+ 
+ This is a list of frequently asked questions and answers about OSSP fsl.
+ 
+ <define-tag faq endtag=required>
+ <preserve id title>
+ <set-var %attributes>
+ <p>
+ <li><a name="<get-var id>"><b><get-var title></b></a>
+     [<a href="#<get-var id>">A</a>]
+     <p>
+     %body
+ </li>
+ <restore id title>
+ </define-tag>
+ 
+ <ol>
+ 
+ <faq id="syslog-setup"
+      title="I want fsl to forward to syslog. What is the minimum syslog configuration?">
+     Prepare syslog.conf(5) and keep in mind it wants to see tabs not
+     spaces, they are marked the output manually to make that clear.
+     <p>
+         $ grep mail.info /etc/syslog.conf
+         mail.info<i>\t\t\t</i>/var/log/maillog
+     </p>
+ </faq>
+ 
+ <faq id="syslog-debug"
+      title="I want fsl to forward to syslog. How can i find out if syslog.conf(5) is correct?">
+     <p>
+        $ logger -p mail.info "message"
+        $ tail /var/log/maillog
+        Mar 24 17:01:36 host user: message 
+     </p>
+ </faq>
+ 
+ <faq id="syslog-l2spec-local"
+      title="I want fsl to forward to syslog. Which l2spec logs to syslogd locally?">
+     <p>
+        $ echo "from l2, loc" \
+        | fsl-l2tool 'syslog(facility=mail, ident=info, target="local")'
+     </p>
+ </faq>
+ 
+ <faq id="syslog-l2spec-remote"
+      title="I want fsl to forward to syslog. Which l2spec logs to syslogd remotely?">
+     Make sure syslogd accepts network connections, see it's -s option
+     for syslogd(8) on FreeBSD, -r option for syslogd(8) on Linux or -t
+     for syslogd(1M) on Solaris. Also note that the l2spec requires a
+     certain order of the remotehost, remoteport an target
+     keywords, see http://cvs.ossp.org/chngview?cn=3313.
+      <p>
+      $ echo "from l2, net" \
+      | fsl-l2tool 'syslog(facility=mail, ident=info, 
+                           remotehost="127.0.0.1", remoteport="514", target="remote")'
+ 
+      </p>
+ </faq>
+ 
+ <faq id="syslog-fsl"
+      title="I want fsl to forward to syslog. Which fsl config logs to syslogd remotely?">
+     <p>
+     ##
+     ##  fsl.openssh -- OSSP fsl configuration for openssh
+     ##
+ 
+     ident (ssh(d|-.+)?|scp|sftp(-server)?)/.+ q{
+         prefix(
+             prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
+         ) 
+         -> {
+             debug: file(
+                 path="/usr/opkg/var/openssh/sshd.log",
+                 append=1, perm=0644
+             );
+             debug: syslog(
+                 facility=mail, ident=info,
+                 remotehost="127.0.0.1", remoteport="514", target="remote"
+             )
+         }
+     };
+     </p>
+ </faq>
+ </ol>


ossp-web/pkg/lib/fsl/index.wml 1.16 -> 1.17

--- index.wml    2003/02/13 15:56:35     1.16
+++ index.wml    2003/03/24 16:11:51     1.17
@@ -29,7 +29,8 @@
 <h2>Documentation</h2>
 
 <pkg_manpage name="fsl" sect=3 path="/pkg/lib/fsl/fsl.pod">,
-<pkg_manpage name="fsl-config" sect=1 path="/pkg/lib/fsl/fsl-config.pod">.
+<pkg_manpage name="fsl-config" sect=1 path="/pkg/lib/fsl/fsl-config.pod">,
+<a href="faq.html">Frequently Asked Questions (FAQ)</a>
 
 <h2>Authors</h2>
 

CVSTrac 2.0.1