Discussion:
Developing modules
(too old to reply)
dev
2015-11-02 21:41:05 UTC
Permalink
Content preview: Hi, I'd like to take a stab at porting the radius contrib
module to FreeRadius. Can someone point me in the direction of documentation
for the openldap module format? I see there is init_module() and term_module()
defined in the source for the modules I've looked at but the rest is guesswork.
I've poked around Google a bit but only so far ran across a post in 2011
asking the same question. Thanks [...]

Content analysis details: (-2.5 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
trust
[209.85.213.180 listed in list.dnswl.org]
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(devuan.2[at]gmail.com)
-0.0 SPF_PASS SPF: sender matches SPF record
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in
digit (devuan.2[at]gmail.com)
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature

Hi,
I'd like to take a stab at porting the radius contrib module to
FreeRadius. Can someone point me in the direction of documentation for
the openldap module format? I see there is init_module() and
term_module() defined in the source for the modules I've looked at but
the rest is guesswork. I've poked around Google a bit but only so far
ran across a post in 2011 asking the same question.
Thanks
Howard Chu
2015-11-04 10:48:46 UTC
Permalink
Content preview: dev wrote: > Hi, > I'd like to take a stab at porting the
radius contrib module to FreeRadius. > Can someone point me in the direction
of documentation for the openldap module > format? I see there is init_module()
and term_module() defined in the source > for the modules I've looked at
but the rest is guesswork. I've poked around > Google a bit but only so far
ran across a post in 2011 asking the same question. > Thanks [...]

Content analysis details: (-4.2 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium
trust
[69.43.206.106 listed in list.dnswl.org]
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: highlandsun.com]
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
Hi,
I'd like to take a stab at porting the radius contrib module to FreeRadius.
Can someone point me in the direction of documentation for the openldap module
format? I see there is init_module() and term_module() defined in the source
for the modules I've looked at but the rest is guesswork. I've poked around
Google a bit but only so far ran across a post in 2011 asking the same question.
Thanks
There is no particular format. Since you're porting an existing module you
don't need to worry about it anyway, just keep the existing structure and fix
what needs to be ported.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Loading...