Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,49 +0,0 @@
1
-/*
2
- * TLS module - select interface
3
- *
4
- * Copyright (C) 2005,2006 iptelorg GmbH
5
- * Copyright (C) 2006 enum.at
6
- *
7
- * This file is part of Kamailio, a free SIP server.
8
- *
9
- * Kamailio is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version
13
- *
14
- * Kamailio is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22
- *
23
- * Exception: permission to copy, modify, propagate, and distribute a work
24
- * formed by combining OpenSSL toolkit software and the code in this file,
25
- * such as linking with software components and libraries released under
26
- * OpenSSL project license.
27
- */
28
-/*!
29
- * \file
30
- * \brief Kamailio TLS support :: select interface
31
- * \ingroup tls
32
- * Module: \ref tls
33
- */
34
-
35
-
36
-#ifndef _TLS_SELECT_H
37
-#define _TLS_SELECT_H
38
-
39
-#include "../../select.h"
40
-#include "../../pvar.h"
41
-#include "../../tcp_conn.h"
42
-
43
-extern select_row_t tls_sel[];
44
-
45
-extern pv_export_t tls_pv[];
46
-
47
-void tls_set_pv_con(struct tcp_connection *c);
48
-
49
-#endif /* _TLS_SELECT_H */
Browse code

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

Olle E. Johansson authored on 10/01/2015 16:33:42
Showing 1 changed files
... ...
@@ -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 27
  */
33 28
 /*!
34 29
  * \file
35
- * \brief SIP-router TLS support :: select interface
30
+ * \brief Kamailio TLS support :: select interface
36 31
  * \ingroup tls
37 32
  * Module: \ref tls
38 33
  */
Browse code

all: updated FSF address in GPL text

Anthony Messina authored on 04/07/2014 09:36:37 • Daniel-Constantin Mierla committed on 04/07/2014 09:37:36
Showing 1 changed files
... ...
@@ -23,7 +23,7 @@
23 23
  *
24 24
  * You should have received a copy of the GNU General Public License
25 25
  * along with this program; if not, write to the Free Software
26
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28 28
  * Exception: permission to copy, modify, propagate, and distribute a work
29 29
  * formed by combining OpenSSL toolkit software and the code in this file,
Browse code

tls: execute event_route[tls:connection-out]

- done when a new outgoing tls connection is opened
- ongoing work, to allow an option to drop the connection based on
config decision

Daniel-Constantin Mierla authored on 26/05/2014 12:17:43
Showing 1 changed files
... ...
@@ -43,9 +43,12 @@
43 43
 
44 44
 #include "../../select.h"
45 45
 #include "../../pvar.h"
46
+#include "../../tcp_conn.h"
46 47
 
47 48
 extern select_row_t tls_sel[];
48 49
 
49 50
 extern pv_export_t tls_pv[];
50 51
 
52
+void tls_set_pv_con(struct tcp_connection *c);
53
+
51 54
 #endif /* _TLS_SELECT_H */
Browse code

tls: clarified licensing based on development history

- some were c&p as they refered to files related to components that were
developed later than the (c) year (e.g., selects)
- added openssl exception to gpl parts based on agreement from the
developers of those components - most of the code was released long time
ago under BSD by iptelorg. Code was rewrote for 3.1 when asynchronous
support was developed.

Daniel-Constantin Mierla authored on 02/12/2013 17:17:34
Showing 1 changed files
... ...
@@ -1,10 +1,6 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * TLS module - select interface
5 3
  *
6
- * Copyright (C) 2001-2003 FhG FOKUS
7
- * Copyright (C) 2004,2005 Free Software Foundation, Inc.
8 4
  * Copyright (C) 2005,2006 iptelorg GmbH
9 5
  * Copyright (C) 2006 enum.at
10 6
  *
... ...
@@ -28,6 +24,11 @@
28 24
  * You should have received a copy of the GNU General Public License
29 25
  * along with this program; if not, write to the Free Software
30 26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
+ *
28
+ * Exception: permission to copy, modify, propagate, and distribute a work
29
+ * formed by combining OpenSSL toolkit software and the code in this file,
30
+ * such as linking with software components and libraries released under
31
+ * OpenSSL project license.
31 32
  */
32 33
 /*!
33 34
  * \file
Browse code

Adding doxygen documentation

oej authored on 10/10/2009 11:48:00
Showing 1 changed files
... ...
@@ -8,19 +8,19 @@
8 8
  * Copyright (C) 2005,2006 iptelorg GmbH
9 9
  * Copyright (C) 2006 enum.at
10 10
  *
11
- * This file is part of ser, a free SIP server.
11
+ * This file is part of sip-router, a free SIP server.
12 12
  *
13
- * ser is free software; you can redistribute it and/or modify
13
+ * sip-router is free software; you can redistribute it and/or modify
14 14
  * it under the terms of the GNU General Public License as published by
15 15
  * the Free Software Foundation; either version 2 of the License, or
16 16
  * (at your option) any later version
17 17
  *
18
- * For a license to use the ser software under conditions
18
+ * For a license to use the sip-router software under conditions
19 19
  * other than those described here, or to purchase support for this
20 20
  * software, please contact iptel.org by e-mail at the following addresses:
21 21
  *    info@iptel.org
22 22
  *
23
- * ser is distributed in the hope that it will be useful,
23
+ * sip-router is distributed in the hope that it will be useful,
24 24
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 25
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 26
  * GNU General Public License for more details.
... ...
@@ -29,6 +29,13 @@
29 29
  * along with this program; if not, write to the Free Software
30 30
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
31 31
  */
32
+/*!
33
+ * \file
34
+ * \brief SIP-router TLS support :: select interface
35
+ * \ingroup tls
36
+ * Module: \ref tls
37
+ */
38
+
32 39
 
33 40
 #ifndef _TLS_SELECT_H
34 41
 #define _TLS_SELECT_H
Browse code

Exporting TLS module functions through the pseudo-variable interface

This patch adds pseudo-variable related function from kamailio, these
function work on top of the generic functions in tls_select.c

Jan Janak authored on 27/03/2009 17:12:12
Showing 1 changed files
... ...
@@ -5,7 +5,8 @@
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
8
- * COpyright (C) 2005,2006 iptelorg GmbH
8
+ * Copyright (C) 2005,2006 iptelorg GmbH
9
+ * Copyright (C) 2006 enum.at
9 10
  *
10 11
  * This file is part of ser, a free SIP server.
11 12
  *
... ...
@@ -33,7 +34,10 @@
33 34
 #define _TLS_SELECT_H
34 35
 
35 36
 #include "../../select.h"
37
+#include "../../pvar.h"
36 38
 
37 39
 extern select_row_t tls_sel[];
38 40
 
41
+extern pv_export_t tls_pv[];
42
+
39 43
 #endif /* _TLS_SELECT_H */
Browse code

- fixed file comments - added missing defines in header files - added missing Id tags

Jan Janak authored on 03/03/2006 15:52:11
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * TLS module select interface
4
+ * TLS module - select interface
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG FOKUS
7 7
  * Copyright (C) 2004,2005 Free Software Foundation, Inc.
... ...
@@ -30,6 +30,7 @@
30 30
  */
31 31
 
32 32
 #ifndef _TLS_SELECT_H
33
+#define _TLS_SELECT_H
33 34
 
34 35
 #include "../../select.h"
35 36
 
Browse code

Preliminary TLS module (requires core patch which is attached), the module contains: - Many bugfixes and better implementation of tls_write and tls_read by Andrei - openssl compression fix by Andrei - extended tls multi-domain support (most parameters can be configured to different values in different domains) - support for outgoing domains (not complete) - support for certificate based authentication through selects ( if @tls.peer == "Bob") ... - the tls code is merge of experimental/tls and Andrei's tls to get best of both

Jan Janak authored on 28/01/2006 12:34:31
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+/*
2
+ * $Id$
3
+ *
4
+ * TLS module select interface
5
+ *
6
+ * Copyright (C) 2001-2003 FhG FOKUS
7
+ * Copyright (C) 2004,2005 Free Software Foundation, Inc.
8
+ * COpyright (C) 2005,2006 iptelorg GmbH
9
+ *
10
+ * This file is part of ser, a free SIP server.
11
+ *
12
+ * ser is free software; you can redistribute it and/or modify
13
+ * it under the terms of the GNU General Public License as published by
14
+ * the Free Software Foundation; either version 2 of the License, or
15
+ * (at your option) any later version
16
+ *
17
+ * For a license to use the ser software under conditions
18
+ * other than those described here, or to purchase support for this
19
+ * software, please contact iptel.org by e-mail at the following addresses:
20
+ *    info@iptel.org
21
+ *
22
+ * ser is distributed in the hope that it will be useful,
23
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
+ * GNU General Public License for more details.
26
+ *
27
+ * You should have received a copy of the GNU General Public License
28
+ * along with this program; if not, write to the Free Software
29
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
30
+ */
31
+
32
+#ifndef _TLS_SELECT_H
33
+
34
+#include "../../select.h"
35
+
36
+extern select_row_t tls_sel[];
37
+
38
+#endif /* _TLS_SELECT_H */