CE Messenger

xero
@xero-28ehVN โ€ข Oct 21, 2024

Continued from post Reincarnation of CE im: #-Link-Snipped-#

Well, instead of asking K for a machine, we can do it ourselves. All we need is a machine with broad band connection (for public IP) even a 128 kbps connection is pretty much sufficient. And i believe that most of might be having such a connection.

Now as for development, I gave it a thought and decided that we'll only work on it either on weekends or if its possible for some, may be an hr daily. So we really don't need a 24x7 availability. We can define a daily window, eg. on weekdays a 2 hr window should be good enuf, and on either of weekends we can give a 6-7 hr window ๐Ÿ˜€

I'll also suggest to keep an additional server so that if due to some reasons (system crash etc..) we can use the other one.

Now, although we call it a "server" the resource requirements are pretty less. I expect that ev'1 will be having atleast 512 MB RAM. This is sufficient for use ๐Ÿ˜€

We can add a few more guidelines for the server usage, to prevent wastage of electricity ๐Ÿ˜€

So now the question is narrowed down to, who can share their machines for such purpose?
I really expect that moderators can help us finding such resources ๐Ÿ˜€

In gist following are the requirements that will be covered :

-- Authentication
-- CEan messaging

In our first draft, we'll provide these features in a CLI (Command Line interface)

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • MaRo

    @maro-Ce3knx • Mar 22, 2009

    Why not it be on the same server hosting CE?

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 22, 2009

    @Maro Leave it, may be CE server is already overloaded. ๐Ÿ˜›

    @xero My system is already ready for all the requirements that your server need. I am not sure if it will be ok with you. ๐Ÿ˜•
    Back up -you can make your system, if possible?

    Rare cases -server can be down. I guess it will not be a problem?

    One more point I would like to add - The server access will be given only to people involved in project and trusted people. What say? ๐Ÿ˜€

  • ms_cs

    @ms-cs-Ab8svl • Mar 22, 2009

    MaRoWhy not it be on the same server hosting CE?

    We need the details of authentication of the CE for our firefox plugin project.Shall we know tht

  • xero
    xero OP

    @xero-28ehVN • Mar 22, 2009

    Shalini: Thanks a lot, however I was wondering why wouldn't it be ok with me ๐Ÿ˜•

    Unfortunately, I can't make my system either a server or a backup, as i don't have broadband connection ๐Ÿ˜”

    We'll lay down a few guidelines for the users once we are done with the setup.

    Following will be the list of installables required :

    1. XAMPP from apache friends (it has got mysql server with a web ui interface, i'll brief on it later)
    2. Jabber/XMPP based IM server Openfire(previously known as Wildfire) server

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 22, 2009

    xeroUnfortunately, I can't make my system either a server or a backup, as i don't have broadband connection ๐Ÿ˜”

    Not a problem. Tell me what all steps I need to do to set up everything in my system ok. ๐Ÿ˜€

    Maro- You are also with us Right? ๐Ÿ˜€

    One more important thing in April-Server will not be available. Will it be ok?

  • MaRo

    @maro-Ce3knx • Mar 22, 2009

    I'm ok with it, I suggested CE server because as Xero said the IM doesn't need much.

  • xero
    xero OP

    @xero-28ehVN • Mar 22, 2009

    Well if ur machine is unavailable on April, then won't be good.
    So I guess we are back to step 1, we are still hunting a machine for serverโ˜• !!

  • Ashraf HZ

    @Ash • Mar 22, 2009

    Good start ๐Ÿ˜€ (except for missing server)

    Xero, can you add a short intro in your first post regarding what the aim for this Messenger will be? It'll benefit new or out of touch members quickly grasp what is going on. Maybe also add what you and the team will intend to do.

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 22, 2009

    Hey xero, its only a month, you people can manage I guess without a server or do any other work by that time. Anyways I have one more point to say about server- See if I am also a part of this project and I am working on client side part then will I be able to work on my machine(which will act as a server also) ?

    Please any solutions? Can any of the mods(except Maro) provide their machine as a server? If not possible, then we guys will have to manage with my system(1 month completely down) server ๐Ÿ˜” . What say?

  • gohm

    @gohm-F3UUpP • Mar 22, 2009

    I am guessing my laptop would not be able to handle it?

  • Ashraf HZ

    @Ash • Mar 22, 2009

    Any laptop or computer should be good. The issue is whether you are able to connect it to the net whenever Xero needs access to it ๐Ÿ˜‰

    Im afraid I can't help yet, my home server will only be ready after two months ๐Ÿ˜” My current computer usage at home is not consistent, as I usually stay at the hostel at my uni.

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 22, 2009

    ashThe issue is whether you are able to connect it to the net whenever Xero needs access to it ๐Ÿ˜‰

    Yes, my laptop can do so but it cannot be connected to net for around a month but as far as I know, it should not matter much, 1 month they can manage rather than getting nothing.

    Lets wait for xero's say on this. He knows more about it.

  • xero
    xero OP

    @xero-28ehVN • Mar 22, 2009

    hm.. so I can consider that we have one month we may have a system or two, reliable enough for server.

    Then I believe, we can have setup at every machine ๐Ÿ˜€ And for one month's time we can have a tiny assignment for everyone for a month, on the basis of which we can select the final developers.

    Do you guys think we can work this out?

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 22, 2009

    xeroDo you guys think we can work this out?

    You have any kind of doubts regarding this? ๐Ÿ˜•

  • durga ch

    @durga-TpX3gO • Mar 22, 2009

    Can mine be handy?
    I have a laptop and a internet conenction of my own and will be available in month of april.

  • xero
    xero OP

    @xero-28ehVN • Mar 22, 2009

    Well first of all let me tell you the primary intent of a "server".

    > Designing and configuration of db will be at one place. So in case anyone needs to change the db then it will be accessed by all.

    > With a common XMPP server, it will be easier to test the application that will be developed. Just by sharing the code between CEans we can test it ๐Ÿ˜€

    > we can avoid a lot of ground work ๐Ÿ˜€

    So the server is not actually for me alone, but for everyone who'll be involved with the project.

    I case of any more questions, shoot !!

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 23, 2009

    @Durga Superb ๐Ÿ˜€ ! So can we assume that you have read the very first post of "xero" in this thread and and your system can fulfill all the requirements.? Right?

    @xero & Maro So server problem is solved. Durga's machine will be our main server and mine can be made as back up. Right?

    So xero- just after durga's confirmation , you can post here in detail -what all we "Server" side people are supposd to install and configure in our system. OK?

    Also Please do tell in brief about the next step after database and server settings.ok

    Thanks

  • xero
    xero OP

    @xero-28ehVN • Mar 23, 2009

    Durga, thanks a tonne for your support. I guess we all can start with first downloading following softwares

    1. XAMPP from apache friends (it has got mysql server with a web ui interface, i'll brief on it later) #-Link-Snipped-#

    2. Jabber/XMPP based IM server Openfire(previously known as Wildfire) server
    <a href="https://www.igniterealtime.org/downloads/index.jsp#" target="_blank" rel="nofollow noopener noreferrer">Ignite Realtime: Downloads</a>

    3. Hamachi - an interesting tool ;-)
    <a href="https://hamachi.en.softonic.com/download" target="_blank" rel="nofollow noopener noreferrer">Download Hamachi - free - latest version</a>

    4. JRE version 6 and above

    Infact not just durga, everyone should download these, esp developers

    PS: Hamachi will be used to create a diff network between the server users (a VPN basically)

  • xero
    xero OP

    @xero-28ehVN • Mar 23, 2009

    Can anyone assist me setting up a VPN through hamachi? If anyone can, kindly do tell the timings for it !

    Thanks

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 23, 2009

    xeroCan anyone assist me setting up a VPN through hamachi? If anyone can, kindly do tell the timings for it !

    Thanks

    What assistance you need Sir, can I be of any help ? ๐Ÿ˜”

    @Durga we are still waiting for your confirmation? ๐Ÿ˜€

  • xero
    xero OP

    @xero-28ehVN • Mar 23, 2009

    using HAMACHI we've to create a VPN. Now those who are interested in assisting me, should go through the documents in the site, thus creating a new network.
    Now other users eg. myself, will join that network. Now the one who creates the network should responsibly put a password for users who want to join the network.

    In case after installing HAMACHI, you have some trouble accessing internet, do uninstall it and restart the machine ๐Ÿ˜€

    And for the final time, please avoid addressing me as "Sir"

  • durga ch

    @durga-TpX3gO • Mar 24, 2009

    shalini_goel14@Durga Superb ๐Ÿ˜€ ! So can we assume that you have read the very first post of "xero" in this thread and and your system can fulfill all the requirements.? Right?

    Sorry Lady! I missed this post of yours
    My system specification:
    HD:120GB
    RAM:3 GB
    Processing:2.4GHz
    32 bit operating systems

    Yup week ends are fine for me.
    Tell me what and all I need to do for this lappy, i will configure them during coming week ends!

  • xero
    xero OP

    @xero-28ehVN • Mar 24, 2009

    yes, this system configuration would be more than enough for what we really need. I hope you have got a broadband / any wired internet connection.

    Well first of all we need to set up a VPN with the help of hamachi. Since that's going to be possible on weekends, so meanwhile i have mentioned the installables for downloading. As a first step you can begin with downloading ๐Ÿ˜€

    Thanks

  • durga ch

    @durga-TpX3gO • Mar 25, 2009

    what OS are you expecting?
    I have windows and ubuntu

    as well I was thinking of back up server ๐Ÿ˜ do we need any?

  • xero
    xero OP

    @xero-28ehVN • Mar 26, 2009

    I'm really sorry for the delay in replying. And i'm glad that you have windows and ubuntu. Well within next 2 weeks, i'll be shifting my whole development environment to ubuntu 9.04(waiting for the final release of 9.04, don't want to take risk with nightly builds ๐Ÿ˜›)

    If you are well versed with ubuntu, it would be awesome to setup the environment in it. Its bit challenging but its equally fun too. All the server installables are available in linux platform also.

    If you wish to play safe, then i'll prefer windows, but i would personally suggest ubuntu.

    However considering other dev people regardless of their OS choices, i would suggest to go with windows because its easier to undo the changes done by the servers ๐Ÿ˜€. And apart from that it'll be easier to provide instructions in case of any issues.

    As of now i tried to setup the servers in windows and it worked perfect. Did anyone else tried ?

    If you guys really need i can provide a few configuration snapshots for it?

  • xero
    xero OP

    @xero-28ehVN • Mar 26, 2009

    durga, regarding the backup server, we really don't need to worry about it right now ๐Ÿ˜€.
    Firstly we should concentrate on readying up the environment and start with development. Any delay may lead to intrusion of lethargy in minds.

    As a matter of fact i have some code ready by my side. If you guys need I can provide a few snippets which can atleast assist us in connecting to the server !

  • xero
    xero OP

    @xero-28ehVN • Mar 26, 2009

    Another thing i would like to point out is.. if somebody is not able to proceed with the development due to any cause, please do inform us, so that we can incorporate the remedial procedures ASAP !

    durga: I would really suggest that you start the downloading of the servers and then I can tell you how to proceed with the installation over any IM.

    Thanks

  • sarveshgupta

    @sarveshgupta-txtmu5 • Mar 26, 2009

    hello xero i read this thread today only. T
    his project of yours looks interesting although i am a second year student..
    i am willing to participate in the project or atleast try to learn some things if you think i can..
    if you think i can participate please guide me something about things i should be knowing..

  • MaRo

    @maro-Ce3knx • Mar 26, 2009

    Well, Why Hamachi? Why XAMP?

    Why not just a server application that accepts Sign in, Add, sign up...etc. any requests & opens some sort of communication channel throw ports, like IRC or conversations run throw it, like user sends a message to the server & server to the other user.

    Ah, Why not?

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 26, 2009

    MaRoWell, Why Hamachi? Why XAMP?

    Why not just a server application that accepts Sign in, Add, sign up...etc. any requests & opens some sort of communication channel throw ports, like IRC or conversations run throw it, like user sends a message to the server & server to the other user.

    Ah, Why not?

    Good question, I am with you Maro ๐Ÿ˜”

  • xero
    xero OP

    @xero-28ehVN • Mar 26, 2009

    Well Maro,

    You might be knowing that the primary intent of IRC is synchronous conferencing, just like the one we have at CE home page ๐Ÿ˜€, although it also provides one2one private communication with data transfer which is again p2p and channels etc. And i believe not many people are well acquainted with IRC.

    Well if really need to use IRC, i don't think we really need any development. We have ready made IRC servers and clients ๐Ÿ˜€

    Now our primary intent is Instant Messaging or conferencing, bit less sophisticated than an IRC something like gtalk or yahoo messenger, with additional notifications and features from the CE portal.

    I haven't went through the whole of RFC for IRC but as per my experience I strongly feel that an IM system will be more friendly than a IRC.

    However if possible we can have a new project out of IRC, we can try to replace the current CE conf facility with an IRC thing, howzzat! This can even help non CE members to interact with the CEans more efficiently!

    Now about the using of Hamachi and XAMPP.

    Hamachi will be used for creating a VPN between the developers and the moderators ๐Ÿ˜€

    XAMPP is a installable from apache community containing primarily mysql which we'll be using as a database for the XMPP server. Alongwith that apache web server in it provides a php based interface for the mysql, making things easier with mysql.

    I hope i'm able to resolve your queries MaRo. In case of further queries.. shoooooooooooot ๐Ÿ˜€

  • xero
    xero OP

    @xero-28ehVN • Mar 26, 2009

    sarvesh: thanks for your interest in this project. Well since you are sophomore and really interested in this project, i guess you can start by reading this thread from beginning and shoot as many questions as you can ๐Ÿ˜€, i'll try to answer all of them.

    I really can't promise whether I can put you as a developer for this project as we have constrained the team size to be not more than 4 people, however i bet that you can learn a lot more by the discussions in the ongoing thread.

    However what you can do is get an indepth knowledge of the protocols used in this project and may be you can guide us in going a correct direction.. sounds cool huh !!

    Happy learning ๐Ÿ˜€

  • durga ch

    @durga-TpX3gO • Mar 27, 2009

    @ Xero

    hamachi IP:5.195.43.86
    system name:Crazyengineers

    i am trying to download openwildfire and XAMPP, but the file which is being downloaded is not a complete one .

    I will try downloading the same stuff form different sources and will update by COB tomorrow

  • xero
    xero OP

    @xero-28ehVN • Mar 27, 2009

    Durga: That's great. If you have any trouble downloading the files i'll help you out in figuring out the mirrors.

    I'll be done with download the ubuntu 9.04 by tomorrow, and most probably i'll setup the environment then only. After than we can try to set up the VPN via hamachi

    Good going ๐Ÿ˜

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 27, 2009

    When server set up is done, do tell my work beyond reading about xampp and all that stuff. ๐Ÿ˜

    One more thing I will be unavailabe for around a month so will start after that only and I don't have any ubuntu and all. :sshhh:

    Thanks

  • xero
    xero OP

    @xero-28ehVN • Mar 27, 2009

    that's fine ๐Ÿ˜€
    Anyway i'm not even suggesting to do setup in ubuntu. I'll still prefer the windows setup. Hope you have a great time in April. Catch ya after then..

  • durga ch

    @durga-TpX3gO • Mar 27, 2009

  • durga ch

    @durga-TpX3gO • Mar 27, 2009

    filezilla could not be installed. Do we have any other ftp software which can be used to download and upload files from and to the server?
    Do you want me to download another version of filezilla?

    OK I have one more question which i forgot to ask before i intsalled himachi.

    nortel VPN client runs on my system for my work puposes will that be affected?

  • xero
    xero OP

    @xero-28ehVN • Mar 27, 2009

    wow durga, seems are actually all set with the setup. Now all we have to do is configure the openfire server with the mysql from xampp, and voila the server setup will be done.

    Hamachi will be just another vpn connectivity apart from nortel's so i don't think that should be a problem. In case, due to hamachi the nortel doesn't respond then you better remove hamachi. I don't want you work to stuck coz of it !

  • xero
    xero OP

    @xero-28ehVN • Mar 27, 2009

    Is you hamachi connection still up, as in about half an hr i'll try to connect to your machine.

  • durga ch

    @durga-TpX3gO • Mar 27, 2009

    hey Xero
    I could access my office work machine ๐Ÿ˜
    so both Nortel and himachi can co exist

    Yup, I have set up a master password I will PM you the master password. i am still connected and will be connected say till 5 pm ( its 4 05 pm here).

  • durga ch

    @durga-TpX3gO • Mar 27, 2009

    OK GUYS!!

    XERO is the BOSS!

    after 3:30 mins of SKYPE conversation we could finally configure the server.

    sample users: xero, durga
    [โ€‹IMG]

    SAMPLE CLIENT:
    [โ€‹IMG]

    SERVER:
    [โ€‹IMG]
    [

  • xero
    xero OP

    @xero-28ehVN • Mar 27, 2009

    Thanks to durga, we were able to complete the very first step for development in 3.5 hrs and we are pretty confident that next time it won't take more than an hr.

    Now we are pass through our first check point. Now the development phase begins. As I mentioned earlier we want our team to be comprised of not more than 3-4 developers. So the hunt begins NOW!

    I'm looking for people who are well acquainted with java basics.

    So we'll begin with a first few programs related to connection to server, use the existing users in the database and try to chat with other users.

    Waiting for replies...

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 28, 2009

    Well done durga & BOSS ๐Ÿ˜! Hey even I also want to set up once all these things on my system . Just for checking all that stuff ๐Ÿ˜‰ Do it really need so much time to do so? I am afraid after reading word 3:30mins ๐Ÿ˜”

    Anyways, you guys can count me in for development. Rest I tell you-one is our BOSS only and about "Maro" I am not sure. Maro Please make cofirmation. ๐Ÿ˜€ and if you need more guys, I think you can easily find them, this CE is full of Java programmers. ๐Ÿ˜‰

    "Best of Luck" for your CE-Messenger project. ๐Ÿ˜€

  • ms_cs

    @ms-cs-Ab8svl • Mar 28, 2009

    xeroAs I mentioned earlier we want our team to be comprised of not more than 3-4 developers. So the hunt begins NOW!

    I'm looking for people who are well acquainted with java basics.

    Waiting for replies...


    I am somewhat familiar with core java and j2ee concepts...
    Dont forget to add me in your team...

  • durga ch

    @durga-TpX3gO • Mar 28, 2009

    shalini_goel14Hey even I also want to set up once all these things on my system . Just for checking all that stuff ๐Ÿ˜‰ Do it really need so much time to do so? I am afraid after reading word 3:30mins ๐Ÿ˜”

    hmm๐Ÿ˜€ sure. I am preparing a document( not again๐Ÿ˜’) and try sedning it across infact i guess i can keep it in repository ๐Ÿ˜€

    it really doesnot take 3 .5hrs, since me and xero were on skype and intinatl systems settings needs to be adjusted, we took a while long.
    but now it should not take long and with excellent guidance of xero.. not to wory at all

  • shalini_goel14

    @shalini-goel14-ASmC2J • Mar 28, 2009

    Hey thanks for putting your efforts durga. ๐Ÿ˜€

    Durga , while installing XAMPP , I found Apache was not getting installed , nor even it is getting started though MYSQL and FileZilla were working fine. Any ideas what could be the reason?

    One more thing is this XAMPP -secured enough? I think because of some security reasons , it is giving problem in my system? ๐Ÿ˜•

    Saying- "Port no 41 or SSL is in use" something like that blah blah. message it was showing. Any ideas?

  • durga ch

    @durga-TpX3gO • Mar 28, 2009

    firstly I could not install filezilla as the port what filezilla needs to be installed was busy,I suspect port41 error what you are talking about might relate to the same.

    i did not face issues with XAMPP, but with HAMACHI remote desktop cleint, and it was a firewall issue

  • xero
    xero OP

    @xero-28ehVN • Mar 28, 2009

    Thank Durga, for documenting things up, it would be really helpful for others. If i can get some time, i can make a FAQ list, which you can add in that document.

    Out of 3.5 hrs of setup, was spent most time in firewall issues and lunch(india), snax(Aus) and may be some time in setting up Hamachi.

    The actual configuration time may not have exceeded more than 30 mins ๐Ÿ˜€

    Shalini: regarding you XAMPP installation issue, it seems like there's another application which is using the port to be used by Apache for being installed. And if i'm not wrong, the apache uses port 443 for SSL. If this is the port which is in use, then you can change this configuration, which i'll tell you later, after confirmation of the port

    And as per security, yes it is secured enough ๐Ÿ˜. By the way i would love know about your security concerns.

  • MaRo

    @maro-Ce3knx • Mar 30, 2009

    Great work guys! I'm ready to code. Tell me how soon can we begin working on this CE Messenger project?