Commit Graph
54 Commits
Author SHA1 Message Date
root 1a792daaa3 feat(qsccp): Add QSCCP strategy 2023-12-18 12:49:43 +08:00
Eric Newberry 22974904d3 face: use /run/nfd.sock on Linux
refs #5039

Change-Id: I10902725912a8f194ce6da6590378c1029955f80
2020-04-07 19:33:57 -07:00
Davide Pesavento 69857c37c2 build+docs: switch to python3, refresh FAQ and INSTALL documents
Refs: #5095
Change-Id: Icdc0e9463b28c07783edbe392a9bc47136947e3b
2020-04-06 15:32:21 -04:00
Teng Liang 18c2b29e41 mgmt: use a separate validator for prefix announcements
This commit also configures the default prefix_announcement_validation
section in nfd.conf.sample to accept any prefix announcement.

refs: #5031
Change-Id: I82e34ce783dfe77c170dd02e78a4bc86faa0147a
2019-11-14 14:00:41 -05:00
Junxiao Shi eef49a922e face: parse face_system.netdev_bound config section
refs #3521

Change-Id: I803a1651d5b44e021ec7bedb8001e216c849b9ab
2018-11-10 12:19:36 +00:00
Chavoosh Ghasemi 32e7609edf table: Make LRU the default CS replacement policy
Change-Id: I01fe000544da9df860437ffc8869bc6b20e844c0
refs: #4728
2018-09-11 11:47:37 -07:00
Davide Pesavento a3148081ce core: reimplement logging using ndn-cxx's facility
Change-Id: Ifc7c5d70a61ad405dc1f1adfa522a2c0ad1586ab
Refs: #4580
2018-05-05 23:04:22 -04:00
Alexander Afanasyev ded17426c6 face: Configurable IP subnets for "local" TCP faces
Change-Id: Idaddfe4b2c304b552d2e132235f4c3d3e6c2ebcb
Refs: #4546
2018-04-11 19:23:41 -04:00
Alexander Afanasyev 3bdc1decf6 core: Add support for IPv6 subnets in Network::isValidCidr
This change effectively adds support for IPv6 subnets in white-/blacklists
of NetworkInterfacePredicate

Change-Id: I1962100329d398b4659c4d1a4a0975fa354af026
Refs: #4546
2018-04-09 19:25:14 +00:00
Eric Newberry 17d1849dec face: enable congestion marking by default on supported faces
refs #4465

Change-Id: Id545f83763f1ba27ba0d770fd4398948d6f20acf
2018-02-11 23:23:09 -07:00
Junxiao Shi c9b5e018ed mgmt: implement cs/config command
refs #4050

Change-Id: I86b050ac062855bad66197a775a502007e687d8d
2018-02-07 15:04:18 +00:00
Davide Pesavento 494a955b56 face: support non-listening UDP channels
This commit also improves coverage of the ProcessConfig
test suite for the various protocol factories.

Change-Id: Id9dbe2ca914e273f9225cd93db41bf714c714591
Refs: #4098
2018-02-05 02:31:20 -05:00
Eric Newberry 0c84164fd0 face: allow enabling/disabling congestion marking through config file
refs #4465

Change-Id: I888b83b1fdbe8e3fc36a902bf7af52147807d829
2018-01-22 01:00:16 +00:00
Md Ashiqur Rahman 8ce09032ff face: implement IPv6 UDP multicast transport
Change-Id: Ib6ab956354dbbba00694c7949fa9ee4639579879
Refs: #4222
2018-01-14 22:43:25 -05:00
Alexander Afanasyev 38fb251c44 Update security section in sample config for V2 certificate
Change-Id: I50225d5019040a85e6df3584fb48b6b6386ed56d
Refs: #4276
2017-09-17 18:33:44 -07:00
Chavoosh Ghasemi 60b7d51063 docs: Fix reference to ValidatorConfig documentation
Change-Id: I43d96c64d031ad318333de8613e589633e58b52e
refs: #4184
2017-09-15 13:07:27 -04:00
Davide Pesavento 46afec48ec face: unicast support in EthernetFactory
Change-Id: I1886a87d79a7194b3320a5417404b17a7290fa5d
Refs: #4012
2017-06-22 14:11:29 -04:00
Teng Liang bfea575095 face: configuration option to make Ethernet face "ad hoc"
Change-Id: I55aeb2ca38ec34365b2d5d951b9ca2d7b05f46b2
Refs: #4018, #3967
2017-03-29 04:51:10 +00:00
Teng Liang fe4fce3a3f face: configuration option to make UDP multicast face "ad hoc"
Change-Id: Ifd407f42e9646826697f73ab1890c819fce16857
Refs: #4018, #3967
2017-03-29 04:49:38 +00:00
susmit 21f22e692f core: enable wildcard matching on interface names for whitelist/blacklist
Change-Id: Iabf5084028d7e8c4a26ec5289c331f4a779c0bf7
Refs: #4009
2017-03-26 18:35:04 -04:00
Nick Gordon 9fcf123b19 rib: Enable Readvertise-to-NLSR
Change-Id: If50ffe740e8137ca2aeed67be219f6487153af9f
refs: #3818
2017-03-10 22:30:20 +00:00
Junxiao Shi c31080d470 mgmt: Create UDP multicast faces according to whitelist/blacklist
refs #1712

Change-Id: Ia957bb1a3a3a0108d06716bfb25ecd29c6952d62
2017-01-25 14:17:55 -05:00
Junxiao Shi b4a5acd890 mgmt: tables.cs_policy config option
refs #3148

Change-Id: Icf30bbe508c1c491949d9fcb433fdfa16842d312
2016-12-07 19:59:18 +00:00
susmit 91e1d7ce48 mgmt: create Ethernet multicast faces according to whitelist/blacklist
Refs: #1712

Change-Id: Iaabaeaf58e460c86ca58f9099b5c2b904a5a5c93
2016-10-26 20:45:02 -06:00
Junxiao Shi 88f5f7392b fw: change default UnsolicitedDataPolicy to drop-all
refs #2181

Change-Id: I5e70a6f7d025462e96e852159343b478c8404ea7
2016-09-03 07:11:37 +00:00
Junxiao Shi 9685cc5682 mgmt: tables.cs_unsolicited_policy config option
This commit introduces tests/check-typeid.hpp which provides
unit testing tools to validate runtime type information.

refs #2181

Change-Id: I987c9875517001ea82878cbe2646839a03ad54f3
2016-08-29 12:47:05 +00:00
Yanbiao Li d7c9636078 rib: redesign of remote prefix registration
Change-Id: I8418de6d5bb9615af898df5dbf9ed4cc2cb6a43a
Refs: #3211, #2413
2015-10-04 20:58:52 -07:00
Vince Lehman 63ab1bb27a mgmt: Add tables.network_region section in config file to populate NetworkRegionTable
refs: #3159

Change-Id: If049eea2baf64a22abc9437d3ec117dd0d27bbab
2015-09-07 21:50:11 -07:00
Junxiao Shi 67ba8d28df fw: rename BroadcastStrategy to MulticastStrategy
BroadcastStrategy is temporarily retained for backwards compatibility.

This commit also updates nfd.conf and ndn-autoconfig to use MulticastStrategy
in place of BroadcastStrategy.

refs #3011

Change-Id: I011f1cf75db26b3c93552f8322a0bba4ce8dd033
2015-08-21 21:21:28 -07:00
Junxiao Shi 0e092aee5c mgmt: revert router name configuration options
This reverts commit ee7c8441c8.
That implementation introduces a global static variable which conflicts with ndnSIM.

refs #3026

Change-Id: I803e2ab497f71ec259d96d7b094ba0d04718c344
2015-08-18 15:03:15 -07:00
Vince Lehman ee7c8441c8 mgmt: Add router name configuration options
refs: #3026

Change-Id: I44250476e7e7f25cbc2b40d6a59f64b55872b24a
2015-07-17 19:06:24 -07:00
Chengyu Fan addecff68b management: clarify the inconsistency in UDP face timeouts in nfd.conf
refs #2473

Change-Id: Iceeda5f03bc426dfab1e67cf508996d3fe96ac42
2015-02-18 07:18:29 -08:00
Alexander Afanasyev f08a7376e9 daemon+rib: Merge nrd and nfd into a single process (separate threads)
Change-Id: I41952d5b8ee29f109130c570e0d13ccad6970d2f
Refs: #2489
2015-02-15 12:43:49 -08:00
Steve DiBenedetto 158f73fce2 docs: Update config file instructions for disabling unix sockets
refs: #2190

Change-Id: Ie6001e561b5dd40813da95185c123935ee51baa4
2015-01-03 16:44:14 -07:00
Yanbiao Li b9d439d202 rib: remote prefix registration
resolve 3 bugs:

There are redundant registrations/unregistrations if loading the
config file multiple times.

Remote registration/unregistration will fail if localhop_security
is enabled.

Unstable RemoteRegistrator/UnregisterAdvanced test case.

Change-Id: I4437292e9f6c0e340c761ef7556a9bdc703ac06c
refs: #2294
2014-12-16 22:58:56 -08:00
Yanbiao Li c17de8379b rib: remote prefix registration
Change-Id: I0ee01317c213380481eed5c3a13cc19fb0b897ee
Refs: #2056
2014-11-26 21:24:58 -08:00
Steve DiBenedetto dbcb1a1192 mgmt: remove listen option from unix channel configuration
refs: #2188

Change-Id: I11adf075b03eab3d22f8160e5d619e3ed445dd29
2014-11-17 12:24:44 -07:00
Steve DiBenedetto c0640f5e97 mgmt: add config file-based strategy selection
refs: #2053

Change-Id: I76b5945768403578651429ca3170f29d9e66ad54
2014-11-05 09:52:54 -07:00
Yingdi Yu 676a55a780 rib: Change validator configuration since ValidatorConfig can check timestamp now
Refs: #1643

Change-Id: I0a0b55fc4b817d6c554de800cd483cdeb6af56b8
2014-06-19 09:02:41 -07:00
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
Wentao Shang 53df163b62 face: Implement WebSocket channel, face, and factory.
Change-Id: Ic4dbb1abdbbdbec028746ba14b11be8ab9cc1edb
Refs: #1468
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
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
Alexander Afanasyev 20d3144721 rib: Switch RibManager to use NFD RIB Management protocol
Change-Id: I725529a96b5ad4318e0e0a8c2bd61b84ae439a32
Refs: #1490
2014-04-20 00:30:23 -07:00
Alexander Afanasyev 89cf5e0b0c rib: Making single configuration file for both nrd and nfd
Change-Id: I4f03896459e8dc8564c44a7b610cd1351473d966
Refs: #1486, #1412
2014-04-17 18:01:42 -07:00
Giulio Grassi 6d7176dc43 face: bugfix of MulticastUdpFace receiving packets from all available NICs on Linux
Now on Linux the creation of MulticastUdpFace requires
CAP_NET_RAW capability if the name of the interface is specified

Change-Id: Iff53035371fb26c6ee40e1065a0935e5ed16dc60
Refs: #1475
2014-04-18 00:13:05 +02:00
Alexander Afanasyev 885a85bf90 build+face: Fixing regression that broke ethernet support
As of this commit, libpcap is required unless specifically disabled
using --without-libpcap parameter during configure stage.

Change-Id: Iec6f8bd9babfe4da193c98a49043b08319311106
Refs: #1472
2014-04-13 21:15:31 -07:00
Steve DiBenedetto 9515287da7 mgmt: add support for enabling/disabling IPv4 or v6 channels
refs: #1461

Change-Id: I00bda4098c9a7722bce9d498acce339809af3f01
2014-04-11 13:36:54 -06:00
Steve DiBenedetto bf6a93da4e core: change logging from environment variable to configuration file-based
GlobalConfigurationFixture uses unit-tests.conf to determine default
and module specific logging levels. Logging will gracefully default to
INFO if unit-tests.conf is not found. See unit-tests.conf.sample for a
sample configuration file.

refs: #1375, #1267

Change-Id: Ib0c4eb4149748e6658f94ef1afa23ddd3072c0fa
2014-03-31 20:46:51 -06:00