Hi,
I have read the following: Network Kernel Extensions 2007-04-03
I need to intercept in NKE, brower requests to a certain host name and redirect it to another. I am looking into "socket filter" but so far with no success. I am trying in "tl_connect_out_fn(void *cookie, socket_t so, const struct sockaddr *to)" to manipulate the host
Does the below extraction claim it's possible?
#================================== Note: If you were considering calling sock_close to redirect a socket to a different location, you can do this by intercepting the connection request with a socket filter and redirecting the stream when the application first opens the socket. Once opened, however, a stream cannot be redirected. For more information, see “Socket filters.” #==================================
Thanks, Erez |