Re: Make gtk widgets use a larger font

2010-12-10 Thread 文鳥
The fastest solution is probably to install
x11/gtk-theme-switch2 and use switch2 to change the theme and/or
font.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-12-10 Thread Paul B Mahol
On 12/10/10, Chris Brennan xa...@xaerolimit.net wrote:
 Umm... what's the dea w/ this? More spam?

Not my spam.

If you still think that I actually really send this to you I can not help you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Want sendmail applying aliases to 'cc:' field too

2010-12-10 Thread c0re
Hey all!

I've got /etc/mail/aliases file like

user: u...@site1.domain.com
user2: us...@site1.domain.com
user3: us...@site2.domain.com

When someone from Internet send email to u...@domain.com with cc: to
us...@domain.com sendmail send mail to user and user3 normaly, they
recieve their mail.

But I need some additional behavior:
user receive that mail with

to: u...@site1.domain.com
cc: us...@domain.com

I want that cc would be us...@site2.domain.com, like in aliases file.

Because I got problems replying to all (with us...@domain.com
included, but it must be us...@site2.domain.com). How this can be
achieved?

In other words I need some kind of cc: field rewriting regarding to
aliases file contents.

I have not found such feature in sendmail. So I think this can be done
with some milter may be... Anyone has ideas?

Any tips, thinks, tricks and etc highly needed! I'm out of ideas at that moment.

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What is loading my server so much?

2010-12-10 Thread Bill Moran
On Thu, 9 Dec 2010 19:30:08 -0600
Gary Gatten ggat...@waddell.com wrote:

 Could there be a ulimit issue as well?

I think shared memory is unaffected by ulimits ... at least, I've never
had trouble with ulimit preventing PostgreSQL from allocating gigs and
gigs of shared memory, and I don't recall every having to bump ulimits.

 
 - Original Message -
 From: owner-freebsd-questi...@freebsd.org 
 owner-freebsd-questi...@freebsd.org
 To: Laszlo Nagy gand...@shopzeus.com
 Cc: questi...@freebsd.org questi...@freebsd.org; daniel...@gmail.com 
 daniel...@gmail.com
 Sent: Thu Dec 09 18:55:26 2010
 Subject: Re: What is loading my server so much?
 
 On Fri, 10 Dec 2010 00:15:14 +0100
 Laszlo Nagy gand...@shopzeus.com wrote:
 
  
   First off, you have 24G of RAM available and PostgreSQL only seems to
   have access to 400M of it.  Bump shared_buffers up to 2 or 3 G at least,
   and bump up work_mem to at least a few hundred meg, and
   maintenance_work_mem up to at 1/2G or so.
  
  All right. Here is what I did. I setup a new shmmax value this way:
  
  sysctl kern.ipc.shmmax=8589934592
  
  It is 8G.  (By the way I also have kern.ipc.shm_use_phys: 1 ) Then I 
  have changed shared_mem to 1024MB in postgresql.conf.
  Then I tried to start postgresql I got this message in the log:
  
  Dec  9 17:53:59 shopzeus postgres[27247]: [1-4] The PostgreSQL 
  documentation contains more information about shared memory configuration.
  Dec  9 17:55:52 shopzeus postgres[27328]: [1-1] FATAL:  could not create 
  shared memory segment: Cannot allocate memory
  Dec  9 17:55:52 shopzeus postgres[27328]: [1-2] DETAIL:  Failed system 
  call was shmget(key=5432001, size=1105051648, 03600).
  Dec  9 17:55:52 shopzeus postgres[27328]: [1-3] HINT:  This error 
  usually means that PostgreSQL's request for a shared memory segment 
  exceeded available memory or swap space. To reduce the request size 
  (currently 1105051648 bytes), reduce PostgreSQL's shared_buffers 
  parameter (currently 131072) and/or its max_connections parameter 
  (currently 203).
  Dec  9 17:55:52 shopzeus postgres[27328]: [1-4] The PostgreSQL 
  documentation contains more information about shared memory configuration.
  
  I do not understand.
  
  Doc says these:
  
  max_connections cost ~ 400 bytes of shared memory slot, plus lock space 
  (see max_locks_per_transaction).
  
  Even if I had max_connections = 5000, total shared memory required would 
  be way below shmmax=8G.
  
  What am I missing here?
 
 Did you bump kern.ipc.shmall?  The one you bumped is the maximum size of
 a single shared memory request, shmall is the maximum amount of shared
 memory for the entire system.  They both have to be increased.  To make
 it more confusing, shmall is in pages, not bytes, so you have to divide
 by pagesize (sysctl hw.pagesize).
 
 -Bill
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 
 font size=1
 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 
 0in 1.0pt 0in'
 /div
 This email is intended to be reviewed by only the intended recipient
  and may contain information that is privileged and/or confidential.
  If you are not the intended recipient, you are hereby notified that
  any review, use, dissemination, disclosure or copying of this email
  and its attachments, if any, is strictly prohibited.  If you have
  received this email in error, please immediately notify the sender by
  return email and delete this email from your system.
 /font
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xpbargains.net spam [was: Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)']

2010-12-10 Thread Ian Smith
In freebsd-questions Digest, Vol 340, Issue 11, Message: 27
On Fri, 10 Dec 2010 00:54:37 -0500
  On Sun, Nov 7, 2010 at 9:54 AM, Paul B Mahol one...@gmail.com wrote:

No, he didn't.  These mails are FORGED as being from freebsd-questions 
participants, and on first glance may appear to be list postings.  They 
used to get posted to the list itself also, but postmaster@ blocked the 
nuisance source back in August.  However that doesn't stop them from 
targetting individual list participants, like you.

If you examine the full mail headers, it's likely to have originated 
from the following IP address.  If so, you just need to block that 
address at your mailserver.  But if they've moved, we need to know ..

Quoting from a message to postmaster@ in August:

  As Roland pointed out, the phishing/virus/whatever referral has switched
  from downwind.com.au to xpbargains.net, and possibly some others.
 
  Here's the business:
 
  % dig +short -x 64.38.11.26
  allmail.0b2.net.
  % dig +short allmail.0b2.net.
  64.38.11.26
  % dig +short dusk.parklogic.com
  64.38.11.26
 
  If you can discard by Message-ID then every one of these, including the
  privately mailed ones, has @dusk.parklogic.com there.
  
  If you can block by IP, then that's the one.  Or by hostname, every one
  so far has been relayed by allmail.0b2.net (that's a zero).

So if the full headers reveal coming from that hostname or that IP or 
any other IP in 64.38.11.26/29, just block that and move on.

If it's a different address range now, please provide the full headers 
for the message you received, with a copy to postmas...@freebsd.org

Thanks, Ian  (please cc me on any reply, I take this list as a digest)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ultradns issues?

2010-12-10 Thread jw011235


On Dec 10, 2010, at 8:40 AM, jw011235 wrote:

It's possible what you're seeing is related to DDOS attacks by  
anonymous on UltraDNS (and others) in connection with all the  
Wikileaks events this week. It's hard to say for certain given how  
poorly most mainstream technical news is reported.


http://news.cnet.com/8301-30684_3-10421577-265.html

Regards,
Jason

On Dec 9, 2010, at 2:54 PM, Paul Macdonald wrote:



is anyone seeing dns problems with ultradns.net,

I'm seeing lookup problems for several big domains, plus as an  
impportant aside freebsd uses whois-servers.net cnames such as  
tld.whois-server.net to the correct whois server


many many other companies use them obv too.

Paul.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 





Nevermind. I should have read further down in my mail. I see there's  
another thread on the same issue. And sorry for top posting earlier.


Regards,
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Want sendmail applying aliases to 'cc:' field too

2010-12-10 Thread tomasz dereszynski

Generally reading documentation helps.
then google...

http://www.google.co.uk/search?source=ighl=enrlz=1G1GGLQ_ENUK294=q=sendmail+aliasesbtnG=Google+Searchaq=foq=

first URL...
http://www.feep.net/sendmail/tutorial/intro/aliases.html

t

 Hey all!

 I've got /etc/mail/aliases file like

 user: u...@site1.domain.com
 user2: us...@site1.domain.com
 user3: us...@site2.domain.com

 When someone from Internet send email to u...@domain.com with cc: to
 us...@domain.com sendmail send mail to user and user3 normaly, they
 recieve their mail.

 But I need some additional behavior:
 user receive that mail with

 to: u...@site1.domain.com
 cc: us...@domain.com

 I want that cc would be us...@site2.domain.com, like in aliases file.

 Because I got problems replying to all (with us...@domain.com
 included, but it must be us...@site2.domain.com). How this can be
 achieved?

 In other words I need some kind of cc: field rewriting regarding to
 aliases file contents.

 I have not found such feature in sendmail. So I think this can be done
 with some milter may be... Anyone has ideas?

 Any tips, thinks, tricks and etc highly needed! I'm out of ideas at that
 moment.

 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org



-- 
bEsT rEgArDs|   Confidence is what you have before you
tomasz dereszynski  |   understand the problem. -- Woody Allen
|
Spes confisa Deo|   In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different. -- Albert Einstein


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ultradns issues?

2010-12-10 Thread jw011235
It's possible what you're seeing is related to DDOS attacks by  
anonymous on UltraDNS (and others) in connection with all the  
Wikileaks events this week. It's hard to say for certain given how  
poorly most mainstream technical news is reported.


http://news.cnet.com/8301-30684_3-10421577-265.html

Regards,
Jason

On Dec 9, 2010, at 2:54 PM, Paul Macdonald wrote:



is anyone seeing dns problems with ultradns.net,

I'm seeing lookup problems for several big domains, plus as an  
impportant aside freebsd uses whois-servers.net cnames such as  
tld.whois-server.net to the correct whois server


many many other companies use them obv too.

Paul.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Want sendmail applying aliases to 'cc:' field too

2010-12-10 Thread c0re
2010/12/10 tomasz dereszynski toma...@paraklet.net:

 Generally reading documentation helps.
 then google...

 http://www.google.co.uk/search?source=ighl=enrlz=1G1GGLQ_ENUK294=q=sendmail+aliasesbtnG=Google+Searchaq=foq=

 first URL...
 http://www.feep.net/sendmail/tutorial/intro/aliases.html

 t

 Hey all!

 I've got /etc/mail/aliases file like

 user: u...@site1.domain.com
 user2: us...@site1.domain.com
 user3: us...@site2.domain.com

 When someone from Internet send email to u...@domain.com with cc: to
 us...@domain.com sendmail send mail to user and user3 normaly, they
 recieve their mail.

 But I need some additional behavior:
 user receive that mail with

 to: u...@site1.domain.com
 cc: us...@domain.com

 I want that cc would be us...@site2.domain.com, like in aliases file.

 Because I got problems replying to all (with us...@domain.com
 included, but it must be us...@site2.domain.com). How this can be
 achieved?

 In other words I need some kind of cc: field rewriting regarding to
 aliases file contents.

 I have not found such feature in sendmail. So I think this can be done
 with some milter may be... Anyone has ideas?

 Any tips, thinks, tricks and etc highly needed! I'm out of ideas at that
 moment.

 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org



 --
 bEsT rEgArDs            |       Confidence is what you have before you
 tomasz dereszynski      |       understand the problem. -- Woody Allen
                        |
 Spes confisa Deo        |       In theory, theory and practice are much
 numquam confusa recedit |       the same. In practice they are very
                        |       different. -- Albert Einstein




I do use aliases file and I know what is it.
But it looks like not this case.
I want Cc: be rewritten like in aliases file defined in Cc: header,
not only those one that comes in RCPT TO:.
And sendmail does not do it with Cc: field.
Yes, recipient that in Cc: field do receive this mail, all ok in this
way, but I want in MY mail Cc: field been rewritten as it is in
aliases.

I want to see in my mail this email headers
to: u...@domain.com
cc: us...@site2.domain.com

Not this one:
to: u...@site1.domain.com
cc: us...@domain.com

Looked at postfix - same thing, no such feature saw there in documentation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS over nfs

2010-12-10 Thread Sven-Åke Svensson

Hi


I have a file server with an zfs system. I have set up nfs shares using 
zfs nfsshare as it says in the documentation. Then the system use 
the file /etc/zfs/exports.


But I find out that I also can share this directories using the standard 
/etc/exports. This way I have all administration of shares in the same 
place. But are there any disadvantages doing it this way? Anybody know?


System is Freebsd 8.1.


Best regards

Sven-Åke Svensson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 'Broadcom Wireless b/g (BCM4315/BCM22062000)'

2010-12-10 Thread Chris Brennan
On Fri, Dec 10, 2010 at 4:07 AM, Paul B Mahol one...@gmail.com wrote:

 On 12/10/10, Chris Brennan xa...@xaerolimit.net wrote:
  Umm... what's the dea w/ this? More spam?

 Not my spam.

 If you still think that I actually really send this to you I can not help
 you.


Well no Paul, I wasn't blaming you directly, I I just noticed that a lot of
mail last night had that message attached to it, even mail from me. By the
time I realized that, I was too tired to care. But either way, I'm still
curious, does this list generate that message?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


THE SPAM WE GET [stop fretting and read]

2010-12-10 Thread Ryan Coleman
No, this list does not.

As I mentioned yesterday, this is an unmonitored, unnannyed list that accepts 
emails from addresses without checking authenticity... meaning I can post from 
4 emails (and I have) and not be subscribed on each address.

Spoofing email addresses has happened for years, and with this list's archives 
being publicly available online it's been happening for a while and will 
continue to happen until the rules may or may not be changed.

--
Ryan 

On Dec 10, 2010, at 8:41 AM, Chris Brennan wrote:

 On Fri, Dec 10, 2010 at 4:07 AM, Paul B Mahol one...@gmail.com wrote:
 
 On 12/10/10, Chris Brennan xa...@xaerolimit.net wrote:
 Umm... what's the dea w/ this? More spam?
 
 Not my spam.
 
 If you still think that I actually really send this to you I can not help
 you.
 
 
 Well no Paul, I wasn't blaming you directly, I I just noticed that a lot of
 mail last night had that message attached to it, even mail from me. By the
 time I realized that, I was too tired to care. But either way, I'm still
 curious, does this list generate that message?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS over nfs

2010-12-10 Thread krad
On 10 December 2010 13:57, Sven-Åke Svensson s...@mbg.se wrote:

 Hi


 I have a file server with an zfs system. I have set up nfs shares using
 zfs nfsshare as it says in the documentation. Then the system use the
 file /etc/zfs/exports.

 But I find out that I also can share this directories using the standard
 /etc/exports. This way I have all administration of shares in the same
 place. But are there any disadvantages doing it this way? Anybody know?

 System is Freebsd 8.1.


 Best regards

 Sven-Åke Svensson

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



if you put it in exports zfs cant manage it, therefore the zfs filesystem
set command becomes redundent and inoperative, so it doesnt fit in with zfs
standard way of doing things. Not really an issue but possibly a little
confusing.

I know its not necessary the case for bsd yet, but on solaris if you have
made the jump to zfs, you have most likely gone for a pure zfs installation,
therefore it all hangs together nicely.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: THE SPAM WE GET [stop fretting and read]

2010-12-10 Thread Jon Radel

On 12/10/10 9:46 AM, Ryan Coleman wrote:

No, this list does not.

As I mentioned yesterday, this is an unmonitored, unnannyed list that accepts 
emails from addresses without checking authenticity... meaning I can post from 
4 emails (and I have) and not be subscribed on each address.

Spoofing email addresses has happened for years, and with this list's archives 
being publicly available online it's been happening for a while and will 
continue to happen until the rules may or may not be changed.

--
Ryan

If this discussion is about the same wave of spam I've been getting 
examples of in the last couple of days, it should be noted that the mail 
isn't coming via the mailing list at all.  Somebody is harvesting e-mail 
addresses and subject lines from a month or more ago and sending the 
spam directly.


Folks, you have to read the headers if you want to have a sensible 
discussion about specific instances of spam.  If you don't, you're 
simply sending yet more noise that's kinda sorta pretending to be signal.


My personal rule of thumb with spam is to assume that absolutely 
everything involved is a lie, this leading to a more accurate overall 
assessment than the naive thought that any of it might possible be true 
just because of some social contract.  After careful analysis, you 
*might* conclude that a few things actually are true, but that's 
different than assuming they are.  So, Subject: that look like they're 
from the FreeBSD mailing list: lie.  From: address that of somebody you 
discussed that topic with on the mailing list: lie.   Date:: lie.  All 
lies with one goal, to get you to click through on a URL that is *not* 
(another lie, get it?) in your self-interest to visit.


--

--Jon Radel
j...@radel.com




Re: What is loading my server so much?

2010-12-10 Thread Michael Powell
Matthew Seaman wrote:

 On 09/12/2010 11:31, Laszlo Nagy wrote:
 Today something happened. Number of http processes went up to 200. As a
 result, number of connections to database also went up to 200, and the
 web server is now refusing clients with Cannot connect to database
 messages (coming from PHP).
 
 This is a classic scenario.  Some burst of traffic causes your apache to
 spawn more child processes than will all fit in RAM at one time.
 Consequently, the system starts to swap.  Swapping kills performance.
 This slows everything down so much that there are always requests
 waiting for apache to process, so apache will never find any idle
 children to kill off.  Result misery.
 
 The answer is to limit the number of child processes apache will spawn.
 Decide how much of your available RAM you can devote to Apache.  Look at
 top(1) to find the maximum size apache processes grow to.  The ratio of
 those two sizes is the maximum number of apache processes your system
 can support.
 
 Limiting the total number of apache processes sounds counter-intuitive.
 What happens when you get sufficient traffic that apache maxes out?  Web
 queries will generally be queued up until there's an apache child free
 to handle them.  Generally that will take from a few 10s of milliseconds
 on up -- although if you're regularly getting into a state where your
 webserver takes seconds to answer, then it's time to get more beefy
 hardware.
 

The quintessential first-try for this has historically been to set 
keepalives to Off. Not a solution, just an interim stop gap. If this makes 
any discernible improvement (however small) it confirms the situation.

What I did was switch to the event mpm and FastCGI. Fewer processes, but 
each process spawns lots of threads . Each of the threads within a process 
can reuse the database connection previously established by a different 
thread. Saves connection create/build-up/tear-down cycles as well as RAM. 

Then throw libmemcached into the mix, if possible. To properly utilize 
memcached your PHP has to have some code inserted so it will talk. This sets 
aside a cached buffer pool of RAM for database connections , similar to the 
connection pool you would find in use by a Java servlet container such as 
Tomcat or Resin. If unable to refactor code, in lieu of this you can enable 
MySQL SQL  data cache. Not as effective, but if you get a lot queries which 
are the same SQL it saves cycles.  The amount of YMMV here would depend upon 
how many queries are repetitive. If each and every query is unique it won't 
do much.

So some fictitious example would be like start with some small number of 
stand-by processess such as 8,16,32, etc. Each process might have a thousand 
threads. When this thousand threads is reached Apache opens another process 
with a thousand more. You would still want to set a max-child/max-thread 
count along the lines you previously described. However, this approach gets 
you more headroom at the PHP data access wall of hanging doom.

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Make gtk widgets use a larger font

2010-12-10 Thread parv
in message 20101209114208.c1...@qroenaqrq.6qbyyneqvnyhc.pbz, wrote
Lars Eighner thusly...

 How do I make gtk widgets use larger fonts? I found an old linux
 FAQ on this, but it appears to have nothing to do with the way
 configuration works on FreeBSD.

In ~/.gtkrc-2.0, I have ...

  style default
  {
#font=-adobe-new century 
schoolbook-medium-r-normal--14-*-*-*-*-*-iso8859-1
#font_name=New Century Schoolbook 12
font_name=Bitstream Vera Sans 10
  }

  style user-tooltip
  {
font_name=Screen 15
  }

  #  'gtk-font-name' property is needed for damned Firefox 1.5 as
  #  'font_name' property alone didn't work, but does for Gimp 2.2.
  #  Anti-aliased fonts are used though i would love to use
  #  non-anti-aliased font in order to get New Century Schoolbook 14
  #  font.
  #gtk-font-name = Bitstream Vera Serif 12
  #gtk-font-name = New Century Schoolbook 12
  gtk-font-name = Bitstream Vera Sans 10

  widget *  style default
  widget *tooltip*  style user-tooltip


... and in ~/.gtkrc ...

  style default
  {
font=-adobe-new century schoolbook-medium-r-normal--18-*-*-*-p-*-iso8859-1
  }

  style user-tooltip
  {
font=-sgi-screen-bold-r-normal--16-*-*-*-*-0-iso8859-1
  }

  widget *  style default
  widget *tooltip*  style user-tooltip



  - parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Want sendmail applying aliases to 'cc:' field too

2010-12-10 Thread Giorgos Keramidas
On Fri, 10 Dec 2010 17:12:17 +0300, c0re nr1c...@gmail.com wrote:
 I do use aliases file and I know what is it.
 But it looks like not this case.
 I want Cc: be rewritten like in aliases file defined in Cc: header,
 not only those one that comes in RCPT TO:.
 And sendmail does not do it with Cc: field.
 Yes, recipient that in Cc: field do receive this mail, all ok in this
 way, but I want in MY mail Cc: field been rewritten as it is in
 aliases.

 I want to see in my mail this email headers
 to: u...@domain.com
 cc: us...@site2.domain.com

 Not this one:
 to: u...@site1.domain.com
 cc: us...@domain.com

 Looked at postfix - same thing, no such feature saw there in documentation.

That's because aliases do not actually 'rewrite' anything.  They merely
redirect the message.  Have a look at:

FEATURE('masquerade_envelope')
FEATURE(`allmasquerade')

But pay careful attention to the warning about `allmasquerade' in the
docs at `/usr/share/sendmail/cf/README'.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Issues when running Heartbeat on FreeBSD 8.1 RELEASE

2010-12-10 Thread Kevin Mai
Hi folks, 

I'm trying to build a failover solution using FreeBSD 8.1-RELEASE and Heartbeat 
from ports (v2.1.4-10). 

I've already configured heartbeat in the two peers, but once I start the daemon 
using the /usr/local/etc/rc.d/heartbeat script, either CRM and CIB fail to 
start. 

I've already found out that the issue is appearing with CIB: when the daemon 
runs CIB it doesn't start, but if I run it using some flags, it starts, and 
them I'm able to run CRM too. 

IE: 
heartbeat[12539]: 2010/12/10_14:22:14 info: Starting 
/usr/local/lib/heartbeat/cib as uid 275 gid 275 (pid 12539) 
heartbeat[12540]: 2010/12/10_14:22:14 info: Starting 
/usr/local/lib/heartbeat/attrd as uid 275 gid 275 (pid 12540) 
heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed 
/usr/local/lib/heartbeat/cib process 12539 exited with return code 2. 
heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client 
/usr/local/lib/heartbeat/cib respawning too fast 
heartbeat[12541]: 2010/12/10_14:22:14 info: Starting 
/usr/local/lib/heartbeat/crmd as uid 275 gid 275 (pid 12541) 
heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed 
/usr/local/lib/heartbeat/attrd process 12540 exited with return code 2. 
heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client 
/usr/local/lib/heartbeat/attrd respawning too fast 
heartbeat[12482]: 2010/12/10_14:22:14 WARN: Managed 
/usr/local/lib/heartbeat/crmd process 12541 exited with return code 2. 
heartbeat[12482]: 2010/12/10_14:22:14 ERROR: Client 
/usr/local/lib/heartbeat/crmd respawning too fast 

but if I run it from command line 

[r...@mrefns09 /usr/ports]# /usr/local/lib/heartbeat/cib -s -VVV  
cib[13338]: 2010/12/10_14:30:49 info: main: Retrieval of a per-action CIB: 
disabled 
cib[13338]: 2010/12/10_14:30:49 info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig) 
cib[13338]: 2010/12/10_14:30:49 debug: debug3: file2xml: Reading 3538 bytes 
from file 
cib[13338]: 2010/12/10_14:30:49 WARN: validate_cib_digest: No on-disk digest 
present 
cib[13338]: 2010/12/10_14:30:49 debug: update_quorum: CCM quorum: old=(null), 
new=false 
cib[13338]: 2010/12/10_14:30:49 debug: update_counters: Counters updated by 
readCibXmlFile 
cib[13338]: 2010/12/10_14:30:49 notice: readCibXmlFile: Enabling DTD validation 
on the existing (sane) configuration 
cib[13338]: 2010/12/10_14:30:49 info: startCib: CIB Initialization completed 
successfully 
cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening 
on: /var/run/heartbeat/crm/cib_callback 
cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening 
on: /var/run/heartbeat/crm/cib_ro 
cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening 
on: /var/run/heartbeat/crm/cib_rw 
cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening 
on: /var/run/heartbeat/crm/cib_rw_syncronous 
cib[13338]: 2010/12/10_14:30:49 debug: debug3: init_server_ipc_comms: Listening 
on: /var/run/heartbeat/crm/cib_ro_syncronous 
cib[13338]: 2010/12/10_14:30:49 info: cib_init: Starting cib mainloop 

[r...@mrefns09 /usr/local/lib/heartbeat]# /usr/local/lib/heartbeat/crmd -VVV 
crmd[14877]: 2010/12/10_15:14:28 debug: debug3: main: Enabling coredumps 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
digraph g { 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
size = 30,30 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
graph [ 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontsize = 12 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontname = Times-Roman 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontcolor = black 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: bb 
= 0,0,398.922306,478.927856 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
color = black 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: ] 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
node [ 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontsize = 12 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontname = Times-Roman 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontcolor = black 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
shape = ellipse 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
color = black 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: ] 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
edge [ 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: init_dotfile: actions:trace: 
fontsize = 12 
crmd[14877]: 2010/12/10_15:14:28 debug: debug2: 

Updating 1 single port.

2010-12-10 Thread Grant Peel
Hi all,

I suspect I have an issue with Proftpd and need to update it quickly. At 
Christmas break we will be apdating all ports and src, but for now, I would 
like to get the latest version of Proftpd up.

What is the best / quickest method of getting 1 single port updated? (Proftpd 
1.3.3c)

-G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread tomasz dereszynski

 Hi all,

 I suspect I have an issue with Proftpd and need to update it quickly. At
 Christmas break we will be apdating all ports and src, but for now, I
 would like to get the latest version of Proftpd up.

 What is the best / quickest method of getting 1 single port updated?
 (Proftpd 1.3.3c)


portupgrade --OPTION PORT_NAME

-- 
bEsT rEgArDs|   Confidence is what you have before you
tomasz dereszynski  |   understand the problem. -- Woody Allen
|
Spes confisa Deo|   In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different. -- Albert Einstein


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Michael Powell
Grant Peel wrote:

 Hi all,
 
 I suspect I have an issue with Proftpd and need to update it quickly. At
 Christmas break we will be apdating all ports and src, but for now, I
 would like to get the latest version of Proftpd up.
 
 What is the best / quickest method of getting 1 single port updated?
 (Proftpd 1.3.3c)
 

Since this is in the ports, refresh your ports tree. Then just cd to 
/usr/ports/ftp/proftpd and do make  make deinstall  make reinstall. Most 
ports will not munge your config files by this process. Just in case, I 
always set aside a copy of the relevant .conf file as insurance.

This is the manual do it yourself way. Portupgrade and others can 
accomplish the same. But this is quick and simple for just doing one port. 
Also don't forget to restart the daemon afterward.  :-)

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mountroot prompt in the middle of updating - can't get past it

2010-12-10 Thread Boris Samorodov
On Thu, 9 Dec 2010 11:38:29 -0800 Kurt Buff wrote:
 On Wed, Dec 8, 2010 at 22:50, Boris Samorodov b...@ipt.ru wrote:
  On Wed, 8 Dec 2010 11:49:41 -0800 Kurt Buff wrote:
 
  All,
 
  I have a Lenovo T61 with a 100g HD that I dual boot with FreeBSD
  8.0-STABLE amd64 and Windows XP.

How and to which version did you upgrade?

  FBSD is on ad0s2a, with ad0s2b as swap, and XP on ad0s1a.
 
  Yesterday I booted up FBSD, started xfce4, started a terminal session,
  su'ed to root and did the following - running a generic kernel:
 
  # cd /usr/src
  # make buildworld
  # make buildkernel
  # make installkernel
 
  Then I exited xfce4, did sudo shutdown -r now, and got a mountroot
  prompt that I now can't get past.
 
  I can get to the loader prompt, and lsdev shows the following:
 
     cd devices:
     disk devices:
           disk0:     BIOS drive C:
              disk0s1: NTFS/HPFS
                  disk0s2a:  FFS
                  disk02sb:  swap

Is it a typo? (seems should be disk0s2b: swap

  when I use '?' at the mountroot prompt I get:
 
     List of GEOM managed disk devices:
        acd0

Hm, ad0s2a should be listed here. Seems that the new kernel doesn't
detect a disk adapter.

Your kernel config and may be helpful. BTW, dmesg for both successful
and unsuccessful boot may give us some tips too.

     Loader variables:
     vfs.root.mountfrom=ufs:/dev/ad0s2a
     vfs.root.mountfrom.options=rw
 
  I've tried entering the following at the mountroot prompt, with no success:
     ufs:/dev/ad0s2a

That is the right one.

     ufs:/ad0s2a
     ufs:ad0s2a
     ffs:/dev/ad0s2a
 
  and several other variations that I've found while googling, but no
  success anywhere.
 
  Does anyone have thoughts on how to remedy this?
 
  Just for the last question:
  Try to load an old kernel. (Type boot /boot/kernel.old at loader
  prompt.)

 That worked...

 I think I'll try the update process again.

 Anything else you can recommend?

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Paul Macdonald

On 10/12/2010 15:26, Grant Peel wrote:

Proftpd 1.3.3c


portupgrade proftpd 1.3.3c

or delete the port from /usr/ports/distfiles,   do a portsnap update,  
portsnap fetch index then make deinstall  make install clean


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Warren Block

On Fri, 10 Dec 2010, Michael Powell wrote:


Grant Peel wrote:


I suspect I have an issue with Proftpd and need to update it quickly. At
Christmas break we will be apdating all ports and src, but for now, I
would like to get the latest version of Proftpd up.

What is the best / quickest method of getting 1 single port updated?
(Proftpd 1.3.3c)


Since this is in the ports, refresh your ports tree. Then just cd to
/usr/ports/ftp/proftpd and do make  make deinstall  make reinstall.


make clean deinstall install

is a little safer.  But the problem that many people run into is that 
they haven't updated other installed ports, including infrastructure 
like the autotools ports that were updated today.  So when they try to 
update a single port, things it depends on are missing or outdated.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Michael Powell
Warren Block wrote:

 On Fri, 10 Dec 2010, Michael Powell wrote:
 
 Grant Peel wrote:

 I suspect I have an issue with Proftpd and need to update it quickly. At
 Christmas break we will be apdating all ports and src, but for now, I
 would like to get the latest version of Proftpd up.

 What is the best / quickest method of getting 1 single port updated?
 (Proftpd 1.3.3c)

 Since this is in the ports, refresh your ports tree. Then just cd to
 /usr/ports/ftp/proftpd and do make  make deinstall  make reinstall.
 
 make clean deinstall install
 
 is a little safer.  But the problem that many people run into is that
 they haven't updated other installed ports, including infrastructure
 like the autotools ports that were updated today.  So when they try to
 update a single port, things it depends on are missing or outdated.

Excellent point indeed! The autotools fun - a perfect case in point. While 
you may be able to get away with a simple update some of the time, that is 
certainly not true all of the time.

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Runaway ProFTP?

2010-12-10 Thread Ryan Coleman
Does anyone have any ideas?

On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote:

 Dear list,
 
 Has anyone else had experience with ProFTP 1.3.3a running away with 
 processes? I installed it about 2 months ago with a new server build and over 
 the course of the last three weeks I've had to forcibly kill, wait and 
 restart the service every one-to-three days and sucking up between 20% and 
 80% of my system resources.
 
 I've attempted to change the logging in hopes to track down what is causing 
 the problems but I have not been successful. Additionally it won't connect 
 after a restart through Filezilla but using Terminal on my MBP it will 
 connect in the CLI.
 
 It's not the end of the world (for me) but it is for my staff when they have 
 to upload large numbers of photos.
 
 Thanks,
 Ryan
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Runaway ProFTP?

2010-12-10 Thread Jerry Bell
I have been having this happen a few times per week for the past few 
weeks.  I believe it is caused by someone attacking proftpd.  I noticed 
today that there is an updated version - 1.3.3c that fixes a 
vulnerability that they may have been trying to exploit.


When I looked at the process list, I would see around 20 proftpd's, each 
with a high amount of CPU used, and connected to a specific IP.  I'd 
firewall off those IPs and kill off proftpd/restart.  Knock on wood, I 
have not had that happen since upgrading to 1.3.3c, but that may just be 
because no one has tried again yet.


Jerry
On 12/10/2010 4:39 PM, Ryan Coleman wrote:

Does anyone have any ideas?

On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote:


Dear list,

Has anyone else had experience with ProFTP 1.3.3a running away with processes? 
I installed it about 2 months ago with a new server build and over the course 
of the last three weeks I've had to forcibly kill, wait and restart the service 
every one-to-three days and sucking up between 20% and 80% of my system 
resources.

I've attempted to change the logging in hopes to track down what is causing the 
problems but I have not been successful. Additionally it won't connect after a 
restart through Filezilla but using Terminal on my MBP it will connect in the 
CLI.

It's not the end of the world (for me) but it is for my staff when they have to 
upload large numbers of photos.

Thanks,
Ryan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread RW
On Fri, 10 Dec 2010 13:07:00 -0700 (MST)
Warren Block wbl...@wonkity.com wrote:

 On Fri, 10 Dec 2010, Michael Powell wrote:
 
  Grant Peel wrote:
 
  I suspect I have an issue with Proftpd and need to update it
  quickly. At Christmas break we will be apdating all ports and src,
  but for now, I would like to get the latest version of Proftpd up.
 
  What is the best / quickest method of getting 1 single port
  updated? (Proftpd 1.3.3c)
 
  Since this is in the ports, refresh your ports tree. Then just cd to
  /usr/ports/ftp/proftpd and do make  make deinstall  make
  reinstall.
 
 make clean deinstall install
 
 is a little safer.  

And I would suggest running pkg_create -b,  package-name in advance,
just in case the install fail and you are left with a deinstalled port.
Portupgrade does that automatically.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Runaway ProFTP?

2010-12-10 Thread Thomas Wahyudi

On 11/12/2010 4:47, Jerry Bell wrote:
I have been having this happen a few times per week for the past few 
weeks.  I believe it is caused by someone attacking proftpd.  I 
noticed today that there is an updated version - 1.3.3c that fixes a 
vulnerability that they may have been trying to exploit.


When I looked at the process list, I would see around 20 proftpd's, 
each with a high amount of CPU used, and connected to a specific IP.  
I'd firewall off those IPs and kill off proftpd/restart.  Knock on 
wood, I have not had that happen since upgrading to 1.3.3c, but that 
may just be because no one has tried again yet.


Jerry


yeap, thats correct according to proftpd website news, I upgrade using 
latest port but still get attacking, I change to pure-ftpd then 
everything fine


--
Thanks  Regards,

Thomas Wahyudi

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Runaway ProFTP?

2010-12-10 Thread Grant Peel
- Original Message - 
From: Jerry Bell je...@nrdx.com

To: freebsd-questions@freebsd.org
Sent: Friday, December 10, 2010 4:47 PM
Subject: Re: Runaway ProFTP?


I have been having this happen a few times per week for the past few weeks. 
I believe it is caused by someone attacking proftpd.  I noticed today that 
there is an updated version - 1.3.3c that fixes a vulnerability that they 
may have been trying to exploit.


When I looked at the process list, I would see around 20 proftpd's, each 
with a high amount of CPU used, and connected to a specific IP.  I'd 
firewall off those IPs and kill off proftpd/restart.  Knock on wood, I 
have not had that happen since upgrading to 1.3.3c, but that may just be 
because no one has tried again yet.


Jerry
On 12/10/2010 4:39 PM, Ryan Coleman wrote:

Does anyone have any ideas?

On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote:


Dear list,

Has anyone else had experience with ProFTP 1.3.3a running away with 
processes? I installed it about 2 months ago with a new server build and 
over the course of the last three weeks I've had to forcibly kill, wait 
and restart the service every one-to-three days and sucking up between 
20% and 80% of my system resources.


I've attempted to change the logging in hopes to track down what is 
causing the problems but I have not been successful. Additionally it 
won't connect after a restart through Filezilla but using Terminal on my 
MBP it will connect in the CLI.


It's not the end of the world (for me) but it is for my staff when they 
have to upload large numbers of photos.


Thanks,
Ryan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




Indeed, this Proftpd 1.3.3a vulnerability is exactly what my post on 
upgrading a single port is all about. I can say for a fact that the botnets 
are trying to use the vulnerability and that you are quite correct that the 
CPU /  ZOMBIE processes are exploit related.


I just upgraded today and so far so good.

\FYI for anyone that is following my thread on updating one single port: I 
must have a somwhat busted installation. Using port upgrade failed ... sorry 
I did not remember to keep the output, but, I was able to download the 
source from proftpd.org and install it from scratch.


-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Runaway ProFTP?

2010-12-10 Thread Ryan Coleman
I have not been able to get portsnap to work at all today.


On Dec 10, 2010, at 10:53 PM, Grant Peel wrote:

 - Original Message - From: Jerry Bell je...@nrdx.com
 To: freebsd-questions@freebsd.org
 Sent: Friday, December 10, 2010 4:47 PM
 Subject: Re: Runaway ProFTP?
 
 
 I have been having this happen a few times per week for the past few weeks. 
 I believe it is caused by someone attacking proftpd.  I noticed today that 
 there is an updated version - 1.3.3c that fixes a vulnerability that they 
 may have been trying to exploit.
 
 When I looked at the process list, I would see around 20 proftpd's, each 
 with a high amount of CPU used, and connected to a specific IP.  I'd 
 firewall off those IPs and kill off proftpd/restart.  Knock on wood, I have 
 not had that happen since upgrading to 1.3.3c, but that may just be because 
 no one has tried again yet.
 
 Jerry
 On 12/10/2010 4:39 PM, Ryan Coleman wrote:
 Does anyone have any ideas?
 
 On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote:
 
 Dear list,
 
 Has anyone else had experience with ProFTP 1.3.3a running away with 
 processes? I installed it about 2 months ago with a new server build and 
 over the course of the last three weeks I've had to forcibly kill, wait 
 and restart the service every one-to-three days and sucking up between 20% 
 and 80% of my system resources.
 
 I've attempted to change the logging in hopes to track down what is 
 causing the problems but I have not been successful. Additionally it won't 
 connect after a restart through Filezilla but using Terminal on my MBP it 
 will connect in the CLI.
 
 It's not the end of the world (for me) but it is for my staff when they 
 have to upload large numbers of photos.
 
 Thanks,
 Ryan
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 Indeed, this Proftpd 1.3.3a vulnerability is exactly what my post on 
 upgrading a single port is all about. I can say for a fact that the botnets 
 are trying to use the vulnerability and that you are quite correct that the 
 CPU /  ZOMBIE processes are exploit related.
 
 I just upgraded today and so far so good.
 
 \FYI for anyone that is following my thread on updating one single port: I 
 must have a somwhat busted installation. Using port upgrade failed ... sorry 
 I did not remember to keep the output, but, I was able to download the source 
 from proftpd.org and install it from scratch.
 
 -Grant 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


vi/vim questions

2010-12-10 Thread Gary Kline

This may apply to other systems that can use a vi clone, not just
the BSD's.  I am looking for an easy way of turning on/off my list of
homonyms that I am trying to set up for my :abbreviation list.

So, is there a failsafe way of

(1) including my ~150 :ab list in vim and turning it on

and then 

(2) turning the vim list off so that, What I-Type-Is-what-I-See [?]
In other words, dis-including my list of abbrevs.

I tried this with ten or fifteen words last summer in nvi, and it
worked very well with my ktts/festival suite. I was able, using my
Thinkpad as a testbed, have the computer talk clearly for me.  A day
or two later  I went into C mode for a day or three.  After a few 
hours of enjoying my hacking, I had to stop, remove the :ab words 
from my ~/.nexrc and continue.

For anyone who hasn't read my ideas about this, I am attempting to
collect the 130+ most commonly used words and create natural or
common sense abbreviations for each word.  Obv'ly, this would be
unnecessary for people who have no trouble typing accurately and
rapidly.  

I have decided to use vim because is it widely used as the next step
in a text editor based on vi, and because it may allow me to simply
include a file in ~/vimrc; I'm not sure how far the improvements go.

thanks, everybody,


gary




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


umask .ape

2010-12-10 Thread xinyou yan
1.
In my system
umask  enter
022

I want to know why i  do the commander

umask -S
it show Improper mask
not  u=rwx,g=.

2. anybody who know how to listen   the music like .ape  or flac


thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org