summaryrefslogtreecommitdiff
path: root/security
AgeCommit message (Collapse)AuthorFilesLines
2005-02-11Update audit-packages to 1.33:agc2-8/+8
In download-vulnerability-list, first set the PKGVULNDIR, then create the directory if it doesn't already exist. Pointed out by Geert Hendrickx on tech-pkg@
2005-02-10Rearrange so that the MAINTAINER and HOMEPAGE are stored with thejlam2-6/+6
package Makefile instead of Makefile.common. Also, fix the HOMEPAGE for the courier-authlib component of the Courier package.
2005-02-10Add a buildlink3.mk file for use by other package Makefiles.jlam1-0/+18
2005-02-10Add and enable courier-authlib.jlam1-1/+2
2005-02-10Import courier-authlib-0.53 as security/courier-authlib.jlam10-0/+419
The Courier authentication library provides authentication services for other Courier applications. In this context, the term "authentication" refers to the following functions: 1. Take a userid or a loginid, and a password. Determine whether the loginid and the password are valid. 2. Given a userid, obtain the following information about the userid: A. The account's home directory. B. The numeric system userid and groupid that owns all files associated with this account. C. The location of the account's maildir. D. Any maildir quota defined for this account. See the Courier documentation for more information on maildir quotas. E. Other miscellaneous account-specific options. 3. Change the password associated with a loginid. 4. Obtain a complete list of all loginids.
2005-02-10Update security/openpam to 20050201 (Feterita). Changes from versionjlam4-17/+20
20040210 (Eelgrass) include: - BUGFIX: Correct numerous markup errors, invalid cross-references, and other issues in the manual pages, with kind assistance from Ruslan Ermilov <ru@freebsd.org>. - BUGFIX: Avoid multiple evaluation of macro arguments in ENTERX() and RETURNX() macros. - BUGFIX: Remove an unnecessary and non-portable pointer cast in pam_get_data(3). - BUGFIX: Fix identical typos in PAM_ACCT_EXPIRED case in pam_strerror(3) and gendoc.pl. - ENHANCE: Minor overhaul of the autoconf / build system. - ENHANCE: Add openpam_free_envlist(3).
2005-02-09Update fprot-workstation-bin to version 4.5.3.ben3-14/+14
This addresses PR#29271. Changes include: Version 4.5.3 adds a new commandline switch to f-protd, '-fullreport' and new possible summary codes (see man page for details). Version 4.5.2 is a bugfix release; f-protd would misidentify .pdf files and block them from being delivered. Version 4.5.1 is a bugfix release to fix a bug in scan-mail.pl where scan-mail.pl would exit after first scan request on some unix platforms, because of differing signal mechanism between BSD and SysV Version 4.5.0 contains various bugfixes and improvements to the documentation and software. o check-updates.pl has been modified. It now identifies itself with a unique user-agent string containing information on OS, kernel and architecture. o contains a major overhaul of the virus scanning engine (new engine version 3.16.1). These changes improve its detection capabilities. The engine can now better detect and handle executable packers, often used by malware authors to conceal malicious code. o includes a more generic JPEG GDI+ exploit detection o includes EMF/WMF image format exploit detection o encrypted executables inside archives are now reported as "could be a suspicious file (encrypted program in archive)", previously reported as "could be a security risk". o The argument switch "-archive" has been changed to support the form "-archive=n" where n is a non-negative integer. This causes f-prot to scan only n levels deep into nested archives of supported types in order to protect against 'arhcive-bombs'. The old form "-archive" is still supported, although depreciated, and implies n==5. See the man page for details. o Minor modifications in the DTD for the f-prot daemon XML. o Bugfix where f-prot would return IO_ERROR when attempting to scan unsupported partial archive files, e.g. .z01 files o Improved RAR support. F-Prot fully supports rar versions 1.5, 2.0 and 2.6 and partially supports rar 2.9 (doesn't support RAR Virtual Machine and the PPM model features)
2005-02-09Disable gnupg's new iconv code on platforms that have problems with itmarkd1-1/+5
in the default locale (NetBSD < 2.0 and Solaris). OK'ed by wiz. Fixes PR pkg/28895.
2005-02-07Instantly deprecate USE_PAM from pkgsrc as its value is being set fromjlam2-6/+14
within NetBSD-current's bsd.own.mk, which conflicts with its usage in pkgsrc. The package that use USE_PAM have been converted to use the bsd.options.mk framework. This should fix PR pkg/29257.
2005-02-05Fix BUILDLINK_DEPENDS.libnet for bulk-buildsadrianp2-4/+4
2005-02-02Modify openssl/Makefile so that it's easier to test the -STABLE andjlam1-6/+22
-SNAP OpenSSL snapshots.
2005-02-01Updated keychain to 2.5.1martti2-5/+5
Don't accidentally inherit a forwarded agent when inheritwhich=local-once. Move the --stop warning after the version splash. Add inheritance support via --inherit. Add parameters to --stop for more control. Change the default behavior of keychain to inherit if there's no keychain agent running ("--inherit local-once"), and refrain from killing other agents unless "--stop others" is specified.
2005-02-01Update to 2.2.1, provided by the maintainer, Julian Dunn, in PR 29183.wiz2-6/+5
Release notes: December 22, 2004 amavisd-new-2.2.1 release notes SECURITY: - add support for the pax(1) archive decoder, which can handle tar/cpio/pax archives (including legacy format variants). Due to limitations in cpio (and in Archive::Tar), for security reasons it is preferred to decode such archives with pax and no longer with cpio; please add a line: $pax = 'pax'; to amavisd.conf and verify that the program pax is installed on the system (and in the jail if running in chroot); - perform additional tests at startup time on the proper protection of the configuration file; - add file name extensions wmf, emf and grp to the example list of banned extension, according to recent Microsoft security bulletins; suggested by Stephane Lentz; - introduces 'clean but inconclusive' av scanner result to avoid a specialized or quick partial av scanner like jpeg checker to claim mail is clean when all other general purpose av scanners fail (see below); INCOMPATIBILITY: - removed some legacy $*_ldap variables, as they are no longer needed; These variables were still declared but ignored in 2.2.0 for compatibility with older amavisd.conf files. Such variables need to be removed from the amavisd.conf if they are still present there from older versions, otherwise Perl will complain with 'Global symbol ... requires explicit package name"; OTHER FIXES: - files_to_scan and decompose_mail are now able to remove unexpected directories which may have been left behind by some failed decoding and were causing temporary failures and mail delivery retries; error recovery problem after failed unarj reported by Ralf Hildebrandt; - error recovery code in files_to_scan and rmdir_recursively now tries to change protection on directories and files, and retry if the first attempt to access them fails because of denied permission; - pre-load some additional Perl modules needed by SA when running in chroot; - add module Net::LDAP::Search to a list of pre-fetched modules; omission pointed out by Paul Jacobson; - when quarantining is disabled by keeping $QUARANTINEDIR undefined, the log entry and administrator notification message inappropriately suggested that mail was quarantined, which in fact (appropriately) it was not. Setting $QUARANTINEDIR='' did work as expected. Reported by Sascha Lucas; - avoid the use of Encode::is_utf8 due to a Perl bug (still present in 5.8.5) where Encode::is_utf8 on tainted utf8 character string produces false; - modify safe_encode() to guarantee the result is a string of octets, not a string of UTF-8 characters; it saves some unnecessary work in further processing and keeps MIME::Entity from UTF swamp when running in chroot; problem pointed out by Branko F. Gracnar; - avoid braindead Perl default where an empty regexp implies the last successfully matched regexp, which (if not being very careful) brings in some completely unrelated last-executed regular expression; - change kill 'TERM' into kill 'KILL' when a forked process within run_command and run_command_consumer gets into deep trouble, to avoid exit handlers being invoked in the subprocess (which could lead to two processes trying to clean the same set of temporary files); - in an old sendmail setup using the amavis(.c) helper program without LDA arguments, avoid inappropriate warning: "WARN: no recips left (forgot to set $forward_method=undef using milter?) and return status 0 instead of 99 when message is to be blocked, as the helper program amavis(.c) does not recognize status 99 in this situation and inappropriately passed it on to sendmail; reported by The Mindflayer; - the @bypass_header_checks_maps is now able to also bypass the bad header checks as provided by MIME::Parser; inconsitency reported by CRivera; - avoid some Perl warning messages; thanks to Bill Landry; CHANGES AND MINOR NEW FEATURES: - add configuration variable @newvirus_admin_maps (and $newvirus_admin, along with corresponding SQL field 'newvirus_admin') which works like the existing @virus_admin_maps (and $virus_admin), except that it sends virus administrator notification to specified e-mail address only for newly encountered viruses which have not yet been encountered since the amavisd startup. It makes use of by-virusname counters in the SNMP counters database. If more than one child process starts working on infected message containing a not-yet-accounted-for virus, there might be more than one 'first time' notification, this is not a malfunction. Both the @newvirus_admin_maps and the @virus_admin_maps may be enabled, each (possibly both) would receive their notifications as appropriate. A useful setting is to globally enable only the new virus notifications, and additionally enable _all_ administrator notifications for internally originating mail only (by the use of policy banks); - provide separate configuration variables @banned_admin_maps and @bad_header_admin_maps, along with corresponding SQL fields 'banned_admin' and 'bad_header_admin'; their function was previously covered by @virus_admin_maps, which now only still controls administrator notifications in case of viruses; - introduces 'clean but inconclusive' av scanner result to avoid a specialized or quick partial av scanner like jpeg checker to claim mail is clean when all other general purpose av scanners fail: in av scanner entries (lists @av_scanners and @av_scanners_backup) give an extended meaning to undefined fourth argument (the 'match for clean' list or regexp). The interpretation of the fourth argument is now: 4. an array ref of av scanner exit status values, or a regexp (to be matched against scanner output), indicating NO VIRUSES found; a special case is a value undef, which does not claim file to be clean (i.e. it never matches, similar to []), but suppresses a failure warning; to be used when the result is inconclusive (useful for specialized and quick partial scanners such as jpeg checker); Also modified example jpeg checker entry in amavisd.conf accordingly. - NOD32 av scanner: changed @av_scanners entry to match the new version of the scanner; thanks to Nejc Skoberne; - added @av_scanners entry for File::Scan; - when preparing a SQL SELECT clause for white/blacklisting lookup, take into account a relative position of ? and %k in the $sql_select_white_black_list template to improve flexibility of specifying the clause; suggested by Matt Petteys; - reduce the log level of some more common and harmless log messages; - macro %p and the log entry now reports full policy bank path, not just the last loaded policy bank name; - added LDAP attributes amavisWarnVirusRecip, amavisWarnBannedRecip, and amavisWarnBadHeaderRecip; by Joel Nimety and Michael Hall; - renamed LDAP attribute name amavisSpamModifiesSubject to amavisSpamModifiesSubj in order to match the documented LDAP schema; noticed by Kees Bos, patch by Michael Hall; - add support for ripOLE decoder, which attempt to extract embedded documents from MS OLE documents (MS Office) (http://www.pldaniels.com/ripole/, by Paul L Daniels)); ripOLE is still experimental/alpha code; To be make amavisd-new find the installed program 'ripole', add the: $ripole = 'ripole'; to the amavisd.conf; suggested by David Wilson and Noel Jones; - allow multiple occurrences of command line option: -c config_file and execute the provided configuration files one after the other; based on a subset of functionality provided as a patch by Davor Ocelic; - a slight improvement (in default $map_full_type_to_short_type_re) in classifying mpeg and some other multimedia files; - several minor code cleanups; - add a recommendation by Daniel J McDonald to a documentation file INSTALL: If different UID is preferred for an AV scanner, a solution for ClamAV is to add user clamav to the amavis group, and then add AllowSupplementaryGroups to clamd.conf; - enclosed a simple demonstrational Perl program amavis.pl, which is functionally much like the amavis.c helper program, but talks the new AM.PDP protocol with the amavisd daemon. See README.protocol for the description of AM.PDP protocol. To be placed in amavisd.conf: $protocol='AM.PDP'; $unix_socketname='/var/amavis/amavisd.sock'; Usage: amavis.pl sender recip1 recip2 ... < message.txt - documentation updates;
2005-01-30Commit some fixes from the maintainer:wiz3-6/+7
python-2.4 is not usable for this package. The python wrapper scripts' names have changed, adapt patch-aa. Bump PKGREVISION.
2005-01-30Remove "--disable-setreuid" -- the configure scripts seems to havekim1-3/+3
adequate logic for determining when to use setreuid. This makes sudoedit work on NetBSD again. Closes PR pkg/28998
2005-01-28Force all current packages using the libnet 1.0.x tree to use aadrianp2-2/+6
verision of libnet <= 1.0.1b. This will prevent the case where the user has installed the libnet 1.1.x branch and then tries to install an application that is not compatible with the 1.1.x tree. Over time the list of these applications that require the 1.0.x branch will be reduced as they are updated to later versions that support the libnet 1.1.x branch. This addresses PR# 29056 opened by diro (at) nixsys.bz, thanks for the PR !
2005-01-28Oops, make sure to bump PKG_REVISION.taca1-1/+2
2005-01-28Add RUBY_HAS_ARCHLIB which have machine dependent extention libraries.taca2-2/+5
Bump PKG_REVISION.
2005-01-27Changes 0.2.13:adam3-9/+31
- Version number in libtasn1.h updated properly. Changes 0.2.12: - Manual converted to Texinfo format. - Manual in GTK-DOC and DevHelp formats added. - Man pages for all functions added. - Various internal cleanups.
2005-01-23Build Python with thread support by default and turn the existingrecht3-6/+6
python*-pth packages into meta-packages which will install the non-pth packages. Bump PKGREVISIONs on the non-pth versions to propagate the thread change, but leave the *-pth versions untouched to not affect existing installations. Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23Update to Ruby 1.8.2 base and thses changes:taca1-3/+3
o Use Ruby's version instead of its own (old) version.
2005-01-23Update Ruby 1.8.2.taca1-1/+2
This is basically bug fix release, but official changes aren't provided yet. Please refer ChangeLog. Here is pkgsrc changes: o Set RUBY_HAS_ARCHLIB=yes for Ruby packages including archtecture depending extention library in order to depend more specific Ruby. o Now install database for ri(1). Fix PR pkg/28566. o Net::IMAP * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546] o NKF: * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static variables. fixed: [ruby-list:40445] * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to 0xfe. * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16 properly. o WEBrick * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload): raise NotImplementedError if password is encrypted by digest algorithms. This patch is contributed by sheepman. [ruby-list:40467] * lib/webrick/httpauth/digestauth.rb (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation. This patch is contributed by sheepman. [ruby-list:40482] * lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use pack/unpack-template char "m" instead of lib/base64.rb to do base64 encoding/decoding. fixed: [ruby-dev:25336]
2005-01-23Fix homepage, pointed out by Jeremy C. Reed.peter1-2/+2
2005-01-22Renamed tls to tcl-tls.peter1-2/+2
2005-01-22Reimported as security/tcl-tls.peter8-93/+0
2005-01-22Reimport as security/tcl-tls, suggested by Christoph Badura.peter8-0/+93
TLS (aka SSL) Channel - can be layered on any bi-directional Tcl_Channel. Both client and server-side sockets are possible, and this code should work on any platform as it uses a generic mechanism for layering on SSL and Tcl.
2005-01-22Note addition of tinyca-0.6.7adrianp1-1/+2
2005-01-22TinyCA is a simple graphical userinterface written in Perl/Gtk to manage aadrianp4-0/+75
small CA (Certification Authority). TinyCA works as a frontend for openssl. This is tinyca-0.6.7
2005-01-22Pass -DSYSCONFDIR="$sysconfdir" in the Makefile instead of the configurejlam4-15/+17
script to avoid bizarre quoting problems within the configure script. This also fixes the definition of SYSCONFDIR in the compiled library. Bump the PKGREVISION to 1.
2005-01-22Fix C99-isms to make this pkg build with gcc 2.95.kristerw1-2/+2
2005-01-22Make tct build and run on NetBSD 2.0 and bump PKGREVISION.ben16-82/+190
This does not add support for ffsv2 filesystems nor superblocks. This addresses PR#28357.
2005-01-22Add tls.peter1-1/+2
2005-01-22Initial import of tls-1.5.0 into the NetBSD Packages Collection.peter8-0/+93
TLS (aka SSL) Channel - can be layered on any bi-directional Tcl_Channel. Both client and server-side sockets are possible, and this code should work on any platform as it uses a generic mechanism for layering on SSL and Tcl.
2005-01-19really depend on nessus-libraries>=2.2.2a since >=2.2.0 does not workfrueauf1-2/+2
on alpha as seen in pr pkg/28969. libnasl 2.2.2a needs nessus-libraries 2.2.2a to compile properly.
2005-01-19Add patch for libnessus/share_fd.c to compile with gcc shipped withfrueauf2-1/+19
NetBSD 1.5.4_ALPHA (missing __func__ definition).
2005-01-19Remove nb1 from version as pointed out by Bernd Ernesti.frueauf1-3/+3
2005-01-18Do a "flush all" in the stop command. From Miles Nordin.peter1-2/+2
2005-01-18Update to 20050118.peter2-6/+5
Changes: * Updated the ALTQ patch, now works correctly on NetBSD 2.0 release. Thanks to Miles Nordin for helping and testing. * Write struct "pcap_sf_pkthdr" instead of "pcap_pkthdr". Fixes an LP64 specific problem with reading the pflog with tcpdump(8). * Applied patch to pf.c from OPENBSD_3_6 branch: ICMP state entries use the ICMP ID as port for the unique state key. When checking for a usable key, construct the key in the same way. Otherwise, a colliding key might be missed or a state insertion might be refused even though it could be inserted. The second case triggers the endless loop fixed by 1.474, possibly allowing a NATed LAN client to lock up the kernel. Report and test data by Srebrenko Sehic. * Applied patch to pf_lkm.c from NetBSD HEAD: pfil4_wrapper: clear M_CANFASTFWD which is not compatible with pf. * Applied patch to pf_ioctl.c from OPENBSD_3_6 branch: replace finer-grained spl locking in pfioctl() with a single broad lock around the entire body. this resolves the (misleading) panics in pf_tag_packet() during heavy ioctl operations (like when using authpf) that occur because softclock can interrupt ioctl on i386 since SMP. * Applied patch to pf.c from OPENBSD_3_6 branch: IPv6 packets can contain headers (like options) before the TCP/UDP/ICMP6 header. pf finds the first TCP/UDP/ICMP6 header to filter by traversing the header chain. In the case where headers are skipped, the protocol checksum verification used the wrong length (included the skipped headers), leading to incorrectly mismatching checksums. Such IPv6 packets with headers were silently dropped. Reported by Bernhard Schmidt. * Applied patch to pfctl_optimize.c from OPENBSD_3_6 branch: &&/|| inversion would try to merge IP addresses with non-addresses into a single table causing a ruleset load error and eventually a double-free. * Applied patch to pf.c from OPENBSD_3_6 branch: Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN, prevents a possible endless loop in pf_get_sport() with 'static-port' * Fix to if_events.diff from Miles Nordin <carton at Ivy dot NET>: Call free after removing the element from the list, not before. Fixes panic with "unaligned access" on Alpha.
2005-01-18update to 0.44drochner5-25/+49
changes: -IPv6 support -client added -bugfixes XXX dropbear wants to use /dev/random per default now which makes it unusable on systems w/o entropy source. I've patched it back to /dev/urandom. There might be security concerns.
2005-01-18It's not very useful to include <sys/select.h> in only one source filetv3-1/+36
when other source files depend on fd_set being defined in a local header. (Required on Interix, which does not expose <sys/select.h>/<sys/time.h> automagically via other system headers as some OS's do by default.)
2005-01-18when building with SunPro on x86, do not use -fast argument to cc(1)grant2-4/+13
because: - its behaviour changes between releases - it uses build-host specific instructions where possible, specifically on >= Solaris 9 update 6 and Sun Studio 9 (sse, sse2) this breaks using the binary pkg when installed on systems with a less capable processor. instead, just use -xO5 so the binary pkg will work everywhere.
2005-01-17Update to release 1.9.15. This is a bug fix release.shannonjr3-25/+12
2005-01-17OpenPAM doesn't really need perl during the build... it's only therejlam1-3/+4
to regenerate some documentation files, but the regen is unnecessary. Fix the post-tools target that created a dummy perl -- it was failing because ${TRUE} may not be an actual executable (it could be a shell builtin) and thus symlinking to it may not work.
2005-01-17According to the bulk builds, this needs perl;wiz1-1/+2
add USE_PERL5=build.
2005-01-14Upgrade to 2.3adrianp3-70/+469
- Complete overhaul of the Framework payload collection + Win32 ordinal-stagers are now included (92-byte reverse connect) + A handful of new sparc payloads have been added (sol, linux, bsd) + Reliability problems have been resolved in bsd, linux, and win32 + New udp-based linux shell stagers and shell payloads + New size-optimized Mac OS X encoders and payloads - Includes the win32 version of the Meterpreter + Dynamically load new features over the network w/o disk access + In-memory dll injection of the basic meterpreter shell + Current extensions include Fs, Process, Net, and Sys + Extensive documentation is available online: * http://metasploit.com/projects/Framework/docs/meterpreter.pdf - Complete rewrite of the 'msfweb' user interface + Generate and encode stand-alone shellcode from the web interface + The interface is skinnable and includes three different themes + Streaming HTTP is used to provide a 100% web-based shell + Ability to set advanced options in the web interface - Massive speed enhancements in msfconsole and msfweb + Snappier response and quicker load times on older systems + Optimizations made to various sort/search algorithms + Modules are no longer reloaded after each exploit - New exploits + Microsoft WINS Service Memory Overwrite (MS04-045) + Samba trans2open() Buffer Overflow (Mac OS X) + 4D WebSTAR FTP Server Buffer Overflow (Mac OS X) + Veritas Name Service Registration Buffer Overflow + AOL Instant Messenger 'goaway' Buffer Overflow + IPSwitch IMail IMAPD 'delete' Buffer Overflow + Seattle Labs Mail Server POP3 Buffer Overflow + UoW IMAPD Buffer Overflow (sparc, ia32) + IRIX lpdsched Remote Command Execution + CDE dtspcd Buffer Overflow (Solaris) + IIS 4.0 ism.dll HTR Buffer Overflow + IIS w3who.dll ISAPI Buffer Overflow
2005-01-14- Updated to v1.0 (No CHANGELOG available)adrianp5-28/+82
- Use options.mk framework for python and rrdtool support
2005-01-14Re: pkg/28968: pinentry breaks on buildshannonjr1-1/+3
Added dependancy on libconv to fix breakage reported on NetBSD 1.6.2 alpha
2005-01-14Changes 1.2.1:adam3-30/+9
* Portability fixes, memory allocation fixes and other minor things. * Support to build as a W32 static library. * Changed the way the RNG gets initialized. This allows to keep it uninitialized as long as no random numbers are used. To override this, the new macro gcry_fast_random_poll may be used. It is in general a good idea to spread this macro into the application code to make sure that these polls happen often enough.
2005-01-14- Update to 1.7adrianp3-7/+25
- Add bl3 and openssl support - Fix paths in man pages - Install extra documentation - Remove un-needed options from pkgsrc Makefile Lots of changes/bugfixes from 1.6 including: psk-crack.c: New program to crack Aggressive Mode Pre-Shared Keys using dictionary attack. This uses the output from "ike-scan -P" together with a dictionary.
2005-01-14Modify linux-pam and solaris-pam builtin.mk files to be more generaljlam1-18/+19
in their tests for built-in versions of the PAM implementations. The MacOS X case now collapses nicely into the linux-pam case. Allow pam.buildlink3.mk to use solaris-pam as an accepted PAM implementation.