www.project-moonshot.org Git - trust_router.git/atom - CMakeLists.txt history Moonshot Trust Router http://www.project-moonshot.org/gitweb?p=trust_router.git root static/git-favicon.png static/git-logo.png 2018-05-30T00:40:26Z gitweb Add internet address/hostname validators in tr_inet_util.[ch] 2018-05-30T00:40:26Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-05-30T00:40:26Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=41909048254f861176a0653a895ac2b6ccc7db6d
Add internet address/hostname validators in tr_inet_util.[ch]
  • [D] CMakeLists.txt
Move AAA server methods out of tr_idp.[ch] into their own files 2018-05-24T15:43:31Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-05-24T15:43:31Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=63c68b472c64d36c2084b7c430f3f2284338941b
Move AAA server methods out of tr_idp.[ch] into their own files

  * Create tr_aaa_server.[ch], move methods out of tr_idp.[ch]
    - Existing methods unchanged
  * Add port to TR_AAA_SERVER
  * Add get/set methods for hostname/port
  * Update makefiles
  • [D] CMakeLists.txt
Move repeated #defines into tr_json_util.h and add documentation 2018-05-07T18:06:43Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-05-07T18:06:43Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=cb18e83e9f4edd62e5316c19fa5870d46b10ffd4
Move repeated #defines into tr_json_util.h and add documentation
  • [D] CMakeLists.txt
Use TR_LIST for domain/realm constraint matches 2018-04-24T15:48:27Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-24T15:48:27Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=ed0e52ffb183d23ac6ece9d631c6a85c87efe5dd
Use TR_LIST for domain/realm constraint matches
  • [D] CMakeLists.txt
Add a generic TR_LIST type, use for TR_FILTER's 'lines' member 2018-04-23T15:01:55Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-23T15:01:55Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=cb969dbf6afbbd1e2d99c615c664348a2d3295c5
Add a generic TR_LIST type, use for TR_FILTER's 'lines' member
  • [D] CMakeLists.txt
Break tr_config.c into smaller chunks 2018-04-20T19:17:36Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-20T19:17:36Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=827e90d7c20b4b25615164d38879af52dce5c470
Break tr_config.c into smaller chunks

No functional changes
  • [D] CMakeLists.txt
Support 'show serial' monitoring request 2018-04-20T18:47:12Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-20T18:47:12Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=d664bc94214d7e40ae2db26d2f88c98aa838f740
Support 'show serial' monitoring request
  • [D] CMakeLists.txt
Add encoders for tr_filters, include in peer and rp_client encoders 2018-04-19T23:35:20Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-19T23:35:20Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=847b3dbd866aedd0a376524241981f029a1a8ff8
Add encoders for tr_filters, include in peer and rp_client encoders
  • [D] CMakeLists.txt
Separate tr_rp and tr_rp_client into separate modules 2018-04-19T21:27:17Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-19T21:27:17Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=66a710607cd6118b98a8cfc3e6343f1f09afbeb5
Separate tr_rp and tr_rp_client into separate modules

No functional changes
  • [D] CMakeLists.txt
Add support for show communities monitoring request 2018-04-19T18:54:39Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-19T18:54:39Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=9195b8f0acdb64676072322c06131e6ceda123ce
Add support for show communities monitoring request
  • [D] CMakeLists.txt
Split trp_ptable into trp_ptable, trp_peer, and _encoders modules 2018-04-19T16:14:18Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-19T16:14:18Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=9da61f0871476e2cb7f678b347d7b4e5db834b20
Split trp_ptable into trp_ptable, trp_peer, and _encoders modules

No functional changes
  • [D] CMakeLists.txt
Support "show routes" monitoring request 2018-04-19T15:51:28Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-19T15:51:28Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=58b2b02987b9258df50b95f9741140bf382a703a
Support "show routes" monitoring request

  * Separate _to_string and _to_json functions into _encoders.c files
    for trp_rtable and trp_route
  * Add monitoring handler to call trp_rtable_to_json()
  • [D] CMakeLists.txt
Separate trp_route and trp_rtable, move timespec_to_str to tr_util.c 2018-04-19T14:55:02Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-19T14:55:02Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=32112416992e9619622b5e9b7a6a7fe4eda992c2
Separate trp_route and trp_rtable, move timespec_to_str to tr_util.c

No functional changes
  • [D] CMakeLists.txt
Add TID_REQ_COUNT handler 2018-04-18T15:41:06Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-18T15:41:06Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=283699f7ec7db8a8ebe322ccb2568910b5c8701c
Add TID_REQ_COUNT handler

  * Add a separate source file for TID-related monitoring handlers
  * Increment tids->req_count in the main process, otherwise it will
    always seem to be zero. This does mean any connection to the TID
    port is counted as a tid request, which is not perfect.
  *
  • [D] CMakeLists.txt
Get rid of CLion warnings about undefined PACKAGE_* macros 2018-04-18T14:09:10Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-18T14:09:10Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=c75a2def74110e1f6273326001c215ad0685c645
Get rid of CLion warnings about undefined PACKAGE_* macros
  • [D] CMakeLists.txt
Replace static monitor handler tables with dynamic handler registry 2018-04-18T03:38:27Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-18T03:38:27Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=733b18697117cbc63ab3d9e44510c9850916ec90
Replace static monitor handler tables with dynamic handler registry

  * Keep a list of handlers as part of MONS_INSTANCE
    - each handles a command/opt_type pair
    - registered via mons_register_handler()
  * Scan the list of handlers when servicing a monitoring request
  * Add handlers for version and uptime, registered through tr_main.c
    (probably need to move these, but this works as a demo)
  • [D] CMakeLists.txt
First functional monitoring server - can return the trust router version 2018-04-17T18:15:53Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-17T18:15:53Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=3d175240ef0a8e0b465994e881ef98548a39091a
First functional monitoring server - can return the trust router version
  • [D] CMakeLists.txt
First steps toward actually handling monitoring requests 2018-04-17T16:58:44Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-17T16:58:44Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=cbe31f4852e07f590a1728b408596d12aa7d662f
First steps toward actually handling monitoring requests
  • [D] CMakeLists.txt
Refactor tidc/monc to better share code 2018-04-16T21:32:01Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-16T21:32:01Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=6491f2a660c3183b210b968a939eaa18f1b44a09
Refactor tidc/monc to better share code

  * Implement minimal decoding of monitoring responses
  * Add tr_gss_client.[ch] to house GSS req/resp message exchange
  * Always use 'payload' as the key for MON_RESP payload, don't name it
    after the command that it is responding to
  * Use better reference count behavior for MON_RESP payload
  * Move typedefs out of mon_internal.h to mon.h to avoid cyclic header
    dependencies
  * Fix some minor integer type mismatches in option parser
  * Update various test programs to use extra argument to
    tr_msg_(en/de)code methods
  • [D] CMakeLists.txt
First pass at a trmon command-line interface; fix a few bugs 2018-04-13T21:02:18Z Jennifer Richards jennifer@painless-security.com Jennifer Richards jennifer@painless-security.com 2018-04-13T21:02:18Z http://www.project-moonshot.org/gitweb?p=trust_router.git;a=commitdiff;h=884dfb4e2fa13d09a0c84d4da0febfdfb75e1bf6
First pass at a trmon command-line interface; fix a few bugs

At this point, if you hack tr_mons_auth_handler() to always return 0
(success), then trmon can connect to the trust router's monitoring port
and retrieve a test message. That counts as first contact, I guess.
Actual functionality is still to come.

  * Create basic trmon utility based closely on tidc
  * Temporarily use void pointers for trps/tids handles in the MON_INSTANCE
    structure - there is a header file cycle that prevents compliation.
    Need to sort that out, but this works for the moment.
  * Fill in tr_msg handlers for monitoring message encoders/decoders
  * Revert to the monitoring msg decoder working from json, not a string,
    since that is what we need. This breaks the test programs for now.
  • [D] CMakeLists.txt