Shreyas Zare
|
7cefb102ea
DhcpServer: Updated implementation to remove delayed save feature for modified auth zones.
|
5 months ago |
Shreyas Zare
|
cfed453bf5
DhcpServer: Updated default scope to use IgnoreClientIdentifierOption option. Updated dhcp log with more details in UpdateDnsAuthZone().
|
8 months ago |
Shreyas Zare
|
0b5d018968
DhcpServer: updated code for Scope implementation changes.
|
8 months ago |
Shreyas Zare
|
f283c3b928
DhcpServer: minor changes done.
|
9 months ago |
Shreyas Zare
|
6bebb650fa
DhcpServer: updated ReadUdpRequestAsync() to use larger buffer size and log message size error code cases.
|
1 year ago |
Shreyas Zare
|
45781d3818
DhcpServer: code refactoring changes.
|
1 year ago |
Shreyas Zare
|
2770baf82f
DhcpServer: updated ActivateScopeAsync() and DeactivateScope() to allow optional throwing of exception. Updated EnableScopeAsync() and DisableScope() to support the same.
|
2 years ago |
Shreyas Zare
|
3c92a51b8f
DhcpServer: Updated code to support new Scope implementation changes.
|
2 years ago |
Shreyas Zare
|
2b03e69986
DhcpServer: updated log messages.
|
2 years ago |
Shreyas Zare
|
18915a196f
DhcpServer: updated UpdateDnsAuthZone() to set permissions for the created primary zones and to allow updating records into a forwarder zone.
|
2 years ago |
Shreyas Zare
|
cca8433b0e
DhcpServer: removed the remove lease methods.
|
2 years ago |
Shreyas Zare
|
50f3ac388f
DhcpServer: renamed RemoveLease() to RemoveLeaseByHardwareAddress(). Implemented RemoveLeaseByClientIdentifier() method. Minor refactoring changes done.
|
2 years ago |
Shreyas Zare
|
b2efaf2550
DhcpServer: setting default scope's domain name to `home`.
|
2 years ago |
Shreyas Zare
|
fa417216f3
major code refactoring done.
|
2 years ago |
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.
|
2 years ago |
Shreyas Zare
|
8274408d4c
DhcpServer: updated UpdateDnsAuthZone() to use zone name for managing DNS records.
|
2 years ago |
Shreyas Zare
|
58f5b549cc
minor changes
|
3 years ago |
Shreyas Zare
|
6148e6ef60
DhcpServer: Implemented RemoveLease() method to remove lease and update DNS auth zone.
|
3 years ago |
Shreyas Zare
|
a12c132c37
DhcpServer: Implemented scope changes. Added IsAddressReserved() check while renewing dynamic lease. Updated FindScope() to allow finding scope for DECLINE messages.
|
3 years ago |
Shreyas Zare
|
ba27b54ce5
DhcpServer: setting default scope lease days to 1.
|
3 years ago |
Shreyas Zare
|
36530ccf55
DhcpServer: code refactoring done.
|
3 years ago |
Shreyas Zare
|
193373ffee
DhcpServer: updated code to use async socket calls from .net5.
|
3 years ago |
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.
|
3 years ago |
Shreyas Zare
|
09fc300508
ignoring ObjectDisposedException when server stops.
|
3 years ago |
Shreyas Zare
|
14ad2231e3
DhcpServer: updated ReadUdpRequestAsync() with task based async calling. Fixed minor null ref issue in UpdateDnsAuthZone().
|
3 years ago |
Shreyas Zare
|
5a1f32650d
DhcpServer: saving modified scopes and zone in Stop().
|
3 years ago |
Shreyas Zare
|
3081307e1b
DhcpServer: added logging while updating DNS entries and lease expiry.
|
3 years ago |
Shreyas Zare
|
816f360a58
DhcpServer: fixed minor issue caused by using incorrect client identifier while updating hostname in reserved leases.
|
3 years ago |
Shreyas Zare
|
31eee972e0
removed workaround code due to issue: https://github.com/dotnet/runtime/issues/37873
|
3 years ago |
Shreyas Zare
|
36116391b6
DhcpServer: added feature to automatically save modified zones. Added validation checks in UpdateDnsAuthZone.
|
3 years ago |
Shreyas Zare
|
de28d05103
DhcpServer: Removing lease hostname entry from dns if the hostname has changed.
|
3 years ago |
Shreyas Zare
|
07e714bd14
DhcpServer: updating hostname in reserved leases to null when host name is not provided.
|
4 years ago |
Shreyas Zare
|
48ea4ac893
DhcpServer: strictly enforcing exclusion lists for lease renewals.
|
4 years ago |
Shreyas Zare
|
36819701b9
DhcpServer: implemented ServerHostName and BootFileName options.
|
4 years ago |
Shreyas Zare
|
4bde5b0871
DhcpServer: changed sequence of FindThisDnsServerAddress() call in ActivateScopeAsync() after the FindInterface() so that the DNS address is correctly read.
|
4 years ago |
Shreyas Zare
|
02c2225116
DhcpServer: implemented option to specify different next server address.
|
4 years ago |
Shreyas Zare
|
d7f4719fd0
DhcpServer: added support to shift an allocation from dynamic to another reserved lease address and vice versa.
|
4 years ago |
Shreyas Zare
|
ad74afa91e
DhcpServer: fixed issue in FindScope() which required the relay agent ip address to be in the scope range.
|
4 years ago |
Shreyas Zare
|
2b5dffb4b4
DhcpServer: sending correct siaddr for nak responses.
|
4 years ago |
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.
|
4 years ago |
Shreyas Zare
|
58f00c28b6
DHCP: minor validation fixes done.
|
4 years ago |
Shreyas Zare
|
76f4276e87
DhcpServer: Added feature to allow multiple scopes per network interface. Code refactoring done.
|
4 years ago |
Shreyas Zare
|
c022e31ad5
DhcpServer: fixed issue in FindScope() caused due to unnecessary validation to check if RelayAgentIpAddress equals remoteAddress.
|
4 years ago |
Shreyas Zare
|
f5b0439fc0
DhcpServer: added error handling to fix issue when exception is thrown causing the client to not receive IP address.
|
4 years ago |
Shreyas Zare
|
f7550059e7
DhcpServer: implemented async methods to prevent thread from blocking.
|
4 years ago |
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.
|
4 years ago |
Shreyas Zare
|
c485c358ec
DhcpServer: updated code for UnbindUdpListener() since the workaround did work well.
|
4 years ago |
Shreyas Zare
|
0afe7a8e64
DhcpServer: implemented waitForInterface option in ActivateScope() to allow waiting upto 30 sec for activating scope on server startup. Implemented stopping option in UnloadScope() to avoid closing socket when server is stopping to prevent from getting indefinitely blocked due to .NET Core bug on linux.
|
4 years ago |
Shreyas Zare
|
f00cdad2ab
Fixed socket dispose getting blocked issue with work around. More info on the issue: https://github.com/dotnet/runtime/issues/37873
|
4 years ago |
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.
|
4 years ago |