exio4 / ipoirc Goto Github PK
View Code? Open in Web Editor NEWA simple gateway of IP over IRC!
A simple gateway of IP over IRC!
The IRC connection somewhats doesn't even properly starts
It should reconnect in those cases, or at least gracefully exit.
IPoIRC actually needs to run in a priviliged user to be able to alloc the tun
ATM IPoIRC uses a hardcoded Makefile, it should be able to be compiled (without changes) on non-debian systems (libdumbnet/libdnet), and use something like CMake to the dependency checking and so.
Freenode and others network actually kill (or throtle) users/connections that PRIVMSG a lot of messages in some small amount of time, IPoIRC should try to avoid it (if some-option is enabled)
There should be a way to make it realize the handshakes and related stuff under a query with other master bot instead of a channel, more like a stealth mode, would need #2 fixed with it.
rework the "tun threads" a bit and somewhat hardcode stuff about it, it is a special case when doing this. (only one tun thread)
this should include a rework in the internal protocol (zeromq-based) to be able to allow >1 client to 1 server (where the tun sends one string and ONE irc thread sends it to the irc-network)
this depends of #2 somewhat, as if this gets implemented right now, it would cause a mess with some irc thread receiving data from other and relaying it back to the tun itself
edit
now this is half-implemented, now it need #2 fixed and implement basic things for the "living" of the different instances of the same bot in the same channel
IPoIRC should be able to handle an external config file, and use getopt to deal with the username, network, etc
There are a lot of places (like the main function) where we alloc stuff and never gets deleted, or places where it crashes instead of checking if the data was properly alloced.
Implement somewhat a way to protect the bot of receiving/allowing base64 from everywhere.
IRC threads are using pointers in an unsafe way (specially the irc session pointer)
This meaning, an IRC thread might try to write to an invalid IRC session if it was invalidated (e.g. disconnection) in another thread, and it didn't reconnect in time.
A possible solution might be to lock the IRC session on those "critical" sections
A (possible) list of things which need some love/work:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.