FreeRadius

2004-08-05 Thread Alexander Belck
Is there any plan to include FreeRadius in OpenPKG ?
It has manny new features, I guess its the only Open Source handling wireless
802.1x authentication and also supports many external authentications like
LDAP, MySQL, PgSQL, ...

Thanks,

Alex

--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Is there any plan to include FreeRadius in OpenPKG ?
It has manny new features, I guess its the only Open Source handling wireless
802.1x authentication and also supports many external authentications like
LDAP, MySQL, PgSQL, ...

I've built freeradius-0.9.3 under OpenPKG, but haven't had any particular
reason to update it as it's been Just Working(tm).

The version I've done has been hacked to use a gdbm hash for password
lookups from a private file to allow it to do *nix style authentication
independent of the underlying system's password files.  I've also modified
it to work with Annex 8000 RACs that have a broken checksum, and no easy
way to get fixed software from Nortel.  These changes are selectable using
normal package options, with_annex_md5_kludge and with_gdbm_passwd
(although I haven't tested builds with these turned off).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Democracy, n.:
A government of the masses.  Authority derived through mass
meeting or any other form of direct expression.  Results in mobocracy.
Attitude toward property is communistic... negating property rights.
Attitude toward law is that the will of the majority shall regulate,
whether it is based upon deliberation or governed by passion,
prejudice, and impulse, without restraint or regard to consequences.
Result is demagogism, license, agitation, discontent, anarchy.
-- U. S. Army Training Manual No. 2000-25 (1928-1932),
   since withdrawn.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Alexander Belck
Where can I find this OpenPKG vers of FreeRadius ?

Can it easyly by upgradet to 1.0.0 and does it provide  --with-ldap ?

Thanks,

Alex

Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Aug 05, 2004, Alexander Belck wrote:
 Is there any plan to include FreeRadius in OpenPKG ?
 It has manny new features, I guess its the only Open Source handling
 wireless
 802.1x authentication and also supports many external authentications like
 LDAP, MySQL, PgSQL, ...

 I've built freeradius-0.9.3 under OpenPKG, but haven't had any particular
 reason to update it as it's been Just Working(tm).

 The version I've done has been hacked to use a gdbm hash for password
 lookups from a private file to allow it to do *nix style authentication
 independent of the underlying system's password files.  I've also modified
 it to work with Annex 8000 RACs that have a broken checksum, and no easy
 way to get fixed software from Nortel.  These changes are selectable using
 normal package options, with_annex_md5_kludge and with_gdbm_passwd
 (although I haven't tested builds with these turned off).

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 Democracy, n.:
   A government of the masses.  Authority derived through mass
 meeting or any other form of direct expression.  Results in mobocracy.
 Attitude toward property is communistic... negating property rights.
 Attitude toward law is that the will of the majority shall regulate,
 whether it is based upon deliberation or governed by passion,
 prejudice, and impulse, without restraint or regard to consequences.
 Result is demagogism, license, agitation, discontent, anarchy.
   -- U. S. Army Training Manual No. 2000-25 (1928-1932),
  since withdrawn.
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]



--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Where can I find this OpenPKG vers of FreeRadius ?

ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/freeradius-0.9.3-20031119.src.rpm

Can it easyly by upgradet to 1.0.0 and does it provide  --with-ldap ?

I don't think it would be a problem updating to 1.0.0.  I haven't looked at
the ldap support in detail.

You may need to install another package that I've built that adds some rpm
macros that came from Caldera's version of RPM, and that I tended to use a
lot.  It also tweaks the %{l_prefix}/etc/openpkg/rpmrc file prepending
%{l_prefix}/etc/rpm/macros to macrofiles allowing local overrides to macros
if necessary.

ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Never do your enemy a minor injury.''
- Machiavelli
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread alexb
Whats needed to put freeradius under ftp.openpkg.org/release/2.1/SRC/PLUS/ ?

So in future it will be esear to find it :-))

Thanks,

Alex
Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Aug 05, 2004, Alexander Belck wrote:
 Where can I find this OpenPKG vers of FreeRadius ?


ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/freeradius-0.9.3-20031119.src.rpm

 Can it easyly by upgradet to 1.0.0 and does it provide  --with-ldap ?

 I don't think it would be a problem updating to 1.0.0.  I haven't looked at
 the ldap support in detail.

 You may need to install another package that I've built that adds some rpm
 macros that came from Caldera's version of RPM, and that I tended to use a
 lot.  It also tweaks the %{l_prefix}/etc/openpkg/rpmrc file prepending
 %{l_prefix}/etc/rpm/macros to macrofiles allowing local overrides to macros
 if necessary.


ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 ``Never do your enemy a minor injury.''
 - Machiavelli
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Couldn't access the links.

Whoops:

ftp://ftp.celestial.com/ftp.openpkg.org doesn't exist for me.
should be:
ftp://ftp.celestial.com/private/ftp.openpkg.org doesn't exist for me.

I found ftp://ftp.celestial.com/pub/ftp.openpkg.org but empty
  and   ftp://ftp.celestial.com/mirror/ftp.openpkg.org but no csrpmutils.

Is there any restriction for anonymous access ?

None other than simulataneous users.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Mechanical Engineers build weapons.  Civil Engineers build targets.''
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Perl

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Some perl scripts use #!/usr/bin/perl

Could I just symlink ln -s /opkg/bin/perl /usr/bin/ ?

I've done this with links to /usr/local/bin/perl with reasonable
success.  Most of the systems we use already have /usr/bin/perl
(e.g. they're Linux).

If the perl script is executed by a user that DO NOT have previosly run

/opkg/etc/rc --evall all env

This depends on whether the perl scripts make system() calls that depend on
the PATH that's set (and spelling --eval correctly :-).  Most of the
scripts I write check to see if the OpenPKG environment has been set, and
if it hasn't, they set it explicitly.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When only cops have guns, it's called a ``police state''.
-- Claire Wolfe, 101 Things To Do Until The Revolution
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


OpenPKG bind in chroot ?

2004-08-05 Thread Alexander Belck
I used to install bind in chroot mode running with a bind exclusive user.

1st) Is OpenPKG ver of bind chroot enabled (-t chrootdir) ?

2nd) opkg_bind uses opkg[-r] user.
 Does I gain more security using an distinct user and chrooting opkg_bind ?

3rd) What does option with_dlz enables ?

Thanks,

Alex

--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Perl

2004-08-05 Thread alexb
I'm using linux too (but relative old RH 7.3) and I thought using OpenPKG
wersions of softwares would give me a longer updated live. If my thinking is
correct, I would like to use OpenPKG version of perl and not the RH73 one.

Could I write a small script that I name /usr/bin/perl  with something like:

#/bin/sh

if [ OPKG-ENV_NOT_SET ]; then
   /opkg/etc/rc --eval all env
fi

/opkg/bin/perl $*



Also I don't know how to check if OPKG_ENV_NOT_SET. Should grabing opkg in $PATH
be enouth ?


Thanks,

Alex

Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Aug 05, 2004, Alexander Belck wrote:
 Some perl scripts use #!/usr/bin/perl
 
 Could I just symlink ln -s /opkg/bin/perl /usr/bin/ ?

 I've done this with links to /usr/local/bin/perl with reasonable
 success.  Most of the systems we use already have /usr/bin/perl
 (e.g. they're Linux).

 If the perl script is executed by a user that DO NOT have previosly run
 
 /opkg/etc/rc --evall all env

 This depends on whether the perl scripts make system() calls that depend on
 the PATH that's set (and spelling --eval correctly :-).  Most of the
 scripts I write check to see if the OpenPKG environment has been set, and
 if it hasn't, they set it explicitly.

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 When only cops have guns, it's called a ``police state''.
 -- Claire Wolfe, 101 Things To Do Until The Revolution
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: OpenPKG bind in chroot ?

2004-08-05 Thread Michael van Elst
On Thu, Aug 05, 2004 at 06:22:40PM -0300, Alexander Belck wrote:

 3rd) What does option with_dlz enables ?

It adds the dynamic loadable zones patch.

See http://bind-dlz.sourceforge.net/ for details.

Greetings,
-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Perl

2004-08-05 Thread Alexander Belck
I don´t understand your point (or expirience).

For me, perl is just a interpretated programing languagues that is developed
independent of RH, Suse,Conectiva...

I whant to run ISPman, that use LDAP to hold ISP data and perl to mantain that
information. This project doesn´t presume that perl comes from distr A, B or C
(and I think that noone should do a propram in any language presuming that the
interpreter/compiler has been bundled by A, B or C).

I thought that being able to use the most up to date version of perl should
avoid bug or security problems corrected in newer versions (while correct
scripts should further run as the language syntax and standarts should not
change).

If I understand right you worries that some tasks of RH7.3 depends specificaly
on his perl distribution and changing /usr/bin/perl could render to problems.
Eaven I could not think where this can happen (I thought also I could upgrade
perl from the developers site independent if RH upgrades), presuming this
problems can happen with som script from RH, could I at least make the scripts
from ISPman use OpenPKG perl ?
If this sounds resonable could you point me out how to change the execution of
the main ISPman script (that invokes all other) to corretly prepare the
environment for OpenPKG ?

Thanks,

Alex


Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Aug 05, 2004, [EMAIL PROTECTED] wrote:
 I'm using linux too (but relative old RH 7.3) and I thought using OpenPKG
 wersions of softwares would give me a longer updated live. If my thinking is
 correct, I would like to use OpenPKG version of perl and not the RH73 one.

 That's probably a Bad Idea(tm) as RH 7.3 may well have things that depend
 on their particular version of perl and its associated modules.  One of the
 major advantages of OpenPKG is that the OpenPKG instance(s) are independent
 of the vendor's underlying packaging system and other installed software.
 I have systems running OpenPKG Release 2.0 under Caldera eDesktop 2.4 which
 is about the same vintage as RH 7.3 with good results.

 Leave the RH stuff alone, and use OpenPKG for everthing else.  Typically I
 set systems up so that root logins don't have the OpenPKG environment set
 by default to avoid problems with the vendor's maintenance scripts and
 updates.  I have to manually execute a command that invokes the OpenPKG
 eval when logged in as root.  This is less of a problem since OpenPKG
 Release 2.0 removed ``rpm'' from the PATH, but there are still potential
 problems if one has the OpenPKG executables in the PATH before the default
 system directories.

 Could I write a small script that I name /usr/bin/perl  with something like:
 
 #/bin/sh
 
 if [ OPKG-ENV_NOT_SET ]; then
/opkg/etc/rc --eval all env
 fi
 
 /opkg/bin/perl $*
 
 
 
 Also I don't know how to check if OPKG_ENV_NOT_SET. Should grabing opkg in
 $PATH
 be enouth ?
 
 
 Thanks,
 
 Alex
 
 Citando Bill Campbell [EMAIL PROTECTED]:
 
  On Thu, Aug 05, 2004, Alexander Belck wrote:
  Some perl scripts use #!/usr/bin/perl
  
  Could I just symlink ln -s /opkg/bin/perl /usr/bin/ ?
 
  I've done this with links to /usr/local/bin/perl with reasonable
  success.  Most of the systems we use already have /usr/bin/perl
  (e.g. they're Linux).
 
  If the perl script is executed by a user that DO NOT have previosly run
  
  /opkg/etc/rc --evall all env
 
  This depends on whether the perl scripts make system() calls that depend
 on
  the PATH that's set (and spelling --eval correctly :-).  Most of the
  scripts I write check to see if the OpenPKG environment has been set, and
  if it hasn't, they set it explicitly.
 
  Bill
  --
  INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
  UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
  FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206)
 236-1676
  URL: http://www.celestial.com/
 
  When only cops have guns, it's called a ``police state''.
  -- Claire Wolfe, 101 Things To Do Until The Revolution
  __
  The OpenPKG Projectwww.openpkg.org
  User Communication List  [EMAIL PROTECTED]
 
 
 
 
 
 
 This message was sent using IMP, the Internet Messaging Program.
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]
 

 --
 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 Do not meddle in the affairs of dragons,
  for you are crunchy and taste good with ketchup.