Hi,
I am using the current version 0.4.0 of NSIS for my undergraduate
project. I am using the following network configuration.
Host1 ----------------- Firewall ----------------------- Host2
IP Addresses:
Host1 = 10.0.0.3
Firewall = 10.0.0.2 , 10.0.1.2
Host2 = 10.0.1.2
Following are few issues which I observed:
1. When I give the command "nsis-natfw --create -s 10.0.0.3 -d 10.0.1.3
--deny --debug=0" from the Host1, there is an error message on the
firewall "iptables: No chain/target/match by that name". I observed
that the function initNatFwChains() is not being called anywhere. At
one place where it is called, the line is commented out.
2. When I uncommented this line and compiled the code again, the
create command worked but whether I give "--allow" or "--deny", it
always establishes and ACCEPT rule in the the iptables and no DROP
rule as it should for "--deny" case.
3. This create session did not expire after default lifetime of 600 s.
4. I am not receiving any output in response to the above mentioned
CREATE command. The command executes but no output is given.
Are these bugs in the code or am I missing something ?
Any help will be appreciated.
Best Regards,
Dinesh