Commit Graph
308 Commits
Author SHA1 Message Date
Steve DiBenedetto 3a4f83dc7e mgmt, main: add "tables" configuration file section and processor
refs: #1623

Change-Id: If54097ba738381f7a75d755933e20b35387ff1d4
2014-06-13 17:10:41 -07:00
Alexander Afanasyev 0417d2adf7 tools: Add retrieval of ChannelStatus and StrategyChoice datasets
Change-Id: I55afae058845a934321ac242e80bc2b9ab6d9b15
Fixes: #1503, #1525, #1652
2014-06-13 12:27:40 -07:00
Steve DiBenedetto ef04f27892 face, mgmt: add channel status dataset publisher
Expose channel maps in protocol factories

Change-Id: I057b1bba638bfc9372867318653d71ba7d0e9888
Refs: #1631, #1653
2014-06-13 11:30:36 -07:00
Junxiao Shi 08d07a764e face: avoid multiple onFail events
refs #1497

Change-Id: I8fda3fea5cd8a314b30eef45da104109e9748afc
2014-06-10 20:41:42 -07:00
Alexander Afanasyev 281b916a35 tables: Adjust pre-allocated CS entry queue on Cs::setLimit call
Change-Id: I7611dfb671060864e40cadb707ad0a89f0359c07
Fixes: #1646
2014-06-09 08:44:03 +03:00
Steve DiBenedetto 3fff5614a5 mgmt: publish Strategy Choice dataset
refs: #1632

Change-Id: I4ed09d191433fd80071367e7b2ffcd2ac81c5c17
2014-06-07 22:35:39 -07:00
Alexander Afanasyev c87bbf8d7f face: "Closing" WebSocket face when WebSocket tunnel closes
Change-Id: Ief2d643b09469eac7fc92aa5139e41bcb8d1e210
Refs: #1637
2014-06-06 07:36:54 +03:00
Alexander Afanasyev b56c5b91e9 tests: Prevent false failures of test cases for Ethernet face
Change-Id: I2a767278560209c2e1ee88a3321e6b8e320039fb
Refs: #1393
2014-06-06 07:36:51 +03:00
Alexander Afanasyev 5959b014c5 mgmt: Reinitialize multicast faces and partially reload config file on HUP signal
The following elements from the config file are reloaded:
- effective user/group
- log levels
- multicast faces (enable/disable)
- security

Change-Id: I6ddf124702b30610dd0404d8fbaa9a9d800f02bf
Refs: #1584
2014-06-04 09:15:03 +03:00
Alexander Afanasyev 251f3c1317 face: fire onFail event on WebSocket and Ethernet face close
Change-Id: I3d24c7b2e5003253ff04dab68ec1a2cb37b7d023
Refs: #1637
2014-06-03 18:37:04 +03:00
Alexander Afanasyev f4e89b4000 src: Small improvements
Change-Id: I9850cd6ec2330482915f815d94a2ac2ccaeae7f1
2014-05-31 15:54:18 +03:00
Alexander Afanasyev 58ea458a10 build: Updated precompiled header support (enabled by default)
Change-Id: Iaab62c740ac87b84256a3f71d934760865a54be5
2014-05-31 15:51:18 +03:00
Junxiao Shi 5cc1e34aca core: FaceUri recognizes IPv4-mapped IPv6 address
refs #1635

Change-Id: I5fc54b3945fc77869a4531a31c1fc27e7c434447
2014-05-29 06:32:16 -07:00
Junxiao Shi b5888d2ed9 table: make StrategyChoice enumerable
refs #1633

Change-Id: I203d76645649cc8ef2e3dcfbd254fa4ebab6e9dc
2014-05-26 13:53:15 -07:00
Steve DiBenedetto 2599928409 mgmt: update face created Control Response with URI's canonical form
refs: #1619

Change-Id: I7c0304ce390de9757d2352e182a075ac902020d2
2014-05-22 15:27:06 -06:00
Junxiao Shi 02e32247ac fw: RttEstimator
refs #1568

Change-Id: Ife59d8d4715e293aec44f8fbe24582bb684452c4
2014-05-20 01:21:34 -07:00
Junxiao Shi a3295741d6 rib: fix FibAddNextHopCommand parameters
refs #1618

Change-Id: I6f8003bee785f0eaaadbf4fa3c5c8281a2cf48da
2014-05-16 22:40:10 -07:00
Junxiao Shi da006f5a05 fw: incoming Data pipeline avoid sending to inFace
refs #1556

Change-Id: I1e38e3142f9c6536180f2aa494d7e2032ad76c2d
2014-05-16 11:18:00 -07:00
Alexander Afanasyev b3893c9950 src: Updating code to compile with the latest ndn-cxx library
This commit includes updates against the latest Face API and replaces
uses of deprecated methods.

Change-Id: I33ad398d26f8faf9f9627ff329ce0936e0911ab2
2014-05-15 21:52:26 -07:00
Alexander Afanasyev 8552a38c1d build: Enabling ability to use precompiled headers and some other build fixes
Change-Id: If2b216e5674fc762338929026733f3dcb801bb1b
Refs: #1588
2014-05-15 21:52:23 -07:00
Junxiao Shi d938a6bb89 fw: Strategy::sendInterest allows changing Nonce
This commit also includes some tweaks in forwarding pipelines.

refs #1596

Change-Id: I65a4129be24089357b28fa9d35a3451e0d9ae258
2014-05-15 11:37:53 -07:00
Alexander Afanasyev f6980284e6 src: Remove unnecessary uses of boost::cref in make_shared and replace boost::cref/boost::ref with just cref/ref
In some cases, due to argument-dependent lookup, it is necessary to use
ndn::ref, instead of just ref.

Change-Id: I682180a007609535855f77511b49622154ad4f11
Refs: #1591
2014-05-15 09:52:28 -07:00
Alexander Afanasyev 39a7d6ab00 build: Fixing dependency detection
When detecting location of the library, `includes` and `libpath`
variables must be used instead of `cxxflags` and `linkflags` to specify
path to includes and path to the libraries.

Change-Id: I81048a9c80f3e743630a0e80231fc6290aa782ec
2014-05-12 17:29:57 -07:00
Alexander Afanasyev 0c3e93d341 docs: Updating README.md to include links to NFD's homepage and NFD wiki
Change-Id: I3ccc66826b2a366976db003396e99c46047c6ba8
2014-05-12 15:52:22 -07:00
Alexander Afanasyev f7bbe47a15 build: Small fix to support Python3
Change-Id: I8e6218522ee9f03c9d9ee6357609f9003cc0cbad
Refs: #1302
2014-05-11 21:39:15 -07:00
Junxiao Shi 66f91f87a3 table: PIT entry InRecord/OutRecord getters
refs #1569

Change-Id: I52d9516fa6154036904e163f918890579a745e4f
2014-05-10 23:58:08 -07:00
Alexander Afanasyev 37a05f6f2a startup: Adding example upstart scripts (e.g., for Ubuntu Linux)
Change-Id: Ia43e0e5e83d54d4f5bff2120ca3424b43849feb2
Refs: #1188
2014-05-10 14:07:52 -07:00
Alexander Afanasyev c6e6142aa1 startup: Adding launchd.plists to manage run of nfd/nrd on OSX
Change-Id: Ib457fe129ea6c514ab442ea57ecab84644c2e150
Refs: #1188
2014-05-10 14:07:01 -07:00
Alexander Afanasyev 47fc9400a3 docs: Small fix in FAQ
Change-Id: Ie08ac93eb47297d3ac52813b7230f7472f12a2e6
2014-05-10 14:06:57 -07:00
Davide Pesavento a4e71b4ee2 build: simplify Unix sockets check.
Change-Id: Ib7b8691aca2686deaadaf7215e05ad52ce950a68
2014-05-08 17:28:59 -07:00
Davide Pesavento f0ae4421a6 face: enable immediate mode for packet capture on EthernetFace.
Fixes #1511

Change-Id: I6551de8d650c5d14e27713258d958ac3c77a1649
2014-05-08 17:16:43 -07:00
Wentao Shang 53df163b62 face: Implement WebSocket channel, face, and factory.
Change-Id: Ic4dbb1abdbbdbec028746ba14b11be8ab9cc1edb
Refs: #1468
2014-05-08 17:16:43 -07:00
Alexander Afanasyev ff489a230a core: Fixing regression in PrivilegeHelper that prevented running as non-root
PrivilegeHelper was properly initialized only when general section was
present.  When section was omitted, s_privilegedUid/s_privilegedGid/s_normalUid/s_normalGid
variables was not properly initialized (set to 0), resulting in
exception during the subsequent PrivilegeHelper::drop call.

Change-Id: Iffd7f05e7e6c86d227da2c9b7920ca6e3b607211
2014-05-08 17:16:43 -07:00
Chengyu Fan 514ed5e913 nfd-status: Define format and implement --xml option
The ether URI format "ether://01:00:5e:00:17:aa" violates
the URI specification, so it has been changed to
ether://[01:00:5e:00:17:aa] in this commit.

refs: #1438

Change-Id: I1218374b75f919a5e1ab158bbab2e217e64aced3
2014-05-08 17:16:43 -07:00
Steve DiBenedetto 24b9a64298 core: add support for temporary privilege drop and elevation
Added "user" and "group" options to general section of configuration file.
NFD will attempt to set the effective group and user id to these values
after initializing all management modules.

Added privilege helper to drop and temporarily elevate privileges on demand.

Updated README.md with instructions to configure NFD to drop privileges.

Added handler for general confguration file section.

refs: #1370

Change-Id: Id27140ad2dc2ca14751058691511132a35649d58
2014-05-08 17:14:52 -07:00
Alexander Afanasyev 2618153134 docs: Documentation update for 0.1.0 release
Change-Id: I5d7c0f3b4242103d6ad4e864316fb50c3634f21b
NFD-0.1.0
2014-05-08 13:09:10 -07:00
Alexander Afanasyev b47d53842a build+core: Add printing of version number in daemons and tools
This commit also changes how version number is handled.  Version is now
fully controlled from top-level wscript.  In addition to that, a new
NFD_VERSION_BUILD_STRING macro is set to include more detailed
information, including commit ID (e.g., "0.1.0-rc1-1-g5c86570").

Change-Id: I448eb627e0c42dc814de1107cf7bb0dc94fa2a89
Refs: #1575
2014-05-06 18:42:04 -07:00
Junxiao Shi 262f53159e tools: create identity if not exists, obtain superuser privilege in nfd-start
refs #1570

Change-Id: I02c4c050d30d29df2b39f3b0c7dd111e6fc53a1f
2014-05-04 17:07:34 -07:00
Steve DiBenedetto 2e948b15ac core: Fix segfault in LoggerFactory::onConfig
refs: #1579

Change-Id: I5054880d9bc9b6185fab8d43fdaee194f7526965
2014-05-03 21:20:40 -07:00
hilata f4f86736b3 tools: add prefix registration after creating the resolved hub face
Change-Id: Iaf845e440ec627eaee48d16d16a13245c8e7ac59
refs: #1578
2014-05-03 21:27:21 -05:00
hilata 3a4eb5c504 tools: fix port number parsing in ndn-autoconfig client
Change-Id: Icb6405ff46e1af3e213350a1dd331393820624f2
refs: #1550
2014-05-03 17:57:30 -05:00
Alexander Afanasyev 5c865706db docs: Fixing broken link in installation instructions
Change-Id: I02bdf648df9334266de3592ae480e39dcb89f4fb
2014-05-01 23:54:41 -07:00
Alexander Afanasyev b305165282 rib: Properly terminate when a critical error occurs
Change-Id: I0acd44d0f0bba808f8a049527708cf01a6f56eaa
Fixes: #1567
NFD-0.1.0-rc1
2014-04-30 18:13:19 -07:00
Beichuan Zhang 55b8ed4b85 docs: update README and add RELEASE NOTES
Change-Id: Ifb79bda4d8cddc8002e244a090723c284c49a2c9
Refs: #1439
2014-04-30 18:13:19 -07:00
Yingdi Yu c8f214c4b6 security: Support wildcard in NFD configuration
Change-Id: Ie27abd2315be0adf2e813049208e9cb96d16aff5
Refs: #1559
2014-04-30 17:59:50 -07:00
Yingdi Yu e5224e9343 rib: Separate trust models for /localhost and /localhop RIB management commands
Change-Id: I10fd9a1c8a2e0e572ea28f6e97d57b0b5b9750c8
Refs: #1557
Refs: #1558
2014-04-30 17:51:11 -07:00
Junxiao Shi 2229503302 build: downgrade maybe-uninitialized from an error to a warning
maybe-uninitialized has false positives in gcc 4.8 due to
Boost ticket #9134 https://svn.boost.org/trac/boost/ticket/9134

refs #1560

Change-Id: I44e2456b31f3a102d4a447da0dc81c23efb31f3b
2014-04-30 14:42:12 -07:00
hilata 6ee6e07e6f docs: Adding manpages for the command-line tools
Change-Id: I3eba0d125f7da51696342edce1a2f1ee33a0471a
refs: #1446
2014-04-28 13:25:13 -07:00
Alexander Afanasyev 9a0c2d06b5 build: Disable installation of unit tests on ./waf install
Fixes #1547

Change-Id: Iee30f82b662a606f95ae0bfc9d2adac53c8aed4a
2014-04-28 12:00:29 -07:00
Alexander Afanasyev ce7520edcc rib: Fixing incorrect usage of RibRegisterCommand in RibManager::unregisterEntry
Change-Id: I3ef4a46ae6a012a4424e088369563bb590f330b1
Fixes: #1548
2014-04-28 09:40:06 -07:00