Commit Graph

155 Commits

Author SHA1 Message Date
Shreyas Zare
0b5d018968 DhcpServer: updated code for Scope implementation changes. 2024-02-17 18:01:47 +05:30
Shreyas Zare
cc820c7be1 Scope: updated FindThisDnsServerAddress() implementation to check the DNS server local endpoints for selecting This Server address. 2024-02-17 18:00:59 +05:30
Shreyas Zare
b9ea43c583 Scope: added support for providing hostname option. 2024-02-04 17:23:32 +05:30
Shreyas Zare
fbf46a0054 Lease: code refactoring done. 2024-02-04 17:22:08 +05:30
Shreyas Zare
e3c154a407 DhcpServerException: removed obsolete code. 2024-02-04 17:21:38 +05:30
Shreyas Zare
f283c3b928 DhcpServer: minor changes done. 2024-02-04 17:20:43 +05:30
Shreyas Zare
69c72073e1 DhcpOption: code refactoring done. 2024-02-04 17:19:13 +05:30
Shreyas Zare
527378f0f0 DhcpMessage: code refactoring changes done. 2024-02-04 17:18:37 +05:30
Shreyas Zare
c927dbe95e code refactoring changes done. 2024-02-04 17:17:20 +05:30
Shreyas Zare
6bebb650fa DhcpServer: updated ReadUdpRequestAsync() to use larger buffer size and log message size error code cases. 2023-07-29 13:26:12 +05:30
Shreyas Zare
a02da4870d DhcpOption: removed ParseColonHexString() and using library method instead. 2023-05-20 17:59:31 +05:30
Shreyas Zare
96c3027b83 VendorSpecificInformationOption: code refactored to use library method for ParseColonHexString(). 2023-05-20 17:58:08 +05:30
Shreyas Zare
50cf6fdf2e code refactoring changes. 2023-02-05 16:26:18 +05:30
Shreyas Zare
45781d3818 DhcpServer: code refactoring changes. 2023-01-14 13:34:23 +05:30
Shreyas Zare
f08b489476 Scope: implemented support for TFTP server address and generic options. 2022-12-24 12:07:34 +05:30
Shreyas Zare
3f9f7db65b DhcpOption: Implemented support for generic option and TftpServerAddress option. 2022-12-24 12:05:50 +05:30
Shreyas Zare
9562964b82 implemented TftpServerAddressOption option. 2022-12-24 12:04:53 +05:30
Shreyas Zare
c9c57f2167 VendorSpecificInformationOption: updated code to accept hex string in both colon separator and normal format . 2022-12-24 12:04:26 +05:30
Shreyas Zare
58ca4dd789 Scope: added macOS explicit check. 2022-11-12 18:04:48 +05:30
Shreyas Zare
2770baf82f DhcpServer: updated ActivateScopeAsync() and DeactivateScope() to allow optional throwing of exception. Updated EnableScopeAsync() and DisableScope() to support the same. 2022-11-12 15:25:52 +05:30
Shreyas Zare
3c92a51b8f DhcpServer: Updated code to support new Scope implementation changes. 2022-11-12 14:58:35 +05:30
Shreyas Zare
6f89326acd Scope: implemented domain search and CAPWAPAP option support. Added option to disable dns updates. Added feature to support using domain names for NTP option. Added missing validation checks in properties. 2022-11-12 14:57:08 +05:30
Shreyas Zare
f092bf266b DhcpOption: implemented support for option 119 and 138. 2022-11-12 14:53:48 +05:30
Shreyas Zare
4bcbda7aae DomainSearchOption: added support for option 119. 2022-11-12 14:52:58 +05:30
Shreyas Zare
036ba54c29 CAPWAPAccessControllerOption: added support for option 138. 2022-11-12 14:52:27 +05:30
Shreyas Zare
2b03e69986 DhcpServer: updated log messages. 2022-10-30 18:50:04 +05:30
Shreyas Zare
62085aa475 Scope: Fixed string out of bound bug in GetOptions(). Added logging code. 2022-10-30 18:40:53 +05:30
Shreyas Zare
6d89dbf92e Scope: added feature to block allocation for locally administered mac addresses. 2022-09-24 11:46:41 +05:30
Shreyas Zare
18915a196f DhcpServer: updated UpdateDnsAuthZone() to set permissions for the created primary zones and to allow updating records into a forwarder zone. 2022-09-18 17:41:41 +05:30
Shreyas Zare
50cbbc9fe1 Scope: minor refactoring changes done. Added AddReservedLease() and RemoveReservedLease() methods. 2022-09-18 17:37:41 +05:30
Shreyas Zare
9df8beb2d4 Lease: minor refactoring change 2022-09-18 17:36:29 +05:30
Shreyas Zare
872544e2a7 VendorSpecificInformationOption: fixed formating issue in ToString(). 2022-05-08 15:20:02 +05:30
Shreyas Zare
0e4f8f4d57 Scope: refactored RemoveLease() methods. Updated ConvertToReservedLease() and ConvertToDynamicLease() methods to support using both hardware address and client identifier. Code refactoring done. 2022-04-30 13:02:11 +05:30
Shreyas Zare
cca8433b0e DhcpServer: removed the remove lease methods. 2022-04-30 13:00:45 +05:30
Shreyas Zare
50f3ac388f DhcpServer: renamed RemoveLease() to RemoveLeaseByHardwareAddress(). Implemented RemoveLeaseByClientIdentifier() method. Minor refactoring changes done. 2022-04-30 12:04:46 +05:30
Shreyas Zare
ed5a831f95 Scope: implemented RemoveLeaseByClientIdentifier() method and renamed RemoveLease() to RemoveLeaseByHardwareAddress(). 2022-04-30 12:03:25 +05:30
Shreyas Zare
c52211fb47 Lease: minor refactoring done. 2022-04-30 12:02:17 +05:30
Shreyas Zare
02242a9bdf ClientIdentifierOption: implemented Parse() and ToString() helper methods. 2022-04-30 12:01:48 +05:30
Shreyas Zare
b2efaf2550 DhcpServer: setting default scope's domain name to home. 2022-04-23 17:47:50 +05:30
Shreyas Zare
fa417216f3 major code refactoring done. 2022-03-06 17:24:41 +05:30
Shreyas Zare
c8289e4c11 DhcpServer: Updated ReadUdpRequestAsync() to ignore SocketError.OperationAborted socket error code being thrown by .NET 6 when server is stopping. Updated UpdateDnsAuthZone() check if the DNS record for the domain name of a dynamic lease already exists to prevent overwrite but allow reserved leases to overwrite and existing DNS record. Updated RenameScope() to validate new scope name. 2022-03-06 15:41:10 +05:30
Shreyas Zare
5cd9d2e37d Scope: Added scope name validation. Updated FindInterface() to handle PlatformNotSupportedException. Updated GetOfferAsync() to return existing reserved lease only when the IP address matches. Updated GetExistingLeaseOrOffer() to check for offers first. Updated RemoveLease() to remove matching reserved lease entry only when the IP addresses match. 2022-03-06 15:30:18 +05:30
Shreyas Zare
2730c914ff minor refactoring changes done. 2022-01-23 20:21:13 +05:30
Shreyas Zare
8274408d4c DhcpServer: updated UpdateDnsAuthZone() to use zone name for managing DNS records. 2022-01-23 16:59:42 +05:30
Shreyas Zare
31cecf3b4d Scope: fixed client id comparison issue in IsAddressAlreadyAllocated() and updated GetReservedLease(). 2022-01-23 16:58:03 +05:30
Shreyas Zare
09f900bba2 VendorSpecificInformationOption: minor changes 2022-01-23 16:56:26 +05:30
Shreyas Zare
58f5b549cc minor changes 2021-10-23 12:03:16 +05:30
Shreyas Zare
6148e6ef60 DhcpServer: Implemented RemoveLease() method to remove lease and update DNS auth zone. 2021-09-18 19:23:34 +05:30
Shreyas Zare
0ec38f6fed Scope: made RemoveLease() internal to be called from dhcp server only. 2021-09-18 19:22:59 +05:30
Shreyas Zare
a12c132c37 DhcpServer: Implemented scope changes. Added IsAddressReserved() check while renewing dynamic lease. Updated FindScope() to allow finding scope for DECLINE messages. 2021-09-18 17:53:23 +05:30