Cyborg`s Instant MessengerRelease 1.05 |
Use CIM and your problems are gone :-)
Download:
Installation:
ready!
Display:
the upper gadget is a custom editgadget, it`s used to view only in this application, it`s capable of displaying up to 24 bit colour deep. You are not stuck to 16 colours defined by someone you don`t even know. See here.
The lower lamps indicate if one of your friends is online AND logged in in the server you have been logged in. If your mousepointer is over a lamp the right textgadget will indicate which user it is. If you click on a lamp the specific username will be put in the chat line above.
The chatline string gadget above the lamps is the only thing you need to send messages. Just enter the Name or the ip of the user you want to contact, i.e. Cyborg Hi or 217.225.103.17 hi.
Prefs:
If you change any of the options here, it will be done imediatly, but not saved!
Ok:
take changes and leave window
Load:
load old prefs
Save:
save new prefs
DateiTransfer:
opens the window with send buttons
Abbruch:
Cancel prefs window, discard all changes and leave as long you didn`t used one of the three string gadgets.
Add-A-Friend:
Adds a Username to the cim.friends file. No restart needed.
AwayMsg:
The AutoAway message text.
AutoAway:
If a message arrives, the autoaway message text will be send to the originla sender. If two users have autoaway
enabled, it could happen that autoaway messages will ping-pong between these two hosts! Be carefull with it.
AutoDeny:
If you want to be safe that a. ping-pong will not happen and b. noone who knows that you are online, tries to hack
you computer, cim calls the deny-script, mentioned in the firewall section, too prevent the host from further connects.
You will see a message about it.
Secure:
enables PGP Encryption.
PGPKEY:
enter a public pgp keyid here like "Madonna" or "0xA3A2A9A8", you can get you ID with the command "pgp -kv"
It`s save to save the key in the prefs because it`s just an ID. If you enable PGP you can only communicate to others if you
have theire public keys into your pgp-keyring. You can enter multiply id`s here, so you can address all your friends without
changing this field all the time. Seperate it by spaces.
PGP Password:
enter here you PASSPHRASE for the PGP Decryptionprocess. This password won`t be saved!
Chatter:
Enter here the usernames/IPs seperated by ","
Konferenz:
activate to use MultiChatFunction
wincol:
pencolor of windowbackground
chatcol:
pencolor of chattext
FakeIP:
Enter the router IP here and checkmark the FAKEIP checkbox. Activate the username gadget and press enter to RELOGIN
into the server. Your new IP will be used to communicate. To get that work you need the icmprelay module from this side. Run it
on the router ( an amiga ofcourse :-) ).
transfer files to another user
(F)AQ:
Q: Why doesn`t it work?
A: Send a Bugreport to Cyborg. But if you can`t PING out, you can`t SEND MESSAGES out.
you can check if you have been correctly logged in by adding you own Username to the
cim.friends file. This will only show if you could login in. The Server will tell you
which IP you have used to login and if this is a LAN IP i.e. 192.168.10.3 you have a problem!
Q: Is the messages encoded?
A: No, not yet. A sysadmin who captures the packet could think it`s an DDOS communication packet and
you can get into trouble. The next release will have an option to set encryption. If everything works ok, it`s an PGP
encryption. I would suggest to get PGP and install it before the new version is out.
Q: Can I be spied or exploited ?
A: not as I know, if the stack you are using is vulnerable for icmp buffer exploits,
then it could be possible to be exploited but not directly!, this is no MUI
based application.. But this risk of buffer exploits comes with every receiving application.
Q: Can I stay anonym with this messenger?
A: Yes. Add NOFRIENDS to cim.prefs and noone will know that you are online.
Q: I use a DSL router with IP-NAT ( IP-MASQ ), can I use CIM?
A: Yes&No. The ICMP-Packet would be handled as every other while sending messages, but when
receiving one I don`t know if your stack is smart enough to handle it correctly.
We did not check that yet.
Q: Can I contact my friends at AIM, ICQ?
A: not that I know.
Q: Why not?
A: because the use different protocols for there IM`s and as you can read above, CIM
is different. It uses different tecnics and is only available for the Amiga yet.
Q: Does this makes sense?
A: If you think of the firewall feature it makes sense, and we are at the beginning yet, so
wait and see what the future brings.
Q: I know that my friend is online and logged in, but I could not use his username
to send im a message.
A: He isn`t in your cim.friends file, right? If he isn`t in this file CIM does not
request his IP from the server. You have to use his IP instead.
Q: You said NAT is working yet, but above you said you don`t know it!
A: NAT means here NAME<->ADDRESS-Translation for in/outgoing messages.
Q: What means ERROR IN DELIVERY exactly?
A: a. no ip for that name. b. host not reached. c unable to send.
Q: I can`t start via WB and via shell I got : protocol unkown
A: Your TCP/IP Stack does not have protocoltype ICMP or IP defined ( see gfx )
add at least the displayed protocols
some pics which may help
Iconify: if you want to iconify the window just press right.Amigakey + i .
For testing of iconify mode you can use CMSG. Send yourself a message like "cmsg 127.0.0.1 Check".
Everyone who wants to setup his own server here is perl-script for you. You must edit the script to match the $datapath for your server. If you take the script as it is, you must copy it to /cgi-bin/ and make a subdirectory there called "tmp" with mode 777 on the subdir. The Script itself need 755.
You can see in this script how to handle colours! The escape-sequence $1bcRRGGBB$1b sets a colour in RGB mode. i.e. $1bcFF0000$1b is the bright RED.
ICMP-Relaying is the answere to the IP-NAT routing problem you had if you`d run a NAP
router i.e. while using DSL with a LAN. CIM sends normally the LAN IP of your host
to the metaserver, but you have now the option to send a fake ip while logging in.
Just enter the IP of your router ( which is mostly dynamic ) and RELOGIN , this can be forced
bye pressing return in the USERNAME gadget.
You maybe wonder why CIM doesn`t use the fakeip after loading the prefs in the first login.
The answere is simple, it does not make sense with dynamic ip from PPP connects , which change
with every new connect.
But where is the RELAYING?
A small programm called icmprelay is in the cim archiv. Start it like "icmprelay 192.168.0.2" and it will relay every CIM ICMP to the ip 192.168.0.2 even if the packet comes from there!
It`s an amiga executable, you can`t use it with Linux oder Windows :)
If you want to have the sourcecode, mail me.
MrMarco, for using his webserver as first server
#Amigafun, for *Beta* testing
planed:
Version | changes |
1.06 | reliable usernames |
kown bugs:
Version | Bugs |
1.03+ | The window looks a bit messed after returned from iconify. |
Update:
Version | changes |
1.05b | PGP5 Support added ! *Warning* PGP5MODE is NOT TESTED yet! |
1.05a | small reworks *not public* |
1.05 | MultiUserChat! |
1.04ext | added icmprelay to archive |
1.04 | Secureoptions, Gui rework, Datatransfer |
1.03_12 | ColorPrefs added |
1.03_11 | autoaway/autodeny bug removed |
1.03_10 | cosmetic rework |
1.03_9 | PGP Support added! |
1.03_8 | AutoAway,AutoDeny,Bugfix Iconify,Prefs reworked |
1.03_7 | Iconify, on the fly screenchange, mass bugfixes for WB Startup and EditObject, added new lib. , Fontsensitive Display |
1.02 | Resizing, reaction speedup |
1.01 | stable version with full NAT working |