Microsoft Internet Security and Acceleration Server 2000 |
This interface allows a filter to modify the result of remote gethostbyname or gethostbyaddr calls made by a Firewall client.
IUnknown Methods | Description |
---|---|
QueryInterface | Returns pointers to supported interfaces. |
AddRef | Increments the reference count. |
Release | Decrements the reference count. |
IFWXGetXByY Methods | Description |
---|---|
Deny | Denies the name-resolution request. |
SetResult | Sets the hostent structure that will be returned. |
This interface is implemented by the Firewall service.
The IFWXGetXByY interface essentially overrides the gethostbyname or gethostbyaddr functions, returning a hostent structure with different contents than would have been returned by the unfiltered calls. The filter has to call this interface from within IFWXSessionFilter::FirewallEventHandler.
A typical use of this interface would be to return an IP address other than that requested by the client; that is, to redirect the request.
Windows NT/2000: Requires Windows 2000.
Version: Requires ISA Server 2000.
Header: Wspfwext.idl.