Re: [nox-dev] Not able to send ARP Reply in C++

2011-11-30 Thread Kimihiko FUKAMI
Hi,Murphy!

Thank you for your reply!

I look at arp.hh source code. But, my question is not addressed.

I forgot to tell you the code I want to write...

The code is NAT program. In the NAT, the condition is that arp 
reply should be addressed.

I examined which api to send arp reply by using of Nox(zaku) in 
C++, and I get a hint from attached Nox sample code switch.cc.
The hint is Packet_in_event...

Then I want to tell you how to get packet data from Packet_in_event
 instance. Please give me a hint!


Murphy McCauley jam...@nau.edu wrote:

I don't think I've ever used it, but have you taken a look at 
include/netinet++/arp.hh?

-- Murphy

On Nov 25, 2011, at 1:54 AM, Kimihiko FUKAMI wrote:

 Hi,
 
 Currently, I can not send an ARP Reply by using of Nox(zaku) in 
 C++ code. 
 
 # I can write a code to reply ARP in python. 
 
 So, I want a code sample to send ARP Reply in C++.
 
 Please teach me!
 
 ---
 E-mail: fukami.kimih...@lab.ntt.co.jp
 
 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev


---
深見 公彦 (Kimihiko FUKAMI)  TEL:0422-59-2475 
NTT 情報流通プラットホーム研究所
ネットワークセキュリティプロジェクト
E-mail: fukami.kimih...@lab.ntt.co.jp

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


[nox-dev] Why does NOX Destiny version lack of SQLite3 database support??

2011-11-30 Thread dongxia pan
hi, guys
 I intend to develop programs based on destiny or latest source codes.
Whereas, I find that the version of Destiny lack of SQLite3 database
support.
Destiny or latest codes only include codes of Dht storage, but Dht storage
is too complex for me.
 Previously, I found that Nox-0.5.0~full~beta version has supported
SQLite3.
 Are there any reasons to remove sqlite3 in the latest codes?
 Looking  forward to your reply.
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] Spanning Tree Module

2011-11-30 Thread Bernd Wittefeld

Hi,
ok, I got it to work now. It was a problem on our side. In fact, the  
switches in the lab are connected by an HP ProCurve switch, which i  
have configured to use VLANs for every link between the OpenFlow  
switches.

After configuring the HP switch in the correct way, everything worked :)
So, I read in the wiki, that the Spanning Tree module was only tested  
with three switches. I can confirm it works flawlessly with six  
switches.

Thanks for your quick answer.

Best regards
Bernd



Zitat von Murphy McCauley jam...@nau.edu:

AFAIK, this should work.  Have you actually inspected the switches?   
Are the relevant ports actually getting NOFLOOD set?


-- Murphy

On Nov 29, 2011, at 7:54 AM, Bernd Wittefeld wrote:


Hi,
first of all: thanks for your great work and the really good support
here. I have a small problem and I hope someone knows what to do :)

The situation is the following:
I have a network with 6 OpenFlow switches in a mesh here. The software
(switches and NOX) is working fine.
I use the spanning_tree module in order to prevent loops in the network
when flooding ARP-Requests and stuff.
I got everything to work fine and even the NOX Gui (I'm on destiny)
shows me a correct Spanning-Tree without loops.
I have two hosts which are connected to two different switches. If I
send an ICMP ping from one host to the other, I get the ARP requests in
the Openflow network. They travel along the spanning tree which I
checked by using wireshark and tcpdump. The other links don't show ARP
requests.

Now the problem:
The ARP requests are not forwarded out of the OpenFlow network. That
means, they reach the switch that is connected to the destination host,
but the host does not get the ARP request.

How can I solve this? Do I have to manually unset the NOFLOOD switch
on that port in my controller or is there any other way, maybe to make
the spanning_tree module more intelligent or am I doing something wrong?

Thanks in advance
Bernd

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev







___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] Why does NOX Destiny version lack of SQLite3 database support??

2011-11-30 Thread Murphy McCauley
It was removed several years ago... I think just because nothing in NOX itself 
was using it.

What do you want to use it for?  If you just want to use sqlite for your own 
component to keep data, you can just include it yourself...

-- Murphy

On Nov 30, 2011, at 6:45 AM, dongxia pan wrote:

 hi, guys
  I intend to develop programs based on destiny or latest source codes.
 Whereas, I find that the version of Destiny lack of SQLite3 database support.
 Destiny or latest codes only include codes of Dht storage, but Dht storage is 
 too complex for me.
  Previously, I found that Nox-0.5.0~full~beta version has supported 
 SQLite3.
  Are there any reasons to remove sqlite3 in the latest codes?
  Looking  forward to your reply. 
 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev