Attempting to use the library with ssfactory from SystemInteract.Remote.
Everything I attempt to do throws a NotImplementedException.
Example
var factory = new SshFactory(host, username, password);
system = new IpTablesSystem(factory, new IPTablesBinaryAdapter());
system.GetChain("filter", "FORWARD", 4);
Results in
NotImplementedException: The method or operation is not implemented. SystemInteract.Remote.Remote.SshProcess.get_StartInfo() SystemInteract.ProcessHelper.ReadToEnd(ISystemProcess process, Action<string> output, Action<string> error, int timeout) SystemInteract.ProcessHelper.ReadToEnd(ISystemProcess process, out string output, out string error, int timeout) IPTables.Net.Iptables.Adapter.Client.IPTablesBinaryAdapterClient.ListRules(string table) IPTables.Net.IpTablesSystem.GetRules(IIPTablesAdapterClient client, string table) IPTables.Net.IpTablesSystem.GetChain(IIPTablesAdapterClient client, string table, string chain) IPTables.Net.IpTablesSystem.GetChain(string table, string chain, int ipVersion)
Is there any way for this to work or is this still unfinished?
Attempting to use the library with ssfactory from SystemInteract.Remote.
Everything I attempt to do throws a NotImplementedException.
Example
Results in
NotImplementedException: The method or operation is not implemented. SystemInteract.Remote.Remote.SshProcess.get_StartInfo() SystemInteract.ProcessHelper.ReadToEnd(ISystemProcess process, Action<string> output, Action<string> error, int timeout) SystemInteract.ProcessHelper.ReadToEnd(ISystemProcess process, out string output, out string error, int timeout) IPTables.Net.Iptables.Adapter.Client.IPTablesBinaryAdapterClient.ListRules(string table) IPTables.Net.IpTablesSystem.GetRules(IIPTablesAdapterClient client, string table) IPTables.Net.IpTablesSystem.GetChain(IIPTablesAdapterClient client, string table, string chain) IPTables.Net.IpTablesSystem.GetChain(string table, string chain, int ipVersion)Is there any way for this to work or is this still unfinished?