Re: libz.so no found
On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: kv_bsd#cd /usr/ports/distfiles kv_bsd#mv /usr/home/kayve/Nessus-3.2.0-fbsd7.tbz . kv_bsd#pkg_add Nessus-3.2.0-fbsd7.tbz pkg_add: package VisualOS-1.0.5_3 has no origin recorded /libexec/ld-elf.so.1: Shared object libz.so.4 not found, required by nessusd First and foremost, you hijacked an existing thread by replying to it with regards to a completely different issue. Please don't do this, it confuses mail clients which follow thread references. Please don't hit reply on unrelated messages and start a new/unrelated discussion. Secondly, the missing library error shown above would happen on machines running FreeBSD 6.x or earlier. /lib/libz.so.4 exists on RELENG_7. Another possibility is that something completely destroyed ld.so's shared library cache path. Of course, you'd be seeing all sorts of programs reporting missing libraries, and not just nexxus. If the startup script for nessus calls ldconfig or uses $LD_LIBRARY_PATH, that could explain the missing library. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hifn 7955 doesn't work with Freebsd 7.0-release
0n Wed, May 21, 2008 at 08:19:26PM -0700, Sam Leffler wrote: Unfortunately openssl doesn't use the accelerator by default. This means all apps that use openssl likewise are not automatically accelerated. I suggested a patch but it was not accepted. I can't recall how you force openssl and/or consumers to use the device. How annoying is that. Why wasn't the patch accepted ? -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
A Tale of Four Kernels...
Some may be interested in this. http://www.spinellis.gr/pubs/conf/2008-ICSE-4kernel/html/Spi08b.pdf -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A Tale of Four Kernels...
Wilkinson, Alex wrote: Some may be interested in this. http://www.spinellis.gr/pubs/conf/2008-ICSE-4kernel/html/Spi08b.pdf -aW Interesting study; thanks for posting. frase signature.asc Description: OpenPGP digital signature
Re: Kerberized CIFS client?
Derek Taylor wrote: This question was previously posed of the freebsd-questions list, but with no response for a week, I'd like to try my luck here. If there's any more information I should include, please speak up: I would be glad to oblige. I would like to use smb/cifs with kerberos auth, but mount_smbfs doesn't seem to support this. Is anyone aware of an alternate means of performing a mount via smb/cifs or any patches to provide such functionality? I already have smbclient working with -k, but I am also interested in a mount. Try smbnetfs from ports. It's fuse based and seems to work very nice. If you have a large amount of shares floating in your network you want to restrict it to mount only the needed shares via the config file. Otherwise it will mount what it can find... It plays nicely with kerberors. When your ticket expires you immediately loose access; when you renew it you gain access again. All without the need to unmount/mount. Just call smbnetfs once you have your ticket. You may even do this from your .profile. harti ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Maximum memory allocation per process
Hi Guys I have a problem with a perl script running out of memory. From my googling I have found that perl itself does not seem to impose any memory limits, and I have check ulimit and login.conf for any userclass limitations but found nothing that seems to be limiting my memory. I have 128MBytes of RAM and a 2Gbyte swap partition. I am currently running FreeBSD albert 6.2-STABLE FreeBSD 6.2-STABLE #11: Sun Sep 2 00:45:05 EST 2007 which I guess isn't exactly the latest... but the same thing happens on my REL7.0 Box The process (imapsync in this case) runs out of ram at pretty much 512MB. I read on a forum that BSD 6 imposes such a limit of 512MB per process, but i have found no where to tune this, or even see what it is. I have also read that there are two sysctl namely, kern.maxdsiz and kern.maxssiz, that can tune memory allocation but what happend to them in Freebsd 6. Your help is appreciated Adrian ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Maximum memory allocation per process
On Thu, May 22, 2008 at 11:00:37PM +1000, Adrian Thearle wrote: I have a problem with a perl script running out of memory. From my googling I have found that perl itself does not seem to impose any memory limits, and I have check ulimit and login.conf for any userclass limitations but found nothing that seems to be limiting my memory. I have 128MBytes of RAM and a 2Gbyte swap partition. I am currently running FreeBSD albert 6.2-STABLE FreeBSD 6.2-STABLE #11: Sun Sep 2 00:45:05 EST 2007 which I guess isn't exactly the latest... but the same thing happens on my REL7.0 Box The process (imapsync in this case) runs out of ram at pretty much 512MB. I read on a forum that BSD 6 imposes such a limit of 512MB per process, but i have found no where to tune this, or even see what it is. You need to modify some kernel settings via /boot/loader.conf and reboot. Here's what we use on our production RELENG_6 and RELENG_7 boxes: # Increase maximum allocatable memory on a process to 2GB. # (We don't choose 3GB (our max RAM) since that would # exhaust all memory, and result in a kernel panic.) # Set default memory size as 768MB. # Maximum stack size is 256MB. # kern.maxdsiz=2048M kern.dfldsiz=768M kern.maxssiz=256MB I have also read that there are two sysctl namely, kern.maxdsiz and kern.maxssiz, that can tune memory allocation but what happend to them in Freebsd 6. These are not sysctls, they are kernel settings. They exist on both RELENG_6 and RELENG_7. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I translate IP to hostname in C
Hi,guys I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... s.o.s -Fabonacc ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I translate IP to hostname in C
On Thu, 22 May 2008, John Timony wrote: Hi, I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You mean like gethostbyaddr()? See also http://www.unixguide.net/network/socketfaq/2.24.shtml for further inspiration on this but slightly different topic. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
ATA patch for RELENG_6
I got this patch a while ago and I don't see it appearing in RELENG_6 yet. Can someone sheperd this along or point out why it's not acceptable? This patch was generated by a failure to boot correctly off of a compact flash IDE module from Transcend. Index: dev/ata/ata-chipset.c === --- dev/ata/ata-chipset.c (.../FreeBSD_RELENG_6_13APR07/src/sys) (revision 5436) +++ dev/ata/ata-chipset.c (.../miralink.FreeBSD.6/src/sys) (revision 5436) @@ -2059,7 +2059,8 @@ atadev-mode = ATA_SA150; } else { - mode = ata_limit_mode(dev, mode, ATA_UDMA5); + /*mode = ata_limit_mode(dev, mode, ATA_UDMA5);*/ + mode = ata_check_80pin(dev, ATA_UDMA5); if (!ata_controlcmd(dev, ATA_SETFEATURES, ATA_SF_SETXFER, 0, mode)) atadev-mode = mode; } -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libz.so no found
On Wed, 21 May 2008, Jeremy Chadwick wrote: On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: kv_bsd#cd /usr/ports/distfiles kv_bsd#mv /usr/home/kayve/Nessus-3.2.0-fbsd7.tbz . kv_bsd#pkg_add Nessus-3.2.0-fbsd7.tbz pkg_add: package VisualOS-1.0.5_3 has no origin recorded /libexec/ld-elf.so.1: Shared object libz.so.4 not found, required by nessusd First and foremost, you hijacked an existing thread by replying to it with regards to a completely different issue. Please don't do this, it confuses mail clients which follow thread references. Please don't hit reply on unrelated messages and start a new/unrelated discussion. i don't know wtf you are talking about these are all my threads. Secondly, the missing library error shown above would happen on machines running FreeBSD 6.x or earlier. /lib/libz.so.4 exists on RELENG_7. i am still on freeBSD 6.3 is this a serious problem? Another possibility is that something completely destroyed ld.so's shared library cache path. Of course, you'd be seeing all sorts of programs reporting missing libraries, and not just nexxus. so running freeBSD 6.3 is a fatal problem, or just extraneously irrelevant? If the startup script for nessus calls ldconfig or uses $LD_LIBRARY_PATH, that could explain the missing library. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libz.so no found
On May 22, 2008, at 10:19 , KAYVEN RIESE wrote: On Wed, 21 May 2008, Jeremy Chadwick wrote: On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: kv_bsd#cd /usr/ports/distfiles kv_bsd#mv /usr/home/kayve/Nessus-3.2.0-fbsd7.tbz . kv_bsd#pkg_add Nessus-3.2.0-fbsd7.tbz You are running on FreeBSD 6.3 and you are trying to add a package that clearly has fbsd7 in the name. Off course it is not going to work. pkg_add: package VisualOS-1.0.5_3 has no origin recorded /libexec/ld-elf.so.1: Shared object libz.so.4 not found, required by nessusd First and foremost, you hijacked an existing thread by replying to it with regards to a completely different issue. Please don't do this, it confuses mail clients which follow thread references. Please don't hit reply on unrelated messages and start a new/unrelated discussion. i don't know wtf you are talking about these are all my threads. You clicked reply, or something along those lines on a previous message sent to the mailling list, thereby copying over some crucial information into the header of said email: In-Reply-To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] For mail clients that do threading, and show the conversation more as one would expect on a message board, your emails now look as if they belong underneath the topic named Hifn 7955 doesn't work with FreeBSD 7.0-RELEASE, which is annoying to most of us who would want your messages to show up in a new thread context. Next time, please just email hackers@ directly, and do not hi-jack the thread. Also, it is generally considered rude to suggest that you don't know what someone is talking about using the wtf. We point the hi-jacking out so that the mistake does not re-occur. Please refrain from such rudeness when people are attempting to help you. Secondly, the missing library error shown above would happen on machines running FreeBSD 6.x or earlier. /lib/libz.so.4 exists on RELENG_7. i am still on freeBSD 6.3 is this a serious problem? If you want to use the package you are using, yes. Since that package is clearly for FreeBSD 7. Another possibility is that something completely destroyed ld.so's shared library cache path. Of course, you'd be seeing all sorts of programs reporting missing libraries, and not just nexxus. so running freeBSD 6.3 is a fatal problem, or just extraneously irrelevant? Fatal, sure, especially if you want to use that package. If the startup script for nessus calls ldconfig or uses $LD_LIBRARY_PATH, that could explain the missing library. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http:// www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I translate IP to hostname in C
John Timony wrote: Hi,guys I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You could use gethostbyaddr(3), but those traditional functions have been replaced with more flexible versions such as getnameinfo(3) on newer systems. There's a good introduction to modern sockets programming at http://people.redhat.com/drepper/userapi-ipv6.html -- Bruce Cran ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I translate IP to hostname in C
On Thu, May 22, 2008 at 04:14:46PM +, Bjoern A. Zeeb wrote: On Thu, 22 May 2008, John Timony wrote: Hi, I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You mean like gethostbyaddr()? See also http://www.unixguide.net/network/socketfaq/2.24.shtml for further inspiration on this but slightly different topic. You can also use the newer getaddrinfo(3)/freeaddrinfo(3). I think it is bit easier to use and can it transparently handle inet6 addresses as well. The only downside is that some rare old systems don't support it. On FreeBSD it is suppoorted since FreeBSD-4, but some commerical OS implemented it later. -- B.Walter [EMAIL PROTECTED] http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I translate IP to hostname in C
On Thu, May 22, 2008 at 07:30:45PM +0100, Bruce Cran wrote: John Timony wrote: Hi,guys I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You could use gethostbyaddr(3), but those traditional functions have been replaced with more flexible versions such as getnameinfo(3) on newer systems. There's a good introduction to modern sockets programming at http://people.redhat.com/drepper/userapi-ipv6.html Ups - yes that's what I ment in my mail. I wrote getaddrinfo, which is the other direction... -- B.Walter [EMAIL PROTECTED] http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libz.so no found
On Thu, 22 May 2008, Bert JW Regeer wrote: On May 22, 2008, at 10:19 , KAYVEN RIESE wrote: On Wed, 21 May 2008, Jeremy Chadwick wrote: On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: i don't know wtf you are talking about these are all my threads. You clicked reply, or something along those lines on a previous message sent to the mailling list, thereby copying over some crucial information into the header of said email: In-Reply-To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] For mail clients that do threading, and show the conversation more as one would expect on a message board, your emails now look as if they belong underneath the topic named Hifn 7955 doesn't work with FreeBSD 7.0-RELEASE, which is annoying to most of us who would want your messages to show up in a new thread context. Next time, please just email hackers@ directly, and do not hi-jack the thread. okay, so I don't have a shortcut key for freeBSD-hacker.. I went into my freeBSD saved box, grabbed the first email, replied to all, deleted everything including the subject, and despite having revised the subject, your sooperphreekiness found out I was muddling around in the deally bobber? Is that what you are talking about then? So in the future, I should know that editing the subject line will not suffice to make a new thread? If so, sorry. I get it now. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]