Communicating with a driver over a network in Windows - communication

How could I communicate with a driver from a usermode application over a network? I can't have the driver communicate with a local usermode application which then communicates with the remote application because that wouldn't work for what I'm doing. I was thinking of using named pipes but I'm not sure if that would work over a network.

Named pipes work over a network. Also you can use TDI.

Related

Can't track applications network communication under same machine

I have a network application environment of 7 applications communicating with eachother through UDP and TCP. All of them using either the machine's local network IP or 127.0.0.1 (localhost) to listen on ports or connecting to eachother.
All these applications are running on a single test machine.
I want to analyze precisely how each application communicate with the others so I tried Wireshark and Netmon. However both Wireshark and Netmon don't show me any of the packets sent or received by any of these applications.
What can I do to analyze this environment? Does Wireshark or Netmon able to analyze that? Is there a problem tracking packets using same source and destination IP?
what interface did you select in Wireshark for capturing traffic?
For your case, I think you should select "Adapter for loopback traffic" in Wireshark.
It will capture loopback communication for your locally hosted application.

need to run client/server in corba without using name service or file

I need to run a client server application in corba using c++ without using name service or without managing a shared file.
Basically want to run the server on one port and client should connect to this.
But the port will be read in client side and this needs to be communicated to server.
Is there a way to achieve this communicating the port from client to server.

Can a remotely stored ASP app access a networked local machine?

I'm about to being developing an application that will connect to a Unix machine on a network (via internal IP). The machines that will be running this application already have access to connect to the Unix machine.
If I develop an ASP.NET MVC Web App running on an external IIS instance, will the web app be able to connect to a private local machine? I realise the IIS server won't (as it's private), but there will be locally executed code. Is this going to be able to access the machine? If not, I will have to resort to Windows desktop app.
You can use a VPN connection from an external server to the private network. Virtual hosting hasn't this feature, so you must use virtual machine.
A firewall software allows you to create VPN server usually, and any version of Windows allows you to establish a VPN connection to the server.
With a help of VPN connection your virtual machine can get ф private IP-address, and can access private network resources.

Setup server for ruby on rails

working under linux server Centos remotly in local network, my rails server working there too. How can I enable remote web access? And if so how can I enable only couple of ip addresses for web access?
You should check on which addresses the server applications binds. If it has no external IP-Address then it wont be possible to access it directly from the internet. Then it is possible to use port forwarding to forward your application over your router. If you havent any access to the router you should ask the administrator of your network to forward it for you.
Another possibility is to plug a VLAN to a secound interface but you should think about security when you have a server that is connected to your NATed network and the internet directly!
if its only rails production server setup then you can try with this:
http://www.leonardteo.com/2012/11/install-ruby-on-rails-on-ubuntu-server/
it uses https://github.com/ballistiq/ruby-passenger-nginx-installer and they are maintaining the installer. I found its very helpful. it works like no-pain

What does avahi-compat-libdns_sd do?

I have Bonjour (mDNSResponder - Linux version) up and running on a Ubuntu Box (Host A). I have managed to port Avahi to a new platform. As I see, ./mDNSNetMonitor is able to discover the service published by avahi on say different host, Host B (/etc/avahi/services/myservice.service) . This means that Bonjour is able to discover the service published by Avahi.
My question here is, why do I need avahi-compat-libdns_sd library. In the context of experiment, do I need to port avahi-compat-libdns_sd library also to the new platform (Host B)? Note that Avahi running on Host B is 'Dbus enabled'.
Basically it provides a dns_sd.h header file and a backing implementation using avahi to provide compability with the Bonjour SDK interface. So no, you do not need to also port the avahi-compat-libdns_sd part for your experiment.

Resources