Re: [twsocket] MD5 passwords

2009-11-22 Thread Ruud Kerstens
7:54 PM To: "ICS support mailing" Subject: Re: [twsocket] MD5 passwords Ruud Kerstens wrote: Ok, I will go and read it. anyway, thanks for your replies, lets see if i can find any solution, if so i will let you know! Looks like porting this stuff to delphi would do the trick: http

Re: [twsocket] MD5 passwords

2009-11-22 Thread Arno Garrels
Ruud Kerstens wrote: > Ok, I will go and read it. > > anyway, thanks for your replies, lets see if i can find any solution, > if so i will let you know! Looks like porting this stuff to delphi would do the trick: https://www.codeblog.org/viewsrc/glibc-2.6.1/crypt/md5-crypt.c >From a brief look, O

Re: [twsocket] MD5 passwords

2009-11-22 Thread Angus Robertson - Magenta Systems Ltd
> I also know there are different options, like using --des for des > encryption. and also --md5 for md5 way of encrypting. and a --check > option to check the password. > > MD5-based scheme > http://en.wikipedia.org/wiki/Crypt_(Unix)#MD5-based_scheme > What ever it is, it's not supported by ICS (c

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ko Brink
For who cares about it, its called "freeBSD md5 crypt" or "unix md5 crypt". some text i had lying around MD5 crypt was written by Poul-Henning Kamp for FreeBSD. The main reason for using MD5 was to avoid problems with American export prohibitions on cryptographic products, and to allow for a

Re: [twsocket] MD5 passwords

2009-11-21 Thread RTT
well, i created the string with a linux-tool on the radius-server (freeradius). It is used as: cryptpasswd --md5 . Free pascal has a unit that does exactly what your posted perlscript code does http://florianklaempfl.de:8000/fpctrunk/file/70e283550952/packages/hash/src/unixcrypt.pas#l1 But

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
M To: "ICS support mailing" Subject: Re: [twsocket] MD5 passwords Ruud Kerstens wrote: Well, i actually do not know, you could be right, i really do not know... I also know there are different options, like using --des for des encryption. and also --md5 for md5 way of encrypting. and a --c

Re: [twsocket] MD5 passwords

2009-11-21 Thread Arno Garrels
Ruud Kerstens wrote: > Well, i actually do not know, you could be right, i really do not > know... > > I also know there are different options, like using --des for des > encryption. and also --md5 for md5 way of encrypting. and a --check > option to check the password. > I guess it really is som

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
support mailing" Subject: Re: [twsocket] MD5 passwords Ruud Kerstens wrote: well, i created the string with a linux-tool on the radius-server (freeradius). It is used as: cryptpasswd --md5 . Doesn't this just encrypt the MD5 value of the password? Just a wild guess.. -- Arno Garrels --

Re: [twsocket] MD5 passwords

2009-11-21 Thread Arno Garrels
Ruud Kerstens wrote: > well, i created the string with a linux-tool on the radius-server > (freeradius). It is used as: > cryptpasswd --md5 . Doesn't this just encrypt the MD5 value of the password? Just a wild guess.. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mail

Re: [twsocket] MD5 passwords

2009-11-21 Thread Ruud Kerstens
= 0; $i < ($opt_md5 ? 8 : 2); $i++) { $salt .= $saltc[rand 64]; } $salt .= '$' if ($opt_md5); print crypt($ARGV[0], $salt), "\n"; 1; } exit !main(); -- From: "Arno Garrels&quo

Re: [twsocket] MD5 passwords

2009-11-21 Thread Arno Garrels
Ruud Kerstens wrote: > > the password 'test' should generate : > $1$/mMVthpE$sgNAe9PaR0ORB1YCc1CVq1 A MD5 checksum/hash value is an array of 16 bytes, mostly represented as a hex string, that's what StrMD5() returns. The MD5 of "test" as a hex string looks like "7318EFC576D8C24B47540D5ACFD58E5

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Wilfried Mestdagh
Hello Arno, > So I will forget that and sleep well in the future, anyway it's much > faster w/o a check, and I like it fast ;-) Yes you can sleep on both of your ears (Flemish proverb); --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Stadin, Benjamin
Arno Garrels schrieb: > > I wasn't sure about how Winsock/ICS handles simple data corruption. > What would happen if it happens? A ethernet 802.x packet is a struct of: preamble (8 byte) | destination (6 byte) | source (6 byte) | length (2 byte) | data (46-1500 byte) | fcs (4 byte) If fcs (frame

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Wilfried Mestdagh
Hello Arno, > I wasn't sure about how Winsock/ICS handles simple data corruption. > What would happen if it happens? Packets are resent. The amount of packets is depending the size of the receive window. If memory serve the receive window (where TCP send ACK) can be till 8 kb. --- Rgds, Wilfried

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Arno Garrels
Francois PIETTE wrote: >> I'm writting a small C/S protocol. It includes sending/receiving >> database records. > => No need: TCP stream already has error detection and correction I wasn't sure about how Winsock/ICS handles simple data corruption. What would happen if it happens? > To detect "ma

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Francois PIETTE
> I'm writting a small C/S protocol. It includes sending/receiving > database records. > Would you suggest to send and check a MD5 checksum? > May be it is OK to live with this overhead only upon database write > requests? Why send MD5 checksum ? To detect errors ? => No need: TCP stream already h

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Arno, > >> What happens in ICS when a corrupted packet has been received? >> Is DataAvailable being triggered with an error > 0 ? > > I assume you use TCP. Yes I do. > No need for additional check. I never have seen > a corrupt packet in TCP. Even not on radio

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Wilfried Mestdagh
Hello Arno, > What happens in ICS when a corrupted packet has been received? > Is DataAvailable being triggered with an error > 0 ? I assume you use TCP. No need for additional check. I never have seen a corrupt packet in TCP. Even not on radio networks where there is planty of noise. If I recal

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Arno Garrels
Fastream Technologies wrote: > Hello Arno, > > AFAIK TCP already does CRC per packet so MD5 may be a bit expensive > (doing additionally). What happens in ICS when a corrupted packet has been received? Is DataAvailable being triggered with an error > 0 ? > > Regards, > > SZ > > On 10/5/06, Ar

Re: [twsocket] MD5 check needed ?

2006-10-05 Thread Fastream Technologies
Hello Arno, AFAIK TCP already does CRC per packet so MD5 may be a bit expensive (doing additionally). Regards, SZ On 10/5/06, Arno Garrels <[EMAIL PROTECTED]> wrote: > Hello, > > I'm writting a small C/S protocol. It includes sending/receiving > database records. Would you suggest to send and c

Re: [twsocket] MD5

2006-06-16 Thread Francois PIETTE
> I noticed that some components are using md5 hashing... is there any > way i could just md5-hash some string using ICS? How? Just have a look at IcsMD5.pas unit. btw: There are also SHA1 hashing, MD4 hashing and DES encryption in ICS. -- Contribute to the SSL Effort. Visit http://www.overbyte.