TacacsPlusCore 1.1.1
dotnet add package TacacsPlusCore --version 1.1.1
NuGet\Install-Package TacacsPlusCore -Version 1.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TacacsPlusCore" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TacacsPlusCore" Version="1.1.1" />
<PackageReference Include="TacacsPlusCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TacacsPlusCore --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TacacsPlusCore, 1.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=TacacsPlusCore&version=1.1.1
#tool nuget:?package=TacacsPlusCore&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TacacsPlusCore
Simple .NET TACACS+ client library
Currently only supports Authentication requests. Support could be added for Authorization and Accounting.
Algorithms are implemented for CHAP, MS-CHAPv1, and MS-CHAPv2:
- CHAP has been tested against Cisco ISE and TACACS.net
- MS-CHAPv1 has been tested against Cisco ISE
- MS-CHAPv2 In RFC 8907, it is not clear how the "received" challenge and peer challenge are sent in the request, and CISCO ISE does not allow MS-CHAPv2
Calling the API to Authenticate is super simple.
// supports both IP address and DNS name
// you can use var sharedSecret.ToSecureString() to convert a regular string to a SecureString
var client = new TacacsPlusClient("192.168.1.100", 49, sharedSecret);
// Call Authenticate()
bool result = client.Authenticate(TacacsAuthenticationType.Chap, TacacsAuthenticationService.None, "user", password);
// An exception will be thrown if something goes wrong, otherwise true == success and false == fail
Future feature:
- Implement TLS when it becomes standard (https://datatracker.ietf.org/doc/draft-ietf-opsawg-tacacs-tls13/)
It's free. Enjoy!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.1 | 141 | 11 days ago |
1.1.0-dev-21 | 124 | 7/5/2023 |
1.1.0-dev-20 | 188 | 1/25/2023 |
1.0.0 | 351 | 1/24/2023 |
0.9.0-dev-16 | 173 | 1/24/2023 |
0.9.0-dev-14 | 187 | 7/30/2022 |
0.9.0-dev-12 | 185 | 6/7/2022 |
0.9.0-dev-10 | 344 | 9/23/2020 |
- Fixed MS-CHAPv1 and tested it against Cisco ISE
- Fixed issues with the test tool in the repository
- Improved error handling
- Corrected issues related to randomized challenge in CHAP