Commit report for v3.0.x branch

The git bot announce at freeradius.org
Tue Jan 27 00:00:02 CET 2015


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
un-confuse cppcheck

Alan T. DeKok at 2015-01-26T23:29:19Z
Files modified:
	* src/lib/dict.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7845593dff149004a02bc957a12a22256085b704
====== 
%u for unsigned ints

Alan T. DeKok at 2015-01-26T23:19:32Z
Files modified:
	* src/main/xlat.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1a98a7c02144a0a0bbada52419a8cb5589a424fb
====== 
We don't need unused structs

Alan T. DeKok at 2015-01-26T23:18:51Z
Files modified:
	* src/main/threads.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/10b736a39439cbfe14f3327cc16cf5449f221c7a
====== 
checks for start_tls were accidentally deleted

Alan T. DeKok at 2015-01-26T23:11:22Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3a8b942263e96b4d814e1688aec6afe97b1ba033
====== 
Shut up C compiler by including header files

Alan T. DeKok at 2015-01-26T22:48:33Z
Files modified:
	* src/main/collectd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/30256db635553a57935480d3acfe33f51ca75694
====== 
signed int issues

Alan T. DeKok at 2015-01-26T22:47:05Z
Files modified:
	* src/modules/rlm_expr/rlm_expr.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ef5468d28b3ac2c77269b14f364afed574236c7f
====== 
Shut up cppcheck

Alan T. DeKok at 2015-01-26T22:47:05Z
Files modified:
	* src/modules/rlm_expr/rlm_expr.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a6de645299f8155387f65386becd93cbfacdf423
====== 
Simplify many #ifdef's

Alan T. DeKok at 2015-01-26T22:47:05Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1399aac87f11c511abd000d385ec3451fc2a27dd
====== 
Ensure we close FILEs.

Alan T. DeKok at 2015-01-26T22:47:05Z
Files modified:
	* src/main/radmin.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ff19b1993999b27a7cba3357afabaea58d545e47
====== 
Ensure we initialize variables

Alan T. DeKok at 2015-01-26T22:47:05Z
Files modified:
	* src/main/util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9d68a5b05c0d3f2685518b58f04332d2f7b53b9b
====== 
Ensure we initialize variables

Alan T. DeKok at 2015-01-26T22:32:53Z
Files modified:
	* src/main/util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d548fb8268a606f5c0fb16be824c64d4c5cdd25e
====== 
Remove unneeded assertion.

Alan T. DeKok at 2015-01-26T22:28:35Z
Files modified:
	* src/main/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/22eab179210c4246b2eba4d44d41fbfc3abc0e6e
====== 
Notes on alcatel format

Alan T. DeKok at 2015-01-26T20:48:14Z
Files modified:
	* share/dictionary.alcatel.sr

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f61ca232d5d912edb2b63c1f2ccc3424b758de63
====== 
#ifdef out CURLOPT_PROTOCOLS if not defined

Arran Cudbard-Bell at 2015-01-26T20:15:07Z
Files modified:
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4334ff5410a6c4acd9c8ce4f25b74bd571489ae2
====== 
As found on the net

Alan T. DeKok at 2015-01-26T19:08:21Z
Files modified:
	* share/dictionary
	* share/dictionary.travelping

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ea8aea66a3e65b4e478806c72bae98d598b2a6db
====== 
Fix nested #ifdef HAVE_SETUID

Arran Cudbard-Bell at 2015-01-26T14:15:20Z
Files modified:
	* src/main/mainconfig.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0873b87a6e94cdecfa1befd5dd6cc8b062dd3a19
====== 
add perle dictionary

Tobias Hachmer (via Arran Cudbard-Bell)@2015-01-26T14:05:08Z
Files modified:
	* share/dictionary
	* share/dictionary.perle

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bc5d3833b3fe257cb98b53712b425e8d5ede7905
====== 
Move suid* functions to util.c so they're included in libfreeradius-server

This fixes linking issues, when they're called from other libfreeradius-server functions

Arran Cudbard-Bell at 2015-01-26T14:04:40Z
Files modified:
	* src/include/libradius.h
	* src/include/radiusd.h
	* src/lib/debug.c
	* src/main/command.c
	* src/main/listen.c
	* src/main/mainconfig.c
	* src/main/process.c
	* src/main/util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b20c021aef60a3d3f206f81a92fa72d3b13ef1c9
====== 
Merge pull request #891 from qnet-herwin/indention_changelog_3_0_7

Fixed indention of ChangeLog for release 3.0.7

Arran Cudbard-Bell at 2015-01-26T14:00:16Z
Files modified:
	* doc/ChangeLog

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/07b88938ce26739b78302a9174bc8192ae00abf5
====== 
Fixed indention of ChangeLog for release 3.0.7

It was a mess of tabs and spaces, and impossible to read with a tabwidth other than 8.

Herwin Weststrate at 2015-01-26T13:56:47Z
Files modified:
	* doc/ChangeLog

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5e7375843b6139d1293881d69106ab869c28969d
====== 
Helps to write the result to the result buffer...

Arran Cudbard-Bell at 2015-01-26T07:53:48Z
Files modified:
	* src/main/util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f7cf1b0af5143ef100b7a7d5f970d9c0d133ccd9
====== 
Move socket permissions code into fr_server_domain_socket

Arran Cudbard-Bell at 2015-01-26T07:53:43Z
Files modified:
	* src/main/command.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/57124688855a19772683900172f3d8445e9e7b7e
====== 
Partially revert "call rad_mkdir to make the path for the control socket, and modify the default config to place the control socket into a 'control' subdirectory"

This reverts commit 2268bddadaf2d3aab09f18eea863895c9a01ce7a.

Better to keep the new logic entirely separate

Conflicts:
	src/main/command.c
	src/main/util.c

Arran Cudbard-Bell at 2015-01-26T07:53:39Z
Files modified:
	* src/main/command.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0514d8731390879e9570943bfe839fd1af235f2a
====== 
Address (some) potential TOCTOU attack vectors in rad_mkdir

We now leave ownership as the effective UID (which should be sufficiently restrictive) whilst creating the directory structure, and set initial permissions to 0700.

When setting final permissions, we first open the directory, check we still have write permissions by doing fchmod with our effective UID/GID (which should not be super user), then suid_up, and use fchown to set the owner.

Arran Cudbard-Bell at 2015-01-26T07:53:32Z
Files modified:
	* src/main/util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d2d227a3e5146ca192cdfeb2c7fec1e079c77606
====== 
Rename directory to dir in rad_mkdir, and add doxygen header

Arran Cudbard-Bell at 2015-01-26T07:53:28Z
Files modified:
	* src/main/util.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8d0d87c57350530ee04af128c37a0cbb2d159d00
====== 
Cleanups to match the rest of the server formatting

Alan T. DeKok at 2015-01-26T00:00:06Z
Files modified:
	* src/modules/proto_dhcp/dhcp.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2c879a4d24f3438e4e30f957e479701c41fc1e73
====== 
Minor cleanups

Alan T. DeKok at 2015-01-25T23:51:18Z
Files modified:
	* src/modules/proto_dhcp/dhcpclient.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a33216a3ff68241de70d18c7c7ce02b81cd40040
====== 
dhcpclient - allow to specify interface and send/recv at raw packet level

As discussed earlier on the list:
- if the client host has multiple interfaces,
- and at least one of them already has an IP address, Then the source IP
address cannot be 0.0.0.0 (even with "Packet-Src-IP-Address=0.0.0.0").
An actual IP address is automatically used as source.
This is modified by the device driver.

This patch does the following:
- Add an option to dhcpclient allowing to specify which network
interface to use.
- Open a raw socket on the low level packet interface. This allows
packet data to be left unchanged by the device driver.
- Encode Ethernet (send to ff:ff:ff:ff:ff:ff), IP and UDP layers
manually. And let FreeRADIUS do the DHCP stuff, as before.

(This required new specific socket / send / recv functions.)

The existing behaviour of dhcpclient is unchanged, it is used if the new
option -i is not set (or if destination is not broadcast).

Conflicts:
	src/modules/proto_dhcp/dhcpclient.c

Nicolas C (via Alan T. DeKok)@2015-01-25T23:39:46Z
Files modified:
	* src/include/dhcp.h
	* src/include/net.h
	* src/lib/net.c
	* src/modules/proto_dhcp/dhcp.c
	* src/modules/proto_dhcp/dhcpclient.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7deeac78b8fc50cdcd4eb7db7d9a4bee83fa2db6
====== 
-- 
This commit summary was generated @2015-01-27T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list