I have some application rules set up for svchost for DHCP and DNS. One of these is UDP In, Port 68 for the DHCP. I do not have any network rules set up to ALLOW inbound traffic. All I have is:
All TCP/UDP Out Any/Any
Block IP In/Out Any/Any
So I guess my question is how is getting svchost able to make the inbound connection to UDP 68 with no network rules allowing?
Hiya,
CPF’s installation default is to “Do not display alerts about Comodo known software” or something to that effect. I only shows the rules you’ve set to allow when CPF has asked you for permission to confirm. Most likely these rules will have been created straight after installing CPF before “Scanning For known applications” because the default is to not show alerts by Comodo Known Programs those items won’t show up in your application monitor. This can be changed by going to Security>>>Advanced>>>Miscellaneous and unchecking the option.
Hope this helps but basically it’s not showing the rules in the Application Monitor because Svchost is a KNOWN program by CPF and it will automatically set rules for it’s inbound communication just won’t display them in the Application Monitor…
Hiya, that is more than likely the case as it’s a Comodo Known Progra. It probably will have been the one of the first rules it created. Comodo will automatically do the rules for all the softward in it’s database to reduce pop-ups etc… No need to worry about it. I cpf will have automatically created an inbound rule at some point during installation.
That’s as far as my technical knowledge goes when it comes to CPFs automatic rules…
I am a bit confused about this now, as previously I thought anything I set to allow inbound connections in application rules would be allowed through as exceptions to whatever the network rules were.
I noticed this not to be true yesterday when I had to set up a network rule to allow inbound VNC server connections.
Do you reckon the inbound UDP svchost for DHCP rule is being allowed as it is contacting the router for an IP before Windows login? Would that be allowed?
Also I am not having any connectivity issues, my DHCP lease never drops.
EDIT:
Here is a funny thing. If I remove the UDP inbound rule for svchost, I can still renew my IP. Here is the screenshot showing the svchost connection. Even after a reboot I can get an IP, with just the 2 previous svchost rules.
Do you reckon the inbound UDP svchost for DHCP rule is being allowed as it is contacting the router for an IP before Windows login? Would that be allowed?
I believe this is exactly what’s happening. DHCP Lease Acquisition happens very early in the boot process, in fact it’s one of the first things that happens after the TCP/IP stack is loaded.
One thing, although you may not need rules in CFP for initial acquisition, you may need to cater for lease renewals.
Thanks for that, I’ve not had any inbound connection denied logs for a few hours now and the connection is ok, I noticed my lease expiration is in 38 years though so maybe thats why heh.
I get some connection inbounds for other IP’s on the lan, udp port 68, but I think thats something else as the source IP isn’t mine.
The initial request for an IP Address via DHCP is a Broadcast, as the client doesn’t yet know the IP address or the host name of the DHCP server. A network broadcast address is 255.255.255.255. So you client is trying to find a DHCP server somewhere on your network.
After a lease is given to a client, the client will periodically try to renew the address. However, the client now knows the IP address of the server and can communicate directly.
Yeah, I know that. The 192.168.2.5 address though was from another machine on my LAN, I could see the DHCP request it was making.
Anyway moving on, what exact rule do I need to create for svchost to allow the incoming DHCP and the network rule so I dont get any disconnects in the future (sorry, been a long day, hope you understood the question ok)