Ticket #15 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

tcpbridge is broken

Reported by: aturner Owned by: aturner
Priority: high Milestone: 3.0.RC1
Component: tcpbridge Version: 3.0.beta7
Keywords: Cc:
Operating System: N/A Add to FAQ?: no
Hardware: All
Output of tcpreplay -V:

Description

I broke it during the code refactoring

Change History

comment:1 Changed 6 years ago by aturner

  • Hardware set to Intel
  • Status changed from new to assigned

comment:2 Changed 6 years ago by aturner

  • Hardware changed from Intel to All

comment:3 Changed 6 years ago by aturner

  • Milestone changed from 3.0.beta8 to 3.0.0

comment:4 Changed 6 years ago by aturner

  • Milestone changed from 3.0.0 to 3.0 RC1

comment:5 Changed 5 years ago by aturner

From the tcpreplay-users list

> when using the unidirectional flag i got an assertion fault in sendpacket.c:
> sendpacket_get_hwaddr -> assert(sp) when the first packet is tried to be
> bridged. 
>   
> when not using the unidirectional flag, a segmentation fault occurs, also,
> when the first packet is "bridged". 
>   
> i built using debug and both the Source MAC and Dest Mac are printed as 
> 00:00:00:00:00:00 in live_callback in bridge.c. 
>   
> I'm using tcpreplay 3b11 built from sources on a CentOS 4 machine. 
> if that helps, my network interfaces are configured statically and only
> after load. 
>   
> i used tcpreplay successfully on this machine before - though my statistics
> weren't true - they always showed like no packet was sent, although i
> received them on the other side of the cable. :) 
>   
> thanks, 
> nadav  

comment:6 Changed 5 years ago by aturner

  • Priority changed from medium to high

comment:7 Changed 5 years ago by aturner

(In [1701]) tcpbridge now (theoretically) uses libtcpedit for editing packets and builds cleanly. refs #15

comment:8 Changed 5 years ago by aturner

(In [1704]) fix --endpoints for tcprewrite which was broken in r1701 refs #15

comment:9 Changed 5 years ago by aturner

(In [1705]) --endpoints now does something for tcprewrite. refs #15

comment:10 Changed 5 years ago by aturner

(In [1709]) remove code detection for Lyx, etc. make tcprewrite enabled by default add HAVE_WINPCAP refs #66, #75, #15, #110

comment:11 Changed 5 years ago by aturner

(In [1771]) fix begin timeval so that we report the correct number of sec.usec for runtime. refs #15

comment:12 Changed 5 years ago by aturner

(In [1803]) fix call to tcpedit_init(). refs #15

comment:13 Changed 5 years ago by aturner

  • Add to FAQ? unset
  • Status changed from assigned to closed
  • Resolution set to fixed

seems to be working now. good enough for RC1 and others to play with.

Note: See TracTickets for help on using tickets.