Old 23rd August 2007, 01:00   #1
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
New plug-in : nsisFirewall

nsisFirewall is a small NSIS plugin that allows you to perform easily 2 tasks :
* Add an application to Windows Firewall exception list
* Remove an application from Windows Firewall exception list

There exist already 2 NSIS plugins that deal with Windows built-in Firewall :
* A big one providing a lot of functionalities : Most of them you will probably never use
* A small one that can only disable/enable the firewall globally : This is a completely insecure idea !!! (nsisFirewall is even smaller than this one)

But what most installers requires is only a simple way to ensure the application about to be installed will be able to access Internet. And in particular :
* You don't want to wonder if this version of Windows has a built-in Firewall : nsisFirewall can be used on all version of Windows and will report gracefully if the action could not be performed
* You don't want to wonder if the built-in Firewall is currently enabled or not : Just register your application. So if the Firewall gets activated, you can still access Internet
* You don't want to disable the Firewall globally, even temporarily : This is insecure ! Do you think the user would be happy with that ?
* You don't need to open a specific port : By registering your application, you give it already full right to access Internet and listen to incoming connection

So check out my nsisFirewall Homepage
Wizou is offline   Reply With Quote
Old 23rd August 2007, 01:01   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Nice! Please make a Wiki page at:
http://nsis.sf.net/nsisFirewall_plug-in

Stu
Afrow UK is offline   Reply With Quote
Old 23rd August 2007, 01:02   #3
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
already done hehe...

(why did the my URL turn into "URL submitted by user")

http://wiz0u.free.fr/prog/nsisFirewall/

Last edited by Wizou; 23rd August 2007 at 01:27.
Wizou is offline   Reply With Quote
Old 23rd August 2007, 01:36   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
It's an anti-spam feature of the forum for newly registered users.

Stu
Afrow UK is offline   Reply With Quote
Old 23rd August 2007, 12:20   #5
Backland
Senior Member
 
Join Date: Sep 2006
Posts: 150
Excellent, thanks for sharing!
Backland is offline   Reply With Quote
Old 23rd August 2007, 22:52   #6
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
new version

1.1 : Correctly handle 2 errors cases

http://wiz0u.free.fr/prog/nsisFirewall/
Wizou is offline   Reply With Quote
Old 7th January 2015, 10:39   #7
liftarn
Junior Member
 
Join Date: Jun 2010
Location: Stockholm, Sweden
Posts: 4
Sometimes I get error code 0x80040154 and wonder what this is? Perhaps the firewall isn't running.
liftarn is offline   Reply With Quote
Old 7th January 2015, 20:51   #8
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
According to some Google research, this error code might be returned when MS Firewall is not enabled. So I guess it is safe to ignore this error.

see http://fmepedia.safe.com/articles/Er...ror-0x800706d9
and http://www.pcreview.co.uk/forums/can...9-t444446.html
Wizou is offline   Reply With Quote
Old 26th May 2015, 10:27   #9
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 192
Hi!
I need an advice. I'm using this plug-in for my installer, but I got some error reports and now I'm trying to investigate the reason. I saw that when I exclude an application from the Firewall's exception list, it is excluded only for Public networks. But this is not what I really want. I want to exclude it for Home and especially for Domain networks. How can I control this? How this plug-in decides to which type of network must apply the exception?
TrifonovS is offline   Reply With Quote
Old 27th May 2015, 21:15   #10
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
maybe LiteFirewall Plugin will better suits your needs ?
Wizou is offline   Reply With Quote
Old 2nd June 2015, 05:54   #11
TrifonovS
Senior Member
 
Join Date: Apr 2009
Location: Bulgaria
Posts: 192
liteFirewall plug-in is also not a solution for me. From the documentation I see that it recognizes automatically the current profile and makes adds exception to this profile. But I want to add the firewall exception to all profile. So I must have a parameter that selects it.
TrifonovS is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump