Commit Graph

30 Commits

Author SHA1 Message Date
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