summaryrefslogtreecommitdiff
path: root/lib/rbot/ircsocket.rb
AgeCommit message (Collapse)Author
2013-11-14allow to verify ssl connections against a CA.Matthias H
This adds three new configuration variables to configure SSL verification against a CA. server.ssl_verify: true if it should verify and disconnect if it fails server.ssl_ca_file: a CA file, is set to the systems CA bundle by default (distri. dependent) server.ssl_ca_path: alternativly path to a directory with CA PEM files I tested it and this seems no longer an issue with >= 1.9.3 https://www.braintreepayments.com/braintrust/sslsocket-verify_mode-doesnt-verify
2013-11-02Solve Socket vs URI IPv6 handling in RubyGiuseppe Bilotta
2011-06-11Saner treatment for connect errorsGiuseppe Bilotta
Rather than raising changing the message (a message that would not be displayed anyway), display the (composed) error message and then reraise without further changes.
2010-03-08Fix typo in previous patchGiuseppe Bilotta
My fault for not finding it in review
2010-03-07Implement penalty for WHO and PART based on eggdrop code.Robin H. Johnson
2008-12-12ircsocket: tunable IRC penaltyGiuseppe Bilotta
2008-12-12ircsocket: clean up opt parsingGiuseppe Bilotta
Irc::Socket initialization now always has opt as last parameter, so don't bother checking if it's a Hash.
2008-08-19IRC Socket: documentation cleanupGiuseppe Bilotta
2008-08-19IRC socket: minor flood_send logic fixesGiuseppe Bilotta
2008-08-19IRC socket: get rid of delay/burstGiuseppe Bilotta
The penalty system should be enough to prevent the bot from being disconnected because of excess flood, making the old sendq delay/burst code unnecessary. So get rid of the latter altogether. (If the penalty system as implemented ever happens to be insufficient as implemented, it should just get fixed rather than rely on the sendq delay/burst assistance.)
2008-06-24ircsocket.rb: use syswrite since ruby's buffered io is racyGiuseppe Bilotta
In some situations a PRIVMSG could be output twice in sequence with no intervening newline when using the Socket#puts function. Use syswrite to skip Ruby's buffered IO.
2007-10-11* (ircsocket) inconsistent socket state after ssl exceptions in connect(), fixedDmitry Kim
2007-09-12Irc::IrcSocket -> Irc::SocketGiuseppe Bilotta
2007-09-01* (ircsocket) removed timer, added writer thread, refactored writer logic a bitDmitry Kim
2007-08-30*** (timer) new timer implementationDmitry Kim
2007-08-28ircsocket: raise errors occurred while spooling so that bot is aware of themGiuseppe Bilotta
2007-04-11use pretty printing with Logger (debug, info, warning and error messages)Giuseppe Bilotta
2007-03-19* duh, operator precedence error in serverlist patchDmitry Kim
2007-03-17+ added support for multiple servers to try (round-robin) for unreliable ircnetsDmitry Kim
* changed server.name/port to server.list (with config upgrade automation, too)
2007-03-14Socket IO filtering: rbot can now assume UTF-8 internally.Giuseppe Bilotta
2007-02-11Start work on preferring size to length: it's the same for arrays, and will ↵Giuseppe Bilotta
be more correct in most cases when proper support for multibyte strings will be implemented (via package or because of ruby 2)
2007-01-02Fix reconnect errorsGiuseppe Bilotta
2006-12-20Fix 'Unknown command' being received from serverGiuseppe Bilotta
2006-11-01SSL supportGiuseppe Bilotta
2006-10-28Move irc_send_penalty method of string in ircsocket.rb, and rework flood ↵Giuseppe Bilotta
control to be more reactive while still preventing excessive flood disconnections
2006-10-27Penalty-based flood protectionGiuseppe Bilotta
2006-10-15Better flood controlGiuseppe Bilotta
2006-08-16Some error handling cleanupGiuseppe Bilotta
2006-07-21Fix private messages not working and default channel names for the message queueGiuseppe Bilotta
2006-07-21Fix message queue lengthGiuseppe Bilotta
2006-07-21Implement new message queue system. Messages in ring 0 have top priority, ↵Giuseppe Bilotta
other messages are satisfied round-robin
2006-07-21Small improvement on the byterate-based throttling codeGiuseppe Bilotta
2006-07-21Better byterate-based throttling code. We really need the separate queues thoughGiuseppe Bilotta
2006-07-20All lib/rbot files are now upgraded to the new logging featureGiuseppe Bilotta
2006-07-19Fine-tune byterate throttling flood prevention. Better than before, but ↵Giuseppe Bilotta
still not there.
2006-07-19Implement byterate-based flood protectionGiuseppe Bilotta
2006-07-18Improve SIG(INT|TERM|HUP) handling and shutting down sequenceGiuseppe Bilotta
2006-07-13Prevent a traceback when network is down and clearq is called. Don't know if ↵Giuseppe Bilotta
it's better this way or by adding an {{{if @socket.connected?}}} at {{{ircbot.rb:373}}}
2006-07-05Improve debug output for multiline error messages. Improve exception ↵Giuseppe Bilotta
handling for socket and connection problems. Stop sending pings when disconnected.
2006-06-28Fix issue #101Giuseppe Bilotta
2006-06-08Output {{{gets}}} exceptions on debugGiuseppe Bilotta
2006-06-01giuseppe.bilotta's patch: "Fix exception when connection with server times out"Chris Gahan
2005-09-05better failure to connect behaviourTom Gilbert
2005-07-28Thu Jul 28 23:45:26 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Reworked the Timer module. The Timer now has a smart thread manager to start/stop the tick() thread. This means the timer isn't called every 0.1 seconds to see what needs doing, which is much more efficient * reworked the ircsocket queue mechanism to use a Timer * reworked the nickserv plugin to use maps * made server.reconnect_wait configurable * added Class tracing mechanism to bin/rbot, use --trace Classname for debugging
2005-07-27move rbot into lib - still rearranging for packaging/installationTom Gilbert