Shreyas Zare
|
fa417216f3
major code refactoring done.
|
2 лет назад |
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 лет назад |
Shreyas Zare
|
8274408d4c
DhcpServer: updated UpdateDnsAuthZone() to use zone name for managing DNS records.
|
2 лет назад |
Shreyas Zare
|
58f5b549cc
minor changes
|
3 лет назад |
Shreyas Zare
|
6148e6ef60
DhcpServer: Implemented RemoveLease() method to remove lease and update DNS auth zone.
|
3 лет назад |
Shreyas Zare
|
a12c132c37
DhcpServer: Implemented scope changes. Added IsAddressReserved() check while renewing dynamic lease. Updated FindScope() to allow finding scope for DECLINE messages.
|
3 лет назад |
Shreyas Zare
|
ba27b54ce5
DhcpServer: setting default scope lease days to 1.
|
3 лет назад |
Shreyas Zare
|
36530ccf55
DhcpServer: code refactoring done.
|
3 лет назад |
Shreyas Zare
|
193373ffee
DhcpServer: updated code to use async socket calls from .net5.
|
3 лет назад |
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 лет назад |
Shreyas Zare
|
09fc300508
ignoring ObjectDisposedException when server stops.
|
3 лет назад |
Shreyas Zare
|
14ad2231e3
DhcpServer: updated ReadUdpRequestAsync() with task based async calling. Fixed minor null ref issue in UpdateDnsAuthZone().
|
3 лет назад |
Shreyas Zare
|
5a1f32650d
DhcpServer: saving modified scopes and zone in Stop().
|
3 лет назад |
Shreyas Zare
|
3081307e1b
DhcpServer: added logging while updating DNS entries and lease expiry.
|
3 лет назад |
Shreyas Zare
|
816f360a58
DhcpServer: fixed minor issue caused by using incorrect client identifier while updating hostname in reserved leases.
|
3 лет назад |
Shreyas Zare
|
31eee972e0
removed workaround code due to issue: https://github.com/dotnet/runtime/issues/37873
|
3 лет назад |
Shreyas Zare
|
36116391b6
DhcpServer: added feature to automatically save modified zones. Added validation checks in UpdateDnsAuthZone.
|
3 лет назад |
Shreyas Zare
|
de28d05103
DhcpServer: Removing lease hostname entry from dns if the hostname has changed.
|
4 лет назад |
Shreyas Zare
|
07e714bd14
DhcpServer: updating hostname in reserved leases to null when host name is not provided.
|
4 лет назад |
Shreyas Zare
|
48ea4ac893
DhcpServer: strictly enforcing exclusion lists for lease renewals.
|
4 лет назад |
Shreyas Zare
|
36819701b9
DhcpServer: implemented ServerHostName and BootFileName options.
|
4 лет назад |
Shreyas Zare
|
4bde5b0871
DhcpServer: changed sequence of FindThisDnsServerAddress() call in ActivateScopeAsync() after the FindInterface() so that the DNS address is correctly read.
|
4 лет назад |
Shreyas Zare
|
02c2225116
DhcpServer: implemented option to specify different next server address.
|
4 лет назад |
Shreyas Zare
|
d7f4719fd0
DhcpServer: added support to shift an allocation from dynamic to another reserved lease address and vice versa.
|
4 лет назад |
Shreyas Zare
|
ad74afa91e
DhcpServer: fixed issue in FindScope() which required the relay agent ip address to be in the scope range.
|
4 лет назад |
Shreyas Zare
|
2b5dffb4b4
DhcpServer: sending correct siaddr for nak responses.
|
4 лет назад |
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 лет назад |
Shreyas Zare
|
58f00c28b6
DHCP: minor validation fixes done.
|
4 лет назад |
Shreyas Zare
|
76f4276e87
DhcpServer: Added feature to allow multiple scopes per network interface. Code refactoring done.
|
4 лет назад |
Shreyas Zare
|
c022e31ad5
DhcpServer: fixed issue in FindScope() caused due to unnecessary validation to check if RelayAgentIpAddress equals remoteAddress.
|
4 лет назад |
Shreyas Zare
|
f5b0439fc0
DhcpServer: added error handling to fix issue when exception is thrown causing the client to not receive IP address.
|
4 лет назад |
Shreyas Zare
|
f7550059e7
DhcpServer: implemented async methods to prevent thread from blocking.
|
4 лет назад |
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 лет назад |
Shreyas Zare
|
c485c358ec
DhcpServer: updated code for UnbindUdpListener() since the workaround did work well.
|
4 лет назад |
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 лет назад |
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 лет назад |
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 лет назад |
Shreyas Zare
|
2b9688e3da
DhcpServer: Code refactoring changes done.
|
4 лет назад |
Shreyas Zare
|
968fe66b91
DhcpServer: code changes done as per AuthZoneManager implementation changes. Removed ServerDomain property. Code refactoring done.
|
4 лет назад |
Shreyas Zare
|
6eac903552
DhcpServer: done AuthZoneManager related changes.
|
4 лет назад |
Shreyas Zare
|
b0f9bc1c7b
DhcpServer: fixed unhandeled exception in ReadUdpRequestAsync(). Removed marking dhcp forward and reverse zones as internal to allow users to edit those zones. ActivateScope() updated to also remove expired leases from the zones.
|
4 лет назад |
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.
|
4 лет назад |
Shreyas Zare
|
8a712cf739
DhcpServer: added reserved lease hostname update code after dhcp request message lease commit.
|
5 лет назад |
Shreyas Zare
|
fb29d181c3
DhcpServer: updated no offer handling in ProcessDhcpMessage() for Discover request. Fixed issue with space in host name option. Removed using hostname from reserved lease since hostname field will be removed from UI. Added hostname check in UpdateDnsAuthZone() to fix DHCP server failing to activate scope bug if client has not hostname. Added error handling in ActivateScope() to avoid partial binding of scope causing inconsistent state.
|
5 лет назад |
Shreyas Zare
|
713b0fd05b
DhcpServer: added default scope of first start. Changed implementation to bind to ANY address only when a scope is active. Fixed minor issues.
|
5 лет назад |
Shreyas Zare
|
ff412bfd03
DhcpServer: minor bug fixes done.
|
5 лет назад |
Shreyas Zare
|
6fa2c5406b
DhcpServer: socket implementation redesigned to resolve cross platform issues with consistent behavior on windows and linux. FindScope() implementation changed to use IPPacketInformation for scope selection. BindUdpListener() updated with SocketOptionName.ReuseAddress to work on Unix platforms.
|
5 лет назад |
Shreyas Zare
|
cf12608cf3
DhcpServer: fixed minor bug in RenameScope(). Added SaveScope() method.
|
5 лет назад |
Shreyas Zare
|
282e47f6a5
minor change
|
5 лет назад |
Shreyas Zare
|
88e391896e
DhcpServer: changed offer dalay time to milli seconds.
|
5 лет назад |