[ns] Calculation from Trace file

2007-11-25 Thread Livian Zah

How can I calculate these following things From a Trace file ? 
   
  1.Throughput 
  2. Packet Drop Rate
  3. GoodPut
  4, Availabe BW 
   
 I will higly appretaite anyone's suggestion. Thanks in advance.
   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.


Re: [ns] Calculating from trace file

2007-11-25 Thread abdqds



Gladiator Trojan wrote:
> 
> 
> Hello
>
>   How can I calculate these following things From a Trace file ? 
>
>   1.Throughput 
>   2. Packet Drop Rate
>   3. GoodPut
>   4, Availabe BW 
>
>   Very urgent for me. 
>
> 
>
> -
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
> how.
> 
> 
This is just an example awk script to calculate Throughput. It may help you. 

BEGIN {
ue1_throughput=0; 
}
  
{
   
  if($1=="r" && $4==2 && $5=="tcp" && $8 == 0) 
{
ue1_throughput = ue1_throughput + $6 - 40;
}  
}
END {

  print "Throughputs for each user equipment ->"
print "Total throughput achieved by UE1:
"(ue1_throughput/10)*(8/1000) "kbps";
print "End of Results"; 
}

-- 
View this message in context: 
http://www.nabble.com/Calculating-from-trace-file-tf4869595.html#a13942293
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] help in emergency plz

2007-11-25 Thread abdqds



Basim Javed wrote:
> 
> 
> Dear all
> 
> I am a newbie in NS2. I need an urgent help regarding;
> 
> 1- I found many main() in C++ code, although I was expecting only one,
> which
> would control the whole NS - what does this mean?
> 2- Apparently 802.11e is not part of NS 2.31, and there is code available
> at
> some sites. How should I fit that separate code into the big NS 2.31;
> place
> of keeping it; recompiling steps etc?
> 3- Any help specifically to change the parameter set of EDCA, during start
> of superframes? How to do it, and any code available?
> 4- Do I need to understand the class hierarchy of NS 2.31 in order to run
> it
> after modifying or adding some code of my own? where to put that added
> code?
> steps involved?
> 
> I would highly appreciate any help (even related to 802.11 context).
> Thank you very much.
> 
> kind regards
> B
> 
> 

hello Basim,

plz provide information about the patch and web link so some can help. on
the other hand you should have the instructions along with the patch file to
use it with NS.

regards,
-- 
View this message in context: 
http://www.nabble.com/help-in-emergency-plz-tf4869385.html#a13942173
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how can implement DDoS attack using ns2

2007-11-25 Thread Arturo Servin


It would depend of what you want to do. I am using UDP and CBR in a
manual topology that I generated. There are some tools to automatic
generate a big number of nodes but I have not tested yet. Now my attacks
are confined to a small network.

-as

brij wrote:
> Dear all
>
> please guide me to implement DDos attacks in ns2. if anybody working in same
> area please reply.
>
> thanks
>
> B B Gupta, Member, IEEE
> Research Scholar
> Electronics & Computer Engg.Deptt.
> IIT,ROORKEE
> Web: http://gupta.brij.googlepages.com
> mail id: [EMAIL PROTECTED]
>
>
> On 24/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>   
>> Welcome to posting to the ns-users mailing list!
>>
>> We automatically send this message to every new person who sends mail
>> to the list.  You should only receive it once.  My apologies if the
>> program contacts you twice, perhaps because you have multiple e-mail
>> addresses or send mail from multiple machines.
>>
>> If you are an experienced ns-user who simply has not posted since we
>> started using this responder, our apologies for inconveniencing you
>> with this message.  This message is intended to help inform users and
>> cut down on redundant posts, which benefits everyone.
>>
>> Please look at the attached list of ns Frequently Asked Questions.
>> If it answers your question, great!  You're done.
>> If not, please RE-SEND your original message to [EMAIL PROTECTED]
>> A copy of your original message is included below for reference.
>>
>> You will NOT have to do re-send your message every time you post, only
>> the FIRST time you send from a new account.  The goal is to quickly
>> help new users find the FAQ (hopefully answering their question).
>>
>> Thanks,
>>-the ns development team
>>
>>
>> 
>>
>>
>> The Network Simulator ns-2: Frequently Asked Questions
>>
>>(This FAQ is also on the web at
>>http://www.isi.edu/nsnam/ns/ns-faq.html.)
>>
>>  * _Where do I get ns?_
>>
>>From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and
>>the download page http://www.isi.edu/nsnam/ns/ns-tests.html.
>>
>>  * _What platforms does ns run on and what kind of hardware do I
>>need?_
>>
>>Please see "where to start" on the building ns web page:
>>http://www.isi.edu/nsnam/ns/ns-build.html#start.
>>
>>  * _What should I do if I have trouble downloading/extracting ns?_
>>
>>This question is answered in detail at
>>http://www.isi.edu/nsnam/ns/ns-problems.html#downloading.
>>
>>  * _What should I do if I encounter problems building ns?_
>>
>>Check:
>>  1. the README that comes in the distribution (very brief),
>>  2. the "installation problems, bug fixes and help" web page
>> http://www.isi.edu/nsnam/ns/ns-problems.html,
>>  3. the archives of the ns-users mailing list
>> http://www.isi.edu/nsnam/ns/ns-lists.html,
>>  4. post a bug report (see below)
>> http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi.
>>
>>  * _What do I do after I successfully build ns?_
>>
>>   + Put the path to your ns executable into your PATH environment
>>   + Put the path to your otcl into your LD_LIBRARY_PATH
>> environment
>>   + Put the path to your tcl library into your TCL_LIBRARY
>> environment
>>
>>  * _Where can I find documentation for ns?_
>>
>>All documentation is linked from the main ns web page
>>http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial
>>(originally from Marc Greis) and a reference manual (ns notes and
>>documentation).
>>
>>  * _Words, words, words... that documentation is nice, but where are
>>some sample scripts I can start from?_
>>
>>Many sample scripts can be found in the ns distribution in
>>~ns-2/tcl/ex and ~ns-2/tcl/test.
>>
>>  * _What protocols does ns support?_
>>
>>A lot! Almost all variants of TCP, several forms of multicast,
>>wired networking, several ad hoc routing protocols and propagation
>>models (but not cellular phones), data diffusion, satellite, and
>>other stuff. See the documentation (described above) for details,
>>or download ns and look.
>>
>>  * _How do I know that ns correctly implements these protocols?_
>>
>>Ns has validation tests that cover many protocols, see
>>http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately
>>users are responsible for verifying that ns is accurate for their
>>purposes---since we cannot foresee all the ways ns may be used, we
>>cannot test all cases with all inputs.
>>
>>  * _Are there any contributed/additional protocols not in the main
>>distribution?_
>>
>>Yes, please see the contributed code web page
>>http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list
>>

[ns] Calculating from trace file

2007-11-25 Thread Livian Zah

Hello
   
  How can I calculate these following things From a Trace file ? 
   
  1.Throughput 
  2. Packet Drop Rate
  3. GoodPut
  4, Availabe BW 
   
  Very urgent for me. 
   

   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.


[ns] help in emergency plz

2007-11-25 Thread Basim Javed

Dear all

I am a newbie in NS2. I need an urgent help regarding;

1- I found many main() in C++ code, although I was expecting only one, which
would control the whole NS - what does this mean?
2- Apparently 802.11e is not part of NS 2.31, and there is code available at
some sites. How should I fit that separate code into the big NS 2.31; place
of keeping it; recompiling steps etc?
3- Any help specifically to change the parameter set of EDCA, during start
of superframes? How to do it, and any code available?
4- Do I need to understand the class hierarchy of NS 2.31 in order to run it
after modifying or adding some code of my own? where to put that added code?
steps involved?

I would highly appreciate any help (even related to 802.11 context).
Thank you very much.

kind regards
B