0

RHEL 5 用の syslog イベント/ログ ジェネレーターを探しています。これは、セキュリティ シミュレーションに使用されます。リモートクライアントからのイベントを監視する可能性を与えるプログラムがあり、このジェネレーターは私を大いに助けてくれます。

前もって感謝します、

マルシン

4

1 に答える 1

4

LogZilla プロジェクトには、無料 (個人使用) で利用できるものがあります。https://subversion.assembla.com/svn/logzilla/scripts/contrib/sysloggenの Subversion サーバーから取得できます。

Linux でチェックアウトするには:

svn co https://subversion.assembla.com/svn/logzilla/scripts/contrib/sysloggen

ヘルプを表示するには、「./sysloggen -h」と入力します。

LogZilla(tm) Syslog Generation Tool v1.0
This tool is free for personal (home) use only.
Please contact sales@logzilla.pro for permission to use elsewhere.

Usage: sysloggen --dest <target1[:port]> [-d <target2[:port]>, ... ] --file <raw_messages_file> [Options]

Options:
  -d <ip/unix_socket>, --dest <ip/unix_socket>
     IP address or Unix Domain socket name (when used together with the --unix option)
  -f <raw_messages_file>, --file <raw_messages_file>
      File name, file should contain preformatted syslog messages
  -s, --file_source <ip>   Spoof file_source IP address using UDP transport  -i, --inet   Use the TCP (by default) or UDP (when used together with the --dgram option)
  -u, --unix   Use a UNIX domain socket to send the messages to the target
  -S, --stream Use a stream socket (TCP or unix-stream) to send the messages to the target
  -D, --dgram  Use datagram socket (UDP or unix-dgram) to send the messages to the target
  -r, <messages/second>, --rate <messages/second>
      The number of messages generated per second, otherwise - max possible
  -n <messages>, --number <messages>
      Limit the number of messages to be sent
  -l, --loop   Read the file specified in --file options in loop
  -m <size>, --max-msg-size <size> Messages will be truncated if bigger then <size>
  -h, --help   Print this message and exit
  -v, --verbose    Make verbose output

Example:
Send 1 Million syslog events (loaded from the file "sample_cisco_ios.syslog") to 192.168.1.1 on TCP Port 514 at a rate of 20k events/sec
./sysloggen -d 192.168.1.1:514 -f sample_cisco_ios.syslog -n 1000000 -r 20000 -l
于 2013-08-14T18:53:43.027 に答える