Aaron,

I tried to compiled it on gentoo - ./configure
--prefix=/usr/local/stow/tcpreplay-3.0b12 --enable-flowreplay
--enable-tcpbridge && make

gcc -DHAVE_CONFIG_H -I.    -I../libopts -I..  -DFLOWREPLAY -g -O2 -Wall -O2
-funroll-loops -std=gnu99 -MT flowreplay-flowreplay_opts.o -MD -MP -MF
.deps/flowreplay-flowreplay_opts.Tpo -c -o flowreplay-flowreplay_opts.o
`test -f 'flowreplay_opts.c' || echo './'`flowreplay_opts.c
In file included from defines.h:5,
                from flowreplay_opts.c:92:
tcpr.h:1716:7: warning: no newline at end of file
mv -f .deps/flowreplay-flowreplay_opts.Tpo
.deps/flowreplay-flowreplay_opts.Po
gcc -DHAVE_CONFIG_H -I.    -I../libopts -I..  -DFLOWREPLAY -g -O2 -Wall -O2
-funroll-loops -std=gnu99 -MT flowreplay-flowreplay.o -MD -MP -MF
.deps/flowreplay-flowreplay.Tpo -c -o flowreplay-flowreplay.o `test -f '
flowreplay.c' || echo './'`flowreplay.c
In file included from defines.h:5,
                from flowreplay.c:34:
tcpr.h:1716:7: warning: no newline at end of file
flowreplay.c:70: error: expected declaration specifiers or '...' before
'ip_hdr_t'
flowreplay.c: In function 'main':
flowreplay.c:89: warning: unused variable 'pcap'
flowreplay.c:88: warning: unused variable 'ebuf'
flowreplay.c: In function 'main_loop':
flowreplay.c:147: error: 'ip_hdr_t' undeclared (first use in this function)
flowreplay.c:147: error: (Each undeclared identifier is reported only once
flowreplay.c:147: error: for each function it appears in.)
flowreplay.c:147: error: 'ip_hdr' undeclared (first use in this function)
flowreplay.c:180: error: expected expression before ')' token
flowreplay.c:217: error: too many arguments to function 'process_packet'
flowreplay.c:246: error: too many arguments to function 'process_packet'
flowreplay.c: At top level:
flowreplay.c:270: error: expected declaration specifiers or '...' before
'ip_hdr_t'
flowreplay.c: In function 'process_packet':
flowreplay.c:284: error: 'ip_hdr' undeclared (first use in this function)
make[3]: *** [flowreplay-flowreplay.o] Error 1

Disable flowreplay and tcpbridge compiles fine. Thanks.


On 2/23/07, Aaron Turner <[EMAIL PROTECTED]> wrote:

I'm happy to announce that 3.0.beta12 is finally out.  This is a
pretty important release because of the extensive changes to how
different DLT/Layer2's are supported in tcprewrite.  In the past it
was a big block of monolithic code which as many of you know had some
serious bugs and limitations.  3.0.beta12 moves to a full plugin based
architecture which makes adding support for various DLT's very easy.

In this release the following input DLT's are supported:
* DLT_EN10MB (Ethernet, w/ full 802.1Q VLAN support)
* DLT_LOOP (BSD Loopback)
* DLT_NULL (BSD NULL)
* DLT_RAW (Raw IP)
* DLT_CHDLC (Cisco HDLC)
* DLT_LINUX_SLL (Linux Cooked Socket)

The following DLT's can be used for output conversion and editing
(meaning you can convert another DLT type to one below as well as edit
fields in these Layer 2 headers):
* DLT_EN10MB
* DLT_CHDLC
* User defined DLT types.

Note for LOOP/NULL/RAW/LINUX_SLL:
Since these DLT types do not have an output converter, you can't
convert a pcap to these DLT types, but they are fully supported
otherwise.  If someone needs to convert say a DLT_EN10MB to DLT_LOOP
for example, let me know and I can add support quite easily.

There are also a few fixes in tcpreplay and tcpprep as well as a
number of improvements for cross-platform support.

Changelog:

https://sourceforge.net/project/shownotes.php?release_id=488338&group_id=48862

Download:
http://downloads.sourceforge.net/tcpreplay/tcpreplay-3.0.beta12.tar.gz

--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users




--
Best Regards,

CS Lee<geekooL[at]gmail.com>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to