Kaffeine: Loading of player part 'XinePart' failed
Up until a few days ago I had no problems and Kaffeine was able to play whatever I threw at it .. now .. after upgrading to version 0.8.7 (under KDE 3.5.10), no matter what I try to open, I always get a Loading of player part 'XinePart' failed error message widget ... Here's the output: [EMAIL PROTECTED] ~]% kaffeine testing.ogg kaffeine: No DVB device found. kaffeine: PLAYLIST kaffeine: PlayList: add 1 items to playlist kaffeine: PlayList: Check for kaffeine/noatun/m3u/pls/asx playlist kaffeine: PlayList: Try loading kaffeine playlist kaffeine: PlaylistImport: kaffeine: /usr/home/gonzalo/.kde/share/apps/kaffeine/playlists/NEW.kaffeine kaffeine: Window manager: KWin found kaffeine: Kaffeine:: Try to load service: xine_part kaffeine: This is a KaffeinePart... kaffeine: XinePart: Creating new XinePart... kaffeine: XinePart: Using xine-config file: kaffeine: KXineWidget: Using default config file ~/.xine/config kaffeine: PlayList: add 1 items to playlist kaffeine: XinePart::openURL(): /usr/home/gonzalo/testing.ogg kaffeine: XinePart: Got single track kaffeine: XinePart::slotPlay() kaffeine: KXineWidget: Using xine version 1.1.14 kaffeine: KXineWidget: Post-init xine engine kaffeine: KXineWidget: Use audio driver auto kaffeine: KXineWidget: Use video driver auto kaffeine: KXineWidget: Init video driver kaffeine: XinePart: destructor kaffeine: XinePart destructor: calling saveConfig() kaffeine: KXineWidget: wireAudioFilters() - xine stream not initialized, nothing happend. kaffeine: KXineWidget: wireVideoFilters() - xine stream not initialized, nothing happend. kaffeine: KXineWidget: Shut down xine engine kaffeine: KXineWidget: Set CD/VCD/DVD path back kaffeine: KXineWidget: Save xine config to: /home/gonzalo/.xine/config kaffeine: KXineWidget: Close xine engine kaffeine: KXineWidget: Close xine display kaffeine: KXineWidget: xine closed [EMAIL PROTECTED] ~]% kaffeine: Kaffeine: destructor [EMAIL PROTECTED] ~]% uname -sr FreeBSD 7.0-RELEASE [EMAIL PROTECTED] ~]% kaffeine -v Qt: 3.3.8 KDE: 3.5.10 Kaffeine Player: 0.8.7 [EMAIL PROTECTED] ~]% locate xine_part /usr/local/include/kaffeine/xine_part.h /usr/local/include/kaffeine/xine_part_iface.h /usr/local/share/apps/kaffeine/xine_part.rc /usr/local/share/services/xine_part.desktop [EMAIL PROTECTED] ~]% Any help will be greatly appreciated :) Thanks! -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 2 logical interfaces in same subnet, problems...
Dear Andy, it didnt specify if there could be more than one alias per interface I have a machine with over 300 IP on a single interface :) Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7.1 BETA and update to RELEASE
Hi all, I tried to install FreeBSD 7.0 on my computer but my NIC was not supported, so finally I didn't install it. Yesterday I tried 7.1 Beta bootinst and the network card was recognized during the installation. I was planning to install 7.1 Beta now, but I have some questions: - Is it difficult/painful to update from 7.1 Beta to 7.1 Release when it comes available? - Should I expect big problems? - Is 7.1 Beta stable enough? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.1 BETA and update to RELEASE
Fernando Apesteguía wrote: Hi all, I tried to install FreeBSD 7.0 on my computer but my NIC was not supported, so finally I didn't install it. Yesterday I tried 7.1 Beta bootinst and the network card was recognized during the installation. I was planning to install 7.1 Beta now, but I have some questions: - Is it difficult/painful to update from 7.1 Beta to 7.1 Release when it comes available? No - Should I expect big problems? Probably not. - Is 7.1 Beta stable enough? Can't say definitively based on presented information. However, it does sound as if you are in a situation where you don't really have a choice: If you really want FreeBSD, and you know 7.0-Release isn't working, then give 7.1 Beta a try. If you do experience problems you can be helpful to the community in general by filing PR(s). The purpose of the Beta and Release Candidate issues are a final shakedown in preparation for labeling something a Release. If the Beta installs and runs successfully you won't have any problem updating the system when 7.1-Release makes it out the door. I'd be willing to bet the probability is pretty high you'll have no trouble. The biggest caveat there being the hardware you're trying to install it on. Give it a go, see what happens. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to split a C string by a string?
Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is xxx) similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this? Many thanks in advance. Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to split a C string by a string?
On Wed, 17 Sep 2008 00:45:46 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is xxx) similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this? You can use strstr() to look for the xxx delimited and split that that point: % cat -n foo.c 1 #include stdio.h 2 #include string.h 3 4 int 5 main(void) 6 { 7 char text[] = Hello string world; 8 char delim[] = string ; 9 size_t dlen = sizeof(delim) / sizeof(delim[0]) - 1; 10 char *p; 11 12 p = strstr(text, delim); 13 if (p == NULL) 14 return 0; /* No match */ 15 16 printf(First part = \%.*s\\n, p - text, text); 17 printf(Second part = \%s\\n, p + dlen); 18 return 0; 19 } % cc -std=iso9899:1990 -O2 -Wall foo.c % ./a.out First part = Hello Second part = world % ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: g_ufs_done() WHAT does it mean?
Bob Falanga wrote: I have installed freeBSD on a SATA 320 gig hard drive. After running for a few minutes I get several of the following error messages: g_ufs_done():ad4s1d[WRITE(offset=385482752, length=16384)]error=6. After two pages like that the computer stops and requires a hard boot to restart. I assume that the messages concern the hard drive, but what are they telling me? First, it's g_vfs_done, not g_ufs_done -- precision and accuracy are usually important when reporting error messages. In this case the important part is the error=6. You can look this up in /usr/include/errno.h which says: #define ENXIO 6 /* Device not configured */ which probably means that the device disappeared at runtime. What other messages were logged prior to this? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
netgraph one2many question
Hi, I want to setup a one2many setup so a traffic comes to one interface should be duplicated to other 2 interfaces like: # Plumb nodes together /usr/sbin/ngctl mkpeer vr1: one2many upper one /usr/sbin/ngctl connect vr1: vr1:upper lower many0 /usr/sbin/ngctl connect vr2: vr1:upper lower many1 /usr/sbin/ngctl connect vr3: vr1:upper lower many2 # Allow vr2 through vr3 to xmit/recv vr1 frames /usr/sbin/ngctl msg vr2: setpromisc 1 /usr/sbin/ngctl msg vr3: setpromisc 1 /usr/sbin/ngctl msg vr2: setautosrc 0 /usr/sbin/ngctl msg vr3: setautosrc 0 # Configure all three links as up /usr/sbin/ngctl msg vr1:upper setconfig { xmitAlg=1 failAlg=1 enabledLinks=[ 1 1 1 ] } But when I sniff vr2 or vr3 I get no traffic. Can someone enlighten me what am I doing wrong here? Regards -- Best regards, Omer mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Port for drawing directed graphs?
At 2008-09-15T10:31:57-04:00, John Almberg wrote: I am working on some software that must, as it's final output, produce a printout of a directed graph... nodes, connected by directed links. The printout could be generated by a postscript file, jpg, whatever. Does anyone know of a utility (in ports?) that can take a data set (for example, a two dimensional array that defines the nodes and the links between them), and produce a printable graph? What you want is the 'dot' tool from the 'graphviz' port in /usr/ports/graphics/graphviz. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to split a C string by a string?
--- On Wed, 9/17/08, Giorgos Keramidas [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [EMAIL PROTECTED] Subject: Re: How to split a C string by a string? To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Wednesday, September 17, 2008, 6:17 PM On Wed, 17 Sep 2008 00:45:46 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is xxx) similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this? You can use strstr() to look for the xxx delimited and split that that point: % cat -n foo.c 1 #include stdio.h 2 #include string.h 3 4 int 5 main(void) 6 { 7 char text[] = Hello string world; 8 char delim[] = string ; 9 size_t dlen = sizeof(delim) / sizeof(delim[0]) - 1; 10 char *p; 11 12 p = strstr(text, delim); 13 if (p == NULL) 14 return 0; /* No match */ 15 16 printf(First part = \%.*s\\n, p - text, text); 17 printf(Second part = \%s\\n, p + dlen); 18 return 0; 19 } % cc -std=iso9899:1990 -O2 -Wall foo.c % ./a.out First part = Hello Second part = world % Thank you very much for the reply. That is, there is no existing split function. So I got to write to my own :) Best regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.1 BETA and update to RELEASE
On Wed, 17 Sep 2008 03:29:55 -0400 Michael Powell [EMAIL PROTECTED] wrote: If the Beta installs and runs successfully you won't have any problem updating the system when 7.1-Release makes it out the door. It should be very straightforward if you later upgrade to RELENG_7_1 by from source, I doubt that the binary updater, freebsd-update, would work though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OO 2.4.1 package problem
Hello list, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The application cannot be started. The component manager is not available. Segmentation fault (core dumped) Any ideas? Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to split a C string by a string?
Unga writes: Thank you very much for the reply. That is, there is no existing split function. Not in standard C. There may be in third party libraries; however linking against, oh, GTK just to get the one function seems ... excessive. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD CVS tag
N. Raghavendra [EMAIL PROTECTED] writes: At 2008-09-16T14:40:15-04:00, Lowell Gilbert wrote: The CVSROOT/config file supports LocalKeyword. Is it supported in the version of CVS that comes with the base system? It didn't work for me with the system CVS. According to the CVS CVS repo at http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/ the LocalKeyword mechanism was introduced with CVS 1.12.2. The system CVS in FreeBSD 7-STABLE seems to be 1.11.17. I think even the tagexpand capability comes through FreeBSD patches to that version. I thought that was how the FreeBSD keyword was implemented. LocalKeyword was widely supported with patches before it was added to the official CVS development tree... The comments in the CVSROOT-src/config file seem to confirm that, although I'm not sure where the definition is *really* added. I'm too lazy to track it down now, though. To be (even more) honest, I have a strong desire *not* to be a CVS expert. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irq19 interrupt storm?
You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same irq (19) while irqs 20, 21, 22 at least seem completely unused. Here's a dumb question: how do I fix it? I tried setting plug and play OS in the BIOS and then using device.hints to push different devices to different irqs. But every time I tried a new hint it seemed to be ignored. I was trying stuff like: set hint.atapci.1.irq=20 set hint ata.4.irq=20 (ata4 is a channel on atapci1) set hint fwhco.0.irq=20 etc... I also tried to move the dc driver to a new irq as a test. This was also seemingly ignored. I then tried turning plug and play OS off in the BIOS but I don't see anywhere to set the IRQs of the onboard SATA controllers via the menus. I'm looking for a BIOS upgrade now... any other advice? Thx, Scott On Tue, Sep 16, 2008 at 7:12 AM, Gary Jennejohn [EMAIL PROTECTED]wrote: On Mon, 15 Sep 2008 22:57:38 -0700 Scott Gasch [EMAIL PROTECTED] wrote: Hi, I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. Nearly 100% of 1 cpu is constantly being used handling irq19: uhci4 interrupts. This seems to happen both with and without any USB devices plugged in: vmstat -i interrupt total rate irq1: atkbd0 5 0 irq6: fdc0 1 0 irq17: mskc0 dc0 1180547 18 irq18: skc0 uhci2* 163250699 2512 irq19: uhci4++ 3187989508 49072 I think the ++ here indicates that two or more devices are sharing this interrupt. Try doing grep irq.*19 /var/run/dmesg.boot to see which ones. One of these devices could be the culprit. --- Gary Jennejohn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sell Cisco Systems equipment items
Hello, We are professional manufacturer,we can supply lots of networking products: 100% compatible,3rd party Cisco Card,GBIC,SFP,module,WIC,Cisco Console cable items,and so on... we have competitive price and excellent capability of filling customers requirements. In addition to high quality,in-time delivery and excellent after-sale service also help us to win customers. please do not hesitate to contact me if you have interested. example of the products: CWDM-SFP-1G WS-G5483, WS-G5487, WS-G5484, WS-G5486, GLC-SX-MM, GLC-LH-SM, GLC-ZX-SM, GLC-T, GLC-SX-MM SFP-GE-L .. NM-2FE2W-T1, NM-2FE2W-E1, NM-2FE2W-V2, NM-1E, NM-4E, WIC-1T, WIC-2T, WIC-2A/S, WIC-1B/ST, WIC-1ENET, VWIC-1MFT-T1, VWIC-1MFT-E1, VWIC-2MFT-T1, VWIC-2MFT-E1, VWIC-1MFT-G703, VWIC-2MFT-G703, VWIC-1MFT-T1-DI, VWIC-2MFT-T1-DI, .. WS-C2950-24, WS-C2950T-24, WS-C2950G-24-EI, WS-C2950G-48-EI, WS-X6K-MSFC2-KIT, .. CONSOLE CABLE, CAB-STACK-1M/3M, CAB-V35MT, CAB-V35FC, CAB-SS-V.35MT, CAB-SS-V.35FC, CAB-SS-232MT, CAB-SS-232FC, CAB-232MT, CAB-232FC, CAB-SS-X21MT, CAB-SS-X21FC, CAB-X21MT, .. MEM-npe400-512MB, MEM-3660-128mb, MEM2600-32D, MEM2600-16FS, MEM2600XM-64D, MEM-S1-128MB, MEM-S2-256MB, MEM-S2-512MB, MEM-MSFC-128MB, MEM2801-256D, MEM3800-256D, MEM3800-512, MEM3745-256D, MEM1841-256D, MEM180X-256D. Thanks Helen.Zhou Newstar networking technology www.nstnetwork.com Email/MSN: [EMAIL PROTECTED] AOL helenxuezhou ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
epiphany stalls on dbus-launch?
I've built ports/www/epiphany on FBSD-6.3-stable on Alpha. On launch epiphany never opens the graphical window. ps shows: 67097 p5 I 0:01.21 epiphany 67098 p5 I 0:00.05 dbus-launch --autolaunch 76514f0130361463d40d7f1348d11bf3 --binary-syn 67101 p5 I 0:00.00 dbus-launch --autolaunch 76514f0130361463d40d7f1348d11bf3 --binary-syn If I kill either dbus-launch, epiphany exits with an error. I wonder if the problem is in dbus, and not in epiphany. Anybody has seen this problem. thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7 server in hang
There is a PR about this issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=125592 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound on Dell Latitude E6500
I need a little help to get the sound to work on my laptop. The sound card is IDT HD Audio codec in Windows Vista. My loader.conf has the following: sound_load=YES snd_hda_load=YES I think the driver is loaded cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: Intel 82801I High Definition Audio Controller at memory 0xf6fdc000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex default) and mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic But I have no output what so ever! I have tried the volume control on the machine, and also a headset without success. I need a hint on where to go now. Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple installation of one ports
Matthew Seaman a écrit : FreeBSD wrote: Hi everyone, I've been asked by a customer to install Drupal on one server to manage a new site. No problem yet. But, he also asked if it would be possible to install it for other sites. I know that there is a warning if you want to install a port that is already installed, but is there a way to bypass this? I know I could install it from the tarball from the website, but I want to be able to use portupgrade and portaudit to deal with it. Any suggestions? This is an interesting problem. The FreeBSD ports system does not at present allow multiple installations of the same port, even into different ${PREFIX}es. This make sense for most of the software dealt with by the ports system, but in the specific case of web based applications having the same application installed into multiple locations in the same web tree is a perfectly reasonable thing to want to do. Here are some ideas as to ways you might consider for working round the problem and still being able to use the ports system in the usual way. None of these are tested by me in any way, and some of them may not actually work. i) If you have spare IPs available, simply set up jails to run second and subsequent instances of drupal and apache. This is pretty much overkill but it's a tried and tested strategy and should be reliable. The downside is you need to install at least enough of a system in each jail to support running apache, etc. plus you have to maintain each of the different jail environments separately. ii) If you haven't any spare IPs, you can install multiple copies of the same port on the same machine by changing *both* $PKG_DBDIR and $PREFIX in the environment to distinct values for each copy. Unfortunately changing $PREFIX doesn't give you complete freedom to choose where a web app will be installed -- typically a web app will be located at ${PREFIX}/www/app-name. However by judicious use of the Alias directive in httpd.conf you can make all those different directories appear in the same web tree. Like option (i) you've still got multiple copies of ports to maintain, although in this case, it's only the drupal port and anything that depends on drupal that you need multiple copies of, rather than the entire installation tree of ports. iii) A kind of wacky idea this, and it will only work for web apps whose configuration files are contained within the web root. That's true of most PHP based web apps -- other languages may differ. Install the port once only, in the normal fashion. Then create loopback mounts of the application directory multiple time, each to a union fs (see mount_unionfs(8)) where you superpose a separate layer to contain just the configuration files for that instance. It's conceptually complicated, but all the work should be at the setup stage and after that, there's only one instance of your web app to keep properly maintained. iv) I've no idea if this is at all possible with Drupal, but really the absolute easiest solution is to choose a CMS that lets you manage several different web sites (virtual hosts, web trees, what you will) within the same instance. Cheers, Matthew As usual, a very complete answer! Every time I see your name, I'm sure to find a clear and pertinent answer. Thanks for your support to the community. As you outlined in your fourth possibility, I will go with the easiest solution. For web-based apps, I will install them directly, without using the ports if I have to run multiple instance of the same app. In this case, Drupal supports multiple sites so that's not a problem, but I heard that Joomla didn't support this. Thank you and to everyone else that replied, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to split a C string by a string?
On Wed, 17 Sep 2008 06:32:56 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: --- On Wed, 9/17/08, Giorgos Keramidas [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [EMAIL PROTECTED] Subject: Re: How to split a C string by a string? To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Wednesday, September 17, 2008, 6:17 PM On Wed, 17 Sep 2008 00:45:46 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is xxx) similar to strtok split a string by a single char. Is there a standard function or is there a FreeBSD functions for this? You can use strstr() to look for the xxx delimited and split that that point: [snip sample code] Thank you very much for the reply. That is, there is no existing split function. So I got to write to my own :) Yes, you have to roll our own. The standard C library doesn't have string splitting functions with a string as delimiter. It includes strtok(), strspn() and strcspn(), but these work with character sets as delimiters, not strings... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple installation of one ports
John Nielsen a écrit : On Tuesday 16 September 2008 01:26:35 pm FreeBSD wrote: I've been asked by a customer to install Drupal on one server to manage a new site. No problem yet. But, he also asked if it would be possible to install it for other sites. I know that there is a warning if you want to install a port that is already installed, but is there a way to bypass this? I know I could install it from the tarball from the website, but I want to be able to use portupgrade and portaudit to deal with it. I've done this in the past with Gallery and it looks like Drupal should be workable too. The thing to do is to make either a clone port or a slave port of the original and tweak a few things. In particular you'll want to add some sort of suffix to the port name and change the installation directory. For example, you could make a directory called ports/www/drupal6-customer and drop this in its Makefile: PKGNAMESUFFIX=-${CUSTNAME} DRUPAL_BASE=drupal6-${CUSTNAME} .include ../drupal6/Makefile You could then do things like # cd /usr/ports/www/drupal6-customer # make CUSTNAME=foo install clean # make CUSTNAME=bar install clean which would (with any luck) create independent installations of drupal under /usr/local/www/drupal6-foo and /usr/local/www/drupal6-bar. Or if you didn't want to worry about defining CUSTNAME all the time (or the desired name/location won't follow a predictable pattern) you could make a different slave port for each installation and hard-code the two values. I haven't tested any of this other than some quick verification of variables using make -V. HTH. If you have specific questions about port mechanics the ports@ list might be the best place to ask. See also the Porter's Handbook: http://www.freebsd.org/doc/en/books/porters-handbook/ JN That's a pretty interesting idea...I'll keep it in the back of my head. Thanks, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD CVS tag
At 2008-09-17T10:15:37-04:00, Lowell Gilbert wrote: The comments in the CVSROOT-src/config file seem to confirm that, although I'm not sure where the definition is *really* added. I missed that config file. OTOH, there is http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/CVSROOT/options in support of the tagexpand approach. To be (even more) honest, I have a strong desire *not* to be a CVS expert. Indeed :-) Since switching over to Mercurial, my interest in CVS has been somewhat cursory, as well. Anyway, thanks for the response. Raghu. -- N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB on 3BSD
Graham Bentley пишет: So if you rebuild your fluxbox port with the default settings, transparency should work fine. And that is exactlyt why I am asking - it doesnt! As reported issuing a plain make results in fluxbox -info output of -RENDER ie. it is NOT included !!! Of course the first thing I did before my posts was to test transparency which didnt work which led me to the list! Any more suggestions appreciated though :) Try make -V CONFIGURE_ARGS and watch if there are any strange options. Default output from this command should be --enable-imlib2 --enable-nls --enable-remember --enable-slit --enable-toolbar --enable-xrender --disable-gnome --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound on Dell Latitude E6500
I need a little help to get the sound to work on my laptop. The sound card is IDT HD Audio codec in Windows Vista. My loader.conf has the following: sound_load=YES snd_hda_load=YES I think the driver is loaded cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: Intel 82801I High Definition Audio Controller at memory 0xf6fdc000 irq 21 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex default) and mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic But I have no output what so ever! I have tried the volume control on the machine, and also a headset without success. I need a hint on where to go now. Thanks /Leslie I forgot to mention what is in dmesg: pcm0: HDA Codec: Unknown Codec pcm0: HDA Driver Revision: 20080420_0052 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound on Dell Latitude E6500
On Wed, Sep 17, 2008 at 11:20 AM, Leslie Jensen [EMAIL PROTECTED] wrote: I need a little help to get the sound to work on my laptop. The sound card is IDT HD Audio codec in Windows Vista. My loader.conf has the following: sound_load=YES snd_hda_load=YES I think the driver is loaded What version of FreeBSD? there was just a new HDA driver committed to -current on friday and I believe I saw a patch for FreeBSD 7, so I would suggest try FreeBSD current and if that works. then you could attempt to try a patch for 7 Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound on Dell Latitude E6500
Sam Fourman Jr. skrev: On Wed, Sep 17, 2008 at 11:20 AM, Leslie Jensen [EMAIL PROTECTED] wrote: I need a little help to get the sound to work on my laptop. The sound card is IDT HD Audio codec in Windows Vista. My loader.conf has the following: sound_load=YES snd_hda_load=YES I think the driver is loaded What version of FreeBSD? there was just a new HDA driver committed to -current on friday and I believe I saw a patch for FreeBSD 7, so I would suggest try FreeBSD current and if that works. then you could attempt to try a patch for 7 Sam Fourman Jr. I'm running 7.1-BETA GENERIC amd64 I have never used CURRENT and I don't know if I want to go there. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO 2.4.1 package problem
Hi Ghirai, Is your home directory on an NFS partition by any chance? I ran into similar issues on my diskless environment and resolved it by adding the following to the NFS server and clients' rc.conf files: rpc_lockd_enable=yes rpc_statd_enable=yes rpcbind_enable=yes Also my /usr/local/openoffice.org-2.4.1/program/soffice file has the following lines changed/uncommented: # STAR_PROFILE_LOCKING_DISABLED=1 export STAR_PROFILE_LOCKING_DISABLED # # file locking now enabled by default #SAL_ENABLE_FILE_LOCKING=1 #export SAL_ENABLE_FILE_LOCKING Regards, Todor Genov Systems Operations Verizon Business South Africa (Pty) Ltd Tel: +27 11 235 6500 Fax: 086 692 0543 Ghirai wrote: Hello list, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The application cannot be started. The component manager is not available. Segmentation fault (core dumped) Any ideas? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound on Dell Latitude E6500
I'm running 7.1-BETA GENERIC amd64 I have never used CURRENT and I don't know if I want to go there. /Leslie here is a patch that I found posted on the -current mailing list you may have some luck with this http://people.freebsd.org/~mav/hda.7.20080913.patch Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO 2.4.1 package problem
On Wed, 17 Sep 2008 19:28:29 +0200 Todor Genov [EMAIL PROTECTED] wrote: Hi Ghirai, Is your home directory on an NFS partition by any chance? I ran into similar issues on my diskless environment and resolved it by adding the following to the NFS server and clients' rc.conf files: rpc_lockd_enable=yes rpc_statd_enable=yes rpcbind_enable=yes Also my /usr/local/openoffice.org-2.4.1/program/soffice file has the following lines changed/uncommented: # STAR_PROFILE_LOCKING_DISABLED=1 export STAR_PROFILE_LOCKING_DISABLED # # file locking now enabled by default #SAL_ENABLE_FILE_LOCKING=1 #export SAL_ENABLE_FILE_LOCKING Ghirai wrote: Hello list, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The application cannot be started. The component manager is not available. Segmentation fault (core dumped) Any ideas? Thanks. No, i'm not running off NFS. I tried your suggestion, but i'm getting the same error. Also i have no clue why it says it hasn't found java, because it is installed and it works... -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Build error while upgrading 'kdesdk-3.5.9' to 'kdesdk-3.5.10' (devel/kdesdk3)
Hello everybody, I get an error while upgrading the port mentioned in $subj. When I run # portupgrade -c devel/kdesdk3 it starts compiling, but after a while it always crashes at this point: - Making all in libgettext gmake[4]: Entering directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext' flex -+ -opofiles.cc ./pofiles.ll /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -march=athlon -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT pofiles.lo -MD -MP -MF .deps/pofiles.Tpo -c -o pofiles.lo pofiles.cc pofiles.cc:450:5: warning: YY_STACK_USED is not defined pofiles.cc:1518:5: warning: YY_MAIN is not defined In file included from pofiles.cc:249: /usr/local/include/FlexLexer.h:130: error: expected unqualified-id before numeric constant pofiles.cc: In member function 'virtual int GettextBaseFlexLexer::yylex()': pofiles.cc:575: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:731: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:754: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In constructor 'GettextBaseFlexLexer::GettextBaseFlexLexer(std::istream*, std::ostream*)': pofiles.cc:871: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In destructor 'virtual GettextBaseFlexLexer::~GettextBaseFlexLexer()': pofiles.cc:883: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::switch_streams(std::istream*, std::ostream*)': pofiles.cc:890: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'int GettextBaseFlexLexer::yy_get_next_buffer()': pofiles.cc:943: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'void GettextBaseFlexLexer::yyunput(int, char*)': pofiles.cc:1138: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'int GettextBaseFlexLexer::yyinput()': pofiles.cc:1180: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yyrestart(std::istream*)': pofiles.cc:1239: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:1242: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yy_switch_to_buffer(yy_buffer_state*)': pofiles.cc:1249: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:1252: error: 'yy_current_buffer' was not declared in this scope pofiles.cc:1260: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'void GettextBaseFlexLexer::yy_load_buffer_state()': pofiles.cc:1274: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'virtual void GettextBaseFlexLexer::yy_delete_buffer(yy_buffer_state*)': pofiles.cc:1311: error: 'yy_current_buffer' was not declared in this scope pofiles.cc: In member function 'void GettextBaseFlexLexer::yy_flush_buffer(yy_buffer_state*)': pofiles.cc:1353: error: 'yy_current_buffer' was not declared in this scope gmake[4]: *** [pofiles.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common/libgettext' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel/common' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10/kbabel' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/kdesdk3/work/kdesdk-3.5.10' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/kdesdk3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.2946.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdesdk-3.5.9 UPGRADE_PORT_VER=3.5.9 make ** Fix the problem and try again. - Since it crashes while compiling gettext support, I tried to rebuild devel/gettext, but with no success. On friday I'll probably try # portupgrade -Rf devel/kdesdk3 as I am getting really desperate, but if anybody has any better suggestion, I'd be really thankful. (Rebuilding all of the dependencies will be really painful since I am getting ZFS deadlocks on a weekly basis, depending on the uptime, and I won't have physical access to the machine from morning until afternoon in case it hangs...) Thanks in advance. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL
Login Shells /SSHd causing high CPU load....
Hi guys... I've been experiencing a weird increase in the percentage of CPU Load... It was weird cause after i logged in..just that second the load begins to decreaseso i assumed there was maybe some backup or cron running...And as i was busy i didnt have the time to investigate Now i took a little depth look and found that whenever someone Logs in or when i su - to root the load goes up to 3.5..when the avg load on the server is 0.4 it happens with all shells.i thought it was a tcsh thing cause is the one i use..so i change my login shell to bash and the samethen i noticed that sshd also increases pretty bad the load...so the question is how can i fix this...or how can i at least try to trace this... Cheers and thanks in advance for any answer, hint you can give me Agustin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freeBSD 7.0 supports ACE Proactor?
freebsd-questions@freebsd.orgHi freeBSD users, I've developed couple of server applications on Windows platform with ACE Proactor and it worked quite well. But, because of the expensive Windows Server, I wanna move to Linux or freeBSD. Recently, I'm considering to build a server application on freeBSD but the important issue is whether the freeBSD supports ACE Proactor framework. I googled about it and Linux doesn't support it well because Linux doesn't support AIO (asynchronous I/O) on socket. Moreover, most of the ACE professionals recommend to use Reactor framework on Linux. My questions is.. 1. freeBSD supports AIO on socket? 2. I can use ACE Proactor on freeBSD 7.0 without any problem? Is it stable? -- MK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: irq19 interrupt storm?
On Wednesday 17 September 2008 11:00:24 am Scott Gasch wrote: You're right: atapci1, atapci2, fwohci0 and uhci4 are all sharing the same irq (19) while irqs 20, 21, 22 at least seem completely unused. Here's a dumb question: how do I fix it? I tried setting plug and play OS in the BIOS and then using device.hints to push different devices to different irqs. But every time I tried a new hint it seemed to be ignored. I was trying stuff like: set hint.atapci.1.irq=20 set hint ata.4.irq=20 (ata4 is a channel on atapci1) set hint fwhco.0.irq=20 etc... I also tried to move the dc driver to a new irq as a test. This was also seemingly ignored. I then tried turning plug and play OS off in the BIOS but I don't see anywhere to set the IRQs of the onboard SATA controllers via the menus. I'm looking for a BIOS upgrade now... any other advice? Unfortunately you can't really move PCI IRQs around. You can read about more of the gritty details here: http://people.freebsd.org/~jhb/papers/bsdcan/2007/ You might be able to shuffle some IRQs around using 'hw.pciX.Y.INTA.irq' tunables. Probably you have a device driver whose interrupt handler isn't handling some condition. I would suspect ata as it's interrupt handler is rather simplistic with no chipset-specific hooks, and I've seen several reports of interrupt storms with ata(4) recently. Thx, Scott On Tue, Sep 16, 2008 at 7:12 AM, Gary Jennejohn [EMAIL PROTECTED]wrote: On Mon, 15 Sep 2008 22:57:38 -0700 Scott Gasch [EMAIL PROTECTED] wrote: Hi, I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. Nearly 100% of 1 cpu is constantly being used handling irq19: uhci4 interrupts. This seems to happen both with and without any USB devices plugged in: vmstat -i interrupt total rate irq1: atkbd0 5 0 irq6: fdc0 1 0 irq17: mskc0 dc0 1180547 18 irq18: skc0 uhci2* 163250699 2512 irq19: uhci4++ 3187989508 49072 I think the ++ here indicates that two or more devices are sharing this interrupt. Try doing grep irq.*19 /var/run/dmesg.boot to see which ones. One of these devices could be the culprit. --- Gary Jennejohn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to [EMAIL PROTECTED] -- John Baldwin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel 82567LM on a Dell Latitude E6500
Leslie Jensen wrote: I've just got myself a new laptop. The ethernet card is the above. I found a readme file on how to install the driver, and there's also instructions on where to download this driver. When browsing to Intels download center and finding the right driver one is directed to the FreeBSD homepage! I'm a bit puzzled here because it's not obvious to me where to find the driver. Will someone shed the light for me, Please? I've installed FreeBSD 7.0 amd64 and it does not identify the NIC proberly. Thanks /Leslie Can you try a prerelease of 7.1, it has the igb driver which I suspect will support that nic: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/7.1/ Also would you mind posting the output of pciconf -lv which we could use to be more sure which driver you need? I would personally be interested in that output plus the dmesg output because I plan to buy the same model laptop and I think you are the first person to be found on the web running FreeBSD on it :) Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GCC Compliler
I need to compile a c module called camerad. I have a makefile that is suppose to be used to perform this compile job. Problem is that I get an error and I don't understand exactly what the problem is. Here is the execution of the makefile with the error and then I did a cat on the makefile itself. CameraMgr2# ./makefile camerad.o:: not found CameraMgr2# cat makefile camerad : camerad.o ../shared/util.o gcc -o camerad camerad.o ../shared/util.o camerad.o: camerad.c camerad.h ../shared/util.h gcc -I../shared -c camerad.c The first part of the makefile makes sense to me. Create a camerad using camera.o and stuff from .shared/util.o camerad : camerad.o ../shared/util.o gcc -o camerad camerad.o ../shared/util.o And that part works fine. If I just run those two statements it works OK. But the second part does not make sense. and It gets the error camerad.o not found. camerad.o: camerad.c camerad.h ../shared/util.h gcc -I../shared -c camerad.c Any idea what might be going on? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GCC Compliler
Dean Huffaker wrote: I need to compile a c module called camerad. I have a makefile that is suppose to be used to perform this compile job. Problem is that I get an error and I don't understand exactly what the problem is. Here is the execution of the makefile with the error and then I did a cat on the makefile itself. CameraMgr2# ./makefile camerad.o:: not found CameraMgr2# cat makefile camerad : camerad.o ../shared/util.o gcc -o camerad camerad.o ../shared/util.o camerad.o: camerad.c camerad.h ../shared/util.h gcc -I../shared -c camerad.c The first part of the makefile makes sense to me. Create a camerad using camera.o and stuff from .shared/util.o camerad : camerad.o ../shared/util.o gcc -o camerad camerad.o ../shared/util.o And that part works fine. If I just run those two statements it works OK. But the second part does not make sense. and It gets the error camerad.o not found. camerad.o: camerad.c camerad.h ../shared/util.h gcc -I../shared -c camerad.c Any idea what might be going on? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try using the make utility. make -f ./makefile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
port: security/cfs
The port security/cfs, Matt Blaze's userland Cryptographic filesystem, is marked as broken because it does not compile under FreeBSD-7.0 or later. I've managed to get it to compile through some simple changes but I don't know enough about RPC to know if I am on the right track. I'm asking for the help of an RPC wizard to check my train of thought. The big change is rpcgen. In FreeBSD 6.0 it builds a C header file with prototypes like this: void * rpc_entry_point(); Now it builds prototypes like this: void * rpc_entry_point(struct yourtype * yourvar, CLIENT * clnt); I'm guessing that the first prototype caused GCC 4.x to gag so rpcgen was patched to produce the second when the move was made to FreeBSD-7.0. The second problem is that CFS is coded with rpc entry points that look like this. void * rpc_entry_point(yourvar, rp) struct yourtype * yourvar; struct svc_req *rp; { int ret = 0; ... return ret; } While gcc doesn't completely gag on that one it's not that happy about it either. The small issue here is that the coding style is ancient. Returning an (int) 0 as NULL has been taboo in C for years and gcc is getting more and more fussy about these problems as time passes. The bigger problem is that the parameter types don't match up. But the mismatch is so huge that I find it difficult to believe that code ever worked. Looking further into things I discovered that rpcgen is basically specifying an client-server interface. For every: void * rpc_entry_point(struct yourtype * yt, CLIENT * clnt); You also get: void * rpc_entry_point_svc(struct yourtype *yt, struct svc_req *rp); Now CFS uses KR to mangle up the _svc functions pretty well to but basically if you patch cfs_adm.c and cfs_nfs.c to change the rpc entry points from client to service definitions then the code compiles reasonably cleanly with gcc 4. After that long discussion does someone know RPC programming well enough to verify that CFS was defining the Service side of thing all along and that in the past RPC was loose enough to take rpc_entry_point(... as the definition of the service which is now properly called rpc_entry_point_svc(... ? -- Chris -- Chris Hilton chris-at-vindaloo-dot-com All I was doing was trying to get home from work! -- Rosa Parks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Auto blacklist ssh connections ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep Invalid user /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr 5268 140.113.210.174 4863 72.52.225.116 3586 116.14.255.141 2918 193.205.186.67 2033 219.76.75.6 1308 216.14.127.67 1059 61.72.106.71 983 93.123.14.9 691 202.75.221.197 649 59.77.33.139 381 201.80.15.207 269 190.10.255.73 212 81.252.254.189 181 123.151.32.12 150 211.21.47.50 139 196.219.63.3 128 200.111.64.171 This is for one day ... I'd like to be able to throttle so that after X Invalid user attempts, the IP gets blocked ... Possible? - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjRj6EACgkQ4QvfyHIvDvOsYQCgyaB3MhvHJk9qShRlovwSAXxx 3oQAn2NQ8zLFVO82Udp+mZaojwbfoKmw =SuAI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
Grock and swatch are two that are pretty flexible and would do what you want. They are both in ports. Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Marc G. Fournier [EMAIL PROTECTED] Date: Wed, 17 Sep 2008 20:15:45 To: freebsd-questions@freebsd.org Subject: Auto blacklist ssh connections ... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep Invalid user /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr 5268 140.113.210.174 4863 72.52.225.116 3586 116.14.255.141 2918 193.205.186.67 2033 219.76.75.6 1308 216.14.127.67 1059 61.72.106.71 983 93.123.14.9 691 202.75.221.197 649 59.77.33.139 381 201.80.15.207 269 190.10.255.73 212 81.252.254.189 181 123.151.32.12 150 211.21.47.50 139 196.219.63.3 128 200.111.64.171 This is for one day ... I'd like to be able to throttle so that after X Invalid user attempts, the IP gets blocked ... Possible? - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjRj6EACgkQ4QvfyHIvDvOsYQCgyaB3MhvHJk9qShRlovwSAXxx 3oQAn2NQ8zLFVO82Udp+mZaojwbfoKmw =SuAI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
On Sep 17, 2008, at 4:15 PM, Marc G. Fournier wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? Certainly. See: % cat /usr/ports/security/denyhosts/pkg-descr DenyHosts is a script intended to be run by *ix system administrators to help thwart ssh server attacks. If you've ever looked at your ssh log (/var/log/auth.log ) you may be alarmed to see how many hackers attempted to gain access to your server. Denyhosts helps you: - Parses /var/log/auth.log to find all login attempts - Can be run from the command line, cron or as a daemon (new in 0.9) - Records all failed login attempts for the user and offending host - For each host that exceeds a threshold count, records the evil host - Keeps track of each non-existent user (eg. sdada) when a login attempt failed. - Keeps track of each existing user (eg. root) when a login attempt failed. - Keeps track of each offending host (hosts can be purged ) - Keeps track of suspicious logins - Keeps track of the file offset, so that you can reparse the same file - When the log file is rotated, the script will detect it - Appends /etc/hosts.allow - Optionally sends an email of newly banned hosts and suspicious logins. - Resolves IP addresses to hostnames, if you want WWW:http://denyhosts.sourceforge.net/ Works fine. Just be careful to whitelist some known-OK IPs first, as you can end up blocking yourself out if someone is careless logging in as the wrong user or similar Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port: security/cfs
On Wed, Sep 17, 2008 at 06:38:56PM -0400, Christopher Sean Hilton wrote: The port security/cfs, Matt Blaze's userland Cryptographic filesystem, is marked as broken because it does not compile under FreeBSD-7.0 or later. I got patches which I (stupidely) never commited. I'll send0pr them so they will be kept tracked. Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]| Weblog: http://www.mavetju.org/weblog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc G. Fournier wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep Invalid user /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr [...] This is for one day ... I'd like to be able to throttle so that after X Invalid user attempts, the IP gets blocked ... Possible? Hi Marc, Coincidentally, I've been replacing sshit with sshguard (both in ports) on several servers today. sshguard seems to be more configurable and supports a number of blocking methods - multiple firewalls as well as /etc/hosts.deny. Here's the full documentation: http://sshguard.sourceforge.net/doc/ Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0ZLn0sRouByUApARAt5XAJ91sn31ryJ4iq+t4OzVoORYK29IVwCglRAG rE3TmCDo70nzxvUBFWVCUJI= =fQhA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
Why don't you have sshd listen on a different port? I was getting 1000's of ssh login attempts until I changed the port sshd was listening on. I've found script kiddies aren't smart enough to check alt ports. On Sep 17, 2008, at 7:15 PM, Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep Invalid user /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr 5268 140.113.210.174 4863 72.52.225.116 3586 116.14.255.141 2918 193.205.186.67 2033 219.76.75.6 1308 216.14.127.67 1059 61.72.106.71 983 93.123.14.9 691 202.75.221.197 649 59.77.33.139 381 201.80.15.207 269 190.10.255.73 212 81.252.254.189 181 123.151.32.12 150 211.21.47.50 139 196.219.63.3 128 200.111.64.171 This is for one day ... I'd like to be able to throttle so that after X Invalid user attempts, the IP gets blocked ... Possible? - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org ) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjRj6EACgkQ4QvfyHIvDvOsYQCgyaB3MhvHJk9qShRlovwSAXxx 3oQAn2NQ8zLFVO82Udp+mZaojwbfoKmw =SuAI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OO 2.4.1 package problem
Hi Ghirai, I installed OOo_2.4.1_FreeBSD70Intel_install_en-US.tbz, along with the required deps, as well as diablo-jre-freebsd7.i386.1.6.0.07.02.tbz. Now i'm getting this error: [EMAIL PROTECTED] /usr/home/ghirai]$ openoffice.org-2.4.1 javaldx: Could not find a Java Runtime Environment! The application cannot be started. The component manager is not available. Segmentation fault (core dumped) I ran into this error using the package you mention. It turned out to be a problem with javaldx not recognizing the FreeBSD Foundation as a provider of a Java run-time. I had to fix it by updating my ports tree and building OOo from source. Hopefully, this is possible on your system. I read about it in the openoffice at freebsd mailing list. The new source has the javaldx fix. Vinny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
On Wed, 17 Sep 2008 20:15:45 -0300 Marc G. Fournier [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep Invalid user /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr 5268 140.113.210.174 4863 72.52.225.116 3586 116.14.255.141 2918 193.205.186.67 2033 219.76.75.6 1308 216.14.127.67 1059 61.72.106.71 983 93.123.14.9 691 202.75.221.197 649 59.77.33.139 381 201.80.15.207 269 190.10.255.73 212 81.252.254.189 181 123.151.32.12 150 211.21.47.50 139 196.219.63.3 128 200.111.64.171 This is for one day ... I'd like to be able to throttle so that after X Invalid user attempts, the IP gets blocked ... Possible? security/sshguard security/blocksshd security/denyhosts security/bruteforceblocker signature.asc Description: PGP signature
Re: port: security/cfs
On Wed, Sep 17, 2008 at 06:38:56PM -0400, Christopher Sean Hilton wrote: The port security/cfs, Matt Blaze's userland Cryptographic filesystem, is marked as broken because it does not compile under FreeBSD-7.0 or later. ports/127457 Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]| Weblog: http://www.mavetju.org/weblog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
On Thursday 18 September 2008 01:15:45 Marc G. Fournier wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? # crontab -l @reboot /usr/sbin/daemon -p /var/run/grok-ssh.pid /usr/local/bin/grok -f /etc/pf/grok-ssh.conf # grep -- -0F /usr/local/bin/grok my $TAIL = /usr/bin/tail -0F; so that newsyslog doesn't interfere. $ cat /etc/pf/grok-ssh.conf file /var/log/auth.log { type ssh-illegal-user { match = Invalid user %USERNAME% from %IP%; threshold = 5; # 5 hits ... key = %IP%;# from a single ip ... interval = 60; # in 1 minutes reaction = /root/bin/pfscanners %IP%; # permanent }; type ssh-scan-possible { match = Did not receive identification string from %IP%; threshold = 3; interval = 60; reaction = /sbin/pfctl -t scanners -Tadd %IP%; #temporary }; }; $ cat /root/bin/pfscanners #!/bin/sh while( test ! -z $1 ); do /sbin/pfctl -t scanners -Tadd $1 echo $1 /etc/pf/scanners.table shift done $ grep scanners /etc/pf.conf table scanners persist file /etc/pf/scanners.table block in log on $ext_if from scanners -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mystical Server Shutdown.
Hi all, I started getting watchmouse errors about on pf my servers not responding. There is a DRAC on the machine, and the sensor data was all good. When I got the machine back up and running, I seen this in lastlog: client1 ftp hostname1here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client2 ftp hostname2here Wed Sep 17 17:02 - shutdown (00:46) client3 ftp hostname3here Wed Sep 17 17:01 - 17:06 (00:04) Should I be worried about seeing 'shutdown' in an ftp line of last? If not, how would you suggest I find the process or program that issued the shutdown command? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NTP authentication using kerberos
This may be a stupid question, and/or a chicken and egg conundrum: Is it possible to use kerberos in authentication with an ntp server? Here is my reasoning for this (and please correct any wrong assumptions I have here): In the handbook regarding kerberos (and nearly every other reliable source) kerberos is all or nothing- every service needs to be included or it is not as secure as it should be. On the other hand, there are problems with using kerberos if the time is not synchronised, so use ntp. And so far I have only found simple key authentication similar to dhcp and dns to authenticate ntp with. But if kerberos provides keys then this could be simpler, yes? Once I have worked through this, I'd like to multicast ntp, but I think I've got that sewn up already, unless anybody has some advice on this? I'll probably be using the 239 subnet rather than 224 if that is not an issue. One more thing- if ntp uses the same sort of authentication as dhcp and dns, is there a way to extend this kerberos setup (if it is possible with ntp) to dhcp and dns on my local network? Or am I just getting too ambitious with everything here? :) Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Want to create own package cd
I am trying to follow http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/index.htmlto make my own package cd. The documentation doesn't really explain a whole lot but when I look at the cvs it is missing the script print-cdrom-packages.sh. Where can I get this script from? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You Talk ... We Listen
!-- START Opening Header Text -- If you are unable to see the imag= es, add the domain @email.pctools.com to your Safe Sender list. !-- END Opening Header Text -- !-- START LOGO Placeholder --[1] 3D= !-- END LOG= O Placeholder -- 3D !-- START Newsletter Month -- 3D !-- END Newsletter Month -- !-- START Forward to a Friend --[2] = !-- END Forward to a Friend -= - !-- START Hero Image -= -[3]= 3D !-- EMD Hero Image -- Have your= say and be rewarded... Are we meeting YOUR needs?= We would love to know. Take part in our short survey by the end of Septe= mber your feedback will help us to make this newsletter more valuable= to YOU. We will thank you for your efforts by giving= you a FREE copy of our Award Winning Privacy Guardian.= /p [4]= Click here to participate in our short survey. Tips Tricks 1. Be wary of files that you execute as they may contain a malici= ous application. This method of infection is commonly used by hackers.= /span 2. Disable file/printer sharing whilst not in use as this may pro= vide an opening for hackers to gain entry to your PC. 3. If in use, secure your File/Printer sharing with permission a= ccounts and passwords to make unlawful entry more difficult. 4. Do not run unnecessary applications that require an internet/= network connection. Leaving them running in the background is like leavin= g your front door open. 5. [5]Get a Firewall. Firewalls are = a useful tool for blocking attacks and preventing illegal entry into your P= C as they monitor and inform what comes and goes from your computer. !-- START Threa= ts TableThe threat level is governed by the following: Low - https://secure.pctools.com/res/images/threat/threat_l= ow.gif Medium - https://secure.pctools.com/res/images/threat/threa t_medium.gif High - https://secure.pctools.com/res/images/threat/threat_= high.gif -- 3D= = 3D 3D Top Threats 3D Below are some of the latest threats identified b= y PC Tools 3D [6]Worm.AutoRun.GEN 3D [7]RogueAntiSpyware. PCHealthCenter= /a 3D [8]HackTool.Winlocker.C 3D [9]Trojan-Downloader.VBS.BL 3D The above infections can be detected and cleaned = using PC Tools Internet Security and [10]Spyware Doctor with AntiVirus= /a! 3D 3D 3D !-- END Threats Table --!-- START News Table -- 3D= 3D 3D 3D News 3D [11]PC Tools' Security Software Adds ThreatFir= e [12]Doctor Remedy To Nasty Internet Viruses [13]Review: PC Tools Desktop Maestro 3 3D 3D 3D 3D !-- END News Table -- !-- START Footer Placeholder -- 3D = = = = = = = = = /td = = = SECURE PROTECT= /span REPAIR OPTIMIZE 3D [14]Spyware Doctor with AntiVirus 3D [15]Reg= istry Mechanic 3D [16]PC = Tools Internet Security 3D [17]Desktop Maestro =3D !-- END Footer Placeholder -- This message was inte= nded for '[EMAIL PROTECTED]' You have received this message b= ecause you are subscribed to 'PC Tools newsletter and special promotions'= . [18]Update your subscriptions | [19]Unsubscribe | To contact us please email [EMAIL PROTECTED] PC T= ools Limited Units A B, Block 4, Shannon Business Park= , Shannon, Co. Clare, Ireland. Copyright © 2008 PC Tools. A= ll rights reserved. [sns.rsys=] References Visible links 1. 3Dhttps://email.pctoo=/ 2. 3Dhttps://email.pct=/ 3. 3Dhttps://email.pctools.com/servlet/ 4. 3Dhttps://email.pctools.com/servlet/ 5. 3Dhttps://email.pctools.com/servlet/cc6?iJl 6. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQT 7. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQT 8. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQT 9. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQT 10. 3Dhttps://email.pctools.com/servlet/c 11. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQTYRQ 12. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQTYRQ 13. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQTYRQ 14. 3Dhttps://email.pctools.com/servlet/cc6?iJltkQ 15. 3Dhttps://email=/ 16. 3Dhttps://email=/ 17. 3Dhttps://email.pctools.com/s 18. 3Dhttps://email.pctools.com=/ 19. 3Dhttps://email.=/ 20. 3Dmailto:[EMAIL PROTECTED] Hidden links: 21. =https://email.pctools.com/servlet/cc6?iJltkQTYRQTVzbmLklphgkxMjLL___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
2008/9/17 Mel [EMAIL PROTECTED]: On Thursday 18 September 2008 01:15:45 Marc G. Fournier wrote: Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? # crontab -l @reboot /usr/sbin/daemon -p /var/run/grok-ssh.pid /usr/local/bin/grok -f /etc/pf/grok-ssh.conf # grep -- -0F /usr/local/bin/grok my $TAIL = /usr/bin/tail -0F; so that newsyslog doesn't interfere. $ cat /etc/pf/grok-ssh.conf file /var/log/auth.log { type ssh-illegal-user { match = Invalid user %USERNAME% from %IP%; threshold = 5; # 5 hits ... key = %IP%;# from a single ip ... interval = 60; # in 1 minutes reaction = /root/bin/pfscanners %IP%; # permanent }; type ssh-scan-possible { match = Did not receive identification string from %IP%; threshold = 3; interval = 60; reaction = /sbin/pfctl -t scanners -Tadd %IP%; #temporary }; }; $ cat /root/bin/pfscanners #!/bin/sh while( test ! -z $1 ); do /sbin/pfctl -t scanners -Tadd $1 echo $1 /etc/pf/scanners.table shift done $ grep scanners /etc/pf.conf table scanners persist file /etc/pf/scanners.table block in log on $ext_if from scanners -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Cool utilities..:) Also you may consider if you want to watch another logs and alert you about that...you should try sec.plits in the ports... Very configurable and helps you with all your logs you want From there you could add it to the hosts.allow or you could lunch a script or a FW rule... Cheers, Agustin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto blacklist ssh connections ...
I employed this solution: http://johan.fredin.info/openbsd/block_ssh_bruteforce.html You have to enable pf, but man it works and it works well! Best Regards, Nathan Lay Marc G. Fournier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know of a utility that I can use with sshd to auto-block by IP if there are more then N failed attempts in a row? ie: # grep Invalid user /var/log/auth.log| awk '{print $10}' | sort | uniq -c | sort -nr 5268 140.113.210.174 4863 72.52.225.116 3586 116.14.255.141 2918 193.205.186.67 2033 219.76.75.6 1308 216.14.127.67 1059 61.72.106.71 983 93.123.14.9 691 202.75.221.197 649 59.77.33.139 381 201.80.15.207 269 190.10.255.73 212 81.252.254.189 181 123.151.32.12 150 211.21.47.50 139 196.219.63.3 128 200.111.64.171 This is for one day ... I'd like to be able to throttle so that after X Invalid user attempts, the IP gets blocked ... Possible? - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjRj6EACgkQ4QvfyHIvDvOsYQCgyaB3MhvHJk9qShRlovwSAXxx 3oQAn2NQ8zLFVO82Udp+mZaojwbfoKmw =SuAI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Maxtor STM3250310AS is recognized as SATA150 instead of SATA300
Hi list- I'm running FreeBSD 7.1-PRERELEASE (cvsuped and built yesterday) on Asus P5KPL-VM with Maxtor STM3250310AS (250GB) for some reason being recognized as SATA150. According to P5KPL-VM specs (http://www.asus.com/products.aspx?l1=3l2=11l3=563l4=0model=1772modelmenu=2) it does support 3Gb/s, so does STM3250310AS (http://www.seagate.com/staticfiles/support/disc/manuals/maxtor/100451230c.pdf). Maxtor hard drive came with jumper but removing it didn't help -- I still see SATA150 in dmesg output. I also updated Asus BIOS to the latest version and replaced SATA cables -- none of this helped. Here is more detailed information: %dmesg | grep SATA atapci1: Intel ICH7 SATA300 controller port 0xc400-0xc407,0xc080-0xc083,0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb88f irq 19 at device 31.2 on pci0 ad4: 238475MB MAXTOR STM3250310AS 3.AAC at ata2-master SATA150 %atacontrol cap ad4 Protocol Serial ATA II device model MAXTOR STM3250310AS serial number 9RY1LHWX firmware revision 3.AAC cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 488397168 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management no no 65278/0xFEFE automatic acoustic management no no 0/0x00 208/0xD0 %pciconf -lv [EMAIL PROTECTED]:0:31:2:class=0x01018f card=0x81791043 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class = mass storage subclass = ATA There were couple of similar threads and one guy reported that he was able to get SATA300 by playing with AHCI settings in BIOS, but I don't really see anything related to AHCI in my BIOS. Any hints would be greatly appreciated. Regards, Roman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with ng_ipacct
Hello friend! I try to start ng_ipacct on my gif interface. And have problem with initialization: looks that system does not understand divert keyword startext# ngctl + mkpeer ipacct ctl ctl + name .:ctl ipacct_gif0 + mkpeer ipacct_gif0: ksocket gif0_in inet/raw/divert ngctl: send msg: Protocol not supported in all manuals it works, but not in my case. Some ideas? May someone can help with advice? Thanks in advance, Alex P.S.: loaded modules: startext# kldstat | grep ng 71 0xc5624000 4000 ng_socket.ko 91 0xc564 4000 ng_mppc.ko 111 0xc5867000 4000 ng_ether.ko 121 0xc586b000 3000 ng_tee.ko 131 0xc586e000 4000 ng_ipacct.ko 141 0xc5875000 5000 ng_ksocket.ko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
a1exus wants to keep up with you on Twitter
To find out more about Twitter, visit the link below: http://twitter.com/i/0f39b27348d49a3bb634bc713c0c43b8c91cf2f3 Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your friends doing—right now? With Twitter, you may answer this question over SMS, IM, or the Web and the responses are shared between contacts. This message was sent by a Twitter user who entered your email address. If you'd prefer not to receive emails when other people invite you to Twitter, click here: http://twitter.com/i/optout/7b085d72abea60fdcdb9c99c5715f22306366165 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bash shell colors
Hello list, I am looking to configure FreeBSD's Bash can anyone post a config file that would make FreeBSD's Bash shell color code like the default gentoo bash shell or if you have a config that you like and feel like posting it I will take a look at it. Sam Fourman Jr. Fourman Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading to 64 bit from a 32 bit installation on FBSD 7
Hi, I've got a server which will be upgraded to my castoff parts which support amd64. This machine has been running Freebsd since the 5.0 RC's, starting on a P2 233Mhz, upgraded incrementally for a few years - a real testament to the stability of a FreeBSD install! What I've done in the past while upgrading is simply move the drive, and rebuild everything with an updated make.conf optimized for the new processor. Can I simply rebuild the world (or use freebsd-update), and portupgrade everything to rebuild for amd64? Or, will things break as libraries are upgraded which still have 32-bit dependancies on the system? Also, AFAIK upgrading to a 64 bit system allows access to additional registers on the CPU, leading to a performance increase. The system will only have 1.5 gigs of RAM, so that's not an issue, but are there any benchmarks out there comparing performance on 4GB hardware with 32 bit and 64 bit Freebsd? Thanks! --Andrew
Re: problem with ng_ipacct
Hello all. I found reason - recompile kernel with the following options. options IPFIREWALL #firewall options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default options IPDIVERT#divert sockets Alexey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]