Commit Graph

109 Commits

Author SHA1 Message Date
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
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
f49f78c557 Lease: minor refactoring changes. 2021-06-26 15:50:29 +05:30
Shreyas Zare
ba27b54ce5 DhcpServer: setting default scope lease days to 1. 2021-06-26 15:50:11 +05:30
Shreyas Zare
da36305b02 ClientFullyQualifiedDomainNameOption: updated ParseOptionValue() method to ignore null termination caused by buggy clients. 2021-06-12 13:47:20 +05:30
Shreyas Zare
36530ccf55 DhcpServer: code refactoring done. 2021-04-10 13:35:24 +05:30
Shreyas Zare
251e4e10bf Scope: code refactoring done. 2021-04-10 13:34:02 +05:30
Shreyas Zare
bba3a71f5d OptionOverloadValue: added flags attribute. 2021-04-10 13:32:56 +05:30
Shreyas Zare
bef86060eb ClientIdentifierOption: class made public 2021-04-10 13:32:35 +05:30
Shreyas Zare
37256bb8ec ClientFullyQualifiedDomainNameFlags: added flags attribute. 2021-04-10 13:32:15 +05:30
Shreyas Zare
193373ffee DhcpServer: updated code to use async socket calls from .net5. 2021-03-21 17:16:39 +05:30
Shreyas Zare
f8b9a24059 DhcpServer: implemented feature to allow overriding domain name for clients using reserved lease hostname option. Updated wait for interface logic to wait for full time until specific interface address is found. 2021-02-06 18:18:32 +05:30
Shreyas Zare
0a45b48e23 code refactoring done. 2021-02-06 18:13:33 +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
3aaf5744fb Exclusion: updated validation condition to allow single address exclusion. 2021-02-06 18:10:34 +05:30
Shreyas Zare
b9ca61bb80 Lease: added ConvertToReserved() and ConvertToDynamic() to allow changing lease type. 2021-02-06 18:09:59 +05:30
Shreyas Zare
51993661d5 dhcp Exclusion: added validation check. 2021-01-03 17:14:11 +05:30
Shreyas Zare
09fc300508 ignoring ObjectDisposedException when server stops. 2020-12-25 19:49:44 +05:30
Shreyas Zare
14ad2231e3 DhcpServer: updated ReadUdpRequestAsync() with task based async calling. Fixed minor null ref issue in UpdateDnsAuthZone(). 2020-12-25 18:21:49 +05:30
Shreyas Zare
5a1f32650d DhcpServer: saving modified scopes and zone in Stop(). 2020-12-20 16:55:47 +05:30
Shreyas Zare
3081307e1b DhcpServer: added logging while updating DNS entries and lease expiry. 2020-12-19 12:34:48 +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
79639d55ab Lease: minor update to allow specifying hardware address type explicitly. 2020-12-12 16:49:52 +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
31eee972e0 removed workaround code due to issue: https://github.com/dotnet/runtime/issues/37873 2020-12-06 18:08:41 +05:30
Shreyas Zare
36116391b6 DhcpServer: added feature to automatically save modified zones. Added validation checks in UpdateDnsAuthZone. 2020-12-06 16:58:06 +05:30
Shreyas Zare
de28d05103 DhcpServer: Removing lease hostname entry from dns if the hostname has changed. 2020-12-05 19:35:20 +05:30
Shreyas Zare
07e714bd14 DhcpServer: updating hostname in reserved leases to null when host name is not provided. 2020-11-14 16:47:50 +05:30
Shreyas Zare
84a759bad5 Scope: implemented vendor specific information option. 2020-11-14 16:46:35 +05:30
Shreyas Zare
e84b4a3748 VendorSpecificInformationOption: added hex string parsing. 2020-11-14 16:44:28 +05:30
Shreyas Zare
8605862b3d DhcpMessage: added VendorClassIdentifier property. 2020-10-31 14:13:30 +05:30
Shreyas Zare
ee7da07313 DhcpOption: added parsing entry for VendorSpecificInformation and VendorClassIdentifier. 2020-10-31 14:13:04 +05:30
Shreyas Zare
04134d80ad added VendorSpecificInformationOption 2020-10-31 14:12:22 +05:30
Shreyas Zare
c230eaef44 added VendorClassIdentifierOption 2020-10-31 14:12:13 +05:30
Shreyas Zare
48ea4ac893 DhcpServer: strictly enforcing exclusion lists for lease renewals. 2020-10-24 17:37:44 +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
36819701b9 DhcpServer: implemented ServerHostName and BootFileName options. 2020-10-24 16:55:16 +05:30
Shreyas Zare
795bfdb015 DhcpMessage: added support for sname and file fields. 2020-10-24 16:53:54 +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
d7f4719fd0 DhcpServer: added support to shift an allocation from dynamic to another reserved lease address and vice versa. 2020-10-04 14:35:16 +05:30
Shreyas Zare
ad74afa91e DhcpServer: fixed issue in FindScope() which required the relay agent ip address to be in the scope range. 2020-10-04 13:49: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
2b5dffb4b4 DhcpServer: sending correct siaddr for nak responses. 2020-09-26 20:06:01 +05:30