Commit graph

24 commits

Author SHA1 Message Date
minskim
32e22dd252 Update tcpreplay to 3.4.1.
Changes since 3.1.1:
    - Sendpacket method did not match documentation (#361)
    - Fix compile issue on systems without err.h (#363)
    - Fix tcpprep --mac not processing non-IPv4 packets (#369)
    - Always build tcpreplay w/ editing features as tcpreplay-edit (#372)
    - Fix potential tcpbridge issues under OS X & *BSD (#373)
    - Fix crash on 4 byte strictly aligned systems (#377)
    - Add MTU truncation to tcprewrite/tcpreplay-edit (#379)
    - Add libdnet and remove libnet support for sending packets (#302)
    - Fix numerous 802.11 decoder bugs (#325)
    - Fix compile issue under Linux (#326)
    - Fix Mbps/sec nonsense (#327)
    - Fix tcprewrite crash when packets have no L3+ data (#328)
    - Clean up err.c/err.h code and improve performance for non-debug builds (#331)
    - Fix timesdiv() timer code (#332)
    - Improve high-performance packet sending via multiple packets/interval (#334)
    - Fix statistics report errors (#335)
    - Fix BPF filters not being used in tcpbridge (#336)
    - Improve tcpbridge performance (#337)
    - Only use two libpcap handles for tcpbridge (#338)
    - Fix autotools usage errors (#340)
    - Clean up 'make test' results (#341)
    - Update to AutoGen/AutoOpts 5.9.7 (#342)
    - Fix compiler warnings from GCC 4.2 (#344)
    - Fix numerous memory corruption bugs in libtcpedit DLT plugin code (#345)
    - Add support for editing IPv4 TOS/DiffServ/ECN (#348)
    - Update autotools to more recent versions (#349)
    - Report injection method via -V (#352)
    - Fix DLT_USER l2len check bug (#353)
    - Replace man2html w/ groff (#354)
    - Fix false pcap_inject() detection under Windows/Winpcap (#355)
    - tcpbridge now builds under Win32/Cygwin
    - libdnet is no longer an option for Win32/Cygwin (#57)
    - tcpbridge now supports --listnics (#357)
    - Fix (again) tcpbridge --unidir assert error (#308)
    - Fix tcpbridge bug where all packets that were sent were all zeros
    - Fix tcpbridge not honoring --include/exclude flags (#311)
    - Fix ip_in_cidr() debug messages (#312)
    - Report packets which have timestamps which go backwards in time (#315)
    - Clean up --sleep-accel code to use options struct (#316)
    - Remove really old and out of date RPM .spec file (#317)
    - Warn when sending on non-Ethernet interface (#318)
    - Re-enable tcpreplay --listnics (#319)
    - Fix sendpacket always reporting using PF_PACKET, even when it doesn't (#322)
    - Fix major packet timing issue under old versions of glibc (#324)
    - Fix limitation of PF_PACKET only supporting Ethernet (#123)
    - Fix (again) /dev/bpf detection in FreeBSD 8.0 (#292)
    - Document building code from Subversion under Cygwin (#304)
    - Fix --enable-force-* under Linux (#305)
    - Fix tcpbridge --unidir assert error (#308)
    - Improve tcpreplay timing accuracy between packets (#41)
    - Add tcprewrite fragroute support (#42)
    - Fix tcprewrite --efcs option (#277)
    - Updated Win32/Cygwin documentation (#280)
    - Add dmalloc support (#282)
    - Fix tcpprep broken handling of VLAN tagged frames (#290)
    - Fix tcprewrite crash when cache file has NO_SEND packets (#291)
    - Fix /dev/bpf detection in FreeBSD 8.0 (#292)
    - Add tcprewrite --ttl editing option (#294)
    - Fix autoconf AM_PROG_CC_C_O warning (#295)
    - Add tcpprep --reverse option to split by matching client addresses (#297)
    - Update version of autoconf to 1.10.1 (#298)
    - Improved GNU Autogen detection and warnings (#299)
    - Track EAGAIN errors separately from ENOBUFS (#301)
    - Automatically detect Winpcap on Cygwin (#303)
    - Fix linker error with --enable-tcpreplay-edit and --enable-dynamic-link (#288)
    - Fix compile errors with Sun Studio compiler (#286)
    - Fix crash in tcpreplay when --enable-tcpreplay-edit (#281)
    - Display if --enable-tcpreplay-edit in -V (#283)
    - Fix compile issue under Linux and other OS's (#275)
    - Enable source MAC spoofing for OS X (#142, #151)
        * Tcpreplay now requires OS X 10.5 (Leopard)
    - Fix crash/memory access error with tcpreplay -N (#273)
    - Fix tcprewrite segfault in 'make test' under Linux (#200)
    - Major performance improvement in tcpprep for large pcaps (#261)
    - Fix strsignal already defined error under Cygwin/Windows (#199)
    - Fix compile errors for older versions of GCC (#201)
    - Remove flowreplay code (#262)
    - Fix DLT rewrite code causing corrupted ethernet protocol type (#268)
    - Try to fix inet_aton() issue under Solaris (#260)
    - Return a more useful error message when tcpprep fails (#187)
    - Add Tomahawk test tool client/server detection algorithm (#186)
    - Improved AutoGen support (#191)
    - Improved documentation (#164, #198)
    - Added Doxygen markup (#176)
    - configure now honors --with-tcpdump flag (#192)
    - configure now defaults to --enable-64bits which breaks backwards
        compatibility in certain situations.  Use --disable-64bits if this
        concerns you (#195)
    - Use safe_free() to detect bugs earlier in development (#197)
2009-05-02 17:35:43 +00:00
minskim
b6ff638e7b Sort PLIST. 2009-05-02 16:23:50 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
adrianp
40fa62c50e Remove obsolete patch 2007-08-20 21:06:50 +00:00
adrianp
0b9c00aa6b Update to 3.1.1
By default, no longer try to use libnet.  You must now specify --enable-libnet (#148)
Remove support for pcap_snapshot_override which was never added to libpcap (#140)
Rewrite L2/DLT code in tcpedit/tcprewrite to be plugin based (#82)
tcpprep & tcprewrite no longer require root access (#3)
Remove libnids dependancy for flowreplay

And many more, see the following for all the details:

http://tcpreplay.synfin.net/trac/browser/trunk/docs/CHANGELOG?rev=1886
2007-08-20 21:06:15 +00:00
adrianp
50a0344171 buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
2007-02-18 18:49:03 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
acdafd9a6f Update to 2.3.5, from Sergey Svishchev in PR 32460:
07/03/2005: Version 2.3.5
    - Fix crash with replay live mode (-S)
    - Fix longstanding tcpprep auto/router mode bug

06/05/2005: Version 2.3.4
    - Support libpcap <= 0.5 for OpenBSD
    - libpcap 0.5 doesn't have pcap_open_dead, so disable -w, -W and -D in
      that case
    - Fix configure errors regarding libpcapnav
    - Fix compile problem in libpcap.c with OpenBSD
    - Fix compile problem where libpcap and libnet are in /usr and
      libpcapnav is somehwere else
    - Don't ship .svn directories
    - Close stdin so we can reopen it if necessary

Remove BROKEN_IN, since it builds fine for me on 3.99.15/i386.
2006-01-05 23:35:30 +00:00
schmonz
42428df5a0 Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
2006-01-04 04:29:05 +00:00
schmonz
463f43526a Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
2005-12-26 23:39:30 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adrianp
b7adf10963 - Update from 2.3.2 -> 2.3.3
- Add CONFIGURE_ARGS for libpcap and libnet
- Disable pcapnav feature

02/09/2005: Version 2.3.3
    - Fix port rewriting feature on little-endian systems
    - configure now properly handles --with-libnet and --with-libpcap
2005-03-26 12:07:56 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
adrianp
b14a2c4854 - Update to 2.3.2
- Lots of changes, bugfixes and extra functionality as we are going from
  1.x to 2.x

Add support to tcpreplay and tcpprep for DLT_CHDLC (Cisco HDLC)
Add endpoint mode (-e) which rewrites all traffic between two IP's
Add support for rewriting src mac & Linux SLL loopback frames
Add support for "pseudo NAT" (-N) for ARP and IPv4
Add -1 to replay one packet at a time (user must hit <ENTER>)
Add tcpdump packet parsing to print packets as sent (-v)
Add BPF filter support to tcpprep and tcpreplay (-x F:"filter")
Add support for replaying live traffic
Add bridge mode
2005-01-20 21:59:13 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
snj
95246413ca Convert to buildlink3. 2004-04-25 04:20:11 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmc
51d4355d11 Pass libnet version along to configure 2003-06-10 02:00:36 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
salo
e20e1bf5ea Updated to version 1.3.2.
Patch from Adrian Portelli via PR pkg/20360.

Changes:

1.3.2:
======
- Fix portability issues with tcpprep cache files
- Fix 'make test' on big-endian systems

1.3.1:
======
- Fix packaging error with libredblack
- Fix configure/makefile so libredblack get's configured with tcpreplay
        which should prevent the packaging error from happening again
- Fix possible libnet 1.0.x version detection bug

1.3.0:
======
- Re-release 1.3.beta6 as 1.3.0

1.3.beta6:
==========
- Improve cross platform compatibility of test subsystem
- Fix bug in Makefile which caused possible failures of clean/distclean
- Fix bug with CCFLAGS when using --with-debug
- Fix bug with -x/-X which would drop/send all packets in certain
  conditions
- Update libredblack to 1.2 (latest)
- Add support for OSX
- Add --with-testnic and --with-testnic2 to allow end user to specify
  specific network cards to be used for 'make test'
- Fixes SIGBUS errors on SPARC

1.3-beta5:
==========
- Add testing subsystem
- Fix segfault when we don't send a packet
- Improve debug output support in dbg()

1.3-beta4:
==========
- Updated tcpprep man page with -x and -X options
- Now supports (again) the include/exclude options in the config file
- Fixed -x|-X sanity check in tcpprep/tcpreplay

1.3-beta3:
==========
- Fix compile of list.c under FreeBSD 4.7 and others
- Add -x|-X to tcpprep
- Modify cache file format to be 2 bits/packet to allow caching of
  -x|-X args (dropping packets)
- Modularize some more code

1.3-beta2:
==========
- Fix ./configure bug w/ INET_ATON and INET_ADDR
- Add support for filtering packets to send based on
  IP address or packet number (-x & -X)
- Move a lot of code from tcpreplay.c to do_packets.c
- Update tcpreplay man page

1.3-beta1:
==========
- Add support for randomizing IP addresses (-s)
- Update tcpreplay man page
- Fix problem with checksums after untruncate
2003-02-15 23:54:45 +00:00
cjep
fd4c74204b Spelling nit. 2002-12-07 20:22:16 +00:00
cjep
1f96d1b1df Initial import of tcpreplay 1.2a into the NetBSD packages collection
as net/tcpreplay.

tcpreplay is a tool to replay saved tcpdump or snoop files at arbitrary
speeds. It allows you to recreate real network traffic from a real network
for use in testing. For example, it can be used to test Intrusion
Detection Systems.
2002-12-07 20:20:25 +00:00