View Full Version : New TCP/IP Server plugin
Ron
October 13th, 2002, 12:55 PM
ooops, i was still supposed to give some info on that register manipulation....
let me see if i have it here now...
-Ron
Ron
October 13th, 2002, 12:55 PM
The details about the registermanipulation
can be found in http://www.girder.nl/developer.php?Link=132
the api docs. Probably in some example file too.
And about the client, i didn't bring that with me. But its really easy to program tho.
-Ron
bhoule
October 13th, 2002, 12:55 PM
Great, looks good!
Some things I would like added:
-Allow clients based on MAC address. This was discussed here: http://www.girder.nl/phpBB/viewtopic.php?topic=311&forum=2
-A way to determine the ip address of the currently connected client.
-A way to determine the ip address the server is using to talk with the currently connected client.
-A way to put the above two IP addresses into text registers.
If you could consider these, that would be great. Thanks!
bhoule
October 13th, 2002, 12:55 PM
I want the IP addresses in a text register because I use DHCP on my lan.
When I use the TCP/IP action plugin, I need to put in the IP address to send the packet to. Since this will change every time the remote client boots up, I need to get the IP address from the server.
With MAC address authentication and the remote IP address in a text register, I can have bi-directional TCP/IP communication while using DHCP.
The reason I need the local IP address is so that I can send it to the client. I'm going to have the client send a broadcast message when it starts to find out which computers on the lan are running Girder. Girder will then send it's IP address to the client and the client will make a new socket with just the Girder IP address.
This way, all the IP addresses (both remote and local) can be dynamic and don't have to be hardcoded into either Girder or the client.
bhoule
October 13th, 2002, 12:55 PM
Now that I think about it, it's probably not worth trying to get the IP addresses in a text register. It wouldn't be to usefull except for my particular purpose.
Instead, maybe we could get a new version of the TCP/IP action plugin that will let you send a message to a MAC address. Now that you have the tools and know-how to include it in the server, could you please add it to the action plugin?
JayGuerette
October 13th, 2002, 12:55 PM
I have a beta version of a new TCP/IP Server plugin. The v1.3 plugin in the v3.0.23 release is an offshoot of this code.
There are no known issues with this version; but I would like some testing and feedback from others.
If you have feature requests, now would be a good time to get them in. :smile:
http://www.guerette.net/girder/
JayGuerette
October 13th, 2002, 12:55 PM
The MAC address bit requires a platform SDK that I don't have. I'm looking into getting it.
The plugin obviously knows the IP addresses of both ends of the connection; but I'm not sure about putting them into registers. I'll look into how it's done. Why would you want to do that?
JayGuerette
October 13th, 2002, 12:55 PM
I have the platform SDK I need. I am working on MAC address checking now... perhaps a day or two until beta 3.
JayGuerette
October 13th, 2002, 12:55 PM
I posted TCP/IP Server Plugin v2.0 beta 3.
This version lets you specify allowed hosts by their MAC address.
Available at:
http://www.guerette.net/girder/
JayGuerette
October 13th, 2002, 12:55 PM
...still looking for register manipulation code, and a sensible way to integrate it.
JayGuerette
October 13th, 2002, 12:55 PM
I've asked Ron to release the source for this so I could update and enhance it, but he's been busy. I've been avoiding the idea of doing it from scratch...
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.