Recommended Posts

Hi guys, not sure if this is really a problem or not but I guess it's been annoying me...

My PC is running on a wireless connection to a WRT54GL running Tomato 1.25.8515-RAF (Victek Mod) with DNSMASQ running DHCP... Anyway, I checked the logs recently and found that every 70 seconds my computer is referenced in a DHCPINFORM and DHCPACK log. There are 3 other wireless clients connected to the router, and none of those do it with such a frequency, they tend to go for around an hour or so before another...

So yeah, basically wondering if there's a way to make it stop doing it so often, since I feel like I'm getting a degraded performance because of it (May be a placebo effect)

Cheers in advance, hope someone can help!

Link to comment
https://www.neowin.net/forum/topic/874322-dhcpinform-and-dhcpack-spam/
Share on other sites

[snip]

Normally clients try to renew their lease at the 50% mark.. so for example with this 1 hour lease at 4:04:30 may machine would ask for a renew. If your other clients are showing up every hour or so I would assume your handing out a 2 hour lease? Take a look at your ipconfig /all -- post it if you don't mind

Lease Obtained. . . . . . . . . . : 10 February 2010 16:51:09

Lease Expires . . . . . . . . . . : 20 March 2146 04:38:34

I guess the "infinite" expiry on the router is quite along way away... As I've said there are at least 3 other machines each with the same configuration router-side, and the EXACT same Win7 version (Windows 7 x86_64 Professional)... I can pastie the /var/log/messages if you need to see it, BudMan? Perhaps it could be a fault with my wireless card?

Well I looked into the DHCPINFORM message

--

3.4 Obtaining parameters with externally configured network address

If a client has obtained a network address through some other means

(e.g., manual configuration), it may use a DHCPINFORM request message

to obtain other local configuration parameters. Servers receiving a

DHCPINFORM message construct a DHCPACK message with any local

configuration parameters appropriate for the client without:

allocating a new address, checking for an existing binding, filling

in 'yiaddr' or including lease time parameters. The servers SHOULD

unicast the DHCPACK reply to the address given in the 'ciaddr' field

of the DHCPINFORM message.

--

But looks like your fully set for dhcp if your getting a lease, and not set for static address - but dhcp for your dns, etc.

What you might want to do is do a sniff of your clients traffic - wireshark or windump could be used to actually see what your client is putting in the dhcpinform message.. This could help us figure out why your client is sending it.

dhcpinform can also be used to try and find a proxy - so your browser could be looking for a proxy, WPAD. From a google I find some info about flash looking for a proxy using dhcpinform as well.. And your client can retransmit these dhcpinforms if its not getting the ack back for some reason. Are you running some firewall that could be blocking the dhcpack back from your router?

I would really suggest you grab wireshark or even windump and run it on your client to capture these dhcp packets so we can see what is going on -- ie what info is asking for in the dhcpinform packet

edit: if you grab windump use this command to limit traffic to dhcp traffic

windump -i 4 -XX -n -vvv udp port 67

where the -i 4 is the interface you want to listen on. I have multiple interfaces on this machine so thats why mine is 4, your might be 1 or 2, etc. use -D to list your interfaces.

example

C:\>windump -D

1.\Device\NPF_GenericDialupAdapter (Adapter for generic dialup and VPN capture)

2.\Device\NPF_{05E6A386-4B0A-4C3E-A3A7-B0508770EB8D} (Juniper Network Connect Virtual Adapter)

3.\Device\NPF_{8E8EA836-838D-44DE-AF28-4B5184245553} (Intel® PRO/Wireless 3945ABG Network Connection)

4.\Device\NPF_{46B7FF42-B5F2-44F2-9EAE-1F0BAF7B4932} (Broadcom NetXtreme Gigabit Ethernet Driver)

5.\Device\NPF_{791A8563-34BD-4681-A0F6-281494D295C8} (TAP-Win32 Adapter V9)

Have yet to see this box send any dhcpinform packets.. But its XP, and the dhcp server here sends all the different options wins, dns, domain name, etc. From my understanding if this info is not given out in by your dhcp server your windows client might ask for it with a dhcpinform packet. But that would not explain why your other machines are only doing it once an hour - and yours is doing it every 70 seconds, etc. I can play more when I get home on my win 7 x64 box and have full control over the dhcp server, etc.

Edited by BudMan

dhcpinform can also be used to try and find a proxy - so your browser could be looking for a proxy, WPAD. From a google I find some info about flash looking for a proxy using dhcpinform as well.. And your client can retransmit these dhcpinforms if its not getting the ack back for some reason. Are you running some firewall that could be blocking the dhcpack back from your router?

Hmm, I've turned off proxy auto configuration and that seems to have stopped it from doing it, weird behaviour though tbh... If it doesn't find it and it's on the same network, why spam looking for it? And no, I was using the default Windows 7 firewall...

Thanks very much BudMan!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft should never have purchased anything after RARE.
    • Call of Duty: Vanguard, EA Sports FC 26, and more come to Xbox Game Pass by Pulasthi Ariyasinghe Microsoft is in the process of making some big changes to Xbox Game Studios right now, which might include studio shutdowns, but Game Pass drops aren't pausing for that. The second wave of June was just announced, unveiling another Call of Duty addition, the latest soccer game from EA, an indie road trip hit from last year, and more. While Microsoft said it won't put Call of Duty titles on Game Pass on the day of launch anymore, older titles keep landing, with the latest one being 2021's Call of Duty: Vanguard. Here are all the games that were announced today for Xbox Game Pass, their platforms, and arrival dates: Junkster (Cloud, XBOX Series X|S, Handheld, and PC) – June 16 Call of Duty: Vanguard (Cloud, Console, and PC) – June 17 EA Sports FC 26 (Cloud, Console, and PC) – June 18 Abyssus (Cloud, Xbox Series X|S, and PC) – June 25 RV There Yet? (Cloud, Xbox Series X|S, and PC) – June 30 Tony Hawk's Pro Skater 3 + 4 (Cloud, Console, and PC) – July 2 Winds of Arcana: Ruination (Cloud, Console, Handheld, and PC) – July 6 From the bunch, Junkster is the sole day-one drop into Game Pass libraries of this selection. As new games arrive, eight will be leaving the Game Pass programs on June 30. Here's the full list of leaving titles: Mecha Break (Cloud, Console, and PC) Payday 2 (Console) Rise of Tomb Raider (Cloud, Console, and PC) Tomb Raider (Cloud, Console, and PC) Slay the Spire (Cloud, Console, and PC) Ultimate Chicken Horse (Cloud, Console, and PC) Volcano Princess (Cloud, Console, and PC) Unpacking (Cloud, Console, and PC) With June drops finished, Microsoft should have a new Game Pass announcement in about two weeks to reveal the first wave of games coming to subscribers in July. Already confirmed games for the month include the Halo: Campaign Evolved remake, Corsair Cove, SpeedRunners 2: King of Speed, and Mistfall Hunter.
  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      522
    2. 2
      +Edouard
      207
    3. 3
      PsYcHoKiLLa
      112
    4. 4
      Steven P.
      89
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!