Commit Graph
482 Commits
Author SHA1 Message Date
Vince Lehman 27f1add26d util: Create Face with canonical FaceUri
refs: #1911

Change-Id: I13cc6522b5456d91a793365e33b2e53f9bd13e46
2014-10-21 08:38:40 -07:00
Junxiao Shi 92e5ffba6e tests: avoid usage of deprecated namespace ndn::Tlv
refs #2079

Change-Id: Iab8865fb607f8f3f2e530397f6224f37b0fc6a05
2014-10-19 09:45:55 -07:00
Ashlesh Gawande 5bf83175c3 src: Stop outdated LSA retrieval
refs: #1987

Change-Id: I5c2bbe75e4bb0a09d971a35db87591873f81a84b
2014-10-16 10:24:16 -05:00
Vince Lehman 20fe4a9cb0 route: Fix hyperbolic cost adjustment
refs: #1974

Change-Id: Ic96c94d978487bbef2804235b75aa227c350d941
2014-10-09 13:33:06 -07:00
Vince Lehman 942eb7b67d route: Fix FIB next hop removal bug
refs: #2018

Change-Id: Id107c04d4cdce9cc756acad5d262e5c1e0cc29a8
2014-10-08 16:01:09 -07:00
Vince Lehman f1aa52389a src: Sort names before std::set_difference
refs: #2029

Change-Id: I170f17cd69fd5a109913c6ebe9a13ab5552132a3
2014-10-08 12:51:25 -07:00
Vince Lehman 0913112f4a src: Assign 0 cost to hyperbolic direct neighbors
refs: #1975

Change-Id: I4349a7935d1defca4772c0b4bf806a4dd12a8e50
2014-10-08 12:35:28 -07:00
Vince Lehman e875d1f0e6 tests: Fix keychain and NextHop rounding error
Change-Id: Idd19c9a218363304dcf9fecb37a5cc2009b58cd0
2014-10-07 15:10:35 -05:00
Vince Lehman 9a7090334d route: Allow 0 cost in hyperbolic calculation
refs: #1982

Change-Id: I6ffe677d59dcb559f344b7d648600e9537d9c4f5
2014-10-02 11:25:28 -05:00
Vince Lehman 904c2413b2 comm: Stop SyncLogicHandler from fetching own LSAs
refs: #2005

Change-Id: I717a5258673dd5308fdf6561dbdb626ae4c74e9f
2014-10-01 17:22:36 -05:00
Vince Lehman 9f51efdbcb conf: Fix typos in security section
refs: #1985

Change-Id: I585ff9d6436db3102bc6860e428c95ca12fd6724
2014-09-18 14:47:55 -05:00
Vince Lehman 7c60329b07 src: Remove Scheduler instance from Nlsr class
refs: #1981

Change-Id: Iecbe9f975c2740ce04df8593ccde03486d4b7be8
2014-09-11 17:54:26 -05:00
Alexander Afanasyev c0b97af1cc build: Fix build error with python3
Change-Id: I2a35d66744330feefeb2c7f95a0f6e4e4c339358
Refs: #1956
2014-09-01 13:34:08 -07:00
Vince Lehman cb76aded0a src: Change adjacency status from uint32_t to enum
refs: #1946

Change-Id: Ic1abd2610061860d0ac183074395a1d3796e870a
2014-08-29 12:28:43 -07:00
Vince Lehman f99b87fe07 src: Add additional log levels
refs: #1935

Change-Id: Ie3ef3f04fbcadd8fb9ee6f3aade4a35bd2a88105
2014-08-29 11:58:18 -05:00
Alexander Afanasyev 7decbbf274 docs: Documentation updates
Change-Id: I7e10ba6bd1f70e779d5c2fc0437ff0f15828b312
Refs: #1923
NLSR-0.1.0
2014-08-25 09:45:47 -07:00
Vince Lehman b722b10127 docs: Update docs and add release notes
refs: #1923

Change-Id: I89968ef130e85068eb20cfd2b81e414a16d243b8
2014-08-24 19:53:11 -07:00
Vince Lehman 2afef66e23 docs: Update authors
Change-Id: I81fd43ce3127326f119bd5537ba3cfd121ea19ce
2014-08-24 19:37:24 -07:00
Vince Lehman 145064a15e route: Adjust cost to integer before registering
refs: #1907

Change-Id: I471cd2eafb65a8458b4f527a3c3d7ea6682f5627
2014-08-24 08:39:56 -07:00
Vince Lehman 1884108a33 route: Ensure nexthops are reregistered correctly
Reregister prefixes if nexthops don't change
Remove invalid nexthops instead of all of them
Cancel FibEntry expiration events before scheduling new ones
Remove FibEntry refreshing
Add grace period to LSA expiration

refs: #1892

Change-Id: I5136b6b0f52a47b6ba72e04b0cea81b85ebccd45
2014-08-24 10:30:12 -05:00
Vince Lehman 06cc3383dc src: Remove -p option from command line arguments
refs: #1904

Change-Id: I8e011281f7d0d9d41aa9e6797768f1756f48ff46
2014-08-22 13:06:28 -05:00
Alexander Afanasyev bc98fcfe37 ci: Add Jenkins build and testing scripts
Change-Id: Ifaa9dc8ba7c5185c0d20ea3a3784638cbb9efbaa
2014-08-20 10:26:40 -05:00
Alexander Afanasyev 411ee4bf23 config+lsdb: Retry retrieve each LSA for lsa-refresh-time
This commit also includes extension of the config file
(`lsa-interest-lifetime` parameter in general section)

Change-Id: Ifd01af8cc98d41f7bdc953799a280e4b4269a358
Refs: #1873, #1874
2014-08-20 10:26:34 -05:00
Alexander Afanasyev 8388ec6617 src: Small style corrections
Change-Id: I51d073e33f92c491667c2e3ac7ceab388db61a2e
2014-08-16 18:38:57 -07:00
Alexander Afanasyev db49f4e08b build: Add missing include
Change-Id: Ie02d8c3c1422f0652659a3674a0e3f06287e8a6d
2014-08-14 23:01:02 -07:00
akmhoque 060d302bf2 src: Changing prefix registration's flag and FaceMonitor
Refs: #1841 #1843

Change-Id: I7ab74d529cf6f9f54ec1db1415f54f36f2229723
2014-08-12 20:12:53 -05:00
akmhoque 48265996f2 src+docs: Clarifying README and remove unused option from usage
Refs: #1827

Change-Id: I171d7316548c0a94a81d9e8bdb73f6cdfc5f39f1
2014-08-10 09:13:17 -05:00
Yingdi Yu 191f5fa878 security: Change the starting time of NLSR certificate
Change-Id: I787964cb0200c6c91dea070154c91e5c55b8b478
2014-08-08 11:29:46 -07:00
akmhoque dcee936fe3 route: Fixing segfault issue for Hyperbolic Routing Table Calculation
Refs: #1815

Change-Id: I317259d299e4117f0846ed98c432b39d1404b643
2014-08-07 13:41:31 -05:00
akmhoque 102aea40d6 src: Adding retry in case of prefix registration fails
Change-Id: Ia124ab393c665b29f03216903128de98bd68de9d
2014-08-05 22:54:24 -05:00
akmhoque 443ad81ceb src: Deleting old NLSR's keys
Refs: #1804

Change-Id: I53438ea065f57470a05b30ee6332a38b1a56d4ba
2014-07-29 10:27:03 -05:00
akmhoque dfe615ffcb src: Fixing the unreachable faceUri issue
Refs: #1797

Change-Id: I002be1fcd54a0a443df93ed58dc01d335dba18ad
2014-07-29 10:18:51 -05:00
Todo Signorello 669d4a7ab7 docs: Wrong option to print FIB's content, instead you must provide -b
Change-Id: I8a7330d29bc0749bea06286f1a08f08e0654f056
2014-07-25 12:04:32 -07:00
akmhoque 0494c25213 src: Making NLSR a daemon process with -d option
Change-Id: Ia9a83adab0140d918ce6c4adc2023dd43fc0fe8d
2014-07-24 01:33:35 -05:00
akmhoque b5b3b4fb18 route: Fixing unregistration of fib entries
FaceMap was constructed from the face result of face registration.
But result gives a diffrent uri (instead of maia.cs.memphis.edu
it gives 141.225.11.107:6363). When unregistering it was not
working as NLSR tries to compare face uri of naming format. Fixed
that issue. Now unregistration of name prefixes works fine.

Change-Id: Iafb3790113f735b1bb0ea68360bf70d09ec54243
2014-07-23 16:36:59 -05:00
akmhoque 69c9aa98f0 src: Making shared_ptr<ndn::Data> to put to NFD
Change-Id: I2c8b0a322cbe2a848ba2be7d9e9639237a08878a
2014-07-23 15:15:05 -05:00
akmhoque bf11c5f1aa src: Setting neighbour router's FIB entry expiration to milliseconds::max()
Refs: #1786

Change-Id: I6d51338f9ceb358bb67cdb38feb148780f2f1577
2014-07-21 18:52:50 -05:00
akmhoque 393d4ffbb2 src: Fixing Fib refreshing
Change-Id: I14501dc1102cb68e75f31c0e2ea1b4600c0d5bcf
2014-07-16 19:12:50 -05:00
Alexander Afanasyev 1717b24efd route: Preventing small bug with accessing of unallocated memory
Change-Id: I79c2099b2400aca78bbdb6d7de2f68d3f659e2b6
2014-07-15 13:53:17 -07:00
akmhoque cc82753e8d docs: Adding README and details NLSR instructions
Change-Id: I038c7a07858a26ed97e64e98c259ad1fcc41c4b8
2014-07-11 10:21:41 -05:00
akmhoque 18f861a852 src: Added missing startNotification for face monitoring
Change-Id: Ib2aa3126c040a491353c175b77de5110dbd8414d
2014-07-07 18:32:04 -05:00
akmhoque 8e0252bf74 src: Error fixing
NLSR was crashing for using cref on local variable. Fixed that
and also added startNotification() in initialize method in nlsr.cpp

Change-Id: I2e326ae465f53bb518d83dfed3863882d4adcb98
2014-07-07 18:30:18 -05:00
akmhoque c04e7270d2 src: Recreating face in case of face deletion by NFD
Change-Id: Idd1d0b7f521e574ace38d6f671a682622d98209d
2014-07-04 10:04:03 -05:00
akmhoque dbee8e3766 src: Fix error in face creation
Change-Id: Ie9954ad9fad8871093b1801438c2ea6bfe30b986
2014-06-30 12:50:58 -05:00
akmhoque e176515758 src: Creating faces to neighbors explicitly by NLSR
Nlsr creates faces to all neighbors explicitly like nfdc create faces.
After successful creation of all faces Nlsr will proceed for further
processing. In case of failure in creating any face, Nlsr will exit
immediately by destroying the created faces.

Change-Id: If7f2ee2a406f4bfbacf0b7c51335a3dbbb44e167
2014-06-30 12:18:53 -05:00
akmhoque 50125a90f3 src: Changing LSA names to conform with specs
Change LSA names from /<network>/NLSR/LSA/<network>/<site>/<router-name>/<type>/<version>
to /<network>/NLSR/LSA/<site>/<router-name>/<type>/<version> to conform with the
NLSR specification document. http://redmine.named-data.net/projects/nlsr/wiki/Build_LSAs

Change-Id: I89c9aaee44cd1f3d286a29bd8eb5585bfa844b43
2014-06-30 08:54:24 -05:00
akmhoque 778f81b61b src: Replace implicit conversion of st::string to ndn::Name
Fixed two places where std::string was passed to function accepting ndn::Name.
Although no compilation error was shown, from NLSR log investigation it is
found that name is garbled in CentOs because of that string passing.

Refs: #1713

Change-Id: I8a9fc00144df383debaac1e1c418fca14617f113
2014-06-30 08:51:03 -05:00
akmhoque ad5fe95854 src: Configuration file processing bug fix
If configuration file not found NLSR should exit immediately. But It was not.
So fixed it by returning before loading if file not found.

Change-Id: Id824a2fab0c4556e6b45b928758b065c1fa5dc6f
2014-06-26 13:36:05 -05:00
Yingdi Yu 6a3a4ddb0a security: Adding test cases for validator
Change-Id: If89b0cafef7d03a3604073f2f2c05e3ea4edb600
2014-06-26 09:11:40 -07:00
akmhoque a816bee305 src: Changing nlsr to NLSR
Change-Id: I9df5b76b65ee3969f02612f4ec54a4e5a82673cf
2014-06-24 20:38:35 -07:00