📄 barf.8
字号:
.TH IPSEC_BARF 8 "17 March 2002".\" RCSID $Id: barf.8,v 1.23 2004/12/04 16:34:57 ken Exp $.SH NAMEipsec barf \- spew out collected IPsec debugging information.SH SYNOPSIS.B ipsec.B barf[.B \-\-short.B \-\-maxlines <100>].sp.SH DESCRIPTION.I Barfoutputs (on standard output) a collection of debugging information(contents of files, selections from logs, etc.)related to the IPsec encryption/authentication system.It is primarily a convenience for remote debugging,a single command which packages up (and labels) all informationthat might be relevant to diagnosing a problem in IPsec..PP.PPThe.B \-\-shortoption limits the length ofthe log portion of.IR barf 'soutput, which can otherwise be extremely voluminousif debug logging is turned on..PP.B \-\-maxlines <100>option sets the length of some bits of information, currently netstat -rn. Usefull on boxes where the routingtable is thousands of lines long. Default is 100..PP.I Barfcensors its output,replacing keysand secrets with brief checksums to avoid revealing sensitive information..PPBeware that the output of both commands is aimed at humans,not programs,and the output format is subject to change without warning..PP.I Barfhas to figure out which files in.I /var/logcontain the IPsec log messages.It looks for KLIPS and general log messages first in.IR messagesand.IR syslog ,and for Pluto messages first in.IR secure ,.IR auth.log ,and.IR debug .In both cases,if it does not find what it is looking for in one of those ``likely'' places,it will resort to a brute-force search of most (non-compressed) files in.IR /var/log ..SH FILES.nf/proc/net/*/var/log/*/etc/ipsec.conf/etc/ipsec.secrets.fi.SH HISTORYWritten for the Linux FreeS/WAN project<http://www.freeswan.org>by Henry Spencer..SH BUGS.I Barfuses heuristics to try to pick relevant material out of the logs,and relevant messageswhich are not labelled with any of the tags that.I barflooks for will be lost.We think we've eliminated the last such case, but one never knows....PPFinding.I updownscripts (so they can be included in output) is, in general, difficult..I Barfuses a very simple heuristic that is easily fooled..PPThe brute-force search for the right log files can get expensive onsystems with a lot of clutter in.IR /var/log .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -