First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 136662
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for New Packages <maintainer-wanted@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Fleming <fenixrf@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mod_auth_cookie_mysql2-0.7.ebuild ebuild for mod_auth_cookie_mysql2 text/plain Richard Fleming 2006-06-13 08:15 0000 1.26 KB Details
55_mod_auth_cookie_mysql2.conf config file text/plain Richard Fleming 2006-06-13 08:18 0000 3.72 KB Details
55_mod_auth_cookie_mysql2.conf config file for mod_auth_cookie_mysql2 text/plain Richard Fleming 2006-06-13 08:57 0000 3.73 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 136662 depends on: Show dependency tree
Bug 136662 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-13 08:12 0000
Greetings!

Please find attached mod_auth_cookie_mysql2-0.7.ebuild and
55_mod_auth_cookie_mysql2.conf for submission into portage.

With mod_auth_cookie_mysql2 you can authorize your users with cookies. An
external script sets the cookie and this module checks it against a MySQL
database. The username/password combination is only one time transferred to the
webserver when the external authenticator script (which sets the cookie) checks
the user data. The generated cookie consists only of random session data. So
you can, for example, authenticate the user and set the cookie in a ssl
connection and then use the cookie in a non-ssl environment and nobody can spy
the username/password. Since the cookie is only random session data nobody can
"hack" the system by manipulating the cookie values. Additionally you can add
checks for session expiry and the correct remote ip on the server side.

I suggest placing this ebuild in www-apache since it's an Apache module.

This package depends on MySQL and Apache2

------- Comment #1 From Richard Fleming 2006-06-13 08:15:58 0000 -------
Created an attachment (id=89046) [edit]
ebuild for mod_auth_cookie_mysql2

the ebuild

------- Comment #2 From Richard Fleming 2006-06-13 08:18:15 0000 -------
Created an attachment (id=89048) [edit]
config file

------- Comment #3 From Richard Fleming 2006-06-13 08:57:25 0000 -------
Created an attachment (id=89053) [edit]
config file for mod_auth_cookie_mysql2

the config file

------- Comment #4 From Luca Longinotti 2006-06-13 09:34:20 0000 -------
The ebuild was added to CVS as www-apache/mod_auth_cookie_mysql2, it should
show up on the rsync mirrors in a few hours.
I cleaned the ebuild up a bit by deleting the src_install part, as it's not
needed (config files get chmod 0644 by default if you do nothing), and added
apache-pkg_postinst to pkg_postinst() so that it outputs also the other, normal
warnings and messages.
The config file also needed the directives to be wrapped inside a <Directory
""></Directory> block, which I did, commented out and added a comment about how
it's needed for it to work and how to use it.
Thanks for the ebuild and config!
Best regards, CHTEKK.

First Last Prev Next    No search results available      Search page      Enter new bug