View previous topic :: View next topic |
Author |
Message |
mollie n00b
Joined: 02 Jan 2003 Posts: 16 Location: Australia
|
Posted: Thu Aug 04, 2005 5:51 am Post subject: |
|
|
Thanks predatorfreak,
I have looked into rewriting the isdigit function, and i found a bash command does the same thing as 'expr substring'. I have modified genpass to use the new command. I'll ask Chris to post up the new version.
I assume that because FreeBSD has bash, then this command will work.
The command i used is:
Code: |
substring=${stringvar:startposition:length}
|
It is so much better then the expr command
I hope it works on FreeBSD!
regards,
Matt _________________ There are 10 types of people in this world, those who can read binary and those who cant. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Thu Aug 04, 2005 6:34 am Post subject: |
|
|
greetings
I have uploaded version 0.3-r2 to the server
source
ebuild
no need to get this version unless you wanna try it on BSD. it has the same functionality as r1.
cheers
-c _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
idx n00b
Joined: 29 Jul 2005 Posts: 4
|
Posted: Thu Aug 04, 2005 1:36 pm Post subject: |
|
|
mollie wrote: | I assume that because FreeBSD has bash, then this command will work.
|
Only if it's specifically installed. Perhaps the creator of the genpass port made bash a dep?
-r |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Fri Aug 05, 2005 4:05 am Post subject: |
|
|
idx wrote: | mollie wrote: | I assume that because FreeBSD has bash, then this command will work.
|
Only if it's specifically installed. Perhaps the creator of the genpass port made bash a dep?
-r |
well predatorfreak said that it ran, but had an issue with the expr command - but other than that it was fine. so I assume he had bash - but as you say I have no idea about a default BSD install.
-c _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Fri Aug 05, 2005 10:09 pm Post subject: |
|
|
I'll update my port accordingly. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Fri Aug 05, 2005 10:11 pm Post subject: |
|
|
taskara wrote: | idx wrote: | mollie wrote: | I assume that because FreeBSD has bash, then this command will work.
|
Only if it's specifically installed. Perhaps the creator of the genpass port made bash a dep?
-r |
well predatorfreak said that it ran, but had an issue with the expr command - but other than that it was fine. so I assume he had bash - but as you say I have no idea about a default BSD install.
-c |
Yes I did make bash a depend and fixed the location of bash so that it executes properly on FreeBSD. (Sorry for two posts in a row) _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Fri Aug 05, 2005 10:49 pm Post subject: |
|
|
Done with my port of genpass 0.3-r2.
Link: http://www.dcaf-security.org/pred/genpass-0.3-r2-freebsd.tar
Also, your welcome to upload this anywhere you please _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Fri Aug 05, 2005 11:43 pm Post subject: |
|
|
thanks predatorfreak, did that fix the issues under BSD and does it run fine now?
also, is that port just for freebsd or will it work on any bsd?
cheers,
-c _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Sat Aug 06, 2005 1:01 am Post subject: |
|
|
taskara wrote: | thanks predatorfreak, did that fix the issues under BSD and does it run fine now?
also, is that port just for freebsd or will it work on any bsd?
cheers,
-c |
The makefile is highly FreeBSD ports specific, due too difference between ports system used by BSD's, it does run perfectly and I'd expect that it should work fine with any BSD, but the actual port is FreeBSD specific. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sat Aug 06, 2005 3:14 am Post subject: |
|
|
cheers
-c _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Sat Aug 06, 2005 10:33 am Post subject: |
|
|
For anyone who might be interested, too help track revisions on my port of genpass for FreeBSD ports, I'm adding it too my CVS system on dcaf-security.org, anonymous CVS access is permitted and the port can be checked out in the normal way (note: There's no anonymous CVS password), It can also be viewed by cvsweb at http://www.dcaf-security.org/cgi-bin/cvsweb.cgi/genpass-fbsd/. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Mon Aug 22, 2005 7:56 am Post subject: |
|
|
Just checking in, but I haven't seen much work done on the genpass front and I'm wondering whats up, I'm starting to take a bit of a personal interest in this project. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 22, 2005 8:12 am Post subject: |
|
|
predatorfreak wrote: | Just checking in, but I haven't seen much work done on the genpass front and I'm wondering whats up, I'm starting to take a bit of a personal interest in this project. |
Hey predatorfreak! Nothing more has been done since 0.3-r2 atm cause no-one has come up with any suggestions and or problems.
We have been busy working on a few other things however, including dialoging usertools - genuser and gensetpass
http://www.gensys.org/files
and kernels and patches etc..
let us know if you have thoughts / suggestions for genpass, happy to take a look!
also discovered quite a few other password generators out there (although when we originally searched with out hardly find anything!)
including the program on gentoo livecd used to scramble the root password, pwgen.
they all work very well except I haven't found one yet that lets you specify the number and type of characters in your password like genpass does..
cheers,
chris _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Last edited by taskara on Mon Aug 22, 2005 11:25 pm; edited 1 time in total |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Mon Aug 22, 2005 7:08 pm Post subject: |
|
|
taskara wrote: | predatorfreak wrote: | Just checking in, but I haven't seen much work done on the genpass front and I'm wondering whats up, I'm starting to take a bit of a personal interest in this project. |
Hey predatorfreak! Nothing more has been done since 0.3-r2 atm cause no-one has come up with any suggestions and or problems.
We have been busy working on a few other things however, including dialoging usertools - genuser and gensetpass
http://www.gensys.org/files
and kernels and patches etc..
let us know if you have thoughts / suggestions for genpass, happy to take a look!
also discovered quite a few other password generators out there (although when we originally searched with out hardly find anything!)
including the program on gentoo livecd used to scramble the root password, which I can't remember the name of atm..
they all work very well except I haven't found one yet that lets you specify the number and type of characters in your password like genpass does..
cheers,
chris |
Just a thought, but if you need any advice or help on your kernel projects I'm always available, I maintained the dark-sources project for quite awhile before my switch to FreeBSD (I might install slackware linux or arch into qemu so I can start maintaining it again) and I'm sure I can give you a few pointers. I'd also be happy to write up FreeBSD ports for your other projects, because at this time most of my projects are rather small and are fairly complete. One suggestion to possibly consider is hashing password's then scrambling the hash, which could provide even more randomness to the passwords. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Aug 22, 2005 11:36 pm Post subject: |
|
|
Thanks predator freak.
You are welcome to download the kernel from that link if you like and take a look.
At present it has the following patches:
2.6.12.5
ck-r5
reiser4
mppe/mppc
fbsplash
vesa-tng
inotify
squashfs
alps touchpad fix
various libata fixes
it is "tuned" for desktop although I have not included the Hz patch yet.
There is an ebuild there if you want, although sounds like you don't have Gentoo installed atm. I also have a static kernel if you want it.
Thanks for your offer to help, I'll be in touch soon.
-c _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Tue Aug 23, 2005 1:24 am Post subject: |
|
|
taskara wrote: | Thanks predator freak.
You are welcome to download the kernel from that link if you like and take a look.
At present it has the following patches:
2.6.12.5
ck-r5
reiser4
mppe/mppc
fbsplash
vesa-tng
inotify
squashfs
alps touchpad fix
various libata fixes
it is "tuned" for desktop although I have not included the Hz patch yet.
There is an ebuild there if you want, although sounds like you don't have Gentoo installed atm. I also have a static kernel if you want it.
Thanks for your offer to help, I'll be in touch soon.
-c |
Not to be too negative, but there are a number of these type of kernel's already, including but not limited to archck, ckx and a handful of others. I'm not sure if this is really much new in the kernel ring or something different enough to warrent creating a new patchset. I'd recommend that if you want to provide the libata fixes and such, that you should instead base this off an already existing kernel like this (such as ckx/archck) and just add these patches in. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Tue Aug 23, 2005 2:19 am Post subject: |
|
|
Thanks for your input.. there is a specific purpose for the kernel though
So as not to get OT here, I'll PM you for future discussion.
cheers _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
ilikelinux n00b
Joined: 19 Dec 2003 Posts: 50
|
Posted: Tue Sep 13, 2005 3:59 am Post subject: |
|
|
Hi there, I noticed in your script, you hard link the bash location. Providing that FreeBSD has /bin/env, you could edit the genpass script and change the enviroment from /bin/bash to /bin/env bash, so that on different *nix's it can run bash (if it is installed) with out the script needing to know where bash is. |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Tue Sep 13, 2005 6:26 am Post subject: |
|
|
ilikelinux wrote: | Hi there, I noticed in your script, you hard link the bash location. Providing that FreeBSD has /bin/env, you could edit the genpass script and change the enviroment from /bin/bash to /bin/env bash, so that on different *nix's it can run bash (if it is installed) with out the script needing to know where bash is. |
Yeah, FreeBSD does have env, so that would work perfectly. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
|