Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option 242 causes error #42

Open
youngr13uiuedu opened this issue May 9, 2024 · 2 comments
Open

Option 242 causes error #42

youngr13uiuedu opened this issue May 9, 2024 · 2 comments

Comments

@youngr13uiuedu
Copy link

youngr13uiuedu commented May 9, 2024

When I try to request option 242, I get an error.

dhcptest-0.9.exe --query --request 242
.\dhcptest-0.9.exe : dhcptest v0.9 - Created by Vladimir Panteleev
At line:1 char:1
+ .\dhcptest-0.9.exe --query --request 242
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (dhcptest v0.9 -...dimir Panteleev 
   :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
https://github.com/CyberShadow/dhcptest
Run with --help for a list of command-line options.
Listening for DHCP replies on port 68.
Sending packet:
  op=BOOTREQUEST chaddr=3E:64:77:DB:CD:E5 hops=0 xid=53F539A5 secs=0 flags=8000
  ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file=
  2 options:
     53 (DHCP Message Type): discover
     55 (Parameter Request List): 242 (Unknown)
Received packet from X.X.X.X:67:
[email protected](616): Assertion failure
----------------
0x00007FF6B1A3CD2C
0x00007FF6B19D38E7
0x00007FF6B19D513D
0x00007FF6B19D9432
0x00007FF6B19D6EB5
0x00007FF6B19D9232
0x00007FF6B19D83B0
0x00007FF6B19D9496
0x00007FF6B1A57693
0x00007FF6B1A574EF
0x00007FF6B1A575EF
0x00007FF6B1A574EF
0x00007FF6B1A57406
0x00007FF6B1A42249
0x00007FF6B19DA812
0x00007FF6B1AA7461
0x00007FF9DFB4257D in BaseThreadInitThunk
0x00007FF9E0C6AA48 in RtlUserThreadStart
  op=BOOTREPLY chaddr=3E:64:77:DB:CD:E5 hops=1 xid=53F539A5 secs=0 flags=8000
  ciaddr=0.0.0.0 yiaddr=X.X.X.X siaddr=10.1.30.91 giaddr=X.X.X.X sname= fi
le=
  7 options:
     53 (DHCP Message Type): offer
      1 (Subnet Mask): 255.0.0.0
     58 (Renewal (T1) Time Value): 1800 (30 minutes)
     59 (Rebinding (T2) Time Value): 3150 (52 minutes and 30 secs)
     51 (IP Address Lease Time): 3600 (1 hour)
     54 (Server Identifier): X.X.X.X
    242 (Unknown): 

I also tried on another computer in a different network and received the following error:

dhcptest-0.9.exe --query --request 242
dhcptest v0.9 - Created by Vladimir Panteleev
https://github.com/CyberShadow/dhcptest
Run with --help for a list of command-line options.

Listening for DHCP replies on port 68.
Sending packet:
  op=BOOTREQUEST chaddr=DE:E8:27:55:AC:93 hops=0 xid=00608295 secs=0 flags=8000
  ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file=
  2 options:
     53 (DHCP Message Type): discover
     55 (Parameter Request List): 242 (Unknown)
Received packet from X.X.X.X:67:
  op=BOOTREPLY chaddr=DE:E8:27:55:AC:93 hops=0 xid=00608295 secs=0 flags=8000
  ciaddr=0.0.0.0 yiaddr=X.X.X.X siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file=
  12 options:
     53 (DHCP Message Type): offer
     54 (Server Identifier): X.X.X.X
     51 (IP Address Lease Time): 604800 (1 week)
     58 (Renewal (T1) Time Value): 302400 (3 days and 12 hours)
     59 (Rebinding (T2) Time Value): 529200 (6 days and 3 hours)
      1 (Subnet Mask): 255.0.0.0
      2 (Time Offset): 4294949296 (7101 weeks, 3 days, 1 hour, 28 minutes, and 16 secs)
      3 (Router Option): X.X.X.X
      6 (Domain Name Server Option): X.X.X.X, X.X.X.X
     15 (Domain Name): uiu.uiu.edu
     42 (Network Time Protocol Servers Option): 
    224 (Unknown):
[email protected](616): Assertion failure
----------------
0x00007FF7352ACD2C
0x00007FF7352438E7
0x00007FF73524513D
0x00007FF735249432
0x00007FF735246EB5
0x00007FF735249232
0x00007FF7352483B0
0x00007FF735249496
0x00007FF7352C7693
0x00007FF7352C74EF
0x00007FF7352C75EF
0x00007FF7352C74EF
0x00007FF7352C7406
0x00007FF7352B2249
0x00007FF73524A812
0x00007FF735317461
0x00007FFB668D4CB0 in BaseThreadInitThunk
0x00007FFB6781E8AB in RtlUserThreadStart

dhcptest-0.9.exe --query --option "60=ccp.avaya.com"
dhcptest v0.9 - Created by Vladimir Panteleev
https://github.com/CyberShadow/dhcptest
Run with --help for a list of command-line options.

Listening for DHCP replies on port 68.
Sending packet:
  op=BOOTREQUEST chaddr=06:68:78:35:F0:AD hops=0 xid=3598C65A secs=0 flags=8000
  ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file=
  2 options:
     53 (DHCP Message Type): discover
     60 (Vendor class identifier): ccp.avaya.com
Received packet from X.X.X.X:67:
  op=BOOTREPLY chaddr=06:68:78:35:F0:AD hops=0 xid=3598C65A secs=0 flags=8000
  ciaddr=0.0.0.0 yiaddr=X.X.X.X siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file=
  12 options:
     53 (DHCP Message Type): offer
     54 (Server Identifier): X.X.X.X
     51 (IP Address Lease Time): 604800 (1 week)
     58 (Renewal (T1) Time Value): 302400 (3 days and 12 hours)
     59 (Rebinding (T2) Time Value): 529200 (6 days and 3 hours)
      1 (Subnet Mask): 255.255.254.0
      2 (Time Offset): 4294949296 (7101 weeks, 3 days, 1 hour, 28 minutes, and 16 secs)
      3 (Router Option): X.X.X.X
      6 (Domain Name Server Option): X.X.X.X, X.X.X.X
     15 (Domain Name): uiu.uiu.edu
     42 (Network Time Protocol Servers Option): 
    224 (Unknown):
[email protected](616): Assertion failure
----------------
0x00007FF67E70CD2C
0x00007FF67E6A38E7
0x00007FF67E6A513D
0x00007FF67E6A9432
0x00007FF67E6A6EB5
0x00007FF67E6A9232
0x00007FF67E6A83B0
0x00007FF67E6A9496
0x00007FF67E727693
0x00007FF67E7274EF
0x00007FF67E7275EF
0x00007FF67E7274EF
0x00007FF67E727406
0x00007FF67E712249
0x00007FF67E6AA812
0x00007FF67E777461
0x00007FFB668D4CB0 in BaseThreadInitThunk
0x00007FFB6781E8AB in RtlUserThreadStart

Both these machines are windows machines and I used the pre-compiled version on the website for windows.
@CyberShadow
Copy link
Owner

I think this was fixed by #41

@youngr13uiuedu
Copy link
Author

It does. If you download the zip with the .exe for windows, it does work. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants