Permalink
Browse files

Initial commit

  • Loading branch information...
rvolkov committed Feb 27, 2014
1 parent 8504f17 commit 7eba981753787ac82af42a1c8986362792c00314
Showing with 99,901 additions and 0 deletions.
  1. +14 −0 .gitignore
  2. +27 −0 AUTHORS
  3. +42 −0 BUGS
  4. +5 −0 Build.sh
  5. +967 −0 CHANGES
  6. +36 −0 COPYING
  7. +234 −0 Doxyfile
  8. +127 −0 FAQ.html
  9. +202 −0 INSTALL
  10. +25 −0 Makefile.dist
  11. +149 −0 Makefile.in
  12. +46 −0 README.md
  13. +85 −0 ReleaseNotes
  14. +7 −0 THANKS
  15. +30 −0 TODO
  16. +9 −0 acconfig.h
  17. +127 −0 aclocal.m4
  18. +1,121 −0 config.guess
  19. +9 −0 config.h
  20. +8 −0 config.h.in
  21. +1,232 −0 config.sub
  22. +7,686 −0 configure
  23. +611 −0 configure.in
  24. BIN contrib/MD5-1.7+TACPW.tgz
  25. +7 −0 contrib/README.md
  26. +24 −0 contrib/crypt_pw.pl
  27. +369 −0 contrib/debitcard.0.0.2.tcl
  28. +101 −0 db/Makefile.in
  29. +12 −0 db/OCCI.build
  30. +16 −0 db/OCI.build
  31. +22 −0 db/README.md
  32. +101 −0 db/README.xml-db
  33. +8 −0 db/ddk/README.md
  34. +6 −0 db/ddk/bool2char.cc
  35. +7 −0 db/ddk/char2bool.cc
  36. +7 −0 db/ddk/char2time.cc
  37. +84 −0 db/ddk/iso2time.cc
  38. +9 −0 db/ddk/sample.cc
  39. +8 −0 db/ddk/time2char.cc
  40. +15 −0 db/ddk/time2iso.cc
  41. +729 −0 db/msql.cc
  42. +921 −0 db/mysql.cc
  43. +69 −0 db/none.cc
  44. +978 −0 db/occi.cc
  45. +727 −0 db/oci.cc
  46. +960 −0 db/pgsql.cc
  47. +953 −0 db/uodbc.cc
  48. +744 −0 db/xml-db.cc
  49. +16 −0 doc/BuildDoc.sh
  50. +1,368 −0 doc/DeveloperGuide.lyx
  51. BIN doc/DeveloperGuide.tar.gz
  52. +782 −0 doc/DeveloperGuide.tex
  53. +667 −0 doc/DeveloperGuide.txt
  54. +7 −0 doc/README.md
  55. +384 −0 doc/SNMP-VOIP
  56. +340 −0 doc/SNMP.txt
  57. +76 −0 doc/SNMP_OIDS
  58. +4,650 −0 doc/UserGuide.lyx
  59. BIN doc/UserGuide.tar.gz
  60. +2,329 −0 doc/UserGuide.tex
  61. +2,527 −0 doc/UserGuide.txt
  62. 0 doc/diameter/README.md
  63. +8,235 −0 doc/diameter/rfc3588.txt
  64. +4,763 −0 doc/diameter/rfc4005.txt
  65. +3,643 −0 doc/rfc2138.txt
  66. +1,403 −0 doc/rfc2139.txt
  67. +2,354 −0 doc/tac_plus.rfc.1.78.txt
  68. BIN doc/tacppd-api.tar.gz
  69. BIN doc/tacppd.org.jpg
  70. +18 −0 etc/README.md
  71. +233 −0 etc/tacpp-db-desc.xml
  72. +756 −0 etc/tacppd.cf.xml
  73. +176 −0 etc/tacppd.conf.ex
  74. +12 −0 etc/xml-db.xml.ex
  75. +5 −0 ext/README.md
  76. +1 −0 http/README.md
  77. 0 http/admin/README.md
  78. +15 −0 http/admin/doc/index.html
  79. +9 −0 http/admin/help.html
  80. BIN http/admin/image/image.gif
  81. BIN http/admin/image/s.jpg
  82. BIN http/admin/image/tacppd.org.jpg
  83. +1 −0 http/admin/image/test.gif
  84. +13 −0 http/admin/index.html
  85. +11 −0 http/admin/invalid_auth.html
  86. +11 −0 http/admin/invalid_file.html
  87. +111 −0 http/admin/menu.html
  88. +22 −0 http/admin/nfdb/config/lpmx_config.pl.ex
  89. +9 −0 http/admin/nfdb/dictionary/English/index.pl
  90. +80 −0 http/admin/nfdb/dictionary/English/my_common.pl
  91. +13 −0 http/admin/nfdb/dictionary/Russian/index.pl
  92. +79 −0 http/admin/nfdb/dictionary/Russian/my_common.pl
  93. 0 http/admin/nfdb/dictionary/index.pl
  94. +13 −0 http/admin/nfdb/dictionary/read.me
  95. BIN http/admin/nfdb/images/bts.gif
  96. BIN http/admin/nfdb/images/print.gif
  97. +425 −0 http/admin/nfdb/index.pl
  98. +141 −0 http/admin/nfdb/lib/My_Sub.pm
  99. +239 −0 http/admin/nfdb/lib/lpmx.css
  100. +42 −0 http/admin/nfdb/lib/lpmx.js
  101. +36 −0 http/admin/nfdb/lib/print_form.pl
  102. +32 −0 http/admin/nfdb/lpmx_nf.txt
  103. +21 −0 http/admin/nfview/config/lpmx_config.pl.ex
  104. +85 −0 http/admin/nfview/dictionary/English/my_common.pl
  105. +84 −0 http/admin/nfview/dictionary/Russian/my_common.pl
  106. +12 −0 http/admin/nfview/dictionary/read.me
  107. BIN http/admin/nfview/images/bts.gif
  108. BIN http/admin/nfview/images/del.gif
  109. BIN http/admin/nfview/images/print.gif
  110. +494 −0 http/admin/nfview/index.pl
  111. +153 −0 http/admin/nfview/lib/My_Sub.pm
  112. +239 −0 http/admin/nfview/lib/lpmx.css
  113. +43 −0 http/admin/nfview/lib/lpmx.js
  114. +36 −0 http/admin/nfview/lib/print_form.pl
  115. +137 −0 http/admin/nfview/moredetail.pl
  116. +18 −0 http/admin/tci/index.html
  117. +75 −0 http/admin/tci/initdb.pl
  118. +78 −0 http/admin/tci/showcf.pl
  119. +92 −0 http/admin/tci/showusers.pl
  120. +13 −0 http/admin/tci/tci.conf.example
  121. +78 −0 http/admin/tci/writecf.pl
  122. +39 −0 http/admin/test/env.pl
  123. +11 −0 http/admin/test/false.html
  124. +17 −0 http/admin/test/getform.html
  125. +17 −0 http/admin/test/getform2.html
  126. +7 −0 http/admin/test/image.html
  127. +21 −0 http/admin/test/index.html
  128. BIN http/admin/test/java/beep.au
  129. BIN http/admin/test/java/cisco.gif
  130. +9 −0 http/admin/test/java/index.html
  131. BIN http/admin/test/java/test.class
  132. +70 −0 http/admin/test/java/test.java
  133. +11 −0 http/admin/test/ok.html
  134. +12 −0 http/admin/test/postform.html
  135. +12 −0 http/admin/test/postform2.html
  136. +33 −0 http/admin/test/test.pl
  137. +329 −0 http/admin/webdb/acc.pl
  138. +208 −0 http/admin/webdb/acc_save.pl
  139. +310 −0 http/admin/webdb/avp.pl
  140. +207 −0 http/admin/webdb/avp_save.pl
  141. +354 −0 http/admin/webdb/cmd.pl
  142. +207 −0 http/admin/webdb/cmd_save.pl
  143. +27 −0 http/admin/webdb/config/lpmx_config.pl.example
  144. +10 −0 http/admin/webdb/dictionary/English/acc.pl
  145. +10 −0 http/admin/webdb/dictionary/English/avp.pl
  146. +11 −0 http/admin/webdb/dictionary/English/cmd.pl
  147. +25 −0 http/admin/webdb/dictionary/English/edit.pl
  148. +9 −0 http/admin/webdb/dictionary/English/index.pl
  149. +80 −0 http/admin/webdb/dictionary/English/my_common.pl
  150. +32 −0 http/admin/webdb/dictionary/English/save.pl
  151. +10 −0 http/admin/webdb/dictionary/Russian/acc.pl
  152. +10 −0 http/admin/webdb/dictionary/Russian/avp.pl
  153. +11 −0 http/admin/webdb/dictionary/Russian/cmd.pl
  154. +26 −0 http/admin/webdb/dictionary/Russian/edit.pl
  155. +13 −0 http/admin/webdb/dictionary/Russian/index.pl
  156. +78 −0 http/admin/webdb/dictionary/Russian/my_common.pl
  157. +32 −0 http/admin/webdb/dictionary/Russian/save.pl
  158. 0 http/admin/webdb/dictionary/index.pl
  159. +13 −0 http/admin/webdb/dictionary/read.me
  160. +555 −0 http/admin/webdb/edit.pl
  161. BIN http/admin/webdb/images/bts.gif
  162. BIN http/admin/webdb/images/print.gif
  163. +303 −0 http/admin/webdb/index.pl
  164. +141 −0 http/admin/webdb/lib/My_Sub.pm
  165. +196 −0 http/admin/webdb/lib/lpmx.css
  166. +23 −0 http/admin/webdb/lib/lpmx.js
  167. +36 −0 http/admin/webdb/lib/print_form.pl
  168. +364 −0 http/admin/webdb/save.pl
  169. +10 −0 http/admin/workplace.html
  170. +11 −0 http/invalid_auth.html
  171. +11 −0 http/invalid_file.html
  172. 0 http/user/README.md
  173. +8 −0 http/user/index.html
  174. +11 −0 http/user/invalid_auth.html
  175. +11 −0 http/user/invalid_file.html
  176. 0 include/README.md
  177. +1,331 −0 include/db_module.h
  178. +335 −0 include/ipaddr.h
  179. +448 −0 include/snmp_module.h
  180. +250 −0 install-sh
  181. +7 −0 log/README.md
  182. +20 −0 lpmx/README.md
  183. +6 −0 lpmx/lpmx.conf
  184. +463 −0 lpmx/lpmx.pl
  185. +73 −0 lpmx/lpmx_ck.pl
  186. +98 −0 lpmx/lpmx_nf.pl
  187. +32 −0 lpmx/lpmx_nf.txt
  188. +188 −0 missing
  189. +40 −0 mkinstalldirs
  190. +71 −0 resrc/Makefile.in
  191. +3 −0 resrc/README.md
  192. +4 −0 resrc/none.cc
  193. +4 −0 resrc/sc-per-time.cc
  194. +1 −0 run/README.md
  195. +84 −0 snmp/Makefile.in
  196. +22 −0 snmp/README.md
  197. +176 −0 snmp/cisco-asy.cc
  198. +200 −0 snmp/cisco-e1.cc
  199. +315 −0 snmp/cisco-trf.cc
  200. +264 −0 snmp/cisco.cc
  201. +1 −0 snmp/ddk/README.md
  202. +40 −0 snmp/none.cc
  203. +437 −0 src/AAA.cc
  204. +71 −0 src/AAA.h
  205. +232 −0 src/AModify.cc
  206. +123 −0 src/AModify.h
  207. +198 −0 src/App.cc
  208. +50 −0 src/App.h
  209. +166 −0 src/Cli.cc
  210. +63 −0 src/Cli.h
  211. +922 −0 src/Command.cc
  212. +336 −0 src/Command.h
  213. +475 −0 src/CoreAccess.cc
  214. +182 −0 src/CoreAccess.h
  215. +470 −0 src/CoreBilling.cc
  216. +203 −0 src/CoreBilling.h
  217. +308 −0 src/CoreBundle.cc
  218. +128 −0 src/CoreBundle.h
  219. +536 −0 src/CoreData.cc
  220. +233 −0 src/CoreData.h
  221. +636 −0 src/CoreDb.cc
  222. +161 −0 src/CoreDb.h
  223. +333 −0 src/CoreDebug.cc
  224. +171 −0 src/CoreDebug.h
  225. +1,570 −0 src/CoreDevice.cc
  226. +525 −0 src/CoreDevice.h
  227. +502 −0 src/CoreListener.cc
  228. +209 −0 src/CoreListener.h
  229. +410 −0 src/CoreManager.cc
  230. +154 −0 src/CoreManager.h
  231. +413 −0 src/CorePeer.cc
  232. +196 −0 src/CorePeer.h
  233. +477 −0 src/CorePool.cc
  234. +179 −0 src/CorePool.h
  235. +637 −0 src/CryptoCard.cc
  236. +101 −0 src/CryptoCard.h
  237. +80 −0 src/DLoad.cc
  238. +68 −0 src/DLoad.h
  239. +102 −0 src/Daemon.cc
  240. +49 −0 src/Daemon.h
  241. +165 −0 src/Debug.cc
  242. +131 −0 src/Debug.h
  243. +14 −0 src/Diameter.cc
  244. +33 −0 src/Diameter.h
  245. +64 −0 src/Errors.h
  246. +14 −0 src/GtpPrime.cc
  247. +272 −0 src/GtpPrime.h
  248. +786 −0 src/Http.cc
  249. +268 −0 src/Http.h
  250. +317 −0 src/Icmp.cc
  251. +70 −0 src/Icmp.h
  252. +298 −0 src/Listener.cc
  253. +113 −0 src/Listener.h
  254. +277 −0 src/LogFile.cc
  255. +98 −0 src/LogFile.h
  256. +243 −0 src/LogSyslog.cc
  257. +95 −0 src/LogSyslog.h
  258. +263 −0 src/LogTerm.cc
  259. +88 −0 src/LogTerm.h
  260. +548 −0 src/Logging.cc
  261. +273 −0 src/Logging.h
  262. +110 −0 src/Makefile.in
  263. +601 −0 src/NetFlow.cc
  264. +758 −0 src/NetFlow.h
  265. +145 −0 src/Packet.cc
  266. +68 −0 src/Packet.h
  267. 0 src/README.md
  268. +50 −0 src/Radius.cc
  269. +157 −0 src/Radius.h
  270. +192 −0 src/ServerTrack.cc
  271. +124 −0 src/ServerTrack.h
  272. +461 −0 src/Snmp.cc
  273. +160 −0 src/Snmp.h
  274. +2,833 −0 src/TacDb.cc
  275. +1,104 −0 src/TacDb.h
  276. +2,953 −0 src/Tacacs.cc
  277. +972 −0 src/Tacacs.h
  278. +222 −0 src/Tci.cc
  279. +69 −0 src/Tci.h
  280. +974 −0 src/Terminal.cc
  281. +175 −0 src/Terminal.h
  282. +632 −0 src/Tiep.cc
  283. +290 −0 src/Tiep.h
  284. +256 −0 src/UserTrack.cc
  285. +155 −0 src/UserTrack.h
  286. +1,238 −0 src/Utils.cc
  287. +162 −0 src/Utils.h
  288. +692 −0 src/Vty.cc
  289. +276 −0 src/Vty.h
  290. +50 −0 src/XmlServer.cc
  291. +49 −0 src/XmlServer.h
  292. +241 −0 src/global.h
  293. +203 −0 src/main.cc
  294. +52 −0 src/myQueue.cc
  295. +67 −0 src/myQueue.h
  296. +970 −0 tacppd.xcodeproj/project.pbxproj
  297. +40 −0 tacppd_start.sh
  298. +40 −0 tacppd_start.sh.example
  299. +1 −0 tests/README.md
  300. +15 −0 version.h
View
@@ -0,0 +1,14 @@
+*.log
+.DS_Store
+.Trashes
+*.swp
+*.lock
+*~.nib
+build/
+DerivedData/
+*.pbxuser
+*.mode1v3
+xcuserdata
+xcuserdata/
+*.moved-aside
+*.pid
View
27 AUTHORS
@@ -0,0 +1,27 @@
+TACACS++ daemon (tacppd) team
+------------------------------
+
+Written by:
+
+rv - Roman Volkov - author and maintainer
+ rv at tacppd dot org
+
+Contributors:
+
+lsk - Igor Lyapin aka lsk (lsk at tacppd dot org)
+ all CLI code, great database fixing and extensions,
+ all XML handling and processing
+maxfieb - Brett Maxfield (Australia) (maxfieb at tacppd dot org)
+ working for implement XML-RPC and use such interfaces for
+ interact with external billing systems. Do a lot of fixes,
+ documentation updates, redesign of automake/autoconf scripts
+oleg - Oleg Zolotaryov (Khabarovsk, Russia) C++ consultations and ideas
+generator
+max - Max Volkov (Khabarovsk, Russia) Perl-programming of web interfaces
+vl - Vladimir Movchanyuk (Khabarovsk, Russia) parser of netflow and
+some example perl scripts
+Dmitry Efimyuk (Mary-El, Russia) testing, discussing
+Vitaly Shevchenko (Moscow, Russia) some kind of oracle work
+
+------------------------------------------------------------------
+For sources of some code portions see in text of appropriate module.
View
42 BUGS
@@ -0,0 +1,42 @@
+file: BUGS
+title: tacppd bugs
+
+OPEN:
+
+#200708101520
+possible problem on FreeBSD system - where time_t = int. Some problem with function overload.
+
+#200406232257
+when you send command "help" into CLI, then it shows help
+information, but close CLI session after that, looks like problem
+that this command is last command in CLI data XML file
+
+
+CLOSED:
+
+#200306171844 - fixed now
+sometime tacppd very fast eat all memory, looks like to
+uncondicional cycle with memory occupation.
+It can be after start, but can be after several days.
+* problem was in use gethostbyname() function in multithread
+environment. The situation can occures in unplanned manner.
+ipaddr.h now uses thread safe call gethostbyname_r
+I test this issue several days with debugger without problems.
+
+#200307071502
+some memory leak, i guess. It working some time, and in several
+cases i see that it uses more and more memory. The memory using
+is increase not fast and in some cases it doesn't visible.
+- i guess, that this leak can occur into Tacacs.cc (tacacs+ code),
+i just fixed it, but will test it, not shure.
+
+#200307230847
+problem with executing Perl files from http server if Perl compiled
+with multithreading support (i think, not sure). Call run_perl()
+freeze process and do not return output.
+Perl library used: /usr/lib/perl5/5.8.0/i686-linux-thread-multi/CORE/libperl.so
+
+#200308151402
+when tacppd working in bundle and new member add to bundle,
+old member start occupy CPU resources. Possible bug with
+bundle start packet processing.
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+mkdir build
+cd build
+../configure --with-snmp-shared --with-pgsql --with-mysql
+make
Oops, something went wrong.

0 comments on commit 7eba981

Please sign in to comment.