Wilders Security Forums  

Go Back   Wilders Security Forums > Security Products > other firewalls
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #426  
Old May 11th, 2012, 06:33 AM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by alexandrud
Yes, for programs that want to access the internet. Not for programs from internet that tries to access your computer.
What I meant is, for programs that want to use the internet, in some way. You might want to have a XAMPP installation, for example. Web servers do not work without incoming connections. Same is true for a lot of other programs, some chat protocols, multimedia gaming servers and so on.

Quote:
Originally Posted by alexandrud
Svchost.exe listens a lot and receives hundreds of inbound connections. Will you automatically create an inbound rule to allow everything for svchost.exe ? How do you handle with this case ?

svchost belongs to the category of "Special Exceptions" and TinyWall will not learn exceptions for it. TinyWall will not learn rules for programs that have special exceptions, so it will not automatically create inbound (or outbound) rules for svchost.

Quote:
Originally Posted by alexandrud
In my opinion, creating inbound rules is a wrong thing. Even torrent clients don't require inbound rules for them. It is the developers task to design their applications to fit with Windows and also with Windows Firewall.

Although I agree in theory, in the real world there are many programs that do not work without inbound connections. TinyWall must make sure that it is easily possible to use any kind of program. Torrent clients are also affected, even if they work when inbound connections are denied, you will usually get higher download speeds if you allow incoming connections. But many programs need incoming connections to even basically work.

Anyway, a user can visit the list of exceptions after auto-learning and remove inbound rights and make rules tighter. This is still much more easier than creating the rules from scratch in the first place.

Quote:
Originally Posted by alexandrud
I have a question. If the rules list is blocked and the rules cannot be deleted or modified from WFwAS, when you install a new program, like uTorrent which have a checkbox where users allows it to auto register itself to Windows Firewall, this installer can register a new rule or it is denied by TinyWall ?
It can register the new rule but it will be immediately removed by TinyWall after that. There are a few milliseconds of an open time-window before the new rule is removed.

Last edited by ultim : May 11th, 2012 at 08:09 AM.
  #427  
Old May 13th, 2012, 02:37 PM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

The latest beta seems pretty good to me. I guess I can make the next release the final 2.0. There is just a single bug report to investigate.
  #428  
Old May 15th, 2012, 05:43 PM
Seven64's Avatar
Seven64 Seven64 is offline
Frequent Poster
 
Join Date: May 2011
Posts: 254
Default Re: Beta-testing TinyWall

The new version is running good. It seems the rules are to loose by allowing * Outbound. Why cant you have the tighter rules (Http (S)) by default, and the * Outbound as second choice?
Now I have to delete everything found by TW and set tighter rules.
  #429  
Old May 17th, 2012, 09:22 PM
Melf Melf is offline
Regular Poster
 
Join Date: Sep 2010
Posts: 103
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by ultim
I like the idea to create a checkbox that puts the learning mode into a more strict operation though. Auto-learning on a specific application is also an interesting idea.

Just thought I'd jog your memory on this feature request. This will be a kind of holy grail I think, getting the best out of usability and security. Still planning to implement it?
  #430  
Old May 19th, 2012, 03:38 PM
Jarmo P Jarmo P is offline
Frequent Poster
 
Join Date: Aug 2005
Posts: 473
Default Re: Beta-testing TinyWall

I got a new connection. It has an USB stick connection that does not have a router. So I noticed it needed totally new rules than my former cable connection.

Witn my new internet connection i have also a a new cable modem connection. And TW now shows "Current zone: Public" after i answered to some prompt.

I am not knowing if the new cable modem is in a router mode or if it even has one. But if so, should the zone be private instead?
__________________
Avast free, Firefox NoScript extension and internet applications "inside" Sandboxie.
  #431  
Old May 20th, 2012, 11:32 PM
acr1965's Avatar
acr1965 acr1965 is offline
Massive Poster
 
Join Date: Oct 2006
Posts: 4,432
Default Re: Beta-testing TinyWall

I'm looking for a firewall that blocks ads and malicious IP addresses but allows some configuration. Will this added to windows firewall do that?
__________________
"Being safe on the internet is a lot like being safe in real life. Always have a back-up plan and be careful where you stick your pointer." -- anonymous (but probably not Anonymous)
  #432  
Old May 20th, 2012, 11:57 PM
kupo kupo is offline
Frequent Poster
 
Join Date: Jan 2011
Posts: 918
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by acr1965
I'm looking for a firewall that blocks ads and malicious IP addresses but allows some configuration. Will this added to windows firewall do that?
No, but it does have an option to use a hosts file that has your needs.
  #433  
Old May 21st, 2012, 12:04 AM
acr1965's Avatar
acr1965 acr1965 is offline
Massive Poster
 
Join Date: Oct 2006
Posts: 4,432
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by skudo12
No, but it does have an option to use a hosts file that has your needs.
thanks for the info - I'm looking for a firewall that can blacklist sites automatically from updates
__________________
"Being safe on the internet is a lot like being safe in real life. Always have a back-up plan and be careful where you stick your pointer." -- anonymous (but probably not Anonymous)
  #434  
Old May 21st, 2012, 06:00 PM
Seven64's Avatar
Seven64 Seven64 is offline
Frequent Poster
 
Join Date: May 2011
Posts: 254
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by acr1965
I'm looking for a firewall that blocks ads and malicious IP addresses but allows some configuration. Will this added to windows firewall do that?

I use PeerBlock to block "ads and malicious IP". Plus it can block some or all the countries that you want, with Tinywall it's a sweet combination.
  #435  
Old May 22nd, 2012, 06:08 PM
chrome_sturmen's Avatar
chrome_sturmen chrome_sturmen is offline
Frequent Poster
 
Join Date: Apr 2006
Location: Sverige
Posts: 612
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by Seven64
I use PeerBlock to block "ads and malicious IP". Plus it can block some or all the countries that you want, with Tinywall it's a sweet combination.

that's the combo i'm running at present - runs real well on win server 2008. this is a nice little firewall
  #436  
Old May 23rd, 2012, 05:12 PM
Seven64's Avatar
Seven64 Seven64 is offline
Frequent Poster
 
Join Date: May 2011
Posts: 254
Default Re: Beta-testing TinyWall

Suggestion, in the application exception window, show the rule next to the program. Thanks.
  #437  
Old May 24th, 2012, 01:09 PM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

There seem to be an issue where the computer cannot connect to some WLANs if TinyWall is installed and the latest Windows updates are applied. I can reproduce the problem but I am unable to find what I need to whitelist. If I whitelist svchost.exe as whole it works fine again, but of course I want to find the specific service that is responsible for it (instead of having to whitelist basically all Windows services). Has anybody has any clues what needs to be whitelisted? This is a must-fix/figure-out before a release is made.
  #438  
Old May 24th, 2012, 01:16 PM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by acr1965
thanks for the info - I'm looking for a firewall that can blacklist sites automatically from updates
TinyWall will keep your hosts file automatically up-to-date (once I re-enable the update server when releasing v2), but PeerBlock is surely a much more sophisticated solution. PeerBlock is able to block more hosts because it works completely differently and it also allows you selectively use certain/multiple lists. Its lists are also updated more often.

The hosts-based solution of TinyWall is a generic solution that will perform well without compromises, but for advanced users or security enthusiasts I definetely recommend PeerBlock. TinyWall and PeerBlock supplement each other very well.
  #439  
Old May 26th, 2012, 05:32 PM
Seven64's Avatar
Seven64 Seven64 is offline
Frequent Poster
 
Join Date: May 2011
Posts: 254
Default Re: Beta-testing TinyWall

I know you are busy, but I hope you release the new version soon. MVPS HOSTS has been [Updated May-23-2012].
  #440  
Old May 27th, 2012, 11:56 AM
m0unds's Avatar
m0unds m0unds is offline
Frequent Poster
 
Join Date: Oct 2009
Posts: 514
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by ultim
There seem to be an issue where the computer cannot connect to some WLANs if TinyWall is installed and the latest Windows updates are applied. I can reproduce the problem but I am unable to find what I need to whitelist. If I whitelist svchost.exe as whole it works fine again, but of course I want to find the specific service that is responsible for it (instead of having to whitelist basically all Windows services). Has anybody has any clues what needs to be whitelisted? This is a must-fix/figure-out before a release is made.

i was testing/configuring multiple APs yesterday and encountered an issue where it would hang on "identifying", then classify the network as "public" and fail to grab an IP via DHCP - is this the same issue you're talking about?
  #441  
Old May 28th, 2012, 07:49 PM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by m0unds
i was testing/configuring multiple APs yesterday and encountered an issue where it would hang on "identifying", then classify the network as "public" and fail to grab an IP via DHCP - is this the same issue you're talking about?

If it works again correctly when TinyWall is in Disabled mode (grey icon), then yes, it seems to be the same issue. If you are not worried about Windows' own services accessing the internet, then the easy workaround for now is to whitelist svchost.exe.
  #442  
Old June 2nd, 2012, 04:40 AM
sysinfo sysinfo is offline
Infrequent Poster
 
Join Date: Jun 2012
Location: USA
Posts: 2
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by ultim
There seem to be an issue where the computer cannot connect to some WLANs if TinyWall is installed and the latest Windows updates are applied. I can reproduce the problem but I am unable to find what I need to whitelist. If I whitelist svchost.exe as whole it works fine again, but of course I want to find the specific service that is responsible for it (instead of having to whitelist basically all Windows services). Has anybody has any clues what needs to be whitelisted? This is a must-fix/figure-out before a release is made.

I think this is solved now - couldn't sleep, so I played the WLAN/TinyWall/Services/Process Hacker juggling game.

Short version: disconnect from WLAN (gets you to public profile management in TinyWall.) Create a new exception for TCP/IP NetBIOS Helper (lmhosts) and allow outgoing UDP and TCP traffic. Do not restrict it to local network. At least for me, I can now connect to my router and have the network identified immediately. Interesting part is that this rule is required even if you disable the lmhosts service.

Longer version: Without the rule in place, the connection process stalls after attempting to talk netbios with the router:
Code:
Connection history ----- UDP 68 0.0.0.0 67 255.255.255.255 Out IGMP 0 192.168.1.2 0 224.0.0.22 In HOPOPT 0 224.0.0.22 0 192.168.1.2 In UDP [53533] 192.168.1.2 5355 224.0.0.252 In HOPOPT 5355 224.0.0.252 [53533] 192.168.1.2 In [port 53533 varies, is a dynamic port] UDP 137 192.168.1.2 137 192.168.1.1 In HOPOPT 137 192.168.1.1 137 192.168.1.2 In UDP 137 192.168.1.1 137 192.168.1.2 In HOPOPT 137 192.168.1.2 137 192.168.1.1 In ...zZz... then finally DHCP offer comes through! UDP 68 192.168.1.2 67 255.255.255.255 Out

If you disable lmhosts, the system process seems to take on the port 137 communication process, but you still need the lmhosts exception. I tried a rule that allowed in/out TCP/UDP traffic for lmhosts only on port 137 with no success, though I'm not sure why it didn't work. Someone else want to try adding the exception to their public TinyWall ruleset and see if that helps?

Edit: whoops, didn't think the attachments would be inline.
Connection list without the rule in place
Rule added, lmhosts service set to Automatic
Rule added, lmhosts service disabled
Working exception config
Failed rule attempt #1
Failed rule attempt #2

Last edited by sysinfo : June 2nd, 2012 at 04:50 AM.
  #443  
Old June 3rd, 2012, 12:52 PM
m0unds's Avatar
m0unds m0unds is offline
Frequent Poster
 
Join Date: Oct 2009
Posts: 514
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by ultim
If it works again correctly when TinyWall is in Disabled mode (grey icon), then yes, it seems to be the same issue. If you are not worried about Windows' own services accessing the internet, then the easy workaround for now is to whitelist svchost.exe.

gotcha - that worked w/my laptop connecting to a VPN gateway AP at work.
  #444  
Old June 4th, 2012, 11:02 AM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by sysinfo
I think this is solved now - couldn't sleep, so I played the WLAN/TinyWall/Services/Process Hacker juggling game. ...

Wow, that really seems to be it. I can confirm (that at least on my laptop) this solves the issue. I'd never have thought that it is because of this service (even after seeing port 137) because NetBIOS over TCP is disabled on my computer - not the service itself, but in the TCP/IP adapter configuration dialog. Anyway, this seems to work.

TECHNICAL RANT:
As a side note, you mention that it does not work if you only allow outgoing. For me, it already works if I allow *only* UDP outgoing packet. Which is strange enough alone, because I can hardly imagine that UDP packets are usefull (in this scenario) without being able to receive any replies. But wait, it gets stranger! I started cross-referencing the default exceptions of the factory-default Windows Firewall, and the lmhosts service is not whitelisted anywhere. Port 137 is whitelisted, but for "System", not for any service specifically. WTF?

And here's a second, even bigger WTF! lmhosts really must not be restricted to the local network, so it obviously is not needed to talk to your router (which is on the local net). So what is it for? Also of note, that this problem/issue only seems to exist since the Windows Updates of last month, so this is some newly introduced behavior. And, as noted both by sysinfo and me, it even exists if the service is disabled, either shut down completely or in configuration.
END OF RANT

Either way, although I'm pretty convinced that MS has done some messy things in their last updates, I cannot do anything but live with it and make a default special rule in TinyWall for it.

The only thing left to figure out is the minimum amount of privileges needed. For me it works if I give it UDP out only, but sysinfo reports that more is needed. Could you make some more tests maybe?
  #445  
Old June 4th, 2012, 03:24 PM
sysinfo sysinfo is offline
Infrequent Poster
 
Join Date: Jun 2012
Location: USA
Posts: 2
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by ultim
The only thing left to figure out is the minimum amount of privileges needed. For me it works if I give it UDP out only, but sysinfo reports that more is needed. Could you make some more tests maybe?

Ok, now I think it's fixed - here's hoping. I hadn't tried "*" for UDP out, and that does work. I did some tests with different port ranges, and you have to allow Out UDP on port 67 for the lmhosts service. "But that's a DHCP port!" (well, that's what I said anyway.) And yes, it is but it's what lmhosts needs. I had only tried port 137 before since that's the netbios talk port. Why it works this way, I have no idea. Also, I think that maybe it needs to not be restricted to the local network because at the start of the connection process, you have no IP so the firewall sees the DHCP connections as 0.0.0.0 talking to 255.255.255.255?

Whatever the case, the rule below works now for me and seems to be the least privileged exception.

LMhosts UDP rule

Edit: maybe found the cause of the change as well: Microsoft KB2688338 from May 8th, changed how Windows Firewall handles outbound broadcast packets. (CVE entry)

Last edited by sysinfo : June 4th, 2012 at 03:35 PM.
  #446  
Old June 4th, 2012, 10:23 PM
Seven64's Avatar
Seven64 Seven64 is offline
Frequent Poster
 
Join Date: May 2011
Posts: 254
Default Re: Beta-testing TinyWall

Is it possible for you to make a rule/option to block all Internet traffic unless you are connected to your VPN? This link shows instructions:
http://practicalrambler.blogspot.com...t-traffic.html
  #447  
Old June 6th, 2012, 11:10 AM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Hi sysinfo,

When I wrote earlier about MS having done some messy things in their recent updates, I have to take that back, because now it makes perfect sense. I should have figured this one out by myself, but I didn't put enough time into investigating it. Instead you invested your time and I am very thankful to you for that.
  #448  
Old June 6th, 2012, 03:10 PM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by Seven64
Is it possible for you to make a rule/option to block all Internet traffic unless you are connected to your VPN? This link shows instructions:
http://practicalrambler.blogspot.com...t-traffic.html

Hi, this is currently unlikely to happen.
  #449  
Old June 8th, 2012, 12:07 AM
Melf Melf is offline
Regular Poster
 
Join Date: Sep 2010
Posts: 103
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by lordraiden
I would be nice if the learning mode would be able to create the specific rules allowing only the connections that the programs have established during the learning mode period.
It's this possible?

Quote:
Originally Posted by ultim
No, not possible. TinyWall as of 1.9.5 will create two kinds of auto-learned rules. For programs that do not accept connections it will allow only but any outbound traffic, for programs that have also been connected to during learning mode it will also allow incoming traffic. There is no possibility to create stricter rules based on ports, remote machines etc in the learning mode.

I think this is the same idea that we discussed a month or two ago:

Quote:
Originally Posted by ultim
I like the idea to create a checkbox that puts the learning mode into a more strict operation though. Auto-learning on a specific application is also an interesting idea. Unfortunately I have already delayed the current release a lot, and I must say "stop" to new features at some point or else I'm never going to make a public release. Be prepared to see some of your ideas in a post-2.0 version though. The toughest part of these features is to find a good balance between user-friendliness and security.

Did you mean, it's not possible in the current version, or not actually possible/feasible to implement at all? I am really hanging out for something with this feature
  #450  
Old June 8th, 2012, 09:34 PM
ultim ultim is offline
Frequent Poster
 
Join Date: Oct 2011
Posts: 206
Default Re: Beta-testing TinyWall

Quote:
Originally Posted by Melf
Did you mean, it's not possible in the current version, or not actually possible/feasible to implement at all? I am really hanging out for something with this feature

I meant it is not possible in the current version. Technically it sure is possible, but don't hold your breath. Now that TinyWall only creates inbound rules when necessary, this is not high on my todo-list right now.
 

Wilders Security Forums > Security Products > other firewalls « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:32 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums