The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

ipfwpcap (8)
  • >> ipfwpcap (8) ( FreeBSD man: Команды системного администрирования )

  • BSD mandoc
     

    NAME

    
    
    ipfwpcap
    
     - copy diverted packets to a file in tcpdump format
    
     
    

    SYNOPSIS

    [-dr ] [-b maxbytes ] [-p maxpkts ] [-P pidfile ] portnum dumpfile  

    DESCRIPTION

    The utility is used to copy diverted packets to a file in tcpdump(1) format. The interesting packets are diverted by ipfw(8) to a port on which listens. The packets are then dropped unless -r is used.

    The options are as follows:

    -d
    Turns on extra debugging messages.
    -r
    Writes packets back to the divert(4) socket.
    -rr
    Indicates that it is okay to quit if maxbytes or maxpkts are reached. Diverted packets will silently disappear if nothing is listening on the divert(4) socket.
    -b maxbytes
    Stop dumping after maxbytes bytes.
    -p maxpkts
    Stop dumping after maxpkt packets.
    -P pidfile
    File to store PID number in. Default is /var/run/ipwfpcap.portnr.pid

    The portnum argument specifies which divert(4) socket port to listen on. The dumpfile argument is the path to the file to write captured packets to. Specify `- ' to write to stdout.  

    EXIT STATUS

    Ex -std  

    EXAMPLES

    "ipfwpcap -r 8091 divt.log &"

    Starts as a background job listening to port 8091 and reflecting the packets back to the socket.

    "ipfw add 2864 divert 8091 ip from 192.0.2.101"

    Example ipfw(8) rule to divert all packets from 192.0.2.101 to port 8091. See ipfw(8) for details.  

    SEE ALSO

    tcpdump(1), pcap(3), divert(4), ipfw(8)  

    HISTORY

    The utility first appeared in Fx 7.0 .  

    AUTHORS

    An -nosplit was written by An P. Kern Aq [email protected] . This manual page was written by An Niclas Zeising Aq [email protected] .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    EXIT STATUS
    EXAMPLES
    SEE ALSO
    HISTORY
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру