You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LoadAll method throwing exception System.FormatException: 'Value 'established,related,untracked' for property 'ConnectionState(connection-state)' is not in expected format
#94
Open
kuski-jabir opened this issue
Jan 9, 2024
· 0 comments
however the following exception is thrown when i try to retrieve the applied rules. System.FormatException: 'Value 'established,related,untracked' for property 'ConnectionState(connection-state)' is not in expected format 'tik4net.Objects.Ip.Firewall.FirewallFilter+ConnectionStateType'.'
Adding the ConnectionState Property didn't change the error
` var firewallFilter = new FirewallFilter()
{
Chain = FirewallFilter.ChainType.Forward,
Action = FirewallFilter.ActionType.Drop,
ConnectionState = FirewallFilter.ConnectionStateType.New
//ConnectionBytes = 0
};`
The same behavior was replicated when using DeleteAll and LoadList methods.
tik4Net version 3.50
The text was updated successfully, but these errors were encountered:
I was following the documentation in order to apply firewall filter to a mikrotik router.
`
however the following exception is thrown when i try to retrieve the applied rules.
System.FormatException: 'Value 'established,related,untracked' for property 'ConnectionState(connection-state)' is not in expected format 'tik4net.Objects.Ip.Firewall.FirewallFilter+ConnectionStateType'.'
Adding the ConnectionState Property didn't change the error
` var firewallFilter = new FirewallFilter()
{
Chain = FirewallFilter.ChainType.Forward,
Action = FirewallFilter.ActionType.Drop,
ConnectionState = FirewallFilter.ConnectionStateType.New
The same behavior was replicated when using DeleteAll and LoadList methods.
tik4Net version 3.50
The text was updated successfully, but these errors were encountered: