mIRC Homepage

Java identification.

Posted By: c0ldfusi0n

Java identification. - 26/06/03 08:36 AM

For those of you who know CR servers (i don't know if this feature was implemented on other IRCds), you will know of channel mode +j.
Code:
- CHANNEL MODE j
- Usage: MODE <room> +|-j
- j - Java Clients Only
- This command allows you to have only java clients and sellected legacy IRC clients enter the specified channel. $&
For this mode to take effect you must set a key. $&
For IRC clients to enter the channel they must supply the key, or be invited into the channel.
- Privilege: Channel Operator


What i'm wondering, is how does the IRCd makes the difference between Java clients and others? Is it a 'hidden code' in CR's java applet, or what?
Posted By: KingTomato

Re: Java identification. - 26/06/03 09:00 AM

could be something as simple as if the realname matches the nickname, or a ctcp version reply. Could also be a specific method that java applets use versus mirc.
Posted By: c0ldfusi0n

Re: Java identification. - 26/06/03 11:02 AM

It's nothing related to the nickname or ident. jIRC allows you to customize your ident/nickname as you wish, and yet users are still somehow recognized as being Javas regardless of the information they supply. As for the CTCP, try opening a socket to any servers on any network. I have never seen any servers that issue a CTCP version to every connecting clients. And as far as i know, Java uses pretty much the same methods as any other IRC clients.
Posted By: KingTomato

Re: Java identification. - 26/06/03 11:08 AM

on 1:JOIN:#: {
/msg $nick Are you running a Java client? >:D
}
Posted By: Watchdog

Re: Java identification. - 26/06/03 05:38 PM

All of the above answers are wrong.

ConferenceRoom has it's own dedicated java applet run by it's own dedicated webserver. The IRCd can easily tell if a user is a real +j client or not and indeed tell if it is the CR applet or a third party one. There are also many ways for opers to distinguish between the two.

Now for the tricky bit: It is possible (and I am not going to broadcast how) to set mIRC up to trick CR into thinking that you are running it's java applet simply because IRC is a plain text based protocol and therefore anything is possible if you know how. If you restrict your room to java-only, there will be bound to be some immature git who thinks it is l337 to try and breach it. Regardless of what they try though, an oper will usually be able to tell and opers that has experimented with it, such as me, will be able to tell, regardless. They think that alteration of version reply and the two-three raw commands is enough to 'hide' what they are doing - wrong.

Anyway, in short, CR is able to tell simply because it is a total package. Most networks consisting of IRCd + BOPM + Services + jPilot still don't have the rich feature list of CR and don't have the integration of CR, and probably never will have.

By the way, +j can't be used on it's own. It is a supplimental mode for +k <key here>. You need to set the key first then set +j. You and your hosts can simply use /cs invite to get in rather than having to remember a lengthy key.
Posted By: c0ldfusi0n

Re: Java identification. - 27/06/03 12:13 AM

Yeah, i know about +jk, but that doesn't answer the question.
Posted By: Watchdog

Re: Java identification. - 27/06/03 11:00 PM

The first thing I said should answer the question though - it is all because of the integration between CR's IRCd and the included web functionality, which happens to include its java applet.
Posted By: Raccoon

Re: Java identification. - 29/06/03 10:35 PM

Well, I'm sure it's possible to completely fool even you with just mIRC. Yes, there are many identifying differences between clients that opers use to identify client vs bot vs drone, etc .. but nothing is impossible to emulate or "cloak".

What I don't get though, is why is it so important for the clients to be using Java? Is the Java client disabled in such a way that prevents the user from seeing information they should not see? If this is the case, and since the IRCd and Client were both designed by the same people... why dont they just disable/hide whatever it is they want to disable/hide on the server end of it?

I can't imagine how possessing an mIRC client could be any more disruptive or give the user any unfair power, unless the client sends colors or uses a script to flood the channel... both with other servers can block with existing channel modes. (strip colors, flood limit)

- Raccoon
Posted By: Watchdog

Re: Java identification. - 30/06/03 09:24 AM

It's upto the founder as to what they allow in their room. To each their own, providing it is legal. A mIRC connection can, to the untrained eye fool someone else into believing that the connection is infact a java user, however to the trained eye it's simply not possible. CR provides opers with many ways to ascertain non-genuine java connections, needless to say, I am not going to list them here as they are trade secrets.

As for CR Java v's mIRC, well both can be 'annoying' as both support popups and channel CTCP and both can flood a room with either event. CR's Java applet also has smileys and miscellaneous avatars which can, to some, cause a flood. It's not the point though. If someone wants +j then I think it is perfectly reasonable to expect that users will respect the founder's wishes.
Posted By: codemastr

Re: Java identification. - 30/06/03 03:09 PM

I think what he means is, why would a +j be any more useful than a mode to allow only mIRC, or only BitchX, or only Xchat? If the sole reason is "the admin should be able to allow whomever he chooses" then logically modes to discriminate against any given IRC client should exist. However thats not the case, they only made one for +j.
Posted By: Raccoon

Re: Java identification. - 30/06/03 04:19 PM

Exactly... but even more specifically, WHY.

Yes, the Admin/Founder can do as he whims... for he is god. But tell me god, why hast thou forsaken me? I mean, what had non-java client users done in the past to warrent such a mode into existance, let alone active use?

- Raccoon
Posted By: Watchdog

Re: Java identification. - 30/06/03 04:35 PM

I can answer that.

CR is commercial software and popular in closed environments, meaning that it is present on 100's of corporate LAN's in addition to being used by Bigpond (an Australian ISP) and Webnet in the US to run public IRC networks.

Naturally if you pay good money for something you expect a great deal of configurability. +j by itself is small potatoes but one of many things that CR has which, to some, justifies the expense. There is many instances where only a java applet is required and +j is good for those purposes. In a corporate setting who needs mIRC or any other client when a corporate intranet page can have a java applet that connects to the room by having the visitor just click a button and without having to set anything up? You install CR and configure the HTML page with the applet and then the job is done. The alternative is to install CR or another IRCd of your choice and install a client on potentially 1000's of computers. The latter job is a bigger one. +j means that employees who like to stuff around with things will get a surprise when he downloads mIRC or whatever and tries to connect against his boss' wishes.

In the public domain, having seen +j rooms work successfully I can sympathise with a founder wanting to have +j. Look at it this way - there is millions of channels out there and another million yet to be founded, in knowing that, why bother objecting to someone wanting +j for his room? You are free to chat in another. The reason there is no modes to distinguish between IRC programmes is because of one simple thing - It's just not possible. CR Java can be distinguished against everything else only because it is native to the CR package and for no other reason.

One could argue against the mode that blocks unreg'd nicks too but the same principle applies, if you don't like it use another room.
Posted By: codemastr

Re: Java identification. - 30/06/03 04:42 PM

I can understand why a corporate intranet would provide a java client for all their employees to use. I can see that being very useful. However I can't see why that implies having to ban everything except the java client.

And you are arguing something that wasn't asked. No one is saying "channel ops should never have such an ability" we are saying WHY should they? Why is it useful? None of the examples you provided really convince me. As I said, why does the fact that a company gives everyone the java chat to use rather than installing mIRC on every machine imply that the guy who installed mIRC himself can't use it? I don't see a connection between the two ideas. It makes no sense to me why you would want a channel that is only allowed to have java users.

Oh and btw you say it's not possible to determine if a client is say mIRC, well it's just as easy to screw up with javachat. I could easily fake the CR java chat. So +j is no more accurate than doing a CTCP version and seeing if it says mIRC. If someone wants to trick CR, they can do it.
Posted By: Watchdog

Re: Java identification. - 30/06/03 04:54 PM

No one is saying "channel ops should never have such an ability" we are saying WHY should they?

That is the same question really. You are asking me to justify why such a restriction is necessary however that is not my role or even my aim. I am just confirming that it's there and that it has its uses. Look at, say, MSN. They have a global webchat restriction, aside from the ability to trick the software in mIRC of course. CR can do the same thing. The room mode +j just means that the function can be used at a local level instead of server-wide so I don't have a problem with it. I can't see why it is hard to accept given that most networks don't run the function anyway.

So +j is no more accurate than doing a CTCP version and seeing if it says mIRC. If someone wants to trick CR, they can do it.

Yes, there's ways around it, as I said before. There's also ways for opers to discover the tricks so while it's easy to trick the software it is also easy to get caught doing it. We could sit here all night and argue for/against the +j option however it's not going to get us anywhere because the function has been around since CR was first developed.
Posted By: Raccoon

Re: Java identification. - 30/06/03 06:43 PM

That is the same question really. You are asking me to justify why such a restriction is necessary however that is not my role or even my aim. I am just confirming that it's there and that it has its uses.

Well, I would think, considering the type of people we are(programmers, real hackers, the creators of the digital world), that you owe it to yourself to answer these questions rather than just taking it with a grain of salt. Don't just do something and say it's done and tell people that it's there to be lived with and not questioned.

Why don't they want mIRC clients in their channels?
Why don't they want Blacks in their bathrooms?
Why don't they want fries with that?

These are all questions we should ask ourselves, and not take 'just because' as an answer.

- Raccoon
Posted By: codemastr

Re: Java identification. - 30/06/03 07:41 PM

Quote:

Why don't they want fries with that?

A better question is why do I go to McDonalds, order an ice cream, and then they ask me if I want ketchup smile
Posted By: The_Game

Re: Java identification. - 30/06/03 09:56 PM

Quote:

A better question is why do I go to McDonalds, order an ice cream, and then they ask me if I want ketchup


...Or the dreaded "Hot Apple Pie" LMAO
Posted By: Watchdog

Re: Java identification. - 01/07/03 12:16 AM

Well, I would think, considering the type of people we are (programmers, real hackers, the creators of the digital world), that you owe it to yourself to answer these questions rather than just taking it with a grain of salt.

I don't fall into any of the above catagories, I'm an engineer and like playing with dangerous voltages instead and since you don't seem to understand English very well I will repeat myself using more eloquence:

CR IS NOT MADE BY ME SO I CAN NOT SAY WHY THEY ADDED THE +J FUNCTION.

I don't know why Henry Ford painted all his cars black either. But like +j, it just happened that way and when he was questioned he'd just say "You can have any colour you like, as long as it is black." It's a salesman's way of saying, if you don't like the colour choice then buy a Tarrant or Rolls Royce.

Why don't you do something realistic and email Webmaster's for an official response? If at the end of the day you are still offended by the function then you really shouldn't be using IRC.

What praytell is the problem anyway? It is a function that can be used to restrict or classify room usage, just the same as +m, +R, +i, +k, +AM <#Roomname>, +N <#Roomname>, +O <#Roomname> and maybe a few others I don't immediately recall. I could also set bans and restrict people using certain scripts, especially those that come off the factory floor with a preset user ID and a chatter that has no real idea of how to change it to avoid the ban. I could also restrict the channel to block AOL lusers. I could also auto-kick anyone who has a Guest nick. Most of these can be done on any server in the world and it is indeed quite common and expected that some or all of the above happens.

By the way, they are chips, not fries. :tongue:
Posted By: The_Game

Re: Java identification. - 01/07/03 07:01 AM

Actually not all of Fords older cars were the generic black I was a part owner of a "1925 Ford Model TT Truck" with my stepfather which was sitting in someones barn for nearly 80 years in its originality which was a forest green color and of course We did restore it to look newer using authentic parts to rebuild it...the paint job was touched up but it was green and looked similar to the one shown on this persons webpage.

The only difference between my truck and the one pictured, the wheels on mine were original and the rims were made of wood and were the natural wood color, as well as the wood siding the natural wood color and the bed of the truck itself was indeed wood too. Not to mention my truck went for $10,000 dollars at an antique auto show at an auction back in Michigan last june...My stepfather used his half of the money to purchase another one he found sitting in some farmers field and is currently restoring it..

Although, i'm not sure about other colors other than red, black, or green that I have seen on original autos of that era but I thought I would reply anyways smile

Posted By: codemastr

Re: Java identification. - 01/07/03 03:29 PM

Ford used black until Chevy (I think it was Chevy) didn't. Once Chevy started offering color options, people modified Ford's "you can have any color... as long as it's black" to "you can have any color... as long as it's not a Ford." Meaning, once Ford's sales went down, they realized maybe people did want more than just black.
Posted By: c0ldfusi0n

Re: Java identification. - 01/07/03 05:17 PM

We don't care what color were Fords.
Posted By: codemastr

Re: Java identification. - 01/07/03 06:31 PM

Oh you said "we" when you meant "I". You see, considering there were 2 other people talking about it, it makes it sound like WE do care about the color of Ford's.
Posted By: Watchdog

F.O.R.D == Fail On Race Day - 01/07/03 07:00 PM

I care what colour they are because I want to avoid them. I drive a Holden (a much better car) and I don't want any rust jumping from them onto my car. :tongue:
Posted By: codemastr

Re: F.O.R.D == Fail On Race Day - 01/07/03 07:12 PM

I'll remember that next time I'm driving around my 60% rust 1989 Ford Taurus Stationwagon!
Posted By: _D3m0n_

Re: F.O.R.D == Fail On Race Day - 01/07/03 07:47 PM

what im failing to see is how you can say your unbiased about subjects liek this ....... u freely promote CR ... because u use it ... U argue the point of the spelling of a word thats spelled differently based on language not correct spelling..... u almost diss anything not of your own ........ so now your dissing a car manufacturer which probably doesnt export more than 10,000 cars to your country a year? when in fact they have been around several years longer than Holdon or whatever australian manufacture u have there ....... but im not dissing them ..... see to each is own ..... and its just a hunk of metal with a motor ........ infact there hasnt been any major changes as to how a motor works since the first internal combustion engine ....... they all work on the same principle and no matter what funky electronic gadgets u add they still perform the same function ....... now this brings us to CR ....... hmmmmm ok its a server software ...... costs a ton of money ...... and does exactly the same as freeware ..... enables ppl to chat thru it ...... i dont care if it has integration with the hubble space telescope or not ..... its a program and its all fundamentally the same ....... now as for the spelling arguement yes its true in the US the correct spelling is Color ..... and yes its also true that in several places in the world its also Colour ....... thats all piddly [censored] ..... we are still talking about differences in the light spectrum ...... its language differences that all nothing else ...... why argue petty [censored] like a child over trivial things ...... be better than an 8 yr old who cant get his favorite power ranger at the toy store. its all about being able to percieve anothers point of veiw ..... and if u cannot percieve anothers point of veiw you are nothing more than ignorant yourself .........
Posted By: The_Game

Re: Java identification. - 01/07/03 08:42 PM

You may be right although I never was a big Chevy fan either...so I wouldn't know.
Posted By: ParaBrat

Re: Java identification. - 01/07/03 09:24 PM

y'all are either easily distracted or bored. i think this is a new record... java to car colors in one short step.
Posted By: The_Game

Re: Java identification. - 01/07/03 11:09 PM

Well you could say its both. grin

The_Game offers Parabrat some hush cookies....

*Evil laff*
Posted By: starbucks_mafia

Re: F.O.R.D == Fail On Race Day - 01/07/03 11:55 PM

Sometimes I really do try to read your posts but seriously all those dots are annoying. You do realise you only need 1 (one) full stop at the end of a sentence right? It's worked just fine for every other person in the world for the last few hundred years, I can only imagine it would work just fine for you too.
Posted By: _D3m0n_

Re: F.O.R.D == Fail On Race Day - 02/07/03 01:39 AM

yes sir mr typing critic . is that one working for u too?
Posted By: Watchdog

Re: F.O.R.D == Fail On Race Day - 02/07/03 04:14 AM

u almost diss anything not of your own ........ so now your dissing a car manufacturer which probably doesnt export more than 10,000 cars to your country a year?

Now now, no need to take things too seriously. Ford are actually second overall in the market place here and have been the traditional rival for Holden (A subbie of the General) for about 50 years. The evidence is right here. Holden and Ford fans heap crap on each other but in a not-so-serious way, it's no different to supporting a footy team or a wrestler. It's got nothing to do with national boundaries either as both General Motors and Ford are global companies and have manufacturing operations in all industrialised countries.

Do I diss what I don't have? Not always... I'd love a Monaro (about to be sold in the US as the Pontiac GTO unless sales have already begun) but I do not have $65,000 to spare.
Posted By: c0ldfusi0n

Re: F.O.R.D == Fail On Race Day - 02/07/03 09:24 AM

Look, if you want to talk abour cars, make a post for it in general discussion. Post here if you have a definite answer to my question, otherwise don't.
Posted By: Watchdog

Re: F.O.R.D == Fail On Race Day - 02/07/03 10:51 AM

I answered it twice, if you don't like the answer then email Webmaster's like I suggested before. It's no more a forum for IRCd's than it is for cars. I don't know where you get off making demands of people especially when they have already been met.
Posted By: Poppy

Re: F.O.R.D == Fail On Race Day - 02/07/03 11:27 AM

Good point - but have you ever tried emailing anyone at Webmaster? They just bounce right back. crazy
Posted By: Watchdog

Re: F.O.R.D == Fail On Race Day - 02/07/03 07:32 PM

I haven't though I know people that do and they don't seem to have that problem. To be honest I doubt they will tell him anything that I didn't state in my first answer here. I mentioned just about everything except for the fact that J is the tenth letter.
Posted By: Techster

Re: F.O.R.D == Fail On Race Day - 03/07/03 12:40 PM

Quote:
I care what colour they are because I want to avoid them. I drive a Holden (a much better car) and I don't want any rust jumping from them onto my car.


Just for the record: /me drools smile

I would love to get my hands on a Holden and bring it back here to the states to show up all these kids in there wanna be "Fast and Furious" Civics.
Posted By: pheonix

Re: F.O.R.D == Fail On Race Day - 03/07/03 12:46 PM

holdens suck,(my opinion)
Posted By: Watchdog

Re: F.O.R.D == Fail On Race Day - 03/07/03 09:18 PM

hehe You know you want one. grin
Posted By: The_Game

Re: F.O.R.D == Fail On Race Day - 03/07/03 09:56 PM

Gee I want a:

Lamborghini Murcielago

Porsche 911 Turbo

Ferrari 355 Spyder

Mclaren

Course these are only a few I would like to get my hands on lol but I don't see it happening grin
Posted By: Watchdog

Re: F.O.R.D == Fail On Race Day - 03/07/03 10:03 PM

They can't carry 6 people or their luggage or tow a caravan though lol.
Posted By: pheonix

Re: F.O.R.D == Fail On Race Day - 03/07/03 10:39 PM

i want a:

toyota supra
porsche 911 turbo
lamborghini diablo roadster
ford gt
jiotto caspita
mclaren f1 road car

but some things will just never happen grin
Posted By: shadowdemon

Re: F.O.R.D == Fail On Race Day - 03/07/03 11:01 PM

Hehe, i just wanna TVR Speed 12

donned in police colours so i can go out and scare the local boy racers
That`ll make em slo down grin

But that will defo never happen
© 2022 mIRC Discussion Forums