This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

using eggdrop also as bnc

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
sKy
Op
Posts: 194
Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany

using eggdrop also as bnc

Post by sKy »

Often I thought wouldn`t it be great to use an eggdrop also as an bouncer at the same time (connect to bot as it would have been a bouncer)? It would save connections.

Is there any implementation of an bouncer written in tcl?

Is there already such an script?

Any hints how much work it would be to create it or how a bouncer is basically working?
socketapi | Code less, create more.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

It is possible but it would require implementation of a client from the user's side and not just from Eggdrop's side. But why would you want to do this?
User avatar
sKy
Op
Posts: 194
Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany

Post by sKy »

Why? Kinda offtopic but I like to tell you. :)

Connections are rare, only X per network allowed. That way we could use the existing resources more efficient. Might also save money if you don`t get bnc/eggdrop for free. Also people who /pm`ming a bot will get recognized and can be answered. No more psybnc or sbnc scripts needed, you could just use all eggdrop binds for scripting.

Another great idea is that the dccchat can be easily look like just another channel. If more then one user connects to this bot them can use it as chatroom (hosted on the bot). Also the dcc chat

Multiple eggdrops could build a network no longer depend on irc servers.

Could be also nice for privacy (chats and passwords). Client -> ssl -> eggdrop -> irc. If your comp is trustworthy, but not your connection (example: free wlan hotspot).

Once ssl is done there is also no more need for my 'encrypted eggdrop chat' external client, because you could use any client who can connect to irc servers using ssl (most normal irc clients).

So far about the for what and why.

-

I *think* it does not depend on the users client. Any irc client is possible. I *guess* a bouncer just acts like an irc server. Also some of dccchat`s features, the channels chat feature would look better.

I did open an server socket with an eggdrop and could connect to it with mirc. It`s not much but connection seams to be standardized (sockets), I got not connection refused error.

No more guesses right now. Maybe I need to emulate a normal irc server, how he acts on connect.
socketapi | Code less, create more.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

sKy wrote:Another great idea is that the dccchat can be easily look like just another channel. If more then one user connects to this bot them can use it as chatroom (hosted on the bot).
doesn't the assoc module already do this?
User avatar
sKy
Op
Posts: 194
Joined: Thu Apr 14, 2005 5:58 pm
Location: Germany

Post by sKy »

It can`t because look like channel is client side.
socketapi | Code less, create more.
Post Reply