Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566246 - net-proxy/dansguardian-2.12.0.3-r2 - patch to use authplugins ident and ip at one filterport
Summary: net-proxy/dansguardian-2.12.0.3-r2 - patch to use authplugins ident and ip at...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 17:58 UTC by Robby Klehm
Modified: 2016-02-20 17:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
overlay with patch (dansguardian-2.12.0.3-r2-bug#566246.patch.tgz,3.21 KB, patch)
2015-11-19 18:02 UTC, Robby Klehm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Klehm 2015-11-19 17:58:34 UTC
Using authplugins ident and ip at one filterport is broken. Doing so dansguardian always uses the last authplugin configured at dansguardian.conf.

I assume that this is a regression introduced with the new multi filterport feature.

The attached patch fixes the bug for me.

Reproducible: Always

Steps to Reproduce:
1. /etc/dansguardian/dansguardian.conf is configured to use ident, then ip
authplugin = '/etc/dansguardian/authplugins/ident.conf'
authplugin = '/etc/dansguardian/authplugins/ip.conf'

2. Checking this turns out that ident auth does not work.

3. Change authplugins order at dansguardian.conf

4. Now ident works put ip does not.
Comment 1 Robby Klehm 2015-11-19 18:02:37 UTC
Created attachment 417370 [details, diff]
overlay with patch
Comment 2 Tomáš Mózes 2015-11-20 06:38:06 UTC
Hello Robby, thanks for the patch. Dansguardian currently has no maintainer, are you willing to proxy maintain it?
Comment 3 Robby Klehm 2015-11-23 14:04:33 UTC
Could you please give some advise on what a proxy maintainer is expected to do? I have no insight into dansguardian app. Just fixed this issue, because I need it to work again.
Comment 4 Tomáš Mózes 2015-11-23 16:24:20 UTC
There is the proxy maintainers team that on behalf of users commit patches to portage. Check out https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you wish your patches to reach portage.
Comment 5 Robby Klehm 2015-12-16 08:00:34 UTC
There is no response from upstream about this bug and moreover I did not got an answer to my email asking about dansguardian further development. As "it is important to have prior knowledge about the package" to become a proxy maintainer I have to decline unfortunately. I'll inform you if this situation has been changed.
Comment 6 Patrick McMunn 2016-01-29 02:30:06 UTC
Robby, I recently submitted an ebuild for e2guardian (bug 572734) which is an actively maintained fork of DansGuardian. You may be interested in testing out e2guardian and seeing if it is affected by the same issue since it is a fork of DansGuardian.
Comment 7 Tomáš Mózes 2016-01-29 06:35:37 UTC
Since dansguardian is going to be removed from portage soon, that seems like a reasonable way.
Comment 8 Robby Klehm 2016-01-29 07:59:57 UTC
Patrick, my patch applies at net-proxy/dansguardian-2.12.0.3-r2. If your fork is based on this version and this bug is not explicitly fixed at your fork, I assume to find it at e2guardian too. I'll switch to e2guardian next time I update my server and provide then feedback. Thank you for this fork.

You may apply my patch at e2guardian before and let me know how it works. I'd rather like to switch to fixed version of e2guardian.
Comment 9 Patrick McMunn 2016-01-30 01:38:48 UTC
I didn't write this fork, Robby. I just happened to stumble upon the project and wanted to get it into Portage since DansGuardian hasn't been updated in so long. I'm sure e2guardian's upstream would be responsive -- especially if you have any patches to submit. Because i think it's currently just one guy working on it.
Comment 10 Pacho Ramos gentoo-dev 2016-02-20 17:38:52 UTC
removed