Hex to ASCII converter for PXE option 43?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Hex to ASCII converter for PXE option 43?

Doug Barton
Does anyone know of a hex to ASCII converter that can handle PXE client
option 43s as input? The ones I've found on line so far all try to do a
character-by-character conversion of the string, which fails.

Alternatively, does anyone have a good reference for how to build the
option 43, so that I can reverse engineer it?

What I want to do is take some existing DHCP data and convert option
60/43 pairs into proper vendor profiles. I can do that in my sleep for
WAPs, phones, etc., but this PXE stuff is giving me a headache. :-/

Doug

--
I am conducting an experiment in the efficacy of PGP/MIME signatures.
This message should be signed. If it is not, or the signature does not
validate, please let me know how you received this message (direct, or
to a list) and the mail software you use. Thanks!


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hex to ASCII converter for PXE option 43?

Jason Hellenthal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

echo "56656e646f72205370656369666963204f7074696f6e2034330a" |xxd -r -p

http://www.freebsd.org/cgi/man.cgi?query=xxd&manpath=SuSE+Linux/i386+11.3

Not natively available on FreeBSD but its bound to be installed with something to do with linux and is natively available on Mac OS X.

HTH

On May 1, 2015, at 17:13, Doug Barton <[hidden email]> wrote:

Does anyone know of a hex to ASCII converter that can handle PXE client option 43s as input? The ones I've found on line so far all try to do a character-by-character conversion of the string, which fails.

Alternatively, does anyone have a good reference for how to build the option 43, so that I can reverse engineer it?

What I want to do is take some existing DHCP data and convert option 60/43 pairs into proper vendor profiles. I can do that in my sleep for WAPs, phones, etc., but this PXE stuff is giving me a headache. :-/

Doug

- --
I am conducting an experiment in the efficacy of PGP/MIME signatures. This message should be signed. If it is not, or the signature does not validate, please let me know how you received this message (direct, or to a list) and the mail software you use. Thanks!

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


- --
 Jason Hellenthal
 JJH48-ARIN




-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJVQ/8VAAoJEDLu+wRc4KcILFsIAJ9N9u7NeJ93p3qFsm7c4Oym
qEDWtgjXadSmi0EOyok5Lp/D+l5ngqehdpDG793NzDGFBbRRkSBaq+FCg3+eveno
Aw69cEtMtVGqFVUEq36ti/XkBM1C5HYSS/JmltOLCtgS8XsWOVDfaHMFc7Qr8QW6
neo3/gxnJb8HiGwl3nEcnIA2w+6EHerut6MYE99/yizukXhacwBMoN26aC9S+YLD
1obO3Wl8dgBBSKqQYqxr34VOOL2MQn/cRQy9LSOgTVOuXdtJyOcl7MjQnl9F2RXk
aGDjmXpekFhWraSJlkPUV5lECvRDVAoqw0TCtujwVuRntaftuzNiawPMAzbFM4A=
=wcsG
-----END PGP SIGNATURE-----
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Hex to ASCII converter for PXE option 43?

Doug Barton
Sorry I wasn't clear, I'm not looking for straight conversion on a
character by character basis.

What I'm looking for is something that can convert a PXE option 43 into
a string that can be used with a vendor profile.

Doug


On 5/1/15 3:32 PM, Jason Hellenthal wrote:

> echo "56656e646f72205370656369666963204f7074696f6e2034330a" |xxd -r -p
>
> http://www.freebsd.org/cgi/man.cgi?query=xxd&manpath=SuSE+Linux/i386+11.3
>
> Not natively available on FreeBSD but its bound to be installed with something to do with linux and is natively available on Mac OS X.
>
> HTH
>
> On May 1, 2015, at 17:13, Doug Barton <[hidden email]> wrote:
>
> Does anyone know of a hex to ASCII converter that can handle PXE client option 43s as input? The ones I've found on line so far all try to do a character-by-character conversion of the string, which fails.
>
> Alternatively, does anyone have a good reference for how to build the option 43, so that I can reverse engineer it?
>
> What I want to do is take some existing DHCP data and convert option 60/43 pairs into proper vendor profiles. I can do that in my sleep for WAPs, phones, etc., but this PXE stuff is giving me a headache. :-/
>
> Doug
--
I am conducting an experiment in the efficacy of PGP/MIME signatures.
This message should be signed. If it is not, or the signature does not
validate, please let me know how you received this message (direct, or
to a list) and the mail software you use. Thanks!


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hex to ASCII converter for PXE option 43?

Doug Barton
In reply to this post by Doug Barton
On 5/1/15 3:13 PM, Doug Barton wrote:
> Does anyone know of a hex to ASCII converter that can handle PXE client
> option 43s as input? The ones I've found on line so far all try to do a
> character-by-character conversion of the string, which fails.

Ok, nevermind. :)  Turns out that the thing I wanted to convert has to
use 60/43, and cannot use vendor profiles.

Doug

--
I am conducting an experiment in the efficacy of PGP/MIME signatures.
This message should be signed. If it is not, or the signature does not
validate, please let me know how you received this message (direct, or
to a list) and the mail software you use. Thanks!


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hex to ASCII converter for PXE option 43?

Steven Carr
On 2 May 2015 at 00:12, Doug Barton <[hidden email]> wrote:
> Ok, nevermind. :)  Turns out that the thing I wanted to convert has to use
> 60/43, and cannot use vendor profiles.

FWIW I found this script that encodes/decodes option 43 values...
http://www.bertera.it/index.php/2012/10/19/encoding-and-decoding-encapsulated-dhcp-options-rfc-2132
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users