You may want to try tcprplay 4.0.3. I merged PPP DLT from 4.0_alpha3,
but have not tested. It may work for you.

http://tcpreplay.appneta.com/wiki/installation.html#downloads

Fred Klassen
On 2/11/2014, 4:00 AM, "Pekka Pietikäinen" <p...@ee.oulu.fi> wrote:

>On 11/02/14 06:48, mehdi wrote:
>> Nicolas Vila <nvila <at> novared.net> writes:
>>
>>> Dear,
>>>
>>> I'm trying to test if a firewall would allow a UDP packet with source
>>> port 0. Unfortunately this firewall is already deployed and the only
>>>way
>>> for me to test it is using a USB 3G modem. I'm on linux (uname -a:
>>>Linux
>>> Rivendell 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux) using
>>> tcpreplay v3.4.3 build 2375. As I try to send the packet through
>>> interface ppp0, tcpreplay warns that physical layer type 0x0200 is not
>>> supported, and it may not work (it doesn't).
>>> Does anyone know if there's some workaround I could try? Any hint would
>>> be much appreciated.
>>>
>>>
>>>
>>> Dear Nicolás Vila
>>>
>>> I am also trying to sent the traffic on PPP0 interface and got the same
>>> error, Would you please share with me any interesting information you
>>>have
>>> gathered about this issue.
>>> Thanks
>>>
>>>
>If performance is not a concern, you might want to try scapy (sixxs is a
>ipv6 over ipv4 link, but should work similarly with PPP):
>
>[root@the ~]# scapy
>Welcome to Scapy (2.2.0)
> >>> p=rdpcap('tcp_t20-new.pcap')
> >>> conf.iface='sixxs'
> >>> p[0]
><Ether  dst=52:54:00:a9:b9:16 src=52:54:00:cc:79:d3 type=IPv4 |<IP
>version=4L ihl=5L tos=0x0 len=40 id=1 flags= frag=0L ttl=64 proto=tcp
>chksum=0x520 src=192.168.122.1 dst=192.168.122.93 options=[] |<TCP
>sport=42274 dport=echo seq=107420375 ack=0 dataofs=5L reserved=0L
>flags=S window=8192 chksum=0x53cb urgptr=0 |>>>
> >>> p[0][IP]
><IP  version=4L ihl=5L tos=0x0 len=40 id=1 flags= frag=0L ttl=64
>proto=tcp chksum=0x520 src=192.168.122.1 dst=192.168.122.93 options=[]
>|<TCP  sport=42274 dport=echo seq=107420375 ack=0 dataofs=5L reserved=0L
>flags=S window=8192 chksum=0x53cb urgptr=0 |>>
> >>> sendp(p[0][IP])
>.
>Sent 1 packets.
>
>->
>
>13:42:09.456867 ip: 192.168.122.1.42274 > 192.168.122.93.echo: Flags
>[S], seq 107420375, win 8192, length 0
>
>on the interface. Scapy + tcpreplay is a really nice combination, first
>create/tweak packets with scapy and them send them at gigabit speeds
>with tcpreplay.
>
>--------------------------------------------------------------------------
>----
>Android apps run on BlackBerry 10
>Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>Now with support for Jelly Bean, Bluetooth, Mapview and more.
>Get your Android app in front of a whole new audience.  Start now.
>http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clkt
>rk
>_______________________________________________
>Tcpreplay-users mailing list
>Tcpreplay-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
>Support Information: http://tcpreplay.synfin.net/trac/wiki/Support


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to