josuetex / mikrotik4net

Automatically exported from code.google.com/p/mikrotik4net
Other
0 stars 0 forks source link

port ranges in firewall filter #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

using (TikSession session = new TikSession(TikConnectorType.Api))
{
   session.Open("192.168.88.1", "admin", "");
   FirewallFilterList filters = new FirewallFilterList();
   filters.LoadAll();
}
What is the expected output? What do you see instead?

Because src-port is setup as an integer, loading a filter list from a firewall 
that implements portranges (ie. 137-138) throws an exception.

What version of the product are you using? On what operating system?
ROS 5 on RB450, latest version of tik4net.

Please provide any additional information below.

Original issue reported on code.google.com by jan.schu...@xs4all.nl on 20 Oct 2011 at 2:32

GoogleCodeExporter commented 9 years ago
Hi,
  you are right. I will change it asap to string.

Thanx for very usefull and detailed report.

Danik

Original comment by daniel.f...@gmail.com on 28 Oct 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Implemented in svn.

Original comment by daniel.f...@gmail.com on 29 Oct 2011 at 3:14

GoogleCodeExporter commented 9 years ago
Thanks Daniel ! Had fixed it in local copy for now, will download latest svn 
and keep you posted with whatever else I run into. Developing app now to 
automate router deployment using your dll.

Original comment by jan.schu...@xs4all.nl on 29 Oct 2011 at 3:29