Commit report for master 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:31Z
Files modified:
	* src/lib/dict.c

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7af15ac8a7e227ac13aeb9ddac2f1653887f0e12
====== 
Merge pull request #890 from kokel/dict-perle

add perle dictionary

Arran Cudbard-Bell at 2015-01-26T13:48:19Z
Files modified:
	* share/dictionary
	* share/dictionary.perle

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

Tobias Hachmer at 2015-01-26T13:45:04Z
Files modified:
	* share/dictionary
	* share/dictionary.perle

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/53bf263d6ca9010acdc004bada894b1bfe0ed676
====== 
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-26T13:10:25Z
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
	* src/modules/proto_arp/proto_arp.c
	* src/modules/proto_bfd/bfd.c

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

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

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

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

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/8d8fff09954a9d904ca196f75a79fd76adcbe478
====== 
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:52:09Z
Files modified:
	* src/main/command.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2ea2410627742d03ac82e9f5b0276e1c938ce4af
====== 
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:52:09Z
Files modified:
	* src/main/util.c

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

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

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

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

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

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

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7bf807492aa87e8395ebfde29aeb9e76ada74b4d
====== 
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-26T00:00:27Z
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/8dd26a1c16e38a9ceb1cb625c3db0e5ecdfe136b
====== 
-- 
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