Re: [ostinato] send pakcets to MAC machine

19 views
Skip to first unread message

Engr Muhammad Tahir Fattani

unread,
Apr 10, 2014, 6:16:59 AM4/10/14
to Srivats P, ostinato

Respected Srivats,

Please tell me I am sending packets from my MAC Client to Debian Server Machine .

But  I couldn't see any movement of sending packets from my client to server machine.

I try to use TCP DUMP at my server machine but I couldnot see any packets,even ping is work


But from my another client machine (i.e. window machine),which is perfectly working towards debian server machine.


Please tell me which it didnot work .Even my User in Administration group.


Please let me know why it didnot work.

Regards

M Tahir 

On Tue, Apr 8, 2014 at 5:46 PM, Srivats P <sriv...@gmail.com> wrote:
What are your iptables rules? Do you have the same rules for both TCP
and UDP? Are you sure your packets are matching the rules?

I don't know much about iptables, but if you have iptables setup to do
stateful firewalling for TCP, it might not work since Ostinato
generated TCP packets are not stateful.

Srivats

On Tue, Apr 8, 2014 at 9:10 PM, Engr Muhammad Tahir Fattani
<tahirf...@gmail.com> wrote:
> Respected Srivats,
>
> Yes src/dst mac and src/dst ip address is same
>
> Regards
>
> M Tahir
>
>
>
> On Tue, Apr 8, 2014 at 5:25 PM, Srivats P <sriv...@gmail.com> wrote:
>>
>> Are the src/dst mac and src/dst ip address same for the TCP and UDP
>> packets?
>>
>> Srivats
>>
>> On Tue, Apr 8, 2014 at 8:49 PM, Engr Muhammad Tahir Fattani
>> <tahirf...@gmail.com> wrote:
>> > Respected Srivats,
>> >
>> > I am sending Traffic packets from client to server via cross cable
>> >
>> > Nothing change in my iptables  firewall counter,after send bulk of TCP
>> > packets(port 80 and destination mac address) towards server machine.
>> >
>> > IPtables firewall installed on my server machine.
>> >
>> > Same scenario but now I used UDP instead of TCP. Then my iptables
>> > firewall
>> > counter was worked.
>> >
>> > It means iptables firewall count my UDP packet when I send from Ostinato
>> > towards server machine but in TCP packets case doesnot work.
>> >
>> >
>> > So I am worried how it will work??
>> >
>> >
>> > Thanks
>> >
>> > Regards
>> >
>> > M Tahir
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Apr 8, 2014 at 4:44 PM, Srivats P <sriv...@gmail.com> wrote:
>> >>
>> >> What do you mean by "TCP will work"?
>> >>
>> >> I assume you are trying to generate TCP packets and send it over an
>> >> interface which is connected to the target DUT via a cross cable
>> >> right? What is not working here? What is happening (or not happening)
>> >> and what is your expectation of what should (and should not) happen?
>> >>
>> >> Srivats
>> >>
>> >> On Tue, Apr 8, 2014 at 3:35 PM, Engr Muhammad Tahir Fattani
>> >> <tahirf...@gmail.com> wrote:
>> >> > Dear Srivats,
>> >> >
>> >> > I need your quick reply.
>> >> >
>> >> > In which condition TCP will work if my system is directly connected
>> >> > by
>> >> > the
>> >> > help of cross cable??
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Regards
>> >> >
>> >> > M Tahir
>> >> >
>> >> >
>> >> > On Thu, Mar 27, 2014 at 2:04 PM, Srivats P <sriv...@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> Random destination IP addresses in the range of 10.0.*.* -
>> >> >> 10.7.255.255:
>> >> >>    destination ip address - '10.0.0.0', mode - 'random host', count
>> >> >> -
>> >> >> 100 (or any other number that you want), mask - 255.248.0.0
>> >> >>
>> >> >> Random source IP addresses (no specific range)
>> >> >>   source ip address - '0.0.0.0', mode - 'random host', count - 100
>> >> >> (or
>> >> >> any other number that you want), mask - 0.0.0.0
>> >> >>
>> >> >> random TCP port numbers.
>> >> >>   not supported currently. see
>> >> >> https://groups.google.com/forum/#!topic/ostinato/VLTWSaO2FsM
>> >> >>
>> >> >> Srivats
>> >> >>
>> >> >> On Wed, Mar 26, 2014 at 10:42 PM, Engr Muhammad Tahir Fattani
>> >> >> <tahirf...@gmail.com> wrote:
>> >> >> > Thanks for the reply.
>> >> >> >
>> >> >> > Now It work
>> >> >> >
>> >> >> > I want to generate the packets with random destination IP
>> >> >> > addresses
>> >> >> > in
>> >> >> > the
>> >> >> > range of 10.0.*.* - 10.7.255.255
>> >> >> >
>> >> >> > For assigning this range what will i do it??
>> >> >> >
>> >> >> > Random source IP addresses (no specific range) and random TCP port
>> >> >> > numbers.
>> >> >> >
>> >> >> >
>> >> >> >  I will wait for your further reply in this regard
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On Wed, Mar 26, 2014 at 4:18 PM, Srivats P <psta...@gmail.com>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> Tahir,
>> >> >> >>
>> >> >> >> If you don't need connection oriented TCP (i.e. no TCP handshake
>> >> >> >> and
>> >> >> >> acks), you can use Ostinato on the client machine to generate 80
>> >> >> >> byte
>> >> >> >> TCP packets and send to your server. In case the server is not
>> >> >> >> directly connected to the client machine, you need to set the
>> >> >> >> DstMac
>> >> >> >> of the stream to the next hop router's mac address for IP routing
>> >> >> >> to
>> >> >> >> work.
>> >> >> >>
>> >> >> >> Srivats
>> >> >> >>
>> >> >> >> On Mon, Mar 24, 2014 at 9:11 PM, Engr Muhammad Tahir Fattani
>> >> >> >> <tahirf...@gmail.com> wrote:
>> >> >> >> > Thanks for the reply,I already solved that problem
>> >> >> >> >
>> >> >> >> > Just I need to send the packets to my server machine.(packets
>> >> >> >> > should
>> >> >> >> > be
>> >> >> >> > TCP
>> >> >> >> > i.e. 80 Bytes)
>> >> >> >> >
>> >> >> >> > Server machine install a firewall so packets will be by pass
>> >> >> >> > from
>> >> >> >> > my
>> >> >> >> > firewall.(I don't need any type of acknowledgment)
>> >> >> >> >
>> >> >> >> > At server machine I install Ethereal for packet capturing.
>> >> >> >> >
>> >> >> >> > Just I want to know how much packets capture by server
>> >> >> >> > machine??
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Do you recommend any other software??
>> >> >> >> >
>> >> >> >> > your advice is highly appreciate
>> >> >> >> >
>> >> >> >> >  I will wait for your further reply in this regard
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On Mon, Mar 24, 2014 at 4:06 PM, Srivats P <psta...@gmail.com>
>> >> >> >> > wrote:
>> >> >> >> >>
>> >> >> >> >> Tahir,
>> >> >> >> >>
>> >> >> >> >> Ostinato does not support client to server connection oriented
>> >> >> >> >> TCP
>> >> >> >> >> traffic.
>> >> >> >> >>
>> >> >> >> >> Srivats
>> >> >> >> >>
>> >> >> >> >> On Fri, Mar 21, 2014 at 8:42 PM, Engr Muhammad Tahir Fattani
>> >> >> >> >> <tahirf...@gmail.com> wrote:
>> >> >> >> >> > Hey All,
>> >> >> >> >> >
>> >> >> >> >> > I want to setup Ostinato  between client and server machine.
>> >> >> >> >> >
>> >> >> >> >> > From client I need to generate the traffic with the help of
>> >> >> >> >> > TCP
>> >> >> >> >> > packet(i.e.
>> >> >> >> >> > 80 Bytes) for example 30000 packet per second.From server
>> >> >> >> >> > machine
>> >> >> >> >> > I
>> >> >> >> >> > need
>> >> >> >> >> > to
>> >> >> >> >> > record how many packets server machine receive.
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Is it possible with the help of Ostinato traffic generator??
>> >> >> >> >> >
>> >> >> >> >> > Question
>> >> >> >> >> > 1-So i need to setup Ostinato only on client machine OR I
>> >> >> >> >> > have
>> >> >> >> >> > to
>> >> >> >> >> > setup
>> >> >> >> >> > in
>> >> >> >> >> > Client machine and  Server Machine as well.
>> >> >> >> >> >
>> >> >> >> >> > 2-I need exactly 80 bytes packet.
>> >> >> >> >> >
>> >> >> >> >> > 3-is there any mechanism to record the packets when client
>> >> >> >> >> > send
>> >> >> >> >> > the
>> >> >> >> >> > traffic
>> >> >> >> >> > towards
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Note:(For installtion I had followed these steps)
>> >> >> >> >> >
>> >> >> >> >> > echo 'deb
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > http://download.opensuse.org/repositories/home:/pstavirs:/ostinato/Debian_7.0/
>> >> >> >> >> > /' >> /etc/apt/sources.list.d/ostinato.list
>> >> >> >> >> > apt-get update
>> >> >> >> >> >
>> >> >> >> >> > apt-get install ostinato
>> >> >> >> >> >
>> >> >> >> >> > 4- After installation how will i execute the  Ostinato??
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Please reply me as soon as possible
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Regards
>> >> >> >> >> >
>> >> >> >> >> > M Tahir
>> >> >> >> >> >
>> >> >> >> >> > --
>> >> >> >> >> > Get Ostinato News and Updates on Twitter - Follow @ostinato
>> >> >> >> >> > (http://twitter.com/ostinato)
>> >> >> >> >> > ---------
>> >> >> >> >> > You received this message because you are subscribed to the
>> >> >> >> >> > Google
>> >> >> >> >> > Groups
>> >> >> >> >> > "ostinato" group.
>> >> >> >> >> > To post to this group, send email to
>> >> >> >> >> > osti...@googlegroups.com
>> >> >> >> >> > To unsubscribe from this group, send email to
>> >> >> >> >> > ostinato+u...@googlegroups.com
>> >> >> >> >> > For more options, visit this group at
>> >> >> >> >> > http://groups.google.com/group/ostinato?hl=en
>> >> >> >> >> > ---
>> >> >> >> >> > You received this message because you are subscribed to the
>> >> >> >> >> > Google
>> >> >> >> >> > Groups
>> >> >> >> >> > "ostinato" group.
>> >> >> >> >> > To unsubscribe from this group and stop receiving emails
>> >> >> >> >> > from
>> >> >> >> >> > it,
>> >> >> >> >> > send
>> >> >> >> >> > an
>> >> >> >> >> > email to ostinato+u...@googlegroups.com.
>> >> >> >> >> > For more options, visit https://groups.google.com/d/optout.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> http://ostinato.org/
>> >> >> >> >> @ostinato
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> http://ostinato.org/
>> >> >> >> @ostinato
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>

Reply all
Reply to author
Forward
0 new messages