Jennifer Richards [Tue, 6 Dec 2016 22:33:32 +0000 (17:33 -0500)]
Fix bugs related to handling TID responses. Fix a few memory leaks.
Jennifer Richards [Thu, 1 Dec 2016 21:21:40 +0000 (16:21 -0500)]
Fix segfaults related to copying DH parameters.
Jennifer Richards [Wed, 30 Nov 2016 22:12:20 +0000 (17:12 -0500)]
Support multiple AAA servers. Compiles but untested.
Jennifer Richards [Wed, 23 Nov 2016 17:52:58 +0000 (12:52 -0500)]
Add timed blocking to tr_mq_pop().
Jennifer Richards [Wed, 23 Nov 2016 13:30:38 +0000 (08:30 -0500)]
Add tr_dup_dh_params() to make copy of DH parameters.
Jennifer Richards [Fri, 18 Nov 2016 20:31:38 +0000 (15:31 -0500)]
Listen for tids clients on all TCP interfaces.
Jennifer Richards [Thu, 17 Nov 2016 16:12:29 +0000 (11:12 -0500)]
Merge fix from debian build machine.
Jennifer Richards [Thu, 17 Nov 2016 16:12:12 +0000 (11:12 -0500)]
Add IPv6 support to tids.
Jennifer Richards [Thu, 17 Nov 2016 16:10:09 +0000 (11:10 -0500)]
Add missing cast.
Jennifer Richards [Sat, 12 Nov 2016 02:14:54 +0000 (21:14 -0500)]
Open all ports for servers. Disallow IPv4-mapped IPv6 addrs.
Jennifer Richards [Fri, 11 Nov 2016 21:30:53 +0000 (16:30 -0500)]
Support IPv6 for TRP connections.
Jennifer Richards [Fri, 11 Nov 2016 19:57:50 +0000 (14:57 -0500)]
Begin adding IPv6 support. Active GSS connections now work.
Jennifer Richards [Mon, 7 Nov 2016 20:36:48 +0000 (15:36 -0500)]
Enforce single COI->APC mapping.
Jennifer Richards [Mon, 7 Nov 2016 17:22:21 +0000 (12:22 -0500)]
Fix community table sweep / removal. Trust router now stable.
Jennifer Richards [Thu, 27 Oct 2016 18:21:41 +0000 (14:21 -0400)]
Don't send communities in triggered updates. Comms now flood!
Community flooding appears to be functional. Does not yet do
correct loop prevention (mismatch between peer labels prevents
detection) or expiration of abandoned community memberships.
Jennifer Richards [Wed, 26 Oct 2016 20:53:59 +0000 (16:53 -0400)]
Handle community updates when received. Builds, not tested.
Jennifer Richards [Tue, 25 Oct 2016 20:59:49 +0000 (16:59 -0400)]
Fix segfault issues. Comm updates now sent, but ignored.
Jennifer Richards [Wed, 19 Oct 2016 19:57:12 +0000 (15:57 -0400)]
Gather/send community updates. Refactoring. Builds, not tested.
Jennifer Richards [Wed, 19 Oct 2016 15:11:41 +0000 (11:11 -0400)]
Remove stray semicolon.
Jennifer Richards [Fri, 14 Oct 2016 18:42:39 +0000 (14:42 -0400)]
Use GArray for route update gathering.
Jennifer Richards [Thu, 13 Oct 2016 22:16:18 +0000 (18:16 -0400)]
Fix several minor bugs affecting config file reading.
Jennifer Richards [Thu, 13 Oct 2016 20:59:28 +0000 (16:59 -0400)]
Remove forgotten merge cruft.
Jennifer Richards [Thu, 13 Oct 2016 20:51:12 +0000 (16:51 -0400)]
Fix pointer error.
Jennifer Richards [Thu, 13 Oct 2016 19:46:57 +0000 (15:46 -0400)]
Refactoring to enable community flooding. Partially tested.
Jennifer Richards [Thu, 29 Sep 2016 18:32:48 +0000 (14:32 -0400)]
Remove debug calls to talloc_report_full().
Jennifer Richards [Thu, 29 Sep 2016 15:31:25 +0000 (11:31 -0400)]
Send all msgs in trpc outgoing queue, not just the first.
Jennifer Richards [Tue, 27 Sep 2016 19:35:18 +0000 (15:35 -0400)]
Move community/realm out of inforec and into update message.
Jennifer Richards [Mon, 26 Sep 2016 18:04:51 +0000 (14:04 -0400)]
Add fields to TR_COMM records. Add accessor functions.
Jennifer Richards [Mon, 26 Sep 2016 17:07:35 +0000 (13:07 -0400)]
Add macros to simplify usage of several _add() functions.
Jennifer Richards [Fri, 23 Sep 2016 22:35:45 +0000 (18:35 -0400)]
Update trust_router.spec, fix version in configure.ac
Jennifer Richards [Wed, 21 Sep 2016 18:16:52 +0000 (14:16 -0400)]
Merge branch 'master' into debian
Jennifer Richards [Wed, 21 Sep 2016 16:53:49 +0000 (12:53 -0400)]
Fix another makefile bug.
Jennifer Richards [Wed, 21 Sep 2016 16:17:38 +0000 (12:17 -0400)]
Additional makefile updates.
Jennifer Richards [Wed, 21 Sep 2016 15:34:37 +0000 (11:34 -0400)]
Merge branch 'master' into debian
Jennifer Richards [Wed, 21 Sep 2016 15:34:19 +0000 (11:34 -0400)]
Remove automatically created files.
Jennifer Richards [Wed, 21 Sep 2016 15:32:54 +0000 (11:32 -0400)]
Fix compiler options
Jennifer Richards [Tue, 20 Sep 2016 19:09:49 +0000 (15:09 -0400)]
Update version, dependencies, and changelog.
Jennifer Richards [Tue, 20 Sep 2016 14:47:22 +0000 (10:47 -0400)]
Update package install file.
Jennifer Richards [Mon, 19 Sep 2016 20:41:44 +0000 (16:41 -0400)]
Remove autogenerated files.
Jennifer Richards [Mon, 19 Sep 2016 20:11:14 +0000 (16:11 -0400)]
Merge remote-tracking branch 'jlr/master' into debian
Jennifer Richards [Mon, 19 Sep 2016 20:08:39 +0000 (16:08 -0400)]
Fix build for t_constraint.c test binary.
Jennifer Richards [Wed, 14 Sep 2016 01:20:01 +0000 (21:20 -0400)]
Add copyright statement missing from recently added files.
Jennifer Richards [Tue, 13 Sep 2016 20:24:36 +0000 (16:24 -0400)]
Clean up compiler warnings.
Jennifer Richards [Tue, 13 Sep 2016 20:14:45 +0000 (16:14 -0400)]
Don't ignore asprintf return value.
Jennifer Richards [Mon, 19 Sep 2016 19:33:43 +0000 (15:33 -0400)]
Clean up Makefile.am to produce libtr_tid
Jennifer Richards [Sat, 10 Sep 2016 22:55:08 +0000 (18:55 -0400)]
Change spec "match" field back to a single string instead of array.
Jennifer Richards [Fri, 9 Sep 2016 20:33:22 +0000 (16:33 -0400)]
Fixes so that all binaries build cleanly.
Not all test programs have been run recently, some may not work or may
have incomplete test coverage. The changes to Makefile.am were enough
to get "make" to run, but probably need more work to be optimal.
Jennifer Richards [Fri, 9 Sep 2016 18:56:31 +0000 (14:56 -0400)]
Merge branch 'master' into jennifer/trp-devel
Jennifer Richards [Fri, 9 Sep 2016 15:47:49 +0000 (11:47 -0400)]
Remove debugging code.
Jennifer Richards [Thu, 8 Sep 2016 17:53:25 +0000 (13:53 -0400)]
Return success after updating peer. Additional debug messages.
Jennifer Richards [Wed, 7 Sep 2016 19:13:56 +0000 (15:13 -0400)]
Install callback to request routes when connections established.
Jennifer Richards [Wed, 7 Sep 2016 17:55:16 +0000 (17:55 +0000)]
Bug fixes to make TID forwarding work between trust routers.
- use server hostname instead of GSS name as next_hop in routes
- don't segfault when finding selected route if none selected
- report useful message on error in JSON parsing
Jennifer Richards [Tue, 6 Sep 2016 17:16:48 +0000 (13:16 -0400)]
Check h_errno instead of errno on gethostbyname() failure.
Jennifer Richards [Fri, 2 Sep 2016 23:57:49 +0000 (19:57 -0400)]
Merge branch 'jennifer/trp-devel' of repository.project-moonshot.org:/srv/git/trust_router into jennifer/trp-devel
Conflicts:
common/tr_config.c
Jennifer Richards [Fri, 2 Sep 2016 22:12:17 +0000 (18:12 -0400)]
Add option for "remote" IDP realms. Compiles but not tested.
Jennifer Richards [Fri, 2 Sep 2016 22:12:17 +0000 (18:12 -0400)]
Add option for "remote" IDP realms. Compiles but not tested.
Jennifer Richards [Thu, 1 Sep 2016 15:39:10 +0000 (11:39 -0400)]
Fix several bugs preventing TID requests from functioning.
- Partial implementation of config file print for debug
- Fix a few possibly unitialized values
- Pass TRPS_INSTANCE to tids event for route lookups
- Return 0 on success from tr_tids_req_handler()
- Return null on no match from trp_rtable_get_selected_entry()
Jennifer Richards [Wed, 31 Aug 2016 20:38:48 +0000 (16:38 -0400)]
Initialize TID_RESP values in constructor.
Jennifer Richards [Thu, 25 Aug 2016 20:18:14 +0000 (16:18 -0400)]
Forgot to check in a couple of files.
Jennifer Richards [Thu, 25 Aug 2016 18:41:19 +0000 (14:41 -0400)]
Use default set of filters for RP clients with none specified.
Jennifer Richards [Wed, 24 Aug 2016 15:44:29 +0000 (11:44 -0400)]
Look up TRPC with service name, not gss name.
Jennifer Richards [Tue, 23 Aug 2016 21:12:51 +0000 (17:12 -0400)]
Peer organizations now parsed and added to peer table.
This is feature completeness for initial Dynamic Trust Router
release, not yet debugged.
Jennifer Richards [Mon, 22 Aug 2016 19:20:59 +0000 (15:20 -0400)]
Parsing of local organizations now functional.
Jennifer Richards [Mon, 22 Aug 2016 15:49:35 +0000 (11:49 -0400)]
Parsing new-style config files partially working.
Still need to add APC/community parsing and peer table parsing.
Jennifer Richards [Fri, 19 Aug 2016 20:41:10 +0000 (16:41 -0400)]
Parse RP clients from new-style configuration files.
Jennifer Richards [Thu, 18 Aug 2016 18:06:26 +0000 (14:06 -0400)]
New-style configuration file loading partially implemented.
Jennifer Richards [Fri, 12 Aug 2016 21:18:56 +0000 (17:18 -0400)]
Reimplementing tr_config.c to use new config file format. Not done.
IDP realms should decode, but not yet compiled or tested.
Jennifer Richards [Thu, 11 Aug 2016 15:32:35 +0000 (11:32 -0400)]
Fix memory leak in tids.c.
Jennifer Richards [Wed, 10 Aug 2016 18:35:59 +0000 (14:35 -0400)]
Create/destroy TR_APC structures.
Jennifer Richards [Wed, 10 Aug 2016 18:29:01 +0000 (14:29 -0400)]
Merge branch 'master' into jennifer/trp-devel
Conflicts:
common/tr_config.c
common/tr_name.c
include/tr_config.h
include/trust_router/tid.h
tr/tr_main.c
Jennifer Richards [Wed, 10 Aug 2016 17:36:17 +0000 (13:36 -0400)]
Bump versions to 1.5.2 in a couple places.
Jennifer Richards [Wed, 10 Aug 2016 12:38:21 +0000 (08:38 -0400)]
Attempt to route TID requests using routing table. Unstable.
Checking in before beginning configuration file work. Connections between
trust routers are unreliable and need to be debugged.
Jennifer Richards [Thu, 4 Aug 2016 16:45:14 +0000 (12:45 -0400)]
Introduce "remote" routes that we know about but cannot contact directly.
Jennifer Richards [Thu, 4 Aug 2016 02:26:18 +0000 (22:26 -0400)]
Properly respond to wildcard route requests.
Jennifer Richards [Thu, 4 Aug 2016 02:17:15 +0000 (22:17 -0400)]
Wildcard route requests now working.
Jennifer Richards [Wed, 3 Aug 2016 17:05:07 +0000 (13:05 -0400)]
Requests nearly work, but not quite.
Issue: the request can go out before the return connection for the
peer to respond has been established, so the reply does not get sent.
Checking in before reworking detection that a peer is connected.
Jennifer Richards [Tue, 2 Aug 2016 21:37:32 +0000 (17:37 -0400)]
Partial handling of incoming route requests.
Jennifer Richards [Tue, 2 Aug 2016 15:29:12 +0000 (11:29 -0400)]
Fix memory freeing bugs. Seems stable, even through loss of connections.
Jennifer Richards [Tue, 2 Aug 2016 15:28:41 +0000 (11:28 -0400)]
Whitespace change, remove debug printf.
Jennifer Richards [Tue, 2 Aug 2016 15:24:28 +0000 (11:24 -0400)]
Leave SIGPIPE handling alone. Caller must disable or handle that.
Jennifer Richards [Wed, 27 Jul 2016 16:18:14 +0000 (12:18 -0400)]
Send triggered updates (not really tested).
Jennifer Richards [Wed, 27 Jul 2016 14:41:10 +0000 (10:41 -0400)]
Only compute routes for connected peers. Other progress.
Jennifer Richards [Wed, 27 Jul 2016 14:40:45 +0000 (10:40 -0400)]
Remove unused debug printf.
Jennifer Richards [Tue, 26 Jul 2016 20:18:30 +0000 (16:18 -0400)]
Use correct default TRP port.
Jennifer Richards [Tue, 26 Jul 2016 18:26:49 +0000 (14:26 -0400)]
Initialize route table with local routes. Fix bugs.
Jennifer Richards [Wed, 20 Jul 2016 04:02:27 +0000 (00:02 -0400)]
Connect to hard-coded peer and exchange route info. Buggy and incomplete.
Jennifer Richards [Mon, 18 Jul 2016 19:43:12 +0000 (15:43 -0400)]
Generate scheduled updates. Untested, but builds.
Jennifer Richards [Sat, 16 Jul 2016 05:14:08 +0000 (01:14 -0400)]
Test peer table and update selection functions. Seem to work.
Jennifer Richards [Fri, 15 Jul 2016 21:02:01 +0000 (17:02 -0400)]
Select route updates for a given peer (not yet tested).
Jennifer Richards [Fri, 15 Jul 2016 19:00:53 +0000 (15:00 -0400)]
Basic peer table, hard coded for testing.
Jennifer Richards [Fri, 15 Jul 2016 16:37:05 +0000 (12:37 -0400)]
Peer table (work in progress).
Jennifer Richards [Thu, 14 Jul 2016 19:54:50 +0000 (15:54 -0400)]
Sweep for expired routes. Sweeps every two seconds for now, not yet configurable.
Jennifer Richards [Thu, 14 Jul 2016 18:13:24 +0000 (14:13 -0400)]
Remove extraneous newline
Jennifer Richards [Fri, 1 Jul 2016 21:05:47 +0000 (17:05 -0400)]
Select active route after updates to the route table.
Jennifer Richards [Fri, 1 Jul 2016 19:24:32 +0000 (15:24 -0400)]
Update the routing table when TRP updates are received.
Jennifer Richards [Fri, 1 Jul 2016 15:02:12 +0000 (11:02 -0400)]
Update route table when a TRP update is received. Not tested.
Jennifer Richards [Thu, 30 Jun 2016 16:32:37 +0000 (12:32 -0400)]
Add next_hop field to route update record, filled in locally.
Jennifer Richards [Thu, 30 Jun 2016 01:47:07 +0000 (21:47 -0400)]
Improved, sorted printing, provide _to_str methods.
Jennifer Richards [Thu, 30 Jun 2016 01:45:25 +0000 (21:45 -0400)]
Do a signed compare suitable for sorting TR_NAMEs.
Jennifer Richards [Wed, 29 Jun 2016 20:15:05 +0000 (16:15 -0400)]
Fully test trp_rtable code. All tests pass.