This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# createmodule.py - Takes the name of a environment init script and | |
# produces a modulefile that duplicates the changes made by the init script | |
# | |
# Copyright (C) 2012 by Orion E. Poplawski <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 2 of the License, or |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We have three offices with nearly identical pfSense configurations. We have | |
VPN servers for clients to connect to and a local RADIUS server to provide | |
authentication for them. On one of our pfSense boxes, it fails to | |
authenticate using the local RADIUS server. It sends requests and | |
access-accept messages are returned. However, the php-fpm process appears to | |
ignore the responses and then crashes. Here is some truss output: | |
bind(9,{ AF_INET 0.0.0.0:0 },16) = 0 (0x0) | |
fcntl(9,F_GETFL,) = 2 (0x2) | |
fcntl(9,F_SETFL,O_RDWR|O_NONBLOCK) = 0 (0x0) |