Help, Not sure wether this is the right place to email an issue. I have configured mod_auth_radius to work on my apache 2 webserver as a client, the authentication works with the Radius Server, however after authentication a blank page is displayed and the only error I get in my error_log is "exit signal Segmentation fault after authentication" I'm pulling my hair out, I have tried it on two different web servers, one Redhat Linux and the other Centos. I know the authentication is working as an error is displayed if I enter wrong user credentials. I have followed your online instruction's, to configure my httpd.conf and .htaccess. Can anyone help Charnjit Charnjit Sidhu Computing Officer Birmingham University Imaging Centre School of Psychology University of Birmingham Tel: +44 (0)121 4143857 E-mail: c.sidhu@bham.ac.uk <mailto:c.sidhu@bham.ac.uk>
Charnjit Sidhu wrote:
I have configured mod_auth_radius to work on my apache 2 webserver as a client, the authentication works with the Radius Server, however after authentication a blank page is displayed and the only error I get in my error_log is
"exit signal Segmentation fault after authentication"
I'm pulling my hair out, I have tried it on two different web servers, one Redhat Linux and the other Centos. I know the authentication is working as an error is displayed if I enter wrong user credentials.
Try grabbing the latest version from CVS. See http://freeradius.org/development.html Alan DeKok.
Hi Thanks for all your help, all working now. Charnjit Charnjit Sidhu Computing Officer Birmingham University Imaging Centre School of Psychology University of Birmingham Tel: +44 (0)121 4143857 E-mail: c.sidhu@bham.ac.uk <mailto:c.sidhu@bham.ac.uk> ________________________________ From: freeradius-users-bounces+c.sidhu=bham.ac.uk@lists.freeradius.org on behalf of Alan DeKok Sent: Fri 3/7/2008 11:12 AM To: FreeRadius users mailing list Subject: Re: mod_auth_radius Charnjit Sidhu wrote:
I have configured mod_auth_radius to work on my apache 2 webserver as a client, the authentication works with the Radius Server, however after authentication a blank page is displayed and the only error I get in my error_log is
"exit signal Segmentation fault after authentication"
I'm pulling my hair out, I have tried it on two different web servers, one Redhat Linux and the other Centos. I know the authentication is working as an error is displayed if I enter wrong user credentials.
Try grabbing the latest version from CVS. See http://freeradius.org/development.html Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I found that the first character of login in the logout record of each login/logout pair missing, as illustrated by the attached file (logins and host ips changed with an hex editor to anonymize the data). This in contrast to the local wtmp file. I discovered this anomaly when I ran a perl script on radwtmp (which was designed to be ran on wtmp and used to find hackers - strange logins not found in the local password database). The native 'last' command operated on radwtmp with normal results, so I suspect 'last' uses as index the host field instead of the name field. I am running freeradius-1.1.7 and then freeradius-2.0.1 on FreeBSD 6.3-RELEASE, with the same results. Best Regards David
Try this patch and let me know if it worked for you so I can submit it to the official bugs site. Thanks, Emilio -----Original Message----- From: freeradius-users-bounces+emilio.escobar=hp.com@lists.freeradius.org [mailto:freeradius-users-bounces+emilio.escobar=hp.com@lists.freeradius.org] On Behalf Of David WU Sent: Friday, March 07, 2008 11:21 AM To: FreeRadius users mailing list Subject: radwtmp I found that the first character of login in the logout record of each login/logout pair missing, as illustrated by the attached file (logins and host ips changed with an hex editor to anonymize the data). This in contrast to the local wtmp file. I discovered this anomaly when I ran a perl script on radwtmp (which was designed to be ran on wtmp and used to find hackers - strange logins not found in the local password database). The native 'last' command operated on radwtmp with normal results, so I suspect 'last' uses as index the host field instead of the name field. I am running freeradius-1.1.7 and then freeradius-2.0.1 on FreeBSD 6.3-RELEASE, with the same results. Best Regards David
David WU wrote:
I found that the first character of login in the logout record of each login/logout pair missing,
login/logout pair? "radwtmp" stores the list of users currently logged in. So when a user logs out, the first character of their name is set to zero. This indicates that they are no longer logged on. See "man wtmp" The wtmp file records all logins and logouts. Its format is exactly like utmp except that a null user name indicates a logout on the associated terminal.
The native 'last' command operated on radwtmp with normal results, so I suspect 'last' uses as index the host field instead of the name field.
I don't understand what you think are "normal" results here. The "radlast" program is simply a 3-line shell script wrapper around the native "last" command. Maybe you're thinking of the radutmp file? Alan DeKok.
On Sun, 9 Mar 2008, Alan DeKok wrote:
David WU wrote:
I found that the first character of login in the logout record of each login/logout pair missing,
login/logout pair? "radwtmp" stores the list of users currently logged in. So when a user logs out, the first character of their name
Actually I think it stores historical records of users logging in and logging out.
is set to zero. This indicates that they are no longer logged on. See "man wtmp"
The wtmp file records all logins and logouts. Its format is exactly like utmp except that a null user name indicates a logout on the associated terminal.
I did "man wtmp" on the newest release of FreeBSD and the ancient BSD/OS and neither mention the null user name aspect (I think other BSD variants behave similarly), but you are quite correct about the wtmp null user name on the Mandrake release 10.0 and I suspect all linux releases.
The native 'last' command operated on radwtmp with normal results, so I suspect 'last' uses as index the host field instead of the name field.
I don't understand what you think are "normal" results here. The "radlast" program is simply a 3-line shell script wrapper around the native "last" command.
Just found this out about the radlast doing "man radlast". I guess my "normal" results come from a BSD perspective. Best David
participants (4)
-
Alan DeKok -
Charnjit Sidhu -
David WU -
Escobar, Emilio