bug with option agent.circuit-id ?

Duane Cox duanec at mail.illicom.net
Mon Sep 26 14:21:14 UTC 2005


LIST:

I am getting these packets inbound with tcpdump, but _apparently_ dhcpd 3.0.3 doesnt acknowleging the CID.  I can't even get it
to print it to log, (as if it doesn't think it exists).

This simple log statement should log this since it _does_ exist in the inbound.  Is there a problem with the internal parsing in
the source code?

dhcpd:
log (info, concat ("DHCP CID: ", option agent.circuit-id));

tcpdump:
00:01:30:3e:2c:00 > 00:50:da:c8:65:76, ethertype IPv4 (0x0800), length 618: IP (tos 0x0, ttl 254, id 35779, offset 0, flags
[none], length: 604) 63.252.228.201.67 > 63.252.229.5.67: [udp sum ok] BOOTP/DHCP, Request from 00:e0:1e:ca:e8:b0, length: 576,
hops:1, xid:0x398b7e, flags: [Broadcast] (0x8000)
          Gateway IP: 63.252.228.201
          Client Ethernet Address: 00:e0:1e:ca:e8:b0
          Vendor-rfc1048:
            DHCP:REQUEST
            MSZ:1152
            CID:"cisco-00e0.1eca.e8b0-Et0"
            SID:63.252.229.5
            RQ:63.252.228.206
            LT:8976
            HN:"Router"
            PR:SM+NS+DN+WNS+DG+SR+T150+VO
            OO:file+sname
        0x0000:  4500 025c 8bc3 0000 fe11 e505 3ffc e4c9  E..\........?...
        0x0010:  3ffc e505 0043 0043 0248 540a 0101 0601  ?....C.C.HT.....
        0x0020:  0039 8b7e 0000 8000 0000 0000 0000 0000  .9.~............
        0x0030:  0000 0000 3ffc e4c9 00e0 1eca e8b0 0000  ....?...........
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0339  ........c.Sc5..9
        0x0110:  0204 803d 1900 6369 7363 6f2d 3030 6530  ...=..cisco-00e0
        0x0120:  2e31 6563 612e 6538 6230 2d45 7430 3604  .1eca.e8b0-Et06.
        0x0130:  3ffc e505 3204 3ffc e4ce 3304 0000 2310  ?...2.?...3...#.
        0x0140:  0c06 526f 7574 6572 3708 0106 0f2c 0321  ..Router7....,.!
        0x0150:  962b 3401 03ff 0000 0000 0000 0000 0000  .+4.............
        0x0160:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0170:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0180:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0190:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x01f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0200:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0210:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0220:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0230:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0240:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0250:  0000 0000 0000 0000 0000 0000            ............



More information about the dhcp-hackers mailing list