2012-03-08 19:32:42 -07:00
|
|
|
.\" This manual is Copyright 2012 by pi-rho <ubuntu@tyr.cx>
|
|
|
|
.\"
|
|
|
|
.\" This program is free software: you can redistribute it and/or modify
|
|
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
|
|
.\" the Free Software Foundation, either version 3 of the License, or
|
|
|
|
.\" (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" This package is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public License
|
|
|
|
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
.\"
|
|
|
|
.\" On Debian systems, the complete text of the GNU General
|
|
|
|
.\" Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
|
|
|
.
|
2013-02-05 11:57:34 -07:00
|
|
|
.Dd May 23, 2012
|
2012-03-08 19:32:42 -07:00
|
|
|
.Dt P4SPLIT 1
|
2013-02-05 11:57:34 -07:00
|
|
|
.Os "Network Reverse Engineering Toolkit" 1.1337
|
|
|
|
.
|
2012-03-08 19:32:42 -07:00
|
|
|
.Sh NAME
|
|
|
|
.Nm p4split
|
|
|
|
.Nd split a PCAP based on CIDR filter
|
|
|
|
.
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm p4split
|
|
|
|
.Oo Fl h | Fl v Oc
|
|
|
|
.Nm p4split
|
|
|
|
.Op Fl i Pa input.pcap
|
|
|
|
.Ao CIDR filter Ac
|
|
|
|
.
|
|
|
|
.Sh DESCRIPTION
|
2012-02-22 19:52:14 -07:00
|
|
|
The basic concept for this utility is to filter and split a PCAP packet capture
|
|
|
|
file into smaller files. This utility will create up to 256 smaller files.
|
2012-03-08 19:32:42 -07:00
|
|
|
.Pp
|
2013-02-05 11:57:34 -07:00
|
|
|
The available options include:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -compact -width "-i input.pcap"
|
2012-03-08 19:32:42 -07:00
|
|
|
.It Fl h
|
|
|
|
usage information
|
|
|
|
.It Fl v
|
|
|
|
the program's version
|
|
|
|
.It Fl i Pa input.pcap
|
2013-02-05 11:57:34 -07:00
|
|
|
.Pa input.pcap No is used as input, instead of stdin
|
|
|
|
.It Aq CIDR filter
|
|
|
|
A filter in CIDR notation
|
|
|
|
.Pq a.dd.re.ss/subnet-bits
|
2012-03-08 19:32:42 -07:00
|
|
|
.El
|
|
|
|
.
|
2013-02-05 11:57:34 -07:00
|
|
|
.Sh EXAMPLES
|
|
|
|
As a filter:
|
|
|
|
.D1 Ic $ No ... | Nm p4split Ar 192.168.1.0/24
|
|
|
|
.Pp
|
|
|
|
With an input file specified:
|
|
|
|
.D1 Ic $ Nm p4split Fl i Pa big.pcap Ad 192.168.1.0/24
|
|
|
|
.
|
2012-03-08 19:32:42 -07:00
|
|
|
.Sh SEE ALSO
|
2013-02-05 11:57:34 -07:00
|
|
|
.Xr pcat 1 ,
|
2012-03-08 19:32:42 -07:00
|
|
|
.Xr pmerge 1 ,
|
|
|
|
.Xr puniq 1
|
|
|
|
.
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Zephyr Aq Ad zephyr@dirtbags.net ,
|
|
|
|
.An pi-rho Aq Ad pi-rho@tyr.cx
|
2013-02-05 11:57:34 -07:00
|
|
|
.
|
|
|
|
.Sh BUGS
|
|
|
|
Bugs may be submitted at
|
|
|
|
.Aq Ad https://bugs.launchpad.net/netre-tools
|