• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Content Centric Networking support  (Read 3155 times)
plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« on: December 17, 2009, 11:34:31 AM »

Hi,

One of my research topics is to look at Content Centric Networking. Specifically proposed by Van Jacobson. You can find a lot of information at:

http://www.ccnx.org/
http://www.ccnx.org/content/download-releases

The idea is to see if the CCNx protocol can be ported on the plug. There are two LGPL sources released, for C and for Java. Hope this post will spur interest in CCN in the plug community.

Thanks,
PC.
« Last Edit: December 21, 2009, 05:18:14 AM by plugcrazy » Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #1 on: December 17, 2009, 01:48:46 PM »

Hi,

I downloaded the sources from:  http://github.com/ProjectCCNx/ccnx



The README.linux file mentions the following (copy pasted):
=====================================================
[Plass, 2009-02-04]
After installing ubuntu-8.10-desktop-i386.iso and applying all updates,
to build ccnd it was necessary to install these packages:

libssl-dev
libpcap-dev
libexpat1-dev

These are also desirable:
athena-jot

For example:
sudo apt-get install git-core python-dev libssl-dev libpcap-dev libexpat1-dev athena-jot
=====================================================

Are the following supported on the plug?
libssl-dev
libpcap-dev
libexpat1-dev
git-core python-dev
libssl-dev
libpcap-dev
libexpat1-dev
athena-jot

Thanks,
PC
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 429


View Profile WWW
« Reply #2 on: December 17, 2009, 06:13:11 PM »

avail.list is generated by: 
Code:
apt-cache search '.*' | sort > avail.list
I've run the installer v1.0, so have the default package list from that.

Code:
me@plug:/local/configs/packages$ for p in libssl-dev libpcap-dev libexpat1-dev git-core python-dev  libssl-dev libpcap-dev  libexpat1-dev  athena-jot; do grep $p avail.list; done
libssl-dev - SSL development libraries, header files and documentation
libpcap-dev - development library for libpcap (transitional package)
libexpat1-dev - XML parsing C library - development kit
git-core - fast, scalable, distributed revision control system
libboost-python-dev - Boost.Python Library development files
python-dev - Header files and a static library for Python (default)
libssl-dev - SSL development libraries, header files and documentation
libpcap-dev - development library for libpcap (transitional package)
libexpat1-dev - XML parsing C library - development kit
athena-jot - print out increasing, decreasing, random, or redundant data, one per line
So they are all there.
Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #3 on: December 18, 2009, 11:05:20 PM »

Hi,

I downloaded the ProjectCCNx-ccnx-3c13f88.tar into the plug.

./configure worked ok


got the following errors:
=============================================================
root@debian:/home/ccnx/ProjectCCNx-ccnx-3c13f88# make
for i in csrc schema javasrc doc/technical apps/ccnChat apps/ccnFileProxy; do         \
          (cd "$i" && pwd && make default) || exit 1;   \
        done
/home/ccnx/ProjectCCNx-ccnx-3c13f88/csrc
make[1]: Entering directory `/home/ccnx/ProjectCCNx-ccnx-3c13f88/csrc'
test -d include/ccn || (test -d ../include/ccn && mkdir -p include && ln -s ../../include/ccn include/ccn)
for i in lib ccnd libexec cmd util tests; do         \
          (cd "$i" && pwd && make -f ../conf.mk -f dir.mk -f ../subr.mk "COPT=-g" CFLAGS='$(REAL_CFLAGS)' SRCDIR=..//$i default) || exit 1; \
        done
/home/ccnx/ProjectCCNx-ccnx-3c13f88/csrc/lib
make[2]: Entering directory `/home/ccnx/ProjectCCNx-ccnx-3c13f88/csrc/lib'
cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC  -c ccn_digest.c
ccn_digest.c:21:25: error: openssl/sha.h: No such file or directory
ccn_digest.c:28: error: expected specifier-qualifier-list before 'SHA256_CTX'
ccn_digest.c: In function 'ccn_digest_init':
ccn_digest.c:77: warning: implicit declaration of function 'SHA256_Init'
ccn_digest.c:77: error: 'struct ccn_digest' has no member named 'sha256_ctx'
ccn_digest.c: In function 'ccn_digest_update':
ccn_digest.c:87: warning: implicit declaration of function 'SHA256_Update'
ccn_digest.c:87: error: 'struct ccn_digest' has no member named 'sha256_ctx'
ccn_digest.c: In function 'ccn_digest_final':
ccn_digest.c:98: warning: implicit declaration of function 'SHA256_Final'
ccn_digest.c:98: error: 'struct ccn_digest' has no member named 'sha256_ctx'
make[2]: *** [ccn_digest.o] Error 1
make[2]: Leaving directory `/home/ccnx/ProjectCCNx-ccnx-3c13f88/csrc/lib'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/ccnx/ProjectCCNx-ccnx-3c13f88/csrc'
make: *** [default] Error 1
root@debian:/home/ccnx/ProjectCCNx-ccnx-3c13f88#
=============================================================

Any help would be great. would like to get this working on the plug asap!

Thanks,
PC.
Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #4 on: December 18, 2009, 11:20:52 PM »

need to do  'apt-get install expat libexpat1 libexpat1-dev'

Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #5 on: December 18, 2009, 11:44:15 PM »

list of all the apt-get commands to get CCNx compiling correctly:

apt-get update                        (someone recommended this one)
apt-get install gcc                     (plug didnt come with gcc by default)
apt-get install package-dev     (this too)
apt-get install make                 (didnt come with make)
apt-get install libssl-dev            (to fix compile issues)
apt-get install libexpat1-dev    (to fix compile issues)
apt-get install tcpdump            (to fix compile issues)
apt-get install libpcap0.8-dev  (to fix compile issues)

ccnd gets created. now to try and run it. monday!

make test    (one of the test fails though)

PC
Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #6 on: December 21, 2009, 03:38:56 PM »

Got it to compile and have the ccnd daemon running. Trying to run some basic tests. Will post more later.

Thanks,
PC.
Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #7 on: December 22, 2009, 01:09:19 AM »

Download 'ant' and do a 'make' with 'ant' installed.
The latest codebase is more stable in Java rather than C.
Though the daemon is in C, all the test utils are better in Java.
Logged

plugcrazy
Jr. Member
**

Karma: 1
Posts: 64


View Profile
« Reply #8 on: December 23, 2009, 06:17:51 PM »

My take is that with CCN, the plug has the potential to turn into a serious networking device. Its going to be fun experimenting next year. Need to order some 32Gig SDHC cards before that :-).

Thanks,
PC.

Logged

Pages: [1]
Print
Jump to: