IRC Hacks

Paul Mutton

  • 出版商: O'Reilly
  • 出版日期: 2004-08-31
  • 售價: $1,250
  • 貴賓價: 9.5$1,188
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 059600687X
  • ISBN-13: 9780596006877
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Description:

IRC ( Internet Relay Chat) may very well turn out to be the world's most successful hack. In 1988, Jarkko Oikarinen wrote the original IRC program at the University of Oulu, Finland. As he says in his foreword, "IRC started as one summer trainee's programming exercise. A hack grew into a software development project that hundreds of people participated in, and then became a worldwide environment where tens of thousands of people now spend time with each other. I have found many of my friends through IRC and learnt a significant part of my present software engineering knowledge while using and working with IRC. That would not have been possible without learning from code examples and hacks from others".

IRC has continued to grow in popularity since its inception. Millions of people from all over the world now use IRC to chat with friends, discuss projects and collaborate on research. With a simple, clearly defined protocol, IRC has become one of the most accessible chat environments, with clients written for a multitude of operating systems. And IRC is more than just a simple chat system it is a network of intercommunicating servers, allowing thousands of clients to connect from anywhere in the world using the IRC protocol.

While IRC is easy to get into and many people are happy to use it without being aware of what's happening under the hood, there are those who hunger for more knowledge, and this book is for them. IRC Hacks is a collection of tips and tools that cover just about everything needed to become a true IRC master, featuring contributions from some of the most renowned IRC hackers, many of whom collaborated on IRC, grouping together to form the channel #irchacks on the freenode IRC network (irc.freenode.net).

Like all of our Hacks books, there are many different ways to use IRC Hacks. You can read the book from cover to cover, but you might be better served by picking an interesting item from the table of contents and just diving in.

If you're relatively new to IRC, you should considering starting with a few hacks from each progressive chapter. Chapter 1 starts you off by showing you how to connect to IRC, while Chapter 2 acquaints you with the everyday concepts you'll need to use IRC effectively. Chapter 3 is all about users and channels, and introduces the first pieces of code. Chapter 4 shows you how to make useful enhancements to IRC clients.

Chapter 5 is where you will learn the basics about creating IRC bots, with Chapters 6-12 introducing more complex bots that can be used for logging, servicing communities, searching, announcing, networking, managing channels or simply for having fun. Chapter 13 delves into the IRC protocol in more detail, and Chapter 14 demonstrates some interesting alternative methods for connecting to IRC. Finally, Chapter 15 will move you on to new pastures by showing you how to set up your own IRC server.

This book presents an opportunity to learn how IRC works and how to make best use of some of the features that have made it the most successful, most scalable, and most mature chat system on this planet. IRC Hacks delves deep into the possibilities.

 

Table of Contents:

Foreword

Credits

Preface

Chapter 1. Connecting to IRC
       1. IRC from Windows
       2. IRC from Linux
       3. IRC from Mac OS X
       4. IRC with ChatZilla

Chapter 2. Using IRC
       5. The IRC Model
       6. Common Terms, Abbreviations, and Phrases
       7. Common Acronyms and Initialisms
       8. Register with NickServ
       9. Register Your Channel with ChanServ
       10. The QuakeNet L Channel Bot
       11. Fix Channel Problems with CHANFIX

Chapter 3. Users and Channels
       12. Find Relevant Channels and Servers
       13. Guess the Time Zone of a User
       14. Study Channel Statistics with pisg
       15. Find Users in Channels
       16. Filter Channel Lists

Chapter 4. Enhancing IRC Clients
       17. Automatic Completion of Nicknames
       18. Add Timestamps to mIRC Messages
       19. Highlight Lines in mIRC
       20. Automate mIRC with Scripting
       21. Format Text
       22. Colorize Text
       23. Play Sounds
       24. Enhance irssi with Perl
       25. Connect to Multiple Servers
       26. Secure Your IRC Connection with SSL
       27. Tunnel Your IRC Connection with SSH
       28. Automate Voice Management
       29. Make IRC Talk
       30. Add Your IRC Nickname to Your Webcam

Chapter 5. Writing IRC Bots
       31. IRC Over Telnet
       32. A Simple Perl IRC Client
       33. IRC with Perl and Net::IRC
       34. A Simple Java IRC Client
       35. IRC with Java and PircBot
       36. A Simple Python IRC Client
       37. IRC with Python and IRCLib
       38. Extend the Python IRCLib
       39. The Ethics of IRC Bots

Chapter 6. Logging Bots
       40. Keep Tabs on People
       41. Log URLs People Mention
       42. Blog from IRC
       43. A Continuity Bot

Chapter 7. Community Bots
       44. Infer Social Networks from IRC
       45. Run an Infobot
       46. Use PPF for Gaming Clans
       47. Write a Plug-in for PPF
       48. Getting Friendly with FOAFBot
       49. Interrogate Trust Networks with TrustBot
       50. Pass Notes to Other Users

Chapter 8. Search and Query Bots
       51. Search the Web with Google
       52. Use the Dictionary
       53. Check the Weather
       54. Don't Get Lost in Translation
       55. Convert Currency
       56. Find Out When People Are on the Network
       57. Search for Books on Amazon

Chapter 9. Fun Bots
       58. A DiceBot
       59. An Egg Timer
       60. A Trivia Bot
       61. Perform Feats of Math
       62. An Artificial Intelligence Bot
       63. Create Comic Strips

Chapter 10. Announcement Bots
       64. Welcome Visitors Automagically
       65. Announce Newsgroup Posts
       66. Feed Syndicated RSS News into IRC Channels
       67. Watch Online Games with MatchEd

Chapter 11. Network Bots
       68. Link Channels on Multiple Networks
       69. Get a Remote Shell
       70. Tail Log Files
       71. Bridge Two Infobots
       72. A File-Sharing Bot

Chapter 12. Channel Management Bots
       73. Protect the Channel Topic
       74. Invite Users into Channels
       75. Maintain Operator Status
       76. Set Up an Eggdrop Bot
       77. Manage Channels with an Eggdrop

Chapter 13. The IRC Protocol
       78. Understanding the IRC Protocol
       79. Text Over Multiple Lines
       80. Fake an Ident Response
       81. Strip Formatting from Messages
       82. Remove Color from Messages
       83. Encrypt Messages
       84. Timestamp with the TS Protocol
       85. Understanding CTCP Messages

Chapter 14. Other Ways to Connect to IRC
       86. Hypertext Links to IRC Channels
       87. IRC from Your Mobile Phone
       88. Enemies of Mobile IRC
       89. IRC from a Pocket PC
       90. Access IRC with Java Applets
       91. Use IRC from a Web Page Without Java
       92. Use IRC Within screen
       93. Set Up an IRC Proxy
       94. Use irssi and Its Proxy

Chapter 15. Servers and Services
       95. Set Up Your Own IRC Server for Unix/Linux
       96. Install Services
       97. Set Up Your Own beware ircd Server
       98. Link Two IRC Servers Together
       99. Use MSN/ICQ/Jabber from IRC
       100. Combine BitlBee and CtrlProxy

Index

 

商品描述(中文翻譯)

描述:
IRC(Internet Relay Chat)可能是世界上最成功的黑客之一。1988年,Jarkko Oikarinen在芬蘭奧盧大學編寫了最初的IRC程序。正如他在前言中所說,“IRC起初只是一個暑期實習生的編程練習。一個黑客成長為一個軟件開發項目,數百人參與其中,然後成為一個全球環境,成千上萬的人在其中相互交流。我通過IRC結識了許多朋友,並在使用和與IRC一起工作時學到了我現在的軟件工程知識的重要部分。如果沒有從他人的代碼示例和黑客中學習,這是不可能的。”自成立以來,IRC的受歡迎程度一直在增長。來自世界各地的數百萬人現在使用IRC與朋友聊天,討論項目並在研究上進行合作。IRC具有簡單明確的協議,成為最易於使用的聊天環境之一,並為多種操作系統編寫了客戶端。而且IRC不僅僅是一個簡單的聊天系統,它是一個互相通信的服務器網絡,允許數千個客戶端使用IRC協議從世界各地連接。雖然IRC很容易上手,許多人樂於在不了解內部運作的情況下使用它,但也有些人渴望更多的知識,這本書就是為他們而寫的。《IRC Hacks》是一本包含了幾乎所有成為真正的IRC大師所需的技巧和工具的集合,其中包括一些最著名的IRC黑客的貢獻,其中許多人在IRC上合作,組成了freenode IRC網絡(irc.freenode.net)上的頻道#irchacks。和我們的所有Hacks系列書籍一樣,《IRC Hacks》有很多不同的使用方式。您可以從頭到尾閱讀這本書,但是從目錄中選擇一個有趣的項目並直接深入研究可能更適合您。如果您對IRC相對新手,您應該考慮從每個逐步章節中選擇幾個技巧開始。第1章向您展示如何連接到IRC,而第2章則介紹了您需要有效使用IRC的日常概念。第3章涉及用戶和頻道,並介紹了第一批代碼。第4章向您展示如何對IRC客戶端進行有用的增強。第5章是您將學習有關創建IRC機器人的基礎知識的地方,第6-12章介紹了更複雜的機器人,可以用於日誌記錄,服務社區,搜索,公告,網絡,管理頻道或僅僅為了好玩。第13章更詳細地探討了IRC協議,第14章演示了一些有趣的連接到IRC的替代方法。最後,第15章將向您展示如何設置自己的IRC服務器。這本書提供了一個學習IRC工作原理以及如何充分利用一些使其成為地球上最成功、最可擴展和最成熟的聊天系統的功能的機會。《IRC Hacks》深入探討了各種可能性。

目錄:
前言
致謝
前言
第1章 連接到IRC
1. 從Windows連接到IRC
2. 從Linux連接到IRC
3. 從Mac OS X連接到IRC