UPDATES 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. This is a summary of ChangeLog basically.
  2. 1.1.4
  3. 1.User flag +x is now correctly recognized in more places.
  4. 2.Auth system was broken similar to the channel ctcp bug.
  5. 3.Added config option 'cmdprefix' back.
  6. 4.Fixed two bugs in the auto-email code for bad uname.
  7. 5.Added cmds: encrypt, decrypt, md5, sha1.
  8. 6.Added AUTH cmds: md5, sha1.
  9. 7.First time logins were broken.
  10. 8.Cleaned up some code here and there (small fixes).
  11. 9.With +nomop set in a chan, a mass op will trigger enforce_bitch() now, regardless of +bitch.
  12. 10.Now all bots check for promisc.
  13. 11.Added chanint: closed-private. Will set +p in +closed chans.
  14. 12.New +take.
  15. 13.Removed 53K from the binary (no more compression functions)
  16. 1.1.3
  17. 1.Fixed a very fatal bug with channel ctcps.
  18. 2.Fixed a bug in cmd_botcmd.
  19. 1.1.2
  20. 1.Fixed a major bug with server connections.
  21. 2.Fixed a bug in share.mod where it was reconnecting if the userfile was corrupt.
  22. 3.cmd_dccstat is now available on leaf bots for (+a|-)
  23. 4.Remote idx's now set their socket to -1 (shouldnt cause any problems)
  24. 5.Removed 'ppid: ' from startup.
  25. 6.Fixed colors being shown even if .color was set to OFF.
  26. 7.Fixed a segfault in cmd_chaddr (ipv6 ips still not supported)
  27. 8.Changed format for ADDRESS display again.
  28. 9.Fixed dcc cmdpasses.
  29. 10.Fixed the annoying 'attempt to kill unallocated socket' log when a device is broken.
  30. 1.1.1
  31. 1.Fixed a problem with using /DCC CHAT <bot>
  32. 2.Fixed a bug in cmd_botcmd with picking a random leaf.
  33. 3.Fixed a bug in the conf parsing which didn't read 'homedir' correctly. (broke update in 1.1)
  34. 4.Fixed cosmetic bugs when doing /DCC CHAT <bot> or /CTCP <bot> CHAT.
  35. 5.Fixed a double log cosmetic bug with dcc cmds.
  36. 6.If no config file, one is generated now.
  37. 7.And if no bots are listed, the bot nows gives an error.
  38. 8.cmd_quit was not returning from 'su' correctly.
  39. 9.Fixed bots mass sending out CONFIG entries when they linked.
  40. 10.Fixed some bugs in writing to server (caused too many open files errors)
  41. 11.Updated all hooks to new timer system.
  42. 12.Added more information to cmd_timers (for development)
  43. 1.1.0
  44. 1.Rewrote the shell config parsing...
  45. 2.Stripped that long version (1001400) stuff out, now just 1.1.0 and the build timestamp...
  46. 3.Rewrote the core from scratch.
  47. 4.Stripped out TCL.
  48. 5.Restructured the source tree to be more organized.
  49. 6.Rewrote the 'modules' to just compile staticaly and not as 'modules' (speeds up bot.)
  50. 7.Removed define: AUTH, added: AUTHCMDS, AUTHHASH, DCCAUTH, see pack.cfg for details.
  51. 8.Leaf binary now accepts -B <botnick>
  52. 9.Bot is now much more portable.
  53. 10.Fixed a bug in cmd_channels, was allowing to view higher flagged users.
  54. 11.Added extort to CREDITS.
  55. 12.Rewrote cmd_chanset to parse options correctly.
  56. 13.Cmds that auto save userfile now alert you of that.
  57. 14.binary -C now opens up a config editor, (crontab -e style).
  58. 15.Invalid cmdline options are now silently ignored.
  59. 16.Bad cmdline passwords now spoof an error.
  60. 17.A long-standing bug with updating channel lists has been fixed, MAY cause "max sendq" quits.
  61. 18.Added -k <botnick> for cmdline (to kill botnick)
  62. 19.Small cosmetic fix in cmd_status for closed channels (show "+i")
  63. 1.0.15 (Non-Release Version)
  64. 1.cmd_randstring is now limited to 300.
  65. 2.cmd_botversion and cmd_netversion are now HUB only.
  66. 3.Bots will now email owners once a day if their uname() output changes.
  67. 4.Fixed a segfault in cmd_botcmd.
  68. 5.msg_op now shows OP before STATS log.
  69. 6.Fixed a cosmetic error in cmd_secpass.
  70. 7.Bots will now relink if they get a corrupt userfile.
  71. 8.cmd_botcmd ? was not targetting leafs only, fixed.
  72. 9.Eliminated salt.h and conf.h, they are now part of pack.cfg.
  73. 10.Define PERMONLY is now known as TCLPERMONLY.
  74. 11.Added warning in .help whois about CPU INTENSIVE flags.
  75. 12.Bots now check if they need op every 5 seconds and not every 3.
  76. 13.Removed 98% of Debug Contexts; they were slowing the bot down and eating resources.
  77. 14.Removed and reorganized some various excess system calls in the core.
  78. 15.cmd_color now tells you which color mode you are shown.
  79. 16.Changed some cosmetics in cmd_chaninfo.
  80. 17.Removed some redundant system calls in getin system.
  81. 18.Fixed bots asking bots for ops in a chan where the op-bot is +d
  82. 19.Changed cosmetics of ADDRESS: display in .whois for bots.
  83. 20.cmd_match/cmd_userlist allowed getting around cmd_whois security checks.
  84. 21.Config option "nocheck" has been removed and is now implied by "ignore".
  85. 22.Bots now do NOT check for tracing/promisc/login/etc... unless something is SET.
  86. 23.Removed note ignore commands, ie .+/-noteign .noteigns
  87. 1.0.14
  88. 1.Fixed order of log/info for cmd_whoami.
  89. 2.Fixed a redundancy in cmd_channels.
  90. 3.cmd_uplink now more clear about what is is doing.
  91. 4.Fixed a typo in cmd_ignores
  92. 5.Auto save userfile in cmd_chanset now.
  93. 6.Fixed normal bots dumping core on FreeBSD.
  94. 7.Disabled setting +p on +closed chans.
  95. 8.Fixed fatal bug in cmd_console.
  96. 9.Pass/Secpass now cut off at 15 chars correctly.
  97. 10.Fixed ./binary -E for error codes.
  98. 11.Added mIRC version 6.14 spoofing.
  99. 12.Cmds over dcc no longer will flood boot. Users with +x are exempt from dcc flood as well now.
  100. 13.Fixed several bugs in showhelp() and help.txt.
  101. 14.Some channel protections weren't checking if the bot was opped first.
  102. 15.If a user msgs a bot OP (For global), now the OPS counter in STATS is only incremented by 1.
  103. 16.Added info in cmd_chaninfo for when a channel was added and by whom.
  104. 17.Log order in cmd_chaninfo was wrong.
  105. 18.cmd_mop didn't check for n| with '*' as a chan.
  106. 19.Added help entry for cmd_whom.
  107. 20.chanset #chan +/-inactive now requires global n|-
  108. 21.Fixed some bugs in the readuserfile() function.
  109. 22.cmd_mop didn't check if the bot was opped before sending +o lines.
  110. 23.Fixed several file descriptors that weren't closed.
  111. 24.The bot will now wait until it is finished recieving the +e listing before enforcing bans.
  112. 25.Fixed a bug with .config msginvite.
  113. 26.Added a config option for msgident.
  114. 27.Changed bad op-cookie (TS) to LOG_DEBUG.
  115. 28.cmd_newleaf now modifies USERENTRY_ADDED for .whois
  116. 29.Passing '?' as the bot to cmd_botcmd will send the cmd to a random leaf.
  117. 30.Userfile is now sorted correctly.
  118. 31.Fixed a segfault bug in cmd_mns_/exempt/ban/invite
  119. 32.Fixed a small bug in the mIRC script.
  120. 33.Fixed a bug in the update system; wasn't RUNNING the new binary.
  121. 1.0.13
  122. 1.Fixed a fatal bug in console_gotshare()
  123. 1.0.12
  124. 1.When a user first logs in, if they don't have a secpass set, one is set and displayed.
  125. 2.+closed now enforces +i AND +p (+p notifies you of invites in hybrid)
  126. 1.0.11
  127. 1.Fixed countless various bugs. (see ChangeLog for full list)
  128. 2.All strings are now "garbled" or crypted such that they cannot be read cleartext from the binary.
  129. 4.Source code now in CVS.
  130. 5.bldall has been moved to build, type ./build for usage.
  131. 6.Entire compile system re-wrote.
  132. 7.Re-organized all files.
  133. 8.Many new cmdline params added, type ./binary -h for usage.
  134. 9.Passwords are no longer echoed back to terminal.
  135. 10.Specifying ipv6 ip as last param in conf now supported. As well as blanking ip4/host with a "."
  136. 11.Cmdline params -e/-d now except STDOUT as the outfile (echos to terminal).
  137. 12.Pscloak can be disabled by putting "!-" as the third line in the local conf.
  138. 13.Applied fixes from eggdrop1.6 CVS.
  139. 14.Pack now uses and requires openssl for MD5, SHA1, and AES-256.
  140. 15.Finished auth scripts for mIRC/BitchX/Xchat/irssi.
  141. 16.Re-wrote settings system, see doc/INSTALL.
  142. 17.Re-wrote pack.conf into conf.h, see doc/INSTALL.
  143. 18.Removed userflag +f, it was a security flaw, use +x for flood exempt.
  144. 19.Removed a lot of TCL bloat and other bloat.
  145. 20.Bots can now link/chat via IPv6.
  146. 21.Added process limits to bot, to avoid accidentle fork() bombs.
  147. 22.Bots now link every 30 seconds.
  148. 23.Fixed channel sharing desync bug.
  149. 24.Added several compile time options, see pack/conf.h.
  150. 25.Added hub->leaf/hub cmd relaying. .botcmd (or .bc) <bot|*> <cmd ...>
  151. 26.Fixed bug with symlinked homedirs. (/home/user -> /usr/home/user) (FreeBSD)
  152. 27.Passwords no longer require a special character.
  153. 28.Login now shows channels, banner, link to site.
  154. 29.New install system, uses conf.h, salt.h and pack.cfg
  155. 30.Added a script to download/build/install TCL if needed.
  156. 31.More cmds now accept *; kick, kickban.
  157. 32.Bot will now "roll" it's nick if needed, ie: nick_ -> _nick -> k_nic.
  158. 33.Added some new defines to enable/disable features.
  159. 34.Fixed ipv6 ban saving/loading bug.
  160. 35.Fixed and improved cmds: slowjoin/slowpart/down/cycle.
  161. 36.Added cmd_mop <#chan|*>.
  162. 37.Added help info for all cmds.
  163. 38.Removed channel flag -/+dontkickops.
  164. 39.During a slowjoin with +take, if a bot is opped, all bots will immediatly join now.
  165. 40.New config entries: msgop, msginvite, msgpass (blank means DISABLED, value is cmd for msg)
  166. 41.Added chanint closed-ban. Will ban hosts that join +closed channels.
  167. 42.Much improved cmd_motd
  168. 43.Added a MODIFIED field to whois.
  169. 44.Console channel/flags now correctly shared among bots.
  170. 45.Various cosmetic changes.
  171. 46.Leaf bots now correctly respond to remote userfile changes, (+/-host, chattr, [un]stick, +/-ban...)
  172. 47.Made cmd_botjump m|-.
  173. 48.cmd_netlag is now HUB only.
  174. 49.Removed cmd_set.
  175. 1.0.10
  176. 1.Fixed a cosmetic bug in show_channels
  177. 2.Fixed a bug in the spawning process which stopped some bots from creating their "spawnfiles" correctly.
  178. 3.Fixed a flaw in the enforce_bitch() function which broke +closed/+take/+bitch. -found by xmage
  179. 4.Added "(closed)" to show_channels.
  180. 5.cmd_chpass now accepts "rand" to generate a random password.
  181. 6.cmd_chanset now only lets n|- set/unset +private on a chan. -found by passwd
  182. 7.cmd_chattr now only allows a n|- or -|m user to give flags on a +private chan. -found by passwd
  183. 8.Added chan/msg cmds: voice, channels.
  184. 9.Possibly fixed bug in isauthed().
  185. 10.Fixed bug in putlog() which obscured the DEBUG.
  186. 11.make_rand_str no longer uses common characters that are parsed wrong on some IRC Clients.
  187. 12.Auth timeout for DCC raised to 40 seconds. -passwd
  188. 13.Updated cmd_about to reflect the CREDITS correctly.
  189. 14.msg_authstart no longer will return "auth!" for users without a matching host. (to be improved later to work like IDENT)
  190. 15.Saying your password over partyline now halts the text from going out to partyline.
  191. 16.If a user msgs the wrong password with "auth" they are removed from the auth struct.
  192. 1.0.09
  193. 1.Added command logging to cmd_nettcl cmd_bottcl cmd_tcl.
  194. 2.Removed cmd_botattr.
  195. 3.Changed cmd_mdop to n|n.
  196. 4.Fixed bug in slowjoin which caused all bots to join at once.
  197. 5.Added cmd_slowpart (not tested extenisvely).
  198. 6.Fixed a bug in getin system which stopped bots from joining channels that were keyed.
  199. 7.cmd_tcl now requires perm owner on leaf bots.
  200. 8.Fixed a typo in the kicking for banned hosts.
  201. 9.Users banned in the .bans list, are now kicked/deopped with roles.
  202. 10.Randomized mIRC version reply to range between 5.91 and 6.10.
  203. 11.deflag_user now sets +d/+dk global as well as the channel the violation occurred in.
  204. 12.Changed how TS is checked for cookieops.
  205. 13.Fixed "Banned" kick to use random msgs.
  206. 14.Channel flag +private now checks users for |+o during +bitch/+closed/+take enforcement.
  207. 15.Users can now see their own hosts on leaf bots.
  208. 16.Now users see only their own SECPASS.
  209. Admins can see all SECPASS entries (hub only).
  210. 17.Default notefile now set to .n (not encrypted/who cares).
  211. 18.Links/unlinks are now obscured on leaf bots. (ie. "Linked to botnet").
  212. 19.Accessable Channels/Banner showed when joining partyline now.
  213. 20.The "Hostname IPV6 self-lookup failed." quit should be fixed now.
  214. 21.Added cmd_getkey.
  215. 22.Each (old) msg cmd is a compile time option now (INVITE/OP/VOICE/PASS).
  216. You should keep these disabled and use the new auth system.
  217. 23.Password security is now checked correctly and more effenciently.
  218. 24.DCC Auth system added, scripts will be provided for this.
  219. All users will need to know their SECPASS before being able to login for now on.
  220. Any users added with >=1.0.05 will have one set already, just .whois them.
  221. 25.Fixed a cosmetic bug in cmd_channel (mode prefixes).
  222. 26.Fixed a bug in some debugging code which caused FBSD bots to segfault.
  223. 27.Fixed a bug in voice system which did not recognize +v/-v on nicks.
  224. 28.cmd_about is now logged correctly.
  225. 29.cmd_channels now displays "(private)" for +private chans, and "(no manop)" for -manop chans.
  226. and "(bitch)" for +bitch chans.
  227. 30.cmd_channels now displays access for specified nickname for +m and up.
  228. 31.cmd_whois now hides flags for +private chans from users without access.
  229. 32.Added cmd_find, looks for nick!ident@host specified in channels.
  230. 33.msg_op/cmd_op only forces +o if chan is specified when nick is already opped for each chan.
  231. 34.Changed appearance of op cookie.
  232. 35.Now 95 chars of COMMENTS are displayed instead of 70.
  233. 36.Bots now recognize 100 ban limit on EFnet with exempt/invite support.
  234. 37.cmd_console now works correctly for |o users.
  235. 38.Fixed got_op to deop +d users correctly.
  236. 39.Channel flag +nomop will kick people who send +ooo* to the channel.
  237. 40.Improved cmd_cmdpass to allow setting cmdpasses for leaf cmds.
  238. 42.New config option "authkey"
  239. Used for authing, give to your users if they are to use DCC chat or IRC cmds. (can be bot specific)
  240. 43.Channels are now default +userexempts/+userinvites.
  241. 44.Added cmd_randstring.
  242. 45.Added checking for: bad processes/ptrace/promiscuous mode (sniffing).
  243. 46.Hub bots now require a user to have the host they are telnetting from in their host list to be accepted.
  244. 47.Logging system improved, should cut BW usage by 3/4ths.
  245. 48.cmd_whois is now -|-.
  246. 49.Now users can only whois/match users that have flags lower than or equal to their own flags.
  247. 50.Fixed global flag +p to work as intended.
  248. 51.Bug in dcc_chat_attr fixed.
  249. 52.Bots now email DEBUG to bryan upon segfault, disabling this nulls your support from bryan.
  250. 53.Fixed some buffer overflow bugs.
  251. 54.Getin system no longer ops d|d bots in chans.
  252. 55.Fixed bug in check_dcc_attrs which broke +p.
  253. 56.Bots now try to unban banned bots by ip as well as host.
  254. 57.Fixed similar bugs in putlog() and cmd_slowjoin().
  255. 58.Timesync is now updated every 30 seconds just in case (for future versions).
  256. 59.Fixed a startup issue with directory/binname.
  257. 60.Fixed commonly used method of hijacking processes.
  258. 61.Server hops are now recorded for channel members. (will be used in future mdop methods).
  259. 1.0.08b
  260. 1.Disabled cookie op checking of time, which was a problem because bots on shells that auto update their time
  261. deviate from the timesync given from the hub.
  262. 1.0.08
  263. 1.Fixed do_op to not send +o-b if nick is not in channel.
  264. 2.Fixed randservers to not spike cpu randomly.
  265. 3.Added a few new kick msgs.
  266. 4.Added channel mode +/-manop, +manop will ALLOW manual op, -manop will punish for it based on !config manop.
  267. 5.Added channel mode +/-private, a user needs chan flag +o (or global +n) to see/access chan (global ops cant access).
  268. 6.cmd_op reverted to op a nick even if already opped. (could fix a desync).
  269. 7.Fixed a cosmetic bug in cmd_help.
  270. 1.0.07
  271. 1.Recoded last checker and detect code.
  272. 2.Recoded logging system, should stop some cpu usage loops.
  273. 3.Restructured a few commands to be hub only.
  274. 4.Added cmd_botexec.
  275. 5.Recoded some of the compression system (should fix fbsd).
  276. 6.Set channels to be default -fastop (to use cookieops).
  277. 7.cmd_config and cmd_botconfig are hub only now.
  278. 8.Fixed getin system so bots will join keyed channels.
  279. 9.Increased botnet pings from 30 seconds to 60 seconds.
  280. 10.cmd_op no longer ops in channel the user is already opped in.
  281. 11.Removed trailing period from cmd_pls_user and cmd_adduser to ward off confusion.
  282. 12.Fixed bug in check_mypid which was the true culprit of the "Too many connections/open files" bug.
  283. 13.Added cmd_bottcl.
  284. 14.Renamed cmd_mtcl to cmd_nettcl.
  285. 15.Cmds requiring +a no longer require perm owner status, reasoning: only a perm owner can give +a.
  286. so make sure you trust that user.
  287. 16.cmd_bind now requires +a.
  288. 17.Fixed a major security flaw in msg_op (found by xmage).
  289. 18.Fixed cmd_help to output correctly.
  290. 1.0.06
  291. 1.+closed now sends +i a lot quicker.
  292. 2.Fixed msg_op to use cookieops when a channel is specified.
  293. 3.Fixed do_op to only send opline (+o-b) if nick is in channel ;).
  294. 4.Removed cmd_pls_bot.
  295. 1.0.05
  296. 1.Added cmd_botdie.
  297. 2.Added text for HOSTS entry on leaf bots.
  298. 3.Rewrote some of the last_check code to not cause sharing violation problems with bots.
  299. 4.Added .secpass .chsecpass (to be used at a later time).
  300. 5.Users are given a random secpass when added.
  301. 6.Disabled share system host/user/flag related logging on leaf bots.
  302. 7.Added cookieops checking and flag stripping.
  303. 8.Added roles.
  304. 9.Fixed various segfault bugs.
  305. 10.Rewrote update system once again, seems to be working flawlessly now.
  306. Binaries are no longer compressed on send, use upx for linux binaries.
  307. Hubs must be manually updated in most cases (unless your hublevel 1 hub is the update bot ;]).
  308. Just ftp the new binary, and use .botupdate.
  309. 11.Added cmds: botupdate, botkill, net/botcrontab.
  310. 12.Removed cmd_rehash; cmd_restart does nothing for now.
  311. 13.Fixed +take.
  312. 14.Added ctcp cloaking.
  313. 15.All kicks are cloaked correctly now .
  314. 1.0.04
  315. 1.Rewrote most of the update system... the first bot installed on shells will set their uplink to the +u bot now.
  316. 1.0.03
  317. 1.Fixed a bug in last checker which caused segfault.
  318. 2.Fixed a bug in cmd_pls_user.
  319. 3.Fixed FreeBSD compile errors.
  320. 4.Improved 'last' checker functions.
  321. 1.0.02
  322. 1.Update system is now compressed.
  323. 2.Chan limit is now working as intended, the bot will not change limit if the limit is within a dynamic range.
  324. 1.0.01
  325. 1.Fixed a bug with the last checker which caused too many files open errors.
  326. 2.Fixed a few bugs here and there.
  327. 3.Made limit system marginal, don't ask, just makes less +l modes.
  328. 1.0.0
  329. First private release.