Browse code

tls Remove history, change "SIP-router" to "Kamailio"

Olle E. Johansson authored on 10/01/2015 16:33:42
Showing 31 changed files
... ...
@@ -8,7 +8,16 @@
8 8
  *
9 9
  * Copyright (c) 1998-2005 The OpenSSL Project.  All rights reserved.
10 10
  */
11
-/*
11
+/*!
12
+ * \file
13
+ * \brief Kamailio TLS support :: Zlib functions
14
+ * \ingroup tls
15
+ * Module: \ref tls
16
+ *
17
+ * This file contains modified zlib compression functions
18
+ * originally part of crypto/comp/c_zlib.c from the openssl library 
19
+ * (version 0.9.8a).
20
+ *
12 21
  * The changes are: 
13 22
  *   - proper zalloc and zfree initialization for the zlib compression
14 23
  *     methods (use OPENSSL_malloc & OPENSSL_free to construct zalloc/zfree)
... ...
@@ -19,13 +28,6 @@
19 19
  *    version).
20 20
  *  -- andrei
21 21
  */
22
-/*!
23
- * \file
24
- * \brief SIP-router TLS support :: Zlib functions
25
- * \ingroup tls
26
- * Module: \ref tls
27
- */
28
-
29 22
 
30 23
 
31 24
 #ifdef TLS_FIX_ZLIB_COMPRESSION
... ...
@@ -1,5 +1,5 @@
1 1
 /* 
2
- * TLS module
2
+ * Kamailio TLS module
3 3
  *
4 4
  * Copyright (C) 2010 iptelorg GmbH
5 5
  *
... ...
@@ -20,11 +20,6 @@
20 20
  * @ingroup: tls
21 21
  * Module: @ref tls
22 22
  */
23
-/*
24
- * History:
25
- * --------
26
- *  2010-03-31  initial version, based on tcp_conn.h tcp_wbuffer_queue (andrei)
27
-*/
28 23
 
29 24
 #ifndef __sbufq_h
30 25
 #define __sbufq_h
... ...
@@ -1,5 +1,5 @@
1 1
 /* 
2
- * TLS module
2
+ * Kamailio TLS module
3 3
  *
4 4
  * Copyright (C) 2010 iptelorg GmbH
5 5
  *
... ...
@@ -22,14 +22,6 @@
22 22
  * @ingroup tls
23 23
  */
24 24
 
25
-/*
26
- * History:
27
- * --------
28
- *  2010-03-25  initial version (andrei)
29
- *  2010-05-20  emulate EAGAIN on null rd/wr memory buffer; handle some
30
- *              needed commands in ctrl; debug support (TLS_BIO_DBG) (andrei)
31
-*/
32
-
33 25
 #include "tls_bio.h"
34 26
 #include "../../compiler_opt.h"
35 27
 #include "../../dprint.h"
... ...
@@ -1,5 +1,5 @@
1 1
 /* 
2
- * TLS module
2
+ * Kamailio TLS module
3 3
  *
4 4
  * Copyright (C) 2010 iptelorg GmbH
5 5
  *
... ...
@@ -21,12 +21,6 @@
21 21
  * @ingroup tls
22 22
  */
23 23
  
24
-/*
25
- * History:
26
- * --------
27
- *  2010-03-25  initial version (andrei)
28
-*/
29
-
30 24
 #ifndef __tls_bio_h
31 25
 #define __tls_bio_h
32 26
 
... ...
@@ -1,5 +1,5 @@
1 1
 /* 
2
- * TLS module
2
+ * Kamailio TLS module
3 3
  *
4 4
  * Copyright (C) 2010 iptelorg GmbH
5 5
  * Copyright (C) 2013 Motorola Solutions, Inc.
... ...
@@ -18,18 +18,12 @@
18 18
  */
19 19
 
20 20
 /**
21
- * SIP-router TLS support :: tls runtime configuration
21
+ * Kamailio TLS support :: tls runtime configuration
22 22
  * @file tls_cfg.c
23 23
  * @ingroup tls
24 24
  * Module: @ref tls
25 25
  */
26 26
 
27
-/*
28
- * History:
29
- * --------
30
- *  2010-05-27  initial version (andrei)
31
-*/
32
-
33 27
 #include "tls_cfg.h"
34 28
 #include "../../config.h"
35 29
 #include "../../str.h"
... ...
@@ -24,12 +24,6 @@
24 24
  * Module: @ref tls
25 25
  */
26 26
 
27
-/*
28
- * History:
29
- * --------
30
- *  2010-05-27  initial version (andrei)
31
-*/
32
-
33 27
 #ifndef __tls_cfg_h
34 28
 #define __tls_cfg_h
35 29
 
... ...
@@ -17,7 +17,7 @@
17 17
  */
18 18
 /*!
19 19
  * \file
20
- * \brief SIP-router TLS support :: Configuration file parser
20
+ * \brief Kamailio TLS support :: Configuration file parser
21 21
  * \ingroup tls
22 22
  * Module: \ref tls
23 23
  */
... ...
@@ -17,7 +17,7 @@
17 17
  */
18 18
 /*!
19 19
  * \file
20
- * \brief SIP-router TLS support :: Configuration file parser
20
+ * \brief Kamailio TLS support :: Configuration file parser
21 21
  * \ingroup tls
22 22
  * Module: \ref tls
23 23
  */
... ...
@@ -25,12 +25,6 @@
25 25
  * Module: @ref tls
26 26
  */
27 27
 
28
-/*
29
- * History:
30
- * --------
31
- *  2010-03-31  initial version (andrei)
32
-*/
33
-
34 28
 #ifndef __tls_ct_q_h
35 29
 #define __tls_ct_q_h
36 30
 
... ...
@@ -25,12 +25,6 @@
25 25
  * Module: @ref tls
26 26
  */
27 27
 
28
-/*
29
- * History:
30
- * --------
31
- *  2010-03-31  initial version (andrei)
32
-*/
33
-
34 28
 #include "tls_ct_wrq.h"
35 29
 #include "tls_cfg.h"
36 30
 #include "tls_server.h"
... ...
@@ -25,12 +25,6 @@
25 25
  * Module: @ref tls
26 26
  */
27 27
 
28
-/*
29
- * History:
30
- * --------
31
- *  2010-03-31  initial version (andrei)
32
-*/
33
-
34 28
 #ifndef __tls_ct_wrq_h
35 29
 #define __tls_ct_wrq_h
36 30
 
... ...
@@ -18,7 +18,7 @@
18 18
  */
19 19
 
20 20
 /**
21
- * SIP-router TLS support :: Virtual domain configuration support
21
+ * Kamailio TLS support :: Virtual domain configuration support
22 22
  * @file
23 23
  * @ingroup tls
24 24
  * Module: @ref tls
... ...
@@ -18,7 +18,7 @@
18 18
  */
19 19
 
20 20
 /**
21
- * SIP-router TLS support :: virtual domain configuration support
21
+ * Kamailio TLS support :: virtual domain configuration support
22 22
  * @file
23 23
  * @ingroup tls
24 24
  * Module: @ref tls
... ...
@@ -3,14 +3,14 @@
3 3
  *
4 4
  * Copyright (C) 2006 enum.at
5 5
  *
6
- * This file is part of SIP-router, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
7 7
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
9 9
  * it under the terms of the GNU General Public License as published by
10 10
  * the Free Software Foundation; either version 2 of the License, or
11 11
  * (at your option) any later version
12 12
  *
13
- * SIP-router is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
14 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 16
  * GNU General Public License for more details.
... ...
@@ -24,16 +24,12 @@
24 24
  * such as linking with software components and libraries released under
25 25
  * OpenSSL project license.
26 26
  */
27
+
27 28
 /** log the verification failure reason.
28 29
  * @file tls_dump_vf.c
29 30
  * @ingroup: tls
30 31
  * Module: @ref tls
31 32
  */
32
-/*
33
- * History:
34
- * --------
35
- *  2010-05-20  split from tls_server.c
36
-*/
37 33
 
38 34
 #include "tls_dump_vf.h"
39 35
 
... ...
@@ -3,14 +3,14 @@
3 3
  *
4 4
  * Copyright (C) 2006 enum.at
5 5
  *
6
- * This file is part of SIP-router, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
7 7
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
9 9
  * it under the terms of the GNU General Public License as published by
10 10
  * the Free Software Foundation; either version 2 of the License, or
11 11
  * (at your option) any later version
12 12
  *
13
- * SIP-router is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
14 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 16
  * GNU General Public License for more details.
... ...
@@ -29,11 +29,6 @@
29 29
  * @ingroup: tls
30 30
  * Module: @ref tls
31 31
  */
32
-/*
33
- * History:
34
- * --------
35
- *  2010-05-20  split from tls_server.c
36
-*/
37 32
 
38 33
 #ifndef __tls_dump_vf_h
39 34
 #define __tls_dump_vf_h
... ...
@@ -16,7 +16,7 @@
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18 18
 
19
-/*! \defgroup tls SIP-router TLS support
19
+/*! \defgroup tls Kamailio TLS support
20 20
  *
21 21
  * This modules implements SIP over TCP with TLS encryption.
22 22
  * Make sure you read the README file that describes configuration
... ...
@@ -27,7 +27,7 @@
27 27
  */
28 28
 /*!
29 29
  * \file
30
- * \brief SIP-router TLS support :: Initialization
30
+ * \brief Kamailio TLS support :: Initialization
31 31
  * \ingroup tls
32 32
  * Module: \ref tls
33 33
  */
... ...
@@ -15,9 +15,10 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
+
18 19
 /*!
19 20
  * \file
20
- * \brief SIP-router TLS support :: OpenSSL initialization funtions
21
+ * \brief Kamailio TLS support :: OpenSSL initialization funtions
21 22
  * \ingroup tls
22 23
  * Module: \ref tls
23 24
  */
... ...
@@ -18,7 +18,7 @@
18 18
 
19 19
 /*!
20 20
  * \file
21
- * \brief SIP-router TLS support :: Locking
21
+ * \brief Kamailio TLS support :: Locking
22 22
  * \ingroup tls
23 23
  * Module: \ref tls
24 24
  */
... ...
@@ -15,16 +15,10 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/*
19
- * tls locking and atomic ops related init functions
20
- *
21
- * History:
22
- * --------
23
- *  2007-01-22  created by andrei
24
- */
18
+
25 19
 /*!
26 20
  * \file
27
- * \brief SIP-router TLS support ::  tls locking and atomic ops related init functions
21
+ * \brief Kamailio  TLS support ::  tls locking and atomic ops related init functions
28 22
  * \ingroup tls
29 23
  * Module: \ref tls
30 24
  */
... ...
@@ -17,7 +17,7 @@
17 17
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 18
  */
19 19
 
20
-/** SIP-router TLS support :: Module interface.
20
+/** Kamailio TLS support :: Module interface.
21 21
  * @file
22 22
  * @ingroup tls
23 23
  * Module: @ref tls
... ...
@@ -15,7 +15,7 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/** SIP-router TLS support :: module interface.
18
+/** Kamailio TLS support :: module interface.
19 19
  * @file
20 20
  * @ingroup tls
21 21
  * Module: @ref tls
... ...
@@ -4,7 +4,7 @@
4 4
  * Copyright (C) 2005 iptelorg GmbH
5 5
  * Copyright (C) 2013 Motorola Solutions, Inc.
6 6
  *
7
- * This file is part of sip-router, a free SIP server.
7
+ * This file is part of Kamailio, a free SIP server.
8 8
  *
9 9
  * Permission to use, copy, modify, and distribute this software for any
10 10
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -3,7 +3,7 @@
3 3
  *
4 4
  * Copyright (C) 2005 iptelorg GmbH
5 5
  *
6
- * This file is part of sip-router, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
7 7
  *
8 8
  * Permission to use, copy, modify, and distribute this software for any
9 9
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -4,14 +4,14 @@
4 4
  * Copyright (C) 2005 iptelorg GmbH
5 5
  * Copyright (C) 2006 enum.at
6 6
  *
7
- * This file is part of sip-router, a free SIP server.
7
+ * This file is part of Kamailio, a free SIP server.
8 8
  *
9
- * sip-router is free software; you can redistribute it and/or modify
9
+ * Kamailio is free software; you can redistribute it and/or modify
10 10
  * it under the terms of the GNU General Public License as published by
11 11
  * the Free Software Foundation; either version 2 of the License, or
12 12
  * (at your option) any later version
13 13
  *
14
- * sip-router is distributed in the hope that it will be useful,
14
+ * Kamailio is distributed in the hope that it will be useful,
15 15
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 16
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 17
  * GNU General Public License for more details.
... ...
@@ -25,7 +25,8 @@
25 25
  * such as linking with software components and libraries released under
26 26
  * OpenSSL project license.
27 27
  */
28
-/** SIP-router TLS support :: Select interface.
28
+
29
+/** Kamailio TLS support :: Select interface.
29 30
  * @file
30 31
  * @ingroup tls
31 32
  * Module: @ref tls
... ...
@@ -4,19 +4,14 @@
4 4
  * Copyright (C) 2005,2006 iptelorg GmbH
5 5
  * Copyright (C) 2006 enum.at
6 6
  *
7
- * This file is part of sip-router, a free SIP server.
7
+ * This file is part of Kamailio, a free SIP server.
8 8
  *
9
- * sip-router is free software; you can redistribute it and/or modify
9
+ * Kamailio is free software; you can redistribute it and/or modify
10 10
  * it under the terms of the GNU General Public License as published by
11 11
  * the Free Software Foundation; either version 2 of the License, or
12 12
  * (at your option) any later version
13 13
  *
14
- * For a license to use the sip-router software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * sip-router is distributed in the hope that it will be useful,
14
+ * Kamailio is distributed in the hope that it will be useful,
20 15
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 16
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 17
  * GNU General Public License for more details.
... ...
@@ -32,7 +27,7 @@
32 32
  */
33 33
 /*!
34 34
  * \file
35
- * \brief SIP-router TLS support :: select interface
35
+ * \brief Kamailio TLS support :: select interface
36 36
  * \ingroup tls
37 37
  * Module: \ref tls
38 38
  */
... ...
@@ -4,7 +4,7 @@
4 4
  * Copyright (C) 2005-2010 iptelorg GmbH
5 5
  * Copyright (C) 2013 Motorola Solutions, Inc.
6 6
  *
7
- * This file is part of SIP-router, a free SIP server.
7
+ * This file is part of Kamailio, a free SIP server.
8 8
  *
9 9
  * Permission to use, copy, modify, and distribute this software for any
10 10
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -18,14 +18,7 @@
18 18
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
19 19
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 20
  */
21
-/*
22
- * History:
23
- * --------
24
- *  2007-01-26  openssl kerberos malloc bug detection/workaround (andrei)
25
- *  2007-02-23  openssl low memory bugs workaround (andrei)
26
- *  2009-09-21  tls connection state is now kept in c->extra_data (no
27
- *               longer shared with tcp state) (andrei)
28
- */
21
+
29 22
 /** main tls part (implements the tls hooks that are called from the tcp code).
30 23
  * @file tls_server.c
31 24
  * @ingroup tls
... ...
@@ -3,7 +3,7 @@
3 3
  * 
4 4
  * Copyright (C) 2005-2010 iptelorg GmbH
5 5
  *
6
- * This file is part of SIP-router, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
7 7
  *
8 8
  * Permission to use, copy, modify, and distribute this software for any
9 9
  * purpose with or without fee is hereby granted, provided that the above
... ...
@@ -17,6 +17,7 @@
17 17
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 18
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 19
  */
20
+
20 21
 /** main tls part (implements the tls hooks that are called from the tcp code).
21 22
  * @file tls_server.h
22 23
  * @ingroup tls
... ...
@@ -17,6 +17,13 @@
17 17
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 18
  */
19 19
 
20
+/*!
21
+ * \file
22
+ * \brief Kamailio TLS support :: Common functions
23
+ * \ingroup tls
24
+ * Module: \ref tls
25
+ */
26
+
20 27
 
21 28
 #define _GNU_SOURCE 1 /* Needed for strndup */
22 29
 
... ...
@@ -27,13 +34,6 @@
27 27
 #include "../../dprint.h"
28 28
 #include "tls_mod.h"
29 29
 #include "tls_util.h"
30
-/*!
31
- * \file
32
- * \brief SIP-router TLS support :: Common functions
33
- * \ingroup tls
34
- * Module: \ref tls
35
- */
36
-
37 30
 
38 31
 
39 32
 /*
... ...
@@ -17,7 +17,7 @@
17 17
  */
18 18
 /*!
19 19
  * \file
20
- * \brief SIP-router TLS support :: Common functions
20
+ * \brief Kamailio TLS support :: Common functions
21 21
  * \ingroup tls
22 22
  * Module: \ref tls
23 23
  */
... ...
@@ -21,7 +21,7 @@
21 21
 
22 22
 /*!
23 23
  * \file
24
- * \brief SIP-router TLS support :: Certificate verification
24
+ * \brief Kamailio TLS support :: Certificate verification
25 25
  * \ingroup tls
26 26
  * Module: \ref tls
27 27
  */
... ...
@@ -17,7 +17,7 @@
17 17
  */
18 18
 /*!
19 19
  * \file
20
- * \brief SIP-router TLS support :: Certificate verification function
20
+ * \brief Kamailio TLS support :: Certificate verification function
21 21
  * \ingroup tls
22 22
  * Module: \ref tls
23 23
  */