LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2007, 03:28 AM   #1
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Rep: Reputation: 30
Program to decode PPP response from hex


Hi,

Is there anyway to decode the code I posted below. The code is in hex and is from a PPP negotiation session. It was captured using a 3 way serial cable so that I could plug in my PC between two devices doing PPP negotiation. I tried to use text2pcap but it doesnt seem to accept it. Can anyone let me know how I can decode it or can someone do it for me and post the content?


Best Regards

Fredrik



Code:
000000 7E FF 7D 23 C0 21 7D 21 7D 23 7D 20 7D 39 7D 22
000010 7D 26 7D 20 7D 2A 7D 20 7D 20 7D 23 7D 25 C2 23
000020 80 7D 25 7D 26 51 3D EB 7D 32 7D 27 7D 22 7D 28
000030 7D 22 84 36 7E 7E FF 03 C0 21 02 01 00 14 02 06
000040 00 00 00 00 05 06 42 28 2E C7 07 02 08 02 5C 6C
000050 7E 7E FF 03 C2 23 01 E4 00 15 08 C9 0A 0C 2D 14
000060 E9 88 01 4E 41 53 32 20 20 20 20 7A C4 7E 7E FF
000070 03 C0 21 01 04 00 19 02 06 00 0A 00 00 03 05 C2
000080 23 80 05 06 51 3E 1E 04 07 02 08 02 DB 4D 7E 7E
000090 FF 03 C0 21 02 01 00 14 02 06 00 00 00 00 05 06
0000a0 42 28 2E C7 07 02 08 02 5C 6C 7E 7E FF 03 C0 21
0000b0 01 05 00 19 02 06 00 0A 00 00 03 05 C2 23 80 05
0000c0 06 51 3E 1E 04 07 02 08 02 9F 16 7E 7E FF 03 C0
0000d0 21 01 06 00 19 02 06 00 0A 00 00 03 05 C2 23 80
0000e0 05 06 51 3E 1E 04 07 02 08 02 53 FB 7E 7E FF 03
0000f0 C0 21 01 07 00 19 02 06 00 0A 00 00 03 05 C2 23
000110 80 05 06 51 3E 1E 04 07 02 08 02 17 A0 7E 7E FF
000120 03 C0 21 01 08 00 19 02 06 00 0A 00 00 03 05 C2
000130 23 80 05 06 51 3E 1E 04 07 02 08 02 D8 E2 7E 7E
000140 FF 03 C0 21 02 01 00 14 02 06 00 00 00 00 05 06
000150 42 28 2E C7 07 02 08 02 5C 6C 7E 7E FF 03 C0 21
000160 01 09 00 19 02 06 00 0A 00 00 03 05 C2 23 80 05
000170 06 51 3E 1E 04 07 02 08 02 9C B9 7E 7E FF 03 C0
000180 21 01 0A 00 19 02 06 00 0A 00 00 03 05 C2 23 80
000190 05 06 51 3E 1E 04 07 02 08 02 50 54 7E 7E FF 03
0001a0 C0 21 01 0B 00 19 02 06 00 0A 00 00 03 05 C2 23
0001b0 80 05 06 51 3E 1E 04 07 02 08 02 14 0F 7E 7E FF
0001c0 03 C0 21 01 0C 00 19 02 06 00 0A 00 00 03 05 C2
0001d0 23 80 05 06 51 3E 1E 04 07 02 08 02 D9 87 7E 7E
0001e0 FF 03 C0 21 01 0D 00 19 02 06 00 0A 00 00 03 05
0001f0 C2 23 80 05 06 51 3E 1E 04 07 02 08 02 9D DC 7E
 
Old 07-11-2007, 07:19 AM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
how exactly did you capture that ? This output is not recognized as a valid protocol stream by all programs I tried..
 
Old 07-11-2007, 07:37 AM   #3
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Here, look yourself, this is what I got when trying to decode it:

http://freenet-homepage.de/dateigarage/nonsense.png
 
Old 07-12-2007, 03:04 AM   #4
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Original Poster
Rep: Reputation: 30
It was captured using a three way serial cable so that I could "spy" on the devices talking to each other.

I used the serial ports software supplied with my keyspan usb - serial adapter. I tried using other software as well like communication analyzer, free serial port monitor etc and they all return that HEX code.

That is only the response from one of the devices though. If it helps I have both parts of the negotiation but the original posted one is the important one because I already know what the otherside is sending..

Do you know of a better software I could use to capture a PPP negotiation on a serial port with?



Best Regards

Fredrik

Last edited by Fredde87; 07-12-2007 at 03:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[bash] ASCII to HEX and hex to ascii ////// Programming 17 05-08-2018 09:55 PM
bash/ksh: Automatically send response to a program jimieee Programming 6 01-11-2007 05:45 PM
Error in basic button response program in Python 2.4 with the Tkinter module jojotx0 Programming 1 05-23-2006 07:43 PM
ManDrake9.2 no PPP program kb7ypf Linux - Software 4 02-25-2004 05:33 PM
ppp challenge-response authentication Loz Linux - Networking 1 12-06-2003 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration