Commit Graph

48 Commits

Author SHA1 Message Date
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
50cf6fdf2e code refactoring changes. 2023-02-05 16:26:18 +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
58ca4dd789 Scope: added macOS explicit check. 2022-11-12 18:04:48 +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
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
50cbbc9fe1 Scope: minor refactoring changes done. Added AddReservedLease() and RemoveReservedLease() methods. 2022-09-18 17:37:41 +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
ed5a831f95 Scope: implemented RemoveLeaseByClientIdentifier() method and renamed RemoveLease() to RemoveLeaseByHardwareAddress(). 2022-04-30 12:03:25 +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
31cecf3b4d Scope: fixed client id comparison issue in IsAddressAlreadyAllocated() and updated GetReservedLease(). 2022-01-23 16:58:03 +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
0872d635c6 Scope: Implemented ping check feature. Added RemoveLease() method. Code refactoring done. 2021-09-18 17:29:36 +05:30
Shreyas Zare
9609a02c6b Scope: minor changes. 2021-09-11 13:03:41 +05:30
Shreyas Zare
251e4e10bf Scope: code refactoring done. 2021-04-10 13:34:02 +05:30
Shreyas Zare
7e27adc95f Scope: implemented ConvertToReservedLease() and ConvertToDynamicLease(). Implemented code changes to allow overriding client domain name. Code refactoring done. 2021-02-06 18:12:15 +05:30
Shreyas Zare
3085f1feb5 Scope: updated static ip validation in FindInterface() with explicit check for ipv4 dhcp server and with detailed error message. 2020-12-19 12:33:32 +05:30
Shreyas Zare
816f360a58 DhcpServer: fixed minor issue caused by using incorrect client identifier while updating hostname in reserved leases. 2020-12-12 16:49:18 +05:30
Shreyas Zare
84a759bad5 Scope: implemented vendor specific information option. 2020-11-14 16:46:35 +05:30
Shreyas Zare
814517fc25 Scope: added IsAddressExcluded(). Updated GetOffer() to release existing lease if its dynamic and is excluded. 2020-10-24 17:36:31 +05:30
Shreyas Zare
7de99aca59 Scope: added serverHostName and bootFileName options 2020-10-24 16:50:52 +05:30
Shreyas Zare
4bde5b0871 DhcpServer: changed sequence of FindThisDnsServerAddress() call in ActivateScopeAsync() after the FindInterface() so that the DNS address is correctly read. 2020-10-17 18:30:04 +05:30
Shreyas Zare
02c2225116 DhcpServer: implemented option to specify different next server address. 2020-10-04 20:07:41 +05:30
Shreyas Zare
9186a13039 Scope: sorting reserved leases by ip address for better display. 2020-10-04 14:55:31 +05:30
Shreyas Zare
e7277a6cec Scope: added IsAddressInNetwork() to check if an address is in the network defined by the subnet mask. 2020-10-04 13:48:15 +05:30
Shreyas Zare
e6e1f7b3cd Scope: changed reserved lease from array to concurrent dictionary for fast lookups. Added GetReservedLease() methods for fast lookups of reserved lease. Code refactoring done. 2020-09-26 18:20:07 +05:30
Shreyas Zare
cdcb79cc6a Scope: removed reverse zone property since it does not reflect correct reverse zone for all networks. 2020-08-29 14:12:37 +05:30
Shreyas Zare
abf2530ab7 Scope: fixed bug that caused reserved addresses to stop working. code refactoring done. 2020-07-18 12:41:04 +05:30
Shreyas Zare
7c38ddac37 DhcpServer: added retry with delay in ActivateScope() when no static IP address was found on the system which is common issue when the server boots up. 2020-06-13 19:54:03 +05:30
Shreyas Zare
4745d24e0a Scope: moved GetReverseZone() methods to Zone class. 2020-06-13 13:41:58 +05:30
Shreyas Zare
05750d7cb3 DHCP Scope: added check to find if reserved lease ip was previously allocated to prevent conflicts. 2020-02-22 12:26:36 +05:30
Shreyas Zare
f17397a084 DhcpServer: fixed bug due to invalid host name causing scope to fail to activate. Updated SOA paramerters for zone created by dhcp. 2019-12-14 16:41:49 +05:30
Shreyas Zare
72ff15a91e Scope: using hostname from request instead of resserved lease hostname in GetOffer(). 2019-07-28 15:52:39 +05:30
Shreyas Zare
144c952b70 Scope: removed code to update hostname in reserved lease in GetOffer(). 2019-07-28 15:47:57 +05:30
Shreyas Zare
4e1c46cc70 Scope: throwing error in GetOffer() to allow correctly logging the reason for no offer. 2019-07-27 12:27:57 +05:30
Shreyas Zare
9a13dd9493 Scope: added check for offers in IsAddressAvailable() that can cause issues in small scope ranges. Added lock for finding offer address in address pool to avoid race condition. 2019-06-23 16:43:48 +05:30
Shreyas Zare
7ba8e62611 Scope: implemented UseThisDnsServer feature. Updated FindInterface() to do validations to check if interface has static ip address. Implemented LeaseType changes. 2019-06-22 15:35:57 +05:30
Shreyas Zare
5c3be88616 Scope: added interface index property to allow matching broadcast message from specific interface to scope for cross platform consistent way. Implemented FindInterface() independent to be called while activating scope. 2019-06-16 21:20:17 +05:30
Shreyas Zare
5f0cdbda1e Scope: minor fix done. 2019-06-16 14:27:25 +05:30
Shreyas Zare
39dd66f44b Scope: changes done to include start and end address in offer. minor error message changes done. 2019-06-16 13:45:35 +05:30
Shreyas Zare
5b038c0b44 Scope: minor issues fixed. 2019-06-15 21:08:05 +05:30
Shreyas Zare
030ebc2da6 Scope: replaces LeaseTime with day, hour and minute based time selection. 2019-06-15 20:56:48 +05:30
Shreyas Zare
981eddba10 Scope: implemented IComparable. fixed minor bugs. 2019-06-15 18:07:19 +05:30
Shreyas Zare
b27285e58e Scope: code refactoring done and finalized changes. 2019-06-15 13:25:15 +05:30
Shreyas Zare
27fa8f64d4 DhcpServer: added working dhcp server with basic tests done for all scope options. 2019-06-09 20:51:54 +05:30