# HG changeset patch # User Sebastien Decugis # Date 1420222927 -28800 # Node ID 3eeb564e7bea9492e9e1a684ce1ec720118225eb # Parent c748e2439a3a918b2a9cfb1daeaedee8823c4c7e# Parent a1685a53fe971faabc5ae39f0e905e22642f07ae Merge updates from Thomas (thanks\!) diff -r a1685a53fe97 -r 3eeb564e7bea CMakeLists.txt --- a/CMakeLists.txt Fri Sep 12 14:47:38 2014 +0200 +++ b/CMakeLists.txt Sat Jan 03 02:22:07 2015 +0800 @@ -11,7 +11,7 @@ # Version of the source code SET(FD_PROJECT_VERSION_MAJOR 1) SET(FD_PROJECT_VERSION_MINOR 2) -SET(FD_PROJECT_VERSION_REV 0) +SET(FD_PROJECT_VERSION_REV 1) # Version of the API with the library SET(FD_PROJECT_VERSION_API 6) diff -r a1685a53fe97 -r 3eeb564e7bea contrib/debian/control --- a/contrib/debian/control Fri Sep 12 14:47:38 2014 +0200 +++ b/contrib/debian/control Sat Jan 03 02:22:07 2015 +0800 @@ -48,7 +48,7 @@ Architecture: any Section: contrib/debug Depends: ${misc:Depends}, freediameter-common (= ${binary:Version}) -Suggests: python, libmysqlclient16 +Suggests: python, libmysqlclient16 | libmysqlclient18 Description: freeDiameter debug tools. This package provides useful tools to help tracking problems in freeDiameter installation. For example, @@ -197,7 +197,7 @@ Package: freediameter-eap-server Architecture: any -Depends: ${misc:Depends}, freediameter-daemon (= ${binary:Version}), libmysqlclient16, freediameter-dictionary-rfc4072 (= ${binary:Version}) +Depends: ${misc:Depends}, freediameter-daemon (= ${binary:Version}), libmysqlclient16 | libmysqlclient18, freediameter-dictionary-rfc4072 (= ${binary:Version}) Description: freeDiameter Diameter EAP server implementation. This freeDiameter extension implements a Diameter EAP server. It supports EAP-MD5 and EAP-TLS methods currently. @@ -212,7 +212,7 @@ Package: freediameter-sip-server Architecture: any -Depends: ${misc:Depends}, freediameter-daemon (= ${binary:Version}), libmysqlclient16, freediameter-dictionary-rfc4740 (= ${binary:Version}) +Depends: ${misc:Depends}, freediameter-daemon (= ${binary:Version}), libmysqlclient16 | libmysqlclient18, freediameter-dictionary-rfc4740 (= ${binary:Version}) Description: freeDiameter Diameter SIP server implementation. This freeDiameter extension implements a prototype Diameter SIP server. diff -r a1685a53fe97 -r 3eeb564e7bea extensions/app_acct/acct_conf.y --- a/extensions/app_acct/acct_conf.y Fri Sep 12 14:47:38 2014 +0200 +++ b/extensions/app_acct/acct_conf.y Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea extensions/rt_redirect/redir_expiry.c --- a/extensions/rt_redirect/redir_expiry.c Fri Sep 12 14:47:38 2014 +0200 +++ b/extensions/rt_redirect/redir_expiry.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2011, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea extensions/rt_redirect/redir_fwd.c --- a/extensions/rt_redirect/redir_fwd.c Fri Sep 12 14:47:38 2014 +0200 +++ b/extensions/rt_redirect/redir_fwd.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea include/freeDiameter/libfdproto.h --- a/include/freeDiameter/libfdproto.h Fri Sep 12 14:47:38 2014 +0200 +++ b/include/freeDiameter/libfdproto.h Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea libfdcore/cnxctx.c --- a/libfdcore/cnxctx.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdcore/cnxctx.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea libfdcore/config.c --- a/libfdcore/config.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdcore/config.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea libfdcore/fdd.y --- a/libfdcore/fdd.y Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdcore/fdd.y Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea libfdcore/messages.c --- a/libfdcore/messages.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdcore/messages.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea libfdcore/p_ce.c --- a/libfdcore/p_ce.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdcore/p_ce.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * @@ -950,6 +950,9 @@ /* Do not send the ISI IPsec if we are using the new mechanism */ if ((isi == PI_SEC_NONE) && (! (peer->p_hdr.info.config.pic_flags.sec & PI_SEC_TLS_OLD))) isi = 0; + } else if (peer->p_hdr.info.runtime.pir_isi & PI_SEC_TLS_OLD) { + /* Seem some weird peers are sending the Inband-Security-Id AVP on the secure port... No harm */ + isi = PI_SEC_TLS_OLD; } /* Reply a CEA */ diff -r a1685a53fe97 -r 3eeb564e7bea libfdcore/sctp.c --- a/libfdcore/sctp.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdcore/sctp.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2015, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * @@ -575,7 +575,7 @@ struct sctp_event event; - for (i = 0; i < (sizeof(events_I_want) / sizeof(events_I_want[0]) - 1; i++) { + for (i = 0; i < (sizeof(events_I_want) / sizeof(events_I_want[0]) - 1); i++) { memset(&event, 0, sizeof(event)); event.se_type = events_I_want[i]; event.se_on = 1; diff -r a1685a53fe97 -r 3eeb564e7bea libfdproto/dictionary.c --- a/libfdproto/dictionary.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdproto/dictionary.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea libfdproto/dictionary_functions.c --- a/libfdproto/dictionary_functions.c Fri Sep 12 14:47:38 2014 +0200 +++ b/libfdproto/dictionary_functions.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are * diff -r a1685a53fe97 -r 3eeb564e7bea tests/testmesg.c --- a/tests/testmesg.c Fri Sep 12 14:47:38 2014 +0200 +++ b/tests/testmesg.c Sat Jan 03 02:22:07 2015 +0800 @@ -2,7 +2,7 @@ * Software License Agreement (BSD License) * * Author: Sebastien Decugis * * * -* Copyright (c) 2013, WIDE Project and NICT * +* Copyright (c) 2014, WIDE Project and NICT * * All rights reserved. * * * * Redistribution and use of this software in source and binary forms, with or without modification, are *