randomName
Very Senior Member
I have one PC on my LAN, wired that is flooding the 'General Log' DHCP REQUEST, INFORM, ACK, every 3 seconds. The other wired PC doesn't. What is going on?
Would it be related to this?
http://brielle.sosdg.org/archives/522-Windows-7-flooding-DHCP-server-with-DHCPINFORM-messages.html
You should be able to add the line:That's exactly it! Wow! Hmmm, now how do i implement that into my dnsmasq.conf file? I have no idea. I'm a noob at these things.
Thanks
Hi,DISCLAIMER: I have not tried this. Don't blame me if something breaks.
You should be able to add the line:
dhcp-option=252,"\n"
to your /jffs/configs/dnsmasq.conf.add file:
DISCLAIMER: I have not tried this. Don't blame me if something breaks.
- Enable and format the JFFS partition if it isn't already (Administration->System) and reboot
- Go to Tools->Run Cmd
- Execute this command: sh -c 'echo dhcp-option=252,\"\\n\">>/jffs/configs/dnsmasq.conf.add&&echo Success'
- If you get an error, your JFFS partition isn't successfully enabled and formatted.
- Reboot the router
-Vince
dhcp-option=252,"http://router.asus.com/proxy.pac\n"
Hmm, my router won't answer that request since I have HTTP disabled. When I try it over HTTPS, I get a 404... I'm thinking because my /www/proxy.pac is a symlink to a non-existent /www/ext/proxy.pac (/tmp/var/wwwext/proxy.pac)...Out of curiosity, can someone try instead to specify this?
Code:dhcp-option=252,"http://router.asus.com/proxy.pac\n"
This is also untested. Asuswrt does support proxy configuration, I wonder if pointing to the (usually missing) location would also fix things, or create a different problem. If it works 100%, I could make this a default setting in dnsmasq.conf.
Hmm, my router won't answer that request since I have HTTP disabled. When I try it over HTTPS, I get a 404... I'm thinking because my /www/proxy.pac is a symlink to a non-existent /www/ext/proxy.pac (/tmp/var/wwwext/proxy.pac)...
-Vince
Gotcha. Thanks for the clarification. I'd be worried that the user's computers would continuously request the PAC file if you specify one and it isn't able to get it. It would be interesting to sniff some traffic and see what happens...That's correct. The symlink points to a location in RAM where someone can provide his own pac file. I'm just wondering if having dnsmasq provide that URL by default even if the user hasn't provided an actual pac file (or if you have http disabled) would still fix the issue without creating a new problem.
Gotcha. Thanks for the clarification. I'd be worried that the user's computers would continuously request the PAC file if you specify one and it isn't able to get it. It would be interesting to sniff some traffic and see what happens...
-Vince
I still don't understand why it did all that in the first place.
Out of curiosity, can someone try instead to specify this?
Code:dhcp-option=252,"http://router.asus.com/proxy.pac\n"
DHCP Option 252 is part of the Web Proxy Auto-Discovery Protocol defined in http://tools.ietf.org/html/draft-ietf-wrec-wpad-01. It specifies a PAC file which your browser can use to automatically configure it's proxy server settings. Since there isn't actually a valid PAC file at that URL, your browser isn't going to use a proxy server.Just to be able to learn something new: what does this setting do precisely? I don't have set up a proxy, btw...
Out of curiosity, can someone try instead to specify this?
Code:dhcp-option=252,"http://router.asus.com/proxy.pac\n"
This is also untested. Asuswrt does support proxy configuration, I wonder if pointing to the (usually missing) location would also fix things, or create a different problem. If it works 100%, I could make this a default setting in dnsmasq.conf.
Was this ever added as a default setting?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!