Commit Graph
100 Commits
Author SHA1 Message Date
Jan Hutter 93a9a115de - parse_body improved 2005-11-17 11:19:45 +00:00
Jan Hutter 547172ff74 - check ike versions 2005-11-17 08:48:01 +00:00
Jan Hutter c4e75f5f1a - added logging of chunk_t's 2005-11-17 08:47:37 +00:00
Jan Hutter 6bf409865d started to implement process message 2005-11-17 08:47:11 +00:00
Jan Hutter 9da406cf36 - started to implement message type check 2005-11-17 08:46:05 +00:00
Jan Hutter 45b06d91ae - introduced new functions for version fetching 2005-11-17 08:45:40 +00:00
Jan Hutter d60a48f945 - added UDP socket 500 as default socket 2005-11-17 08:44:28 +00:00
Jan Hutter 28c734d72e - processing of incoming message in worker thread programmed 2005-11-16 17:20:03 +00:00
Jan Hutter 91443667d5 - spi_t replaced with u_int64_t 2005-11-16 16:50:13 +00:00
Jan Hutter de257bc0be - fixed bug of generator 2005-11-16 15:29:31 +00:00
Jan Hutter d5fc0f731d - tried to fix memory errors 2005-11-16 14:44:25 +00:00
Jan Hutter df917df71c - defined interface for each job and implemented incoming packet job and
initiate ike sa job
2005-11-16 14:43:13 +00:00
Jan Hutter 2b3183835a - job.h and job.c moved to directory jobs 2005-11-16 12:43:08 +00:00
Jan Hutter fe684f2a5e - logger manager is destroyed at end 2005-11-16 12:22:57 +00:00
Jan Hutter db7154547e - added number of working threads 2005-11-16 12:06:34 +00:00
Jan Hutter b52735dd5d - included globals.h 2005-11-16 12:05:49 +00:00
Jan Hutter 4cd9d1085f - fixed bug in naming of logger 2005-11-16 09:36:08 +00:00
Jan Hutter f4358cb24c - added context for DAEMON 2005-11-16 09:27:03 +00:00
Jan Hutter 7f3824c557 - randomizer_t written and tested 2005-11-16 08:36:31 +00:00
Jan Hutter d87cde0e07 - documentation of return values changed 2005-11-16 07:46:37 +00:00
Jan Hutter 9c6340cdc3 - added mappings for logger_context_t types
- added new logger_contex_t IKE_SA_MANAGER
2005-11-16 07:45:51 +00:00
Jan Hutter f0ddd8ae26 - refactored ike_sa_manager_t class 2005-11-16 07:45:05 +00:00
Jan Hutter 083254bb69 fixed bug in logger_manager 2005-11-16 07:01:08 +00:00
Jan Hutter 2a489f333d - nonce payload tested
- generator for nonce data written
2005-11-15 16:13:40 +00:00
Jan Hutter 8166bcec62 - notify payload written and tested 2005-11-15 15:58:03 +00:00
Jan Hutter 2dcb14b0ae Added encoding_type_t NOTIFICATION_DATA 2005-11-15 15:20:26 +00:00
Jan Hutter a6966a4801 - error in documentation fixed 2005-11-15 15:03:45 +00:00
Jan Hutter 1ecaff3119 - wrote ke_payload class 2005-11-15 15:02:46 +00:00
Jan Hutter 113f461ebe - wrote payload sa_payload
- wrote additions in generator sa_payload 
- wrote test for sa_payload
2005-11-15 14:59:47 +00:00
Jan Hutter 0c5c09227b - introduced new encoding type KEY_EXCHANGE_DATA 2005-11-15 14:08:54 +00:00
Jan Hutter 8bf27ddf4e - generator refactored 2005-11-15 10:50:24 +00:00
Jan Hutter 7031a50b08 - generator refactored 2005-11-15 10:42:07 +00:00
Jan Hutter 7f613a4bb6 - SA Payload is generated 2005-11-15 09:40:58 +00:00
Jan Hutter 8bf217e876 fixed bug with new function set_next_type 2005-11-15 09:16:53 +00:00
Jan Hutter 32cbc7bc82 - introduced set_next_type call for payload_t objects 2005-11-15 09:14:45 +00:00
Jan Hutter 2b9dd4678d - test of header payload rewritten 2005-11-15 08:52:48 +00:00
Jan Hutter a14dffd1cc - proposal_substructure written and tested 2005-11-14 17:24:18 +00:00
Jan Hutter bcf0c3afd4 - generating of proposal substructure 2005-11-14 17:23:59 +00:00
Jan Hutter 800b308c2a test for proposal substructure written 2005-11-14 17:23:24 +00:00
Jan Hutter 67978e0b4f - proposal substructure written, but not tested 2005-11-14 16:03:44 +00:00
Jan Hutter b3fd2b7207 - compute_length written 2005-11-14 16:03:26 +00:00
Jan Hutter f3c01a28fe - transform_substructure fully implemented
- generator now generates ransform_substructure and containing attributes
- test for transform substructure written
2005-11-14 15:29:35 +00:00
Jan Hutter f561c205e8 - class transform_attribute fully tested and written
- generating of this type works!
2005-11-14 13:51:49 +00:00
Jan Hutter b860cffd4f - defined all substructures for a SA payload 2005-11-14 12:04:06 +00:00
Jan Hutter da42afc5ec Introduced payload types sa_payload and proposal_substructure 2005-11-14 10:14:22 +00:00
Jan Hutter 1b89ef112e LENGTH is not anymore available 2005-11-14 10:13:49 +00:00
Jan Hutter 1509bd11e9 - introduced new field types 2005-11-14 09:54:59 +00:00
Jan Hutter 63b200abaa description changed 2005-11-14 09:05:15 +00:00
Jan Hutter 0063dae55a - payload ike_header cleaned
- header defines moved from message.h to ike_header.h
2005-11-14 09:00:33 +00:00
Jan Hutter 1e8bb886d1 - removed generator context object and implemented payload-interface in generator 2005-11-14 08:12:59 +00:00
Jan Hutter cf274de285 - daemon name added to this header 2005-11-11 11:20:45 +00:00
Jan Hutter 96d72d323d - fixed bug in logger_t not storing the name of it 2005-11-11 11:20:22 +00:00
Jan Hutter ffd555f58e - wrote logger_manager 2005-11-11 10:29:32 +00:00
Jan Hutter 525250c66a - wrote public functions to set and get important values of a message 2005-11-10 17:49:20 +00:00
Jan Hutter b7f1373006 added payload type for no payload 2005-11-10 17:48:53 +00:00
Jan Hutter 7c0dcf6316 - added OUT_OF_RES status_t 2005-11-10 17:48:19 +00:00
Jan Hutter 110dc83a3c generator now has its generator_context which is used to generate more
then one payload in sequence...
2005-11-10 17:17:46 +00:00
Jan Hutter c64d7032fe - started to implement message 2005-11-10 15:38:38 +00:00
Jan Hutter 3818e5c858 - wrote clone function for packed
- test for whole packet functionality
2005-11-10 15:38:12 +00:00
Jan Hutter 1473b8f6c9 - replaced long macros with functions 2005-11-10 15:28:47 +00:00
Jan Hutter 7330c172e1 - private function for every field type 2005-11-10 14:56:35 +00:00
Jan Hutter 55e3b3bda9 - added logger output 2005-11-10 14:22:41 +00:00
Jan Hutter 7d99566950 added global logger object 2005-11-10 14:22:18 +00:00
Jan Hutter dba9cf644c - included missing header file 2005-11-10 14:21:50 +00:00
Jan Hutter 77cd6b08bd Added log leve 2005-11-10 14:21:38 +00:00
Jan Hutter 8d033e9734 - fixed bug 2005-11-10 14:21:09 +00:00
Jan Hutter 87e7f9d740 - added clone functionality and chunk_t support 2005-11-10 13:42:38 +00:00
Jan Hutter c08ffafeb6 - source code documentation improved 2005-11-10 09:54:09 +00:00
Jan Hutter c3dc6f1aae objects in source documentation renamed from xy-object to xy object 2005-11-10 09:35:28 +00:00
Jan Hutter c7748338f2 - fixed bug in memory reallocation 2005-11-10 09:31:07 +00:00
Jan Hutter f4fae0beae - code documentation improved and made fully compatible with doxygen 2005-11-10 08:55:47 +00:00
Jan Hutter 1061c878a9 - linked_list, event_queue, send_queue and job_queue returns now
count directly
2005-11-10 08:44:17 +00:00
Jan Hutter ed7634e696 - Doxygen configuration refined 2005-11-10 08:43:18 +00:00
Jan Hutter 11975d5451 - source code fully documented 2005-11-10 08:21:12 +00:00
Jan Hutter 1dab9d0273 - source code documented 2005-11-10 08:16:47 +00:00
Jan Hutter 5f13726997 Configuration file to generate documentation from source code 2005-11-10 07:35:51 +00:00
Jan Hutter f5b44696ed - allocator functionality capsulated in a global object 2005-11-10 07:31:17 +00:00
Jan Hutter fd1a4d0a6b - code documentation cleaned 2005-11-09 17:20:05 +00:00
Jan Hutter f7c959098a 2005-11-09 17:03:07 +00:00
Jan Hutter 6b64b2b101 ms changed to us 2005-11-09 17:02:30 +00:00
Jan Hutter d44c7d2d67 - test output improved 2005-11-09 17:00:07 +00:00
Jan Hutter 33bb6b2a7e 2005-11-09 16:33:35 +00:00
Jan Hutter ef6fc6b82a - enabled all tests 2005-11-09 16:33:23 +00:00
Jan Hutter 3f2b457cdf - made function static 2005-11-09 16:32:50 +00:00
Jan Hutter 6ae4efda08 - source documented 2005-11-09 16:32:20 +00:00
Jan Hutter e6fbf1d259 - all header field types implemented and tested 2005-11-09 16:07:33 +00:00
Jan Hutter 74683cbdac - u int values can be generated: Not fully tested ! 2005-11-09 15:12:48 +00:00
Jan Hutter 762ce218e7 generation of uint implemented but not tested 2005-11-09 13:34:36 +00:00
Jan Hutter 4234c2d99d - cleaned up file (variable name changes, etc) 2005-11-09 10:24:35 +00:00
Jan Hutter 6c4b815f22 - memory allocation now works with allocator-functions... 2005-11-09 09:35:06 +00:00
Jan Hutter 7953866962 - changed memory allocator functions to own allocator calls 2005-11-09 09:11:06 +00:00
Jan Hutter c1ca1ee042 - changed allocator calls to new allocator functions 2005-11-09 09:07:53 +00:00
Jan Hutter b53209a86a - implemented thread save memory allocator 2005-11-09 09:07:29 +00:00
Jan Hutter 5b07c10ae3 - started to implement a generator test 2005-11-09 08:42:11 +00:00
Jan Hutter a092990ffa - added payload_info_t for ike header 2005-11-09 08:41:50 +00:00
Jan Hutter 1ff54a291a - added payload_info_t 2005-11-09 08:41:16 +00:00
Jan Hutter 2426b58d9a - added generator test 1 2005-11-09 08:40:58 +00:00
Jan Hutter 9e4e6e9d51 - added function declarations 2005-11-09 08:40:33 +00:00
Jan Hutter 5f08382cbe - begun to implement generator 2005-11-09 08:40:10 +00:00
Jan Hutter d94fe8b3b9 - added array of payload infos 2005-11-09 08:39:39 +00:00