[ns] problem with prev_hop_

2013-02-04 Thread AmarNath Patra

Hi All,

The field prev_hop_ of struct hdr_cmn in ns/common/packet.h should have the
value of the forwarding node.
Unfortunately, this always shows 0. Please help me in getting the actual
forwarding node.
(This query has been posted several times by different individuals. I am
not able to get any solution in the internet.)

Thanks in advance.
amar


Re: [ns] Regarding Re-compile error

2013-02-04 Thread Saravanan Kandasamy

Dear Gopi.

The compiler error did told you what to do.

You need to run configure. Any changes in Makefile would require
fresh configure.

rgds
Saravanan K

On Sun, Feb 3, 2013 at 6:40 AM, Gopi gopi_...@yahoo.co.in wrote:

 Dear ns-users,
i am getting the following error while re-compiling, after 
 modifications in makefile.in...

 Makefile.in is newer than Makefile.
 You need to re-run configure.
 false
 make: *** [Makefile] Error 1


 can anyone help me to fix the error...


 Regards,
 T.Gopi.



[ns] Last Mile: ICIMP 2013 || June 23 - 28, 2013 - Rome, Italy

2013-02-04 Thread Cristina Pascual


INVITATION:

=
Please consider to contribute to and/or forward to the appropriate groups the 
following opportunity to submit and publish original scientific results to 
ICIMP 2013.

The submission deadline is February 13, 2013.

Authors of selected papers will be invited to submit extended article versions 
to one of the IARIA Journals: http://www.iariajournals.org
=


== ICIMP 2013 | Call for Papers ===

CALL FOR PAPERS, TUTORIALS, PANELS

ICIMP 2013, The Eighth International Conference on Internet Monitoring and 
Protection

June 23 - 28, 2013 - Rome, Italy


General page: http://www.iaria.org/conferences2013/ICIMP13.html

Call for Papers: http://www.iaria.org/conferences2013/CfPICIMP13.html

- regular papers

- short papers (work in progress)

- posters

Submission page: http://www.iaria.org/conferences2013/SubmitICIMP13.html


Submission deadline: February 13, 2013

Sponsored by IARIA, www.iaria.org


Extended versions of selected papers will be published in IARIA Journals:  
http://www.iariajournals.org

Print proceedings will be available via Curran Associates, Inc.: 
http://www.proceedings.com/9769.html

Articles will be archived in the free access ThinkMind Digital Library: 
http://www.thinkmind.org


Please note the Poster and Work in Progress options.

The topics suggested by the conference can be discussed in term of concepts, 
state of the art, research, standards, implementations, running experiments, 
applications, and industrial case studies. Authors are invited to submit 
complete unpublished papers, which are not under review in any other conference 
or journal in the following, but not limited to, topic areas.
All tracks are open to both research and industry contributions, in terms of 
Regular papers, Posters, Work in progress, Technical/marketing/business 
presentations, Demos, Tutorials, and Panels.

Before submission, please check and conform with the Editorial rules: 
http://www.iaria.org/editorialrules.html


ICIMP 2013 Topics (topics and submission details: see CfP on the site)


TRASI: Internet traffic surveillance and interception

   Methods and context to classify legal and illegal traffic; Methods and 
procedure to classify wanted and undesired traffic; Overloads, attacks, and 
failures; Detection of attacks via protocols and applications; Undesired 
traffic evaluation; Traffic identification caused by malicious code (spam, 
virii, and worms, etc.); Traffic profile during disaster recovery; Traffic 
during active emergency services; Early warning on growing undesired traffic; 
Access control and audit detection points; Denial of service; Spoofing; Lawful 
interception; Multi-modal undesired traffic detection; Measurements and data 
mining correlation; Countermeasures on undesired traffic

IPERF: Internet performance

   Performance-oriented design; Active and passive performance monitoring; 
Performance metrics and measurements; Measurement-based performance evaluation 
in Internet; System measurement and monitoring; Performance model verification 
and validation; Stochastic modeling (queues,  Petri nets, etc.); Statistical 
performance; Performance of Internet routing; Performance optimization; 
Internet performance prediction; Internet performance evaluation studies; 
Internet performance testbeds; Performance evaluation of Web search engines; 
Performance evaluation of P2P systems

RTSEC: Security for Internet-based real-time systems

   Security and availability of Web Services; Security/Performance trade-off; 
Distributed systems security; Language-based security; Formalisms for security 
and protocol verification; Performance on firewall protected real-time systems; 
Security management in real-time systems; Metrics and techniques for security 
risk assessment; Internet monitoring and response security service; Protecting 
emergency communications from misuse and exploitation; Maintaining security in 
the face of disaster; Intrusion prevention and detection systems; Secure 
networks from web-based threats

DISAS: Disaster prevention and recovery

   Survivable networks on chips; Intrusion detection and defense; Alerting 
systems based on outstanding network events; Recovery methods in various 
networks; Disaster diagnosis and continuity plans; Fighting mechanisms for 
disaster of networks and applications; Global positioning systems; Vehicle 
localization and navigation systems; Disaster relief agencies to perform 
recovery operations; Survivability-driven defense and do-it-yourself disaster 
recovery; Security during disaster recovery; Budgeting disaster recovery; 
Networks emergency services; Reliable emergency communications and 
applications; Response to the networks emergency services; Disaster prevention 
and recovery; Fighting mechanisms for disaster of networks and applications; 
Networks resiliency methods; Recovery in various networks; Theory on robust 
networks; Customer protection and serviceability 

Re: [ns] Code for editing packet header

2013-02-04 Thread Saravanan Kandasamy

Magdy,

I have not worked adding a new field in packet header in IP layer.
Nevertheless, just throwing some thoughts,

1. Have you included int tag_; in your Agent.h?
2. In MAC layer we have to mention the size of new field, one of the
purpose is, it could be factored in for the transmission time over
physical layer considering longer packet size now.Do see if the same
needed to be done for IP packet.

Good Luck.

rgds
Saravanan K

On Sat, Feb 2, 2013 at 9:18 PM, Magdy Fares mfare...@yahoo.com wrote:

 How are you Sir,

 In my project i need the code to do the following:
 While the packet passes through the nodes in the path from the sender to the 
 receiver, each node has a unique id consists of for example 3 or 4 bits, and 
 there is a field of 16 bits in each packet header that holds the node id 
 after XORing it with the old value.

 I acctually did the following:
 1- In the structure hdr_ip in the file ip.h , i added a variable of type int 
 named tag_ to hold the node's id after doing XOR with the old values as i 
 said befor.
 2- And also in the same place i added an access function lkie this   int 
 tag() {return tag_;}
 3- In the file ip.cc, in the function export_offsets() , i added this line   
 field_offset(tag_, OFFSET(hdr_ip, tag_));
 I think, by these above three steps i added a new field in the packet headers 
 that carry the nodes id after doing XOR between old and new values.

 In the file agent.cc, and in the function  Agent::initpkt() , i added these 
 two lines:
 iph-tag() = 3;

 printf(\n This packet has a tag of %d, iph-tag_);
 I think these two lines are used for debugging.

 So, if these steps are correcet, is there any one can help me to build on 
 them to finish my task, please i need your help Urgently


 Thank you friends,
 Eng. Magdy Fadel


 
  From: Magdy Fares mfare...@yahoo.com
 To: ns-users@isi.edu ns-users@isi.edu
 Sent: Saturday, February 2, 2013 12:14 AM
 Subject: Code for editing packet header


 To NS-Users,
   I am a Ph.D. student of and part of my project trys to XOR some 
 data in the packet header while it travrses from the source to the 
 destination. So i *urgently* need code to accomplish this point please.

 So, Any One have code for this plz forward it **Urgently.**


 Thanks and regards,
 Magdy
  Fadel



Re: [ns] Regarding Routing

2013-02-04 Thread Saravanan Kandasamy

Gopi,

Have you tried to google? Much information is there, just need to
spend some time doing research.

1. For single hop network you dont need routing. You may use dumbagent.

2. There are some implementation for static routing in the web, some
uses DSR as base and some created their own way for filling the
routing table. Check out for NOAH or FixRT.

Good luck.

rgds
Saravanan K



On Wed, Jan 30, 2013 at 5:59 AM, gopi gopi_...@yahoo.co.in wrote:

 Dear ns users,

 can anyone tell me, how to add static routing for wireless 
 network...



 Regards,
 T.Gopi.



Re: [ns] how to access the variables in .cc files?

2013-02-04 Thread Saravanan Kandasamy

Dear Shiny,

This is a more of a programming question rather than NS2. Perhaps you
can check with other programming related forums.

In the programming point of view for sure it can be done but you have
to check if it is logically sound from simulator or real life
implementation point of view. Assume you like to read a content of
source node address of an ACK packet from MAC layer (mac-802.11.cc) at
Physical Layer (wireless-phy.cc), since current frame format of ACK
does not carry that information, you may create a new field to carry
this information for you. So when you read it at physical layer, your
are not only reading the variables from two different files, but also
logically sound, as you are reading the packet content which flows
from MAC to Physical layer when it flows out from destination (Data)
node.

Good Luck.

rgds
Saravanan K

On Wed, Jan 30, 2013 at 4:29 AM, shiny shiny@gmail.com wrote:

 hi all,
 how to include variables from one .cc file to other?

 --
 With Regards,
 John Shiny.J



Re: [ns] Regarding Routing

2013-02-04 Thread itishi saxena

Hello Saravanan,


I have designed a protocol while rounning various simulations ...sometimes it 
chrashes due to... 
terminate called after throwing instance of 'std::bad_alloc'

what():bad_alloc

As of now from the internet I found this error is due to memory shortage 
...means somehoe my protocol require large mermory...

I need your suggestion...regarding What is the real problem and how to overcome 
it?



Any suggestion would be appreciated.
Itishi.






 From: Saravanan Kandasamy svana...@gmail.com
To: ns-users@isi.edu ns-users@ISI.EDU 
Sent: Tuesday, 5 February 2013 7:07 AM
Subject: Re: [ns] Regarding Routing
 

Gopi,

Have you tried to google? Much information is there, just need to
spend some time doing research.

1. For single hop network you dont need routing. You may use dumbagent.

2. There are some implementation for static routing in the web, some
uses DSR as base and some created their own way for filling the
routing table. Check out for NOAH or FixRT.

Good luck.

rgds
Saravanan K



On Wed, Jan 30, 2013 at 5:59 AM, gopi gopi_...@yahoo.co.in wrote:

 Dear ns users,

             can anyone tell me, how to add static routing for wireless 
network...



 Regards,
 T.Gopi.


Re: [ns] Bind a float

2013-02-04 Thread Saravanan Kandasamy

Dear Rafeal,

I am not sure where you like to do this binding. When you declare your
variable number_ in file.h ensure you choose a data structure that
accepts a float, e.g

double number_;

rgds
Saravanan K

On Mon, Jan 28, 2013 at 7:07 PM, Rafael P B Mota
rafaelpera...@gmail.com wrote:

 How can I bind a float member ?
 For example, when I bind an integer (bind(value_,value_) it works.
 When I bind a float (bind(number_,number_) I receive errors.

 What can I do to solve this problem ?
 Thanks,

 --
 
 Rafael Perazzo B Mota
 rafaelpera...@gmail.com
 Web-page: https://sites.google.com/site/rafaelperazzo/
 Doutorando em Ciência da Computação
 Universidade de São Paulo (USP)
 Campus da Capital
 Instituto de Matemática e estatística (IME)
 --




Re: [ns] Transmission range

2013-02-04 Thread Saravanan Kandasamy

Rafael,

You would need to spend more time with NS2 manual.

1. How can I change the transmission power to allow 2 nodes
communicate themselves at a max distance of 5m ?
It depends on the propagation model you are using. Since its just 5 m,
you may check Friis as Two Way Ground behaves as Friis as it operate
below cut off frequency (assuming you are operating in a frequency
above 2GHz). You would find the right Pt_ value when Pr at 5m is
=RxThreshold using your preferred propagation model. You may write
you own simple code, use excel sheet or even use a built in program in
NS2, I think its in the folder named tools.

How can I calculate the Pt_ value  ?
2. Refer above.

 What does a 0.28 Pt_ value mean ?
3. Its 0.28W

rgds
Saravanan K

On Sat, Jan 26, 2013 at 7:56 PM, Rafael P B Mota
rafaelpera...@gmail.com wrote:

 How can I change the transmission power to allow 2 nodes communicate
 themselves at a max distance of 5m ? How can I calculate the Pt_ value  ?
 What does a 0.28 Pt_ value mean ?
 Thanks



Re: [ns] Packet loss effect on End2End Delay

2013-02-04 Thread Saravanan Kandasamy

Saleem,

Why not create a test scenario in NS2 and find out the answer. You may
induce packet loss systematically and observe your preferred
parameter.

rgds
Saravanan K

On Wed, Jan 30, 2013 at 11:03 AM, saleem khan star_s...@yahoo.com wrote:

 Hi All,
 is there any effect of packet loss on End2End Delay in OLSR routing protocol? 
 For example if a routing protocol has more packet loss then wat about the 
 end2end delay..either it will be increasing or decreasing with packet loss?
 Thanks in advance

 Muhammad Saleem Khan
 Ph.D(CS) , COMSATS Institute of Information Technology, Islamabad.
 Cell No# 0346-9754454



[ns] Regarding Scheduling a channel access.

2013-02-04 Thread Sai Bhyravajosyula

Hi all

I need some help.


How can I make a node to access the channel a particular number of times.

I mean suppose I have a number like 400 , then how can I make a node
to transmit only 400 times and rest of the time in backoff.

Please help me .Thanks in advance.


Thanks.
-- 
Bhyravajosyula Sai Vishnu Kiran
MS in Computer Science
mail-id:  sbhyr...@asu.edu



Re: [ns] Regarding Scheduling a channel access.

2013-02-04 Thread Saravanan Kandasamy

Why you want to do that? Aint the objective of a network is to provide
as much throughput as you can? You said nothing about your setup,
protocols you are using etc. Dont have the liberty to assume
ourselves. A typical reason on getting lack of support -- SK

On Mon, Feb 4, 2013 at 10:54 PM, Sai Bhyravajosyula sbhyr...@asu.edu wrote:

 Hi all

 I need some help.


 How can I make a node to access the channel a particular number of times.

 I mean suppose I have a number like 400 , then how can I make a node
 to transmit only 400 times and rest of the time in backoff.

 Please help me .Thanks in advance.


 Thanks.
 --
 Bhyravajosyula Sai Vishnu Kiran
 MS in Computer Science
 mail-id:  sbhyr...@asu.edu




Re: [ns] Regarding Scheduling a channel access.

2013-02-04 Thread Sai Bhyravajosyula

Thanks for the reply.

Rather than throughput the concept here is the fairness.

Setup protocols :

MAC802.11 , AODV,CBR in UDP.

Main objective is to use a magical number in sensing or accessing the channel.

Please let me know if you have any further questions.




On Mon, Feb 4, 2013 at 4:19 PM, Saravanan Kandasamy svana...@gmail.com wrote:

 Why you want to do that? Aint the objective of a network is to provide
 as much throughput as you can? You said nothing about your setup,
 protocols you are using etc. Dont have the liberty to assume
 ourselves. A typical reason on getting lack of support -- SK

 On Mon, Feb 4, 2013 at 10:54 PM, Sai Bhyravajosyula sbhyr...@asu.edu wrote:

 Hi all

 I need some help.


 How can I make a node to access the channel a particular number of times.

 I mean suppose I have a number like 400 , then how can I make a node
 to transmit only 400 times and rest of the time in backoff.

 Please help me .Thanks in advance.


 Thanks.
 --
 Bhyravajosyula Sai Vishnu Kiran
 MS in Computer Science
 mail-id:  sbhyr...@asu.edu





-- 
Bhyravajosyula Sai Vishnu Kiran
MS in Computer Science
mail-id:  sbhyr...@asu.edu



Re: [ns] Regarding Scheduling a channel access.

2013-02-04 Thread Saravanan Kandasamy

Hi,

Do note it is no longer 802.11 once done the below changes. Your
network might crumble after the 400th packets as the queue works as
FIFO, only when a packet goes out another will replace it. There are
two ways to do this,

1. Open ns manual and look for mobile node schema for wireless
diagram. Do see which variable places the actual packet in channel.
Look for the variable in your code, put a counter there, anything
above it you can trigger channel as busy.

2. Since you are testing only cbr. Can generate only 400 packets and
increase the queue size to accommodate 400 packets or more. Can
measure fairness while not compromising the integrity of the
protocols. If like to test say 500pkts on the same network, can do the
same but with queue size 500 pkts or more. It becomes like infinite
queue scenario.

rgds
Saravanan K

On Mon, Feb 4, 2013 at 11:24 PM, Sai Bhyravajosyula sbhyr...@asu.edu wrote:
 Thanks for the reply.

 Rather than throughput the concept here is the fairness.

 Setup protocols :

 MAC802.11 , AODV,CBR in UDP.

 Main objective is to use a magical number in sensing or accessing the channel.

 Please let me know if you have any further questions.




 On Mon, Feb 4, 2013 at 4:19 PM, Saravanan Kandasamy svana...@gmail.com 
 wrote:

 Why you want to do that? Aint the objective of a network is to provide
 as much throughput as you can? You said nothing about your setup,
 protocols you are using etc. Dont have the liberty to assume
 ourselves. A typical reason on getting lack of support -- SK

 On Mon, Feb 4, 2013 at 10:54 PM, Sai Bhyravajosyula sbhyr...@asu.edu wrote:

 Hi all

 I need some help.


 How can I make a node to access the channel a particular number of times.

 I mean suppose I have a number like 400 , then how can I make a node
 to transmit only 400 times and rest of the time in backoff.

 Please help me .Thanks in advance.


 Thanks.
 --
 Bhyravajosyula Sai Vishnu Kiran
 MS in Computer Science
 mail-id:  sbhyr...@asu.edu





 --
 Bhyravajosyula Sai Vishnu Kiran
 MS in Computer Science
 mail-id:  sbhyr...@asu.edu



[ns] how to estimate transmission failures in mac layer?

2013-02-04 Thread shiny

hi all,
how to calculate number of transmission failures in mac layer using ns2?

-- 
With Regards,
John Shiny.J