mrtg causing snmpd to hang ???

2001-10-20 Thread Martin Man
hi all,
I started to play with stock debian/testing snmpd and mrtg, 
what I did is that
I installed both packages, tuned snmd.conf so that it doesn't monitor any
programs and then ran cfgmaker localhost to create example mrtg.cfg, the
result was that snmpd hang immediately, I've only seen Recv-Q count from 
netstat -ltu increasing, meaning that snmpd is not processing any
requests anymore,and had to kill it -9 to shut it down

 simple play with snmpget shows that it is possible to
retrieve certain values (sysname) without hanging it, but cfgmaker localhost
surely stops the snmpd from responding...

any idea ???

P.S. I'm quite new to mrtg and snmpd, perhaps I skipped something obvious, but
surely I read faq, and manpages from both packages :(

thanx,
martin
-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223




mrtg causing snmpd to hang ???

2001-10-20 Thread Martin Man

hi all,
I started to play with stock debian/testing snmpd and mrtg, 
what I did is that
I installed both packages, tuned snmd.conf so that it doesn't monitor any
programs and then ran cfgmaker localhost to create example mrtg.cfg, the
result was that snmpd hang immediately, I've only seen Recv-Q count from 
netstat -ltu increasing, meaning that snmpd is not processing any
requests anymore,and had to kill it -9 to shut it down

 simple play with snmpget shows that it is possible to
retrieve certain values (sysname) without hanging it, but cfgmaker localhost
surely stops the snmpd from responding...

any idea ???

P.S. I'm quite new to mrtg and snmpd, perhaps I skipped something obvious, but
surely I read faq, and manpages from both packages :(

thanx,
martin
-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




php4-cgi and cgiwrap

2001-10-20 Thread seezov
I'm trying to use a script (phpscript) with cgiwrap but i can't. I use
cgiwrap with succes with perl and bash !!!

this is the error that I read in my browser:

F?öu fÄôhPSVh(è?ÜÿÿfÄ f=open access control file 

  %s: %s





Local Information and Documentation: 

%s 
Server Data: 
Request Data: 

is "%s". Try reconfiguring cgiwrap using '--with-httpd-user=%s'. 

%s

When: %s 
Error Message: %s 
Error Number: %d 

Re: Convert md5 password from openBSD to debian md5 ?

2001-10-20 Thread Jan-Benedict Glaw
On Sat, 2001-10-20 18:09:14 +0200, Norbert Bomba?a <[EMAIL PROTECTED]>
wrote in message <[EMAIL PROTECTED]>:
> Helo :-)
> 
> How to convert password file form OPENBSD /etc/master.passwd MD5 to
> debian MD5 /etc/passwd file ???
> The coded strings aren't the same length a I think that they are coded not
> the same way.
> Where can I find convert script or how to do this ?
> I tried coded the same user and the same password in both systems and ...
> coded password are diffrent.

Try to add 2 new users at your linux box with exactly the same
password. See that the crypted (hashed) version is not the same.

Well, the problem is that 2 users might use the same password. If
I had stolen a /etc/passwd, I would instantly know that I've
cracked both users because I would see two identical crypted
values. So whenever you're to set a new password, the system
fetches some random data (the first characters of the crypted
value you find in /etc/passwd) and prepends it with your input.
This combined string gets actually hashed. In the hashed result
is also written to your /etc/passwd, it's the rest of the
crypted characters you find in the passwd field. So try to
simply copy one of your BSDish password hashes to a newly
created user's passwd field on your Linux box and try it. I
actually haven't done that before, but it *might* succeed...

MfG, JBG

-- 
Jan-Benedict Glaw . [EMAIL PROTECTED] . +49-172-7608481




Re: Convert md5 password from openBSD to debian md5 ?

2001-10-20 Thread Jasmin Malkic
> How to convert password file form OPENBSD /etc/master.passwd MD5 to
> debian MD5 /etc/passwd file ???
> The coded strings aren't the same length a I think that they are coded not
> the same way.
> Where can I find convert script or how to do this ?
> I tried coded the same user and the same password in both systems and ...
> coded password are diffrent.

Don't know much about how OPENBSD implements MD5 but as it's the US
federal standard there shouldn't be much difference. By definition, same
inputs in same standard MUST give the same outputs, and no different inputs
can give the same output. Are You sure You have same crypto algorithm
version on both systems? Maybe MD4 or something is there also?
Converting MD5 encrypted passwords, hmmm, also by definition that
non-reversable algorithms such as MD5 or SHA-1 doesn't allow their outputs
to be used for getting anything that make sense. Such outputs can only be
used for the comparision. Anyway, anybody find or make a script that does
it, I would be happy to have it too.
Sorry, think I wasn't too much of help, regards!
J.





php4-cgi and cgiwrap

2001-10-20 Thread seezov

I'm trying to use a script (phpscript) with cgiwrap but i can't. I use
cgiwrap with succes with perl and bash !!!

this is the error that I read in my browser:

F?öu fÄôhPSVh(è?ÜÿÿfÄ f=open access control file 

  %s: %s





Local Information and Documentation: 

%s 
Server Data: 
Request Data: 

is "%s". Try reconfiguring cgiwrap using '--with-httpd-user=%s'. 

%s

When: %s 
Error Message: %s 
Error Number: %d 


Convert md5 password from openBSD to debian md5 ?

2001-10-20 Thread Norbert Bombała
Helo :-)

How to convert password file form OPENBSD /etc/master.passwd MD5 to
debian MD5 /etc/passwd file ???
The coded strings aren't the same length a I think that they are coded not
the same way.
Where can I find convert script or how to do this ?
I tried coded the same user and the same password in both systems and ...
coded password are diffrent.

Sory for my poor english.
and thanks for help.

Regards
Norbert Bombała.
[EMAIL PROTECTED], +48503-072-333






Re: Convert md5 password from openBSD to debian md5 ?

2001-10-20 Thread Jan-Benedict Glaw

On Sat, 2001-10-20 18:09:14 +0200, Norbert Bomba?a <[EMAIL PROTECTED]>
wrote in message <[EMAIL PROTECTED]>:
> Helo :-)
> 
> How to convert password file form OPENBSD /etc/master.passwd MD5 to
> debian MD5 /etc/passwd file ???
> The coded strings aren't the same length a I think that they are coded not
> the same way.
> Where can I find convert script or how to do this ?
> I tried coded the same user and the same password in both systems and ...
> coded password are diffrent.

Try to add 2 new users at your linux box with exactly the same
password. See that the crypted (hashed) version is not the same.

Well, the problem is that 2 users might use the same password. If
I had stolen a /etc/passwd, I would instantly know that I've
cracked both users because I would see two identical crypted
values. So whenever you're to set a new password, the system
fetches some random data (the first characters of the crypted
value you find in /etc/passwd) and prepends it with your input.
This combined string gets actually hashed. In the hashed result
is also written to your /etc/passwd, it's the rest of the
crypted characters you find in the passwd field. So try to
simply copy one of your BSDish password hashes to a newly
created user's passwd field on your Linux box and try it. I
actually haven't done that before, but it *might* succeed...

MfG, JBG

-- 
Jan-Benedict Glaw . [EMAIL PROTECTED] . +49-172-7608481


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Convert md5 password from openBSD to debian md5 ?

2001-10-20 Thread Jasmin Malkic

> How to convert password file form OPENBSD /etc/master.passwd MD5 to
> debian MD5 /etc/passwd file ???
> The coded strings aren't the same length a I think that they are coded not
> the same way.
> Where can I find convert script or how to do this ?
> I tried coded the same user and the same password in both systems and ...
> coded password are diffrent.

Don't know much about how OPENBSD implements MD5 but as it's the US
federal standard there shouldn't be much difference. By definition, same
inputs in same standard MUST give the same outputs, and no different inputs
can give the same output. Are You sure You have same crypto algorithm
version on both systems? Maybe MD4 or something is there also?
Converting MD5 encrypted passwords, hmmm, also by definition that
non-reversable algorithms such as MD5 or SHA-1 doesn't allow their outputs
to be used for getting anything that make sense. Such outputs can only be
used for the comparision. Anyway, anybody find or make a script that does
it, I would be happy to have it too.
Sorry, think I wasn't too much of help, regards!
J.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Convert md5 password from openBSD to debian md5 ?

2001-10-20 Thread Norbert Bombała

Helo :-)

How to convert password file form OPENBSD /etc/master.passwd MD5 to
debian MD5 /etc/passwd file ???
The coded strings aren't the same length a I think that they are coded not
the same way.
Where can I find convert script or how to do this ?
I tried coded the same user and the same password in both systems and ...
coded password are diffrent.

Sory for my poor english.
and thanks for help.

Regards
Norbert Bombała.
[EMAIL PROTECTED], +48503-072-333




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]