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

    • 5-year subscription to AdGuard VPN price-dropped now 90% off by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can save 88% off a 5-year subscription to AdGuard VPN. In the digital age where internet privacy is paramount, AdGuard VPN emerges as an essential tool. This virtual private network (VPN) is your encrypted gateway to the internet, helping your data stay secure and your online activities remain private, regardless of your location. More than just a privacy tool, AdGuard VPN is a robust solution packed with features that cater to a variety of internet needs. Why AdGuard VPN subscription deal over other VPNs: Exhaustive List of Locations: With 60+ locations available worldwide, you have the freedom to connect from anywhere you want, effectively bypassing geographically restricted content. Check complete list of servers here. Advanced Security Protocol: AdGuard VPN uses its own security protocol, guaranteeing a faster and safer VPN connection. This means you can browse, stream, and download with peace of mind knowing your data is secure. Zero-Logging Policy: Rest assured, your personal data is not collected and your internet traffic stays private at all times, thanks to AdGuard's strict zero-logging policy. Simultaneous Connections: Connect up to 10 devices simultaneously, providing protection for all your devices under just one account. Trusted Developer: AdGuard is a renowned name in the world of computer security, bringing their expertise and commitment to privacy and security to their VPN service. What You Get: Up to 10 devices connected simultaneously All locations Light-speed servers Unlimited data No logs policy Trusted developer Available on all platforms Privacy Created by a team from Russia, AdGuard software Limited is headquartered in Limassol, Cyprus. While the country does follow European privacy laws, it's not part of the 5/9/14 Eyes Alliance. Adguard may not properly work in China. Good to know Length of access: 5 years This plan is only available to new users Redemption deadline: redeem your code within 30 days of purchase Device per license: 10 Access options: desktop & mobile Updates included 5- years of AdGuard VPN normally costs $359.40 without discounts, but it can be yours just $39.97, that's a saving of $324.43 (90%) off. For full terms, specifications, and license info please click the link below. Get this 5-year AdGuard VPN deal for just $34.97 (was $359.40) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • KillerPDF 1.5.1 by Razvan Serea KillerPDF is a lightweight, portable PDF editor for Windows built for users who want full control without subscriptions, installers, or telemetry. It runs as a single executable, making it ideal for USB use and field work. You can view PDFs with smooth PDFium rendering, navigate quickly with thumbnails, zoom, and shortcuts, and reorganize pages using drag-and-drop. It supports merging multiple PDFs, splitting documents, and extracting selected pages. KillerPDF also allows inline text editing with font matching to preserve the original layout, plus annotations like text boxes, freehand drawing, highlights, and reusable signatures. You can search full text, copy content easily, and print documents with flattened annotations. Designed as a free and open alternative to bloated PDF tools, it works fully offline on Windows 10/11 x64. No runtimes install. Everything needed is inside the EXE (targets .NET Framework 4.8, which ships with every supported Windows release). KillerPDF key features: High-quality PDF rendering via PDFium Edit PDF text inline (double-click to modify text) Page thumbnails and fast navigation with zoom and shortcuts Merge multiple PDFs into one Split PDFs and extract selected pages Drag-and-drop page reordering Font matching to preserve original document appearance Text boxes for notes Freehand drawing tools Highlight overlays with adjustable color, size, opacity Undo actions and clear per-page annotations Create, draw, and save reusable signatures Click-to-place signatures anywhere Full-text search with highlighted results Drag-select or Ctrl+A to copy text Print with annotations flattened Portable single-file app (~10 MB) No installer, no admin rights required No account, no telemetry KillerPDF 1.5.1 changelog: Performance Save Flattened PDF now uses multiple CPU cores. Page rasterization is parallelized (PNG encoding runs across cores; the PDFium render step stays serialized since the library isn't thread-safe), so large documents flatten significantly faster while the UI stays responsive (#68). Fixed PDFs that failed to open with "Unexpected EOF" now open (#72). The failure was PdfSharpCore's Flate inflater (SharpZipLib) rejecting the FlateDecode cross-reference stream on multi-revision PDFs - files that open fine in browsers, Acrobat, and Foxit. KillerPDF now detects this and re-opens the file losslessly through PDFium, preserving selectable text. Thanks to @javajon for the report and a detailed reproduction. Grid view renders every page. It was capped at the first 26 pages, so longer documents stopped loading partway through. Tiles also stream in progressively now instead of blocking until the whole document is rendered. Grid Ctrl+Scroll no longer reloads every page when the zoom is already at its limit and nothing would change. Removed a stray horizontal scrollbar (a thin green line) that could appear across the bottom of grid view. Files on UNC / network shares (including the WSL \\wsl$ filesystem) are copied locally before opening, avoiding partial-read failures on network filesystems. Changed Minimum zoom lowered from 10% to 5%, so grid view can pack more columns (helpful for wide/landscape pages) and single-page view can zoom out further. Download: KillerPDF 1.5.1 | 6.3 MB (Open Source) Link: KillerPDF Home Page | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • You can enable the Nova redesign in Firefox 152 stable, under about:config.
    • You can enable the Nova redesign in Firefox 152, under about:config
  • 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
      520
    2. 2
      +Edouard
      196
    3. 3
      PsYcHoKiLLa
      110
    4. 4
      Steven P.
      89
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!