Hi Dan, Thanks a lot. It worked fine now.
-KrishnaMohan --- On Thu, 24/12/09, Dan McDonald <danmcd at sun.com> wrote: From: Dan McDonald <dan...@sun.com> Subject: Re: [networking-discuss] IPSec interoperability between Solaris and Windows XP To: "Krishna Mohan" <gkmohan96 at yahoo.co.in> Cc: networking-discuss at opensolaris.org, security-discuss at opensolaris.org Date: Thursday, 24 December, 2009, 12:52 PM On Thu, Dec 24, 2009 at 12:17:45PM +0530, Krishna Mohan wrote: > I?ve used preshared > key ? ?asdfghjklqwertyuiopzxcv? in Windows XP and the same key converted to > hexadecimal ?666473616b6a68676577716c757974727a706f690a766378? been used in > solaris. > ? > I?ve also tried as ?echo ?asdfghjklqwertyuiopzxcv? > | tr ?d ?\n? | od ?t x? You're byteswapping.? asdf isn't 66647361, it's 61736466.? You did this on an x86 box, which stores words in byteswapped (little-endian) order.? See this blog entry for important safety tips on mistakes like this: ??? http://blogs.sun.com/danmcd/entry/endian_independence_not_just_for You should do this for your od: ??? od -tx1 which will spit things out one byte at a time, neatly avoiding byteswapping. Try again without the byteswapping (and without the newline, you got that part right). Dan The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/security-discuss/attachments/20091224/e349b02e/attachment.html>