Changeset 7648 for modules/branches/2.5
- Timestamp:
- 05/06/09 18:20:45 (4 years ago)
- Files:
-
- modules/branches/2.5 (modified) (1 prop)
- modules/branches/2.5/backup/bin/ampbackup.pl (modified) (1 diff)
- modules/branches/2.5/backup/module.xml (modified) (1 diff)
- modules/branches/2.5/logfiles/module.xml (modified) (1 diff)
- modules/branches/2.5/logfiles/page.logfiles.php (modified) (1 diff)
- modules/branches/2.5/weakpasswords (modified) (1 prop)
- modules/branches/2.5/weakpasswords/functions.inc.php (modified) (2 diffs)
- modules/branches/2.5/weakpasswords/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5
- Property svnmerge-integrated changed from /modules/branches/2.4:1-5852,5908 /modules/branches/2.6:1-7080,7132,7158-7174,7177,7179-7186,7191-7202,7204-7226,7228-7250,7252-7273,7279-7286,7289-7292,7294-7295,7297-7312,7317-7331,7333-7340,7411,7413,7415-7417,7419-7420,7423-7434,7438-7439,7441-7442,7444-7446,7458-7469,7553,7611 to /modules/branches/2.4:1-5852,5908 /modules/branches/2.6:1-7080,7132,7158-7174,7177,7179-7186,7191-7202,7204-7226,7228-7250,7252-7273,7279-7286,7289-7292,7294-7295,7297-7312,7317-7331,7333-7340,7411,7413,7415-7417,7419-7420,7423-7434,7438-7439,7441-7442,7444-7446,7458-7469,7553,7609-7622
modules/branches/2.5/backup/bin/ampbackup.pl
r7342 r7648 199 199 $config_files .= "/etc/zaptel.conf" if -r "/etc/zaptel.conf"; 200 200 $config_files .= "/etc/dahdi" if -r "/etc/dahdi"; 201 system ("/bin/tar -Pcz -f /tmp/ampbackups.$Stamp/configurations.tar.gz ".$ast{'astvarlibdir'}."/agi-bin/ ".$ast{'astvarlibdir'}."/bin/ /etc/asterisk $webroot/admin /etc/amportal.conf $config_files /tmp/ampbackups.$Stamp/astdb.dump "); 201 system ("/bin/tar -Pcz -f /tmp/ampbackups.$Stamp/configurations.tar.gz ".$ast{'astvarlibdir'}."/agi-bin/ ".$ast{'astvarlibdir'}."/bin/ ". 202 $User_Preferences{"ASTETCDIR"}." $webroot/admin /etc/amportal.conf $config_files /tmp/ampbackups.$Stamp/astdb.dump "); 202 203 203 204 if ($provroot ne "") { modules/branches/2.5/backup/module.xml
r7358 r7648 13 13 </depends> 14 14 <changelog> 15 *2.5.1.6* localization updates15 *2.5.1.6* #3640, localization updates 16 16 *2.5.1.5* #3323 backup fails if zaptel.conf or dahdi directory not present 17 17 *2.5.1.4* #3238, spelling modules/branches/2.5/logfiles/module.xml
r7382 r7648 4 4 <version>2.5.0.1</version> 5 5 <changelog> 6 *2.5.0.1* localization updates6 *2.5.0.1* #3645, localization updates 7 7 *2.5.0* #2776: filter out potentially bad html tags from log file 8 8 *2.4.0* bumped for 2.4 modules/branches/2.5/logfiles/page.logfiles.php
r6030 r7648 19 19 <hr><br> 20 20 <?php 21 system ('tail - -line=2000 '.$amp_conf['ASTLOGDIR'].'/full | sed -e "s,<,\<,g;s,>,\>,g;s/$/<br>/"');21 system ('tail -n2000 '.$amp_conf['ASTLOGDIR'].'/full | sed -e "s,<,\<,g;s,>,\>,g;s/$/<br>/"'); 22 22 break; 23 23 modules/branches/2.5/weakpasswords
- Property lastpublish set to 7609
modules/branches/2.5/weakpasswords/functions.inc.php
r7517 r7648 13 13 14 14 function weakpasswords_get_config($engine) { 15 switch($engine) {16 case "asterisk":15 switch($engine) { 16 case "asterisk": 17 17 // Clear all weak password notifications 18 18 $nt = notifications::create($db); … … 26 26 $weak = weakpasswords_get_users(); 27 27 if(sizeof($weak) > 0) { 28 $extended_text = _("Warning: The use of SIP/IAX passwords that are weak can allow hackers to make brute force registrations and possibly make calls through your PBX. It is strongly recommended, you choose strong secrets.")."<br>";28 $extended_text = _("Warning: The use of weak SIP/IAX passwords can compromise this system resulting in toll theft of your telephony service. You should change the reported devices and trunks to use strong secrets.")."<br /><br />"; 29 29 $count = 0; 30 30 foreach($weak as $details) { 31 $extended_text .= sprintf(_("%s %s has a weak secret of %s:%s<br>"), $details['deviceortrunk'], $details['name'], $details['secret'], $details['message']);31 $extended_text .= sprintf(_("%s: %s / secret: %s => %s<br>"), $details['deviceortrunk'], $details['name'], $details['secret'], $details['message']); 32 32 $count++; 33 33 } 34 $nt->add_security("weakpasswords", "all", $count." "._("extensions/trunks has weak secrets"),$extended_text); 35 36 34 if ($count == 1) { 35 $nt->add_security("weakpasswords", "all", $count." "._("extension/trunk has weak secret"),$extended_text); 36 } else { 37 $nt->add_security("weakpasswords", "all", $count." "._("extensions/trunks have weak secrets"),$extended_text); 38 } 37 39 } 38 40 break; modules/branches/2.5/weakpasswords/module.xml
r7517 r7648 2 2 <rawname>weakpasswords</rawname> 3 3 <name>Weak Password Detection</name> 4 <version>2.5.0. 1</version>5 <type> setup</type>6 <category> Internal Options & Configuration</category>4 <version>2.5.0.2</version> 5 <type>tool</type> 6 <category>System Administration</category> 7 7 <changelog> 8 *2.5.0.2* changes to warning msg, moved to Tools tab, System Administration 8 9 *2.5.0.1* Consolidated individual security notices to a single notice with all details in extended text 9 10 *2.5.0.0* Initial release … … 17 18 <weakpasswords>Weak Password Detection</weakpasswords> 18 19 </menuitems> 19 <location>release/2. 5/weakpasswords-2.5.0.0.tgz</location>20 <md5sum> 1</md5sum>20 <location>release/2.6/weakpasswords-2.5.0.2.tgz</location> 21 <md5sum>78813c6862ab3f471ee0dbda1de10da1</md5sum> 21 22 </module>
