Commit Graph

69 Commits

Author SHA1 Message Date
Shreyas Zare
f9edcd67a1 DhcpServer: Updated GetSanitizedHostName() to allow period char. 2024-10-19 16:38:30 +05:30
Shreyas Zare
8bd1ec3b75 DhcpServer: implemented GetSanitizedHostName() method to sanitize hostname before using it to generate client domain name. 2024-09-28 16:10:59 +05:30
Shreyas Zare
2b68be8997 DhcpServer: removed client domain case lowering to allow having same case records in DNS. Updated UpdateDnsAuthZone() to use updated AuthZoneManager calls. 2024-09-14 16:41:38 +05:30
Shreyas Zare
7cefb102ea DhcpServer: Updated implementation to remove delayed save feature for modified auth zones. 2024-05-19 14:51:50 +05:30
Shreyas Zare
cfed453bf5 DhcpServer: Updated default scope to use IgnoreClientIdentifierOption option. Updated dhcp log with more details in UpdateDnsAuthZone(). 2024-03-16 13:23:53 +05:30
Shreyas Zare
0b5d018968 DhcpServer: updated code for Scope implementation changes. 2024-02-17 18:01:47 +05:30
Shreyas Zare
f283c3b928 DhcpServer: minor changes done. 2024-02-04 17:20:43 +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
45781d3818 DhcpServer: code refactoring changes. 2023-01-14 13:34:23 +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
2b03e69986 DhcpServer: updated log messages. 2022-10-30 18:50:04 +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
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
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
8274408d4c DhcpServer: updated UpdateDnsAuthZone() to use zone name for managing DNS records. 2022-01-23 16:59:42 +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
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
ba27b54ce5 DhcpServer: setting default scope lease days to 1. 2021-06-26 15:50:11 +05:30
Shreyas Zare
36530ccf55 DhcpServer: code refactoring done. 2021-04-10 13:35:24 +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
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
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
48ea4ac893 DhcpServer: strictly enforcing exclusion lists for lease renewals. 2020-10-24 17:37:44 +05:30
Shreyas Zare
36819701b9 DhcpServer: implemented ServerHostName and BootFileName options. 2020-10-24 16:55:16 +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
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
2b5dffb4b4 DhcpServer: sending correct siaddr for nak responses. 2020-09-26 20:06:01 +05:30
Shreyas Zare
cbcca55b36 DhcpServer: removed remote port condition checks since some relay agents use random ports. Using correct server identifier address in options and response message. 2020-09-26 19:55:46 +05:30
Shreyas Zare
58f00c28b6 DHCP: minor validation fixes done. 2020-09-26 19:04:12 +05:30
Shreyas Zare
76f4276e87 DhcpServer: Added feature to allow multiple scopes per network interface. Code refactoring done. 2020-09-26 18:39:29 +05:30
Shreyas Zare
c022e31ad5 DhcpServer: fixed issue in FindScope() caused due to unnecessary validation to check if RelayAgentIpAddress equals remoteAddress. 2020-09-26 12:20:14 +05:30
Shreyas Zare
f5b0439fc0 DhcpServer: added error handling to fix issue when exception is thrown causing the client to not receive IP address. 2020-09-12 13:06:45 +05:30
Shreyas Zare
f7550059e7 DhcpServer: implemented async methods to prevent thread from blocking. 2020-09-05 16:14:35 +05:30
Shreyas Zare
7114b2ad8f DhcpServer: Code refactoring done to handle requests in same thread. Added dns update for hosts that send INFORM message. Fixed bug in dns update that caused incorrect reverse zone creation. Code refactoring done. 2020-08-29 14:15:55 +05:30
Shreyas Zare
c485c358ec DhcpServer: updated code for UnbindUdpListener() since the workaround did work well. 2020-07-18 13:45:58 +05:30