-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi All, I am glad some people are interested in the hotwire client for linux. I will share the code with you guys but i need a few more hours of coding to be able to present the program in a neat form. Right now the code is extremely debugged and some values are hardcoded. Distributing such premature code would be rather insulting. But I would like to share some details on it. Some input I would appreciate from those interested in the software is to send me a TCP dump of ethereal. From that I will be able to confirm my assumption that all the servers use the same port and similar time-outs. A simple way out to diagnose the server port I discovered is as follows: Type the following command at a shell prompt: echo "username~~passwd" | nc -v -v XXX.XXX.XXX.XXX 23400 replacing username with your loginname, passwd with your password, XXX.XXX.XXX.XXX with your gateway and leave the 23400 as it is - that is supposed to be the server's listening port. A transcript of the output on my comp is as follows: [EMAIL PROTECTED] root]# echo "username~~passwd" | nc -v -v XXX.XXX.XXX.XXX 23400 Warning: forward host lookup failed for hotwire-XX-XXX-del.hotwireindia.com: Unknown host hotwire-XX-XXX-del.hotwireindia.com [XXX.XXX.XXX.XX] 23400 (?) open welcome client sent 19, rcvd 14 [EMAIL PROTECTED] root]# This confirms that the server is listening on port 23400 awaiting client authentication connections (port is verified by the server if you get "welcome client" as a reply). Please send me the output of this command in a mail. I used the good old Ethereal to sniff and then filter the TCP packets going and coming from my gateway. From the data I deduced the rules used to keep the connection alive once it is established. After that the only thing left was to simulate a similar behaviour using sockets and signals. I decided to code in C,but the same thing can be coded in (p/P)erl or java easily. TODO: I will be writing a perl script to take info from the user and store it in a config file. This data will be used by the application to connect to the server in the gateway. Now a very important thing is that I have assumed all hotwire clients use the same windows binary provided by www.hotwireindia.com. The problem that might occur is that if it isn't, some settings will require a tweak. For example, the server port to which the client should connect. But that should not be a big issue as you can always run ethereal on windows with whatever client you are using, trace the server port, and change the value in the config file accordingly. If this seems to be difficult, you may send me the ethereal dump and I will do the rest. Also, if any of you guys have experience in designing front-ends, please tell me what platform should I use. I am planning to use Tcl-Tk but this will be finalised only after the code is verified on several machines. Any suggestions or volunteers?? On Tuesday 30 Sep 2003 11:13 pm, Arunjeet Singh wrote: > Hey, > > I sure would be interested. Got on Hotwire two days ago, and have been > trying to figure out the protocol (if any) using a packet sniffer. But you > seem to have done it already. Some details would be appreciated. > > Arunjeet Singh > > > > Bhaskar Dutta <[EMAIL PROTECTED]> wrote:-----BEGIN PGP SIGNED > MESSAGE----- Hash: SHA1 > > > Hi, > > I remember a thread on hotwire client for linux that started in july. I > browsed thru it again today and it didn't seem to have any concrete > solution on the matter. Did any of you guys do anything? I have been myself > using hotwire internet for the last 5 months on linux (redhat 8 on WINE). > There seems to be no problem with wine running the MFC app (shittiest VC++ > app I have ever seen!) on linux. I don't know how many of you have tried > this solution. > Now, why I am starting the thread again is because I wasn't pleased with > the way the authentication client was working (seems to get disconnected > often) and storing username , passwd, DNS etc. was a big hassle. So I wrote > a socket application which does the same thing as the client. The code is > in plain C and it is only command-line (will modify to include a config > file to store persistent data). I have reduced the keep-alive packet > timeout with the server and it seems the application is running better than > the shitty windows client! Right now I am running the app and the results > are very satisfactory (been up for an hour with no disconnection and avg > speed of 10kbps). Now what I want to know is that how many hotwire internet > users are there in this group who would be interested in this application. > I started a few hours back and its already running by now. If anyone is > interested, please mail me and let me know ASAP. I will develop it further, > maybe adorn it with a GUI. If anyone is interested in developing, you are > welcome. > Also I want to know from the experienced developers in the list that what I > should use to code the GUI for the app so that all distros can use it. Any > comments?? > > Regards, > Bhaskar. > - -- - --------------------------- Bhaskar Dutta <[EMAIL PROTECTED]> Key fingerprint = AA56 1EB5 D7E8 DD9C 298E 8F4D 375F D416 01D5 671C - --------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/edRPN1/UFgHVZxwRAvYVAKCJrmlHFL3/23YRq4Tyqm4SWJxLAwCeJ7lN halN9UeW7qzZSp3xtI+dlGU= =dnWj -----END PGP SIGNATURE----- _______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd