summaryrefslogtreecommitdiff
path: root/security
AgeCommit message (Collapse)AuthorFilesLines
2002-01-19Update p5-Crypt-SSLeay to 0.35mjl3-20/+22
+ Set local $SIG{PIPE} = \&die before $ssl->connect() to capture the "broken pipe" error associated with connecting to a computer that is not running a SSL web server + Documented differences / conflicts between LWP proxy support and Crypt::SSLeay which seems to be a source of confusion for users. + Added Net::SSL::get_peer_verify call so the warning header from LWP that says: Client-SSL-Warning: Peer certificate not verified can be suppressed when HTTPS_CA_FILE & HTTPS_CA_DIR environment variables are set to invoke peer certificate verification. + $ENV{HTTPS_DEBUG} activates Crypt::SSLeay specific debugging, so one can debug from LWP:: calls without using ./net_ssl_test script - removed exit from Makefile.PL + Streamlined *CA* patches so only in $CTX->set_verify() which gets called every time now. + Throw error instead of return undef in Net::SSL->connect() because we loose the errors otherwise. - Turn SSL_MODE_AUTO_RETRY on so clients can survive changes in SSLVerifyClient changes in the modssl connection + Integrated patches from Gamid Isayev for CA peer verification. - Client certs weren't working correctly, setup certs earlier in connection now, also create new CTX per request, so cert settings don't remain sticky from one request to the next. + update ./net_ssl_test to do smart parsing of host, where host can now be of the form http://www.nodeworks.com:443/ - local $@ in Net::SSL::DESTROY so we don't kill real errors - return undef in Net::SSL::connect() instead of die() for better LWP support & error handling. + alarm() on Unix platforms around ssl ctx connect, which can hang for process for way too long when trying to connect to dead https SSL servers. Fixes PR/15053 by Shell Hung.
2002-01-18use python buildlinkdrochner1-3/+4
2002-01-18Update sudo package to 1.6.5p1. Quote from CHANGES is below.taca2-5/+6
467) Visudo could access memory that was already freed. 468) If the skey.access file denied use of plaintext passwords sudo would exit instead of allowing the user to enter an S/Key. Sudo 1.6.5p1 released.
2002-01-18Remove illegal optimizatioon breaking on all platforms where va_list ismartin3-6/+25
not a pointer. Should make this build on alpha and macppc again (but I can't test this right now).
2002-01-18This can't be compiled on alpha/powerpc because __va_list is definedmartti1-1/+5
as struct in include/ansi.h instead of "char *". This just a temporary hack, better solution is really needed...
2002-01-17Update sudo package to 1.6.5 for recent security problem.taca4-58/+46
Added --disable-root-mailer to CONFIGURE_ARGS better security. Changes from 1.6.3p7 to 1.6.5 is attached bellow. 417) Visudo now checks for the existence of an editor and gives a sensible error if it does not exist. 418) The path to the editor for visudo is now a colon-separated list of allowable editors. If the user has $EDITOR set and it matches one of the allowed editors that editor will be used. If not, the first editor that actually exists is used. 419) Visudo now does its own fork/exec instead of calling system(3). 420) Allow special characters (including '#') to be embedded in pathnames if quoted by a '\\'. The quoted chars will be dealt with by fnmatch(). Unfortunately, 'sudo -l' still prints the '\\'. 421) Added the always_set_home option. 422) Strip NLSPATH and PATH_LOCALE out from the environment to prevent reading of protected files by a less privileged user. 423) Added support for BSD authentication and associated -a flag. 424) Added check for _innetgr(3) since NCR systems have this instead of innetgr(3). 425) Added stay_setuid option for systems that have libraries that perform extra paranoia checks in system libraries for setuid programs. 426) Environment munging is now done by hand. The environment is zeroed upon sudo startup and a new environment is built before the command is executed. This means we don't rely on getenv(3), putenv(3), or setenv(3). 427) Added a class of environment variables that are only cleared if they contain '/' or '%' characters. 428) Use stashed user_gid when checking against exempt gid since sudo sets its gid to SUDOERS_GID, making getgid() return that, not the real gid. Fixes problem with setting exempt group == SUDOERS_GID. Fix from Paul Kranenburg. 429) Fixed file locking in visudo on NeXT which has a broken lockf(). Patch from twetzel@gwdg.de. 430) Regenerated configure script with autoconf-2.52 (required some tweaking of configure.in and friends). 431) Added mail_badpass option to send mail when the user does not authenticate successfully. 432) Added env_reset Defaults option to reset the environment to a clean slate. Also implemented env_keep Defaults option to specify variables to be preserved when resetting the environment. 433) Added env_check and env_delete Defaults options to allow the admin to modify the builtin list of environment variables to remove. 434) If timestamp_timeout < 0 then the timestamp never expires. This allows users to manage their own timestamps and create or delete them via 'sudo -v' and 'sudo -k' respectively. 435) Authentication routines that use sudo's tgetpass() now accept ^C or ^Z at the password prompt and sudo will act appropriately. 436) Added a check-only mode to visudo to check an existing sudoers file for sanity. 437) Visudo can now edit an alternate sudoers file. 438) If sudo is configured with S/Key support and the system has skeyaccess(3) use that to determine whether or not to allow a normal Unix password or just S/Key. 439) Fixed CIDR handling in sudoers. 440) Fixed a segv if the local hostname is not resolvable and the 'fqdn' option is set. 441) "listpw=never" was not having an effect for users who did not appear in sudoers--now it does. 442) The --without-sendmail option now works on systems with a /usr/include/paths.h file that defines _PATH_SENDMAIL. 443) Removed the "secure_path" Defaults option as it does not work and cannot work until the parser is overhauled. 444) Added new -P flag and "preserve_groups" sudoers option to cause sudo to preserve the group vector instead of setting it to that of the target user. Previously, if the target user was root the group vector was not changed. Now it is always changed unless the -P flag or "preserve_groups" option was given. 445) If find_path() fails as root, try again as the invoking user (useful for NFS). Idea from Chip Capelik. 446) Use setpwent()/endpwent() and its shadow equivalents to be sure the passwd/shadow file gets closed. 447) Use getifaddrs(3) to get the list of network interfaces if it is available. 448) Dump list of local IP addresses and environment variables to clear when 'sudo -V' is run as root. 449) Reorganized the lexer a bit and added more states. Sudo now does a better job of parsing command arguments in the sudoers file. 450) Wrap each call to syslog() with openlog()/closelog() since some things (such as PAM) may call closelog(3) behind sudo's back. 451) The LOGNAME and USER environment variables are now set if the user specified a target uid and that uid exists in the password database. 452) configure will no longer add the -g flag to CFLAGS by default. 453) Now call pam_setcreds() to setup creds for the target user when PAM is in use. On Linux this often sets resource limits. 454) If "make install" is run by non-root and the destination dir is writable, install things normally but don't set owner and mode. 455) The Makefile now supports installing in a shadow hierarchy specified via the DESTDIR variable. 456) config.h.in is now generated by autoheader. Sudo 1.6.4 released. 457) Move the call to rebuild_env() until after MODE_RESET_HOME is set. Otherwise, the set_home option has no effect. 458) Fix use of freed memory when the "fqdn" flag is set. This was introduced by the fix for the "segv when gethostbynam() fails" bug. 459) Add 'continue' statements to optimize the switch statement. From Solar Designer. Sudo 1.6.4p1 released. 460) Some special characters were not being escaped properly (e..g '\,') in command line arguments and would cause a syntax error instead. 461) "sudo -l" would not work if the always_set_home option was set. 462) Added a configure option to disable use of POSIX saved IDs for operating systems where these are broken. 463) The SHELL environment variable was preserved from the user's environment instead of being reset based on the passwd database even when the "env_reset" option was set. Sudo 1.6.4p2 released. 464) Added a configure option to cause mail sent by sudo to be run as the invoking user instead of root. Some people consider this to be safer. 465) If the mailer is being run as root, use a hard-coded environment that is not influenced in any way by the invoking user's environment. 466) Fixed the call to skeyaccess(). Patch from Phillip E. Lobbes. Sudo 1.6.5 released.
2002-01-17use python extension buildlink,drochner2-81/+79
use canonical pkg name (pyX.Y-pkg-vers), make passing of SSLBASE work
2002-01-17Updated gpa to 0.4.3martti3-6/+7
* The list of keyservers is now read form the file "keyservers" in the GPA configuration directory which by default is ~/.gnupg. The new option keyserver may be used in the gpa.conf file to select the default keyserver - it implictly adds this server to the list of keyservers.
2002-01-15Make ruby-digest module need ruby 1.6.6 or later.taca1-1/+2
Temporary work around.
2002-01-14Updated uvscan-dat to 4180martti2-5/+5
* new virus definitions
2002-01-13Update to 1.5.27. Changes are mostly bugfixes including a fix for theskrll5-22/+21
format string vulnerability described in http://www.securityfocus.com/bid/3498 Closes pkg/15149 from <naoki@fukaumi.org>
2002-01-11Add a missing backslash.seb1-2/+2
2002-01-10Remove non-existing patch-aa from distinfo.wiz1-2/+1
2002-01-09Add a dependency on p5-Date-Manip - without it, mactime won't work.agc1-1/+3
Pointed out by frazee.23@osu.edu in PR 15184
2002-01-08Remove references to the USE_LOCALBASE_FOR_X11 definition, which wasagc1-6/+1
removed some time ago.
2002-01-07Fix for sparc64, provided in pkg/15168.wiz2-1/+19
2002-01-06Update security/php4-mcrypt to 4.1.1. Changes from version 4.1.0 include:jlam1-3/+3
- Fixed several crash bugs in the mcrypt extension. (Derick) - Made the mcrypt extension compile with the libmcrypt 2.2 series again. (Sterling)
2002-01-05Rework this package so that it installs its executables into its own tctagc4-26/+58
hierarchy. Whilst this is not desirable, it's the only way to get this package to execute properly, since it makes assumptions about absolute and relative paths, and expects its own versions of certain commands (md5, file), so it's best to keep these off to one side.
2002-01-04Make sure ${PERL5_SITEARCH} directory exists before attempting to copyagc1-1/+2
files there. Patch in private mail from someone who prefers to remain anonymous.
2002-01-04Remove ruby-ssl since it was replaced by ruby-openssl.taca4-63/+0
2002-01-04Enable ruby-openssl and disable ruby-ssl.taca1-2/+2
2002-01-04Importing ruby-openssl package, which replace ruby-ssl package.taca4-0/+49
Here is quote from README. $Id: README,v 1.3 2001/11/18 19:00:06 majkl Exp $ 'OpenSSL for Ruby' project Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz> All rights reserved. This program is licenced under the same licence as Ruby. (See the file 'LICENCE'.) [Done] (but not fully tested) = OpenSSL config file parser (part) --- TO BE DROPPED? (any idea?) = PKey:: RSA,DSA keys - new, load, export = X509::Certificate - generating new certs, load, looking inside = X509::CRL - load, new, looking inside = X509::Name - new, export to_str, to_a, to_h (hash) = X509::Revoked - new, looking inside (on parameters) = X509::Store - new, import trusted certs and CRL, verifiing certs = Digest::... - various hashes = X509::Request - Cert requests = X509::Attribute - as X509Request extensions (not tested) = X509::Extension - to Certs, CRLs... = X509::ExtensionMaker - for easy creating new Extensions = Netscape::SPKI - for requests from NetscapeCommunicators = Cipher::... - various ciphers = basic PRNG functions (random generator) for OpenSSL module and class Random = SSLSocket (merged Gotou Yuuzou's SSLsocket-Ruby project) = PKCS7 (signing&data_verify is working, rest needs some testing) [To-Do] = check for memory leaking :-)) = cleaner code = examples = RubyUnit to be used! = API documentation = comments to sources!!! = further functionality to existing = Std. Extensions, Attributes to be made as Classes? = AttributeFactory? = add aliases to to_pem as s_dump s_load to support Marshal module = CipherFactory? = autogen random IVs for Ciphers = safe BigNums = PKCS12 = PKCS8 = HMAC = ASN.1 ??? = BIO ??? = compat tests for RSA/DSA sign/encrypt
2002-01-04Also install the perl5 support files for this package in theagc2-2/+40
appropriate place. Pointed out in private mail by someone who wishes to remain anonymous. XXX The PLIST's location for these files needs to be fixed by someone more knowledgable than me in these black arts.
2002-01-04Upgrade to latest OpenBSD source tree.martti2-5/+5
- str[n]{cpy,cat} -> strl{cpy,cat}, sprintf -> snprintf - strftime format fixes - Don't hang waiting for select() with SIGTERM + no active SA - Add UI option 'R' to trigger isakmpd reinit (same as SIGHUP) ... http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/isakmpd/
2002-01-03Simplify document arrangement.taca2-12/+11
2002-01-03Updated to 1.8martti3-24/+15
* Added a "--local" option for removing the ${HOSTNAME} from the various files that keychain creates. Handy for non-NFS users. * Using the Bourne shell "type" builtin rather than using the external "which" command. Should make things a lot more robust and slightly faster. * Solaris' "which" command outputs "no lockfile in..." to stdout rather than stderr. A one-line fix (test the error condition) has been applied. * lockfile settings tweak * If you stop making progress providing valid passphrases, it's three strikes and you're out. * Some private keys can't be "ssh-keygen -l -f"'d; this patch causes keychain to look for the corresponding public key if the private key doesn't work. Thanks Constantine! * CYAN color misdefined; fixed. * A "quiet mode" (--quiet) fix; I missed an "echo". * Missed another "kill -9"; it's now gone.
2002-01-03Use the correct category for this package.agc1-2/+2
2002-01-03Add and enable ruby-digest.wiz1-1/+2
2002-01-03Add and enable tct.agc1-1/+2
2002-01-03Initial import of tct-1.0.9 into the NetBSD Packages Collection.agc18-0/+322
TCT is a collection of programs by Dan Farmer and Wietse Venema for a post-mortem analysis of a UNIX system after break-in. Notable TCT components are the grave-robber tool that captures information, the ils and mactime tools that display access patterns of files dead or alive, the unrm and lazarus tools that recover deleted files, and the findkey tool that recovers cryptographic keys from a running process or from files. WARNING This software is not for the faint of heart. It is relatively unpolished compared to the software that Dan and Wietse usually release. TCT can spend a lot of time collecting data. And although TCT collects lots of data, many analysis tools still need to be written. Based on patches provided in PR 15081 by frazee.23@osu.edu.
2001-12-31Update security/php4-mcrypt to 4.1.0. Changes from version 4.0.6 include:jlam1-3/+3
- Fixed a bug in the mcrypt extension, where list destructors were not properly being allocated. (Sterling) - Fixed bugs in the mcrypt extension that caused crashes. (Derick)
2001-12-31Make ruby-md5 package for ruby 1.4 package only.taca1-1/+3
2001-12-30Update libnasl, nessus{-core,-plugins,-libraries} to 1.0.10.frueauf8-21/+132
1.0.10 : Changes by Michael Scheidell <scheidell@fdma.com> : - Backported Nessus 1.1.x plugins changes in nessus-plugins Changes by Renaud Deraison <deraison@nessus.org> : - Minor fixes
2001-12-30Importing ruby-digest package. This is part of ruby 1.6.6 package.taca3-0/+46
2001-12-30Add and enable p5-Crypt-IDEA.wiz1-1/+2
2001-12-30Initial import of p5-Crypt-IDEA, provided by Sen Nagata in pkg/14158.wiz6-0/+56
Perl module for the IDEA symmetric key algorithm.
2001-12-29Don't hardcode the PKG_DBDIR value at package installation time.agc2-5/+5
Bump version to 1.11
2001-12-28Update "stunnel" package to version 3.22. Changes sinc version 3.21c:tron4-122/+30
- Format string bug fixed in protocol.c smtp, pop3 and nntp in client mode were affected. (stunnel clients could be attacked by malicious servers) - Certificate chain can be supplied with -p option or in stunnel.pem. - Problem with -r and -l options used together fixed. - memmove() instead of memcpy() is used to move data in buffers. - More detailed information about negotiated ciphers is printed. - New ./configure options: "--enable-no-rsa" and "--enable-dh".
2001-12-27suse_compat is built from emulators/suse_compat, not emulators/suse_base.jlam1-2/+2
2001-12-24Make PKGNAME match directory name.wiz1-2/+2
2001-12-21Update security/uvscan-dat to 4177. Changes from 4176 include yet morejlam2-5/+5
MS Windows virii/worms/trojans detected.
2001-12-19Add and enable mirrordiragc1-1/+2
2001-12-19Initial import of mirrordir-0.10.49 into the NetBSD packages collection.agc6-0/+112
Mirrordir is a suite of functions in one package. It contains the following programs: * pslogin: A remote login utility and daemon that provides a secure shell. This can be considered as a GPL replacement to Ssh. * copydir: A cp equivalent which additionally copies to and from ftp servers. Use it to upload and download via ftp and via mirrordir's secure daemon. Use it as a rigorous cp to correctly reproduce hardlinks, permissions and access times. * mirrordir: Mirrors filesystems over ftp or locally via a minimal set of changes. It is optimised for locally mirroring a device as an alternative to RAID devices. It duplicates file-systems in every detail, even correctly recreating hardlinks, devices and access times. It works well mirroring ftp sites that don't support ls-lR summaries. Mirrordir can take a C script to customise the kind of files to mirror based on their stat info, name, or other information. * recursdir: Pass a C script to recursdir to recursively perform operations on files. This is a fast and overkill equivalent of find. Taken from a suggestion by Jeff Sheinberg.
2001-12-19Updated to 1.12 (provided by Shell Hung in pkg/14992)martti2-5/+5
- Fixed a typo in proxy handling for Net::SSLeay::Handle - Fixed make test for wellsfargo
2001-12-17Add RCS Ids.wiz2-0/+2
2001-12-15Updated to 1.11 (provided by Shell Hung in pkg/14953)martti2-7/+7
Changes : - Add proxy support to Net::SSLeay::Handle - New maintainer
2001-12-14upgrade to 20011215a.itojun2-5/+5
- memory leaks has been plugged - retransmission logic has improved - 6144 DH MODP group
2001-12-13Update security/uvscan to 4.16.0 (using the 4160 engine). Changes fromjlam3-18/+24
version 4.14.0 are: - Support for ACE (WinACE) Archiver - Support for additional packers: PKLITE32, ELiTeWrap, Joiner, PEBundle, PEBundle Write-To-Disk, and tElock. - Support for newer versions of packers: Petite, ASPack, UPX, NeoLite, and PECompact. - Support for BZIP compression format - Support for additional LHA compression formats, LH6 and LH7 - Support for zcompress compression format - Support for PDF 5.0 files - Improved scanning for MIME formats - Support for Unicode and Unicode big-endian saved scripts - Support for Compiled Help files - Support for Microsoft Exchange internal data-transfer format - Support for Internet Message Connector (IMC) Archive format. - Support for uncompressed VBA in Visio files - Improved heuristic analysis for 32-bit Windows applications - Support for compressed RTF and HTML in Microsoft Outlook messages - Support for Script Component Type Libraries - Improved performance when scanning Windows 32 applications
2001-12-13Update security/uvscan-dat to 4176. Pkgsrc changes include using thejlam6-168/+83
general INSTALL scripts and checking in the update_dat script that the place to fetch the DAT files ends in a '/'. Changes include checking for even more Internet worms (includes goner).
2001-12-12Updated p5-Crypt-CBC to 2.01 (provided by Shell Hung in pkg/14917)martti4-45/+6
Changes : - Patches for foreign program compatibility, initialization vectors and padding methods from Jody Biggs <jody.biggs@paymybills.com> - Removed debugging code - Used Digest-MD5