Re: Getting unswapped?

2014-05-27 Thread bodie
On 27.05.2014 07:33, Alan Corey wrote: Mostly so when I switch to a different application, maybe on a different page of the FVWM desktop, it isn't sitting there swapped out and it's responsive. I've usually got 20 or more applications open at once (most just RXVT windows) and reboot about once

Re: Getting unswapped?

2014-05-27 Thread Brett Lymn
On Tue, May 27, 2014 at 08:04:54AM +0200, bodie wrote: Setting swappiness to 0 helps more, but then why is that parameter here at all? Why Linux is swapping most used pages even as there's plenty of free RAM and cache is total mystery. because it is doing exactly what you asked it to

Re: Getting unswapped?

2014-05-27 Thread bodie
On 27.05.2014 08:10, Brett Lymn wrote: On Tue, May 27, 2014 at 08:04:54AM +0200, bodie wrote: Setting swappiness to 0 helps more, but then why is that parameter here at all? Why Linux is swapping most used pages even as there's plenty of free RAM and cache is total mystery. because it is

Re: Wrong Shutdown

2014-05-27 Thread frantisek holop
hmm, on Tue, May 27, 2014 at 07:14:49AM +0200, Otto Moerbeek said that block size is between 4096 and 65536, fragment size between 512 and block size. Both are powers of 2, and block size can be 1, 2, 4, or 8 times fragments size. For media files -b 65536 -i 65536 is fine. If you still

Re: Wrong Shutdown

2014-05-27 Thread Otto Moerbeek
On Tue, May 27, 2014 at 11:06:10AM +0200, frantisek holop wrote: hmm, on Tue, May 27, 2014 at 07:14:49AM +0200, Otto Moerbeek said that block size is between 4096 and 65536, fragment size between 512 and block size. Both are powers of 2, and block size can be 1, 2, 4, or 8 times fragments

pf+voip

2014-05-27 Thread Швецов Михаил
Does pf have specific rules for voip, may be example of working pf_rule with voip? Because for «standart rules» i have problems with voip. set skip on lo match out on pppoe0 from { em1:network } nat-to (pppoe0) block pass out pass in on { em1 } - after hanging up, the line near 3 minutes

Re: pf+voip

2014-05-27 Thread Stefan Sperling
On Tue, May 27, 2014 at 01:59:07PM +0400, Швецов Михаил wrote: Does pf have specific rules for voip, may be example of working pf_rule with voip? Because for «standart rules» i have problems with voip. set skip on lo match out on pppoe0 from { em1:network } nat-to (pppoe0) block

Re: pf+voip

2014-05-27 Thread Dmitry Petrakoff
Hi! It is most unlikely the issue of pf or its rules. Simply because your issues are related to SIP (busy issue) and RTP/phone (voice volume). Pf does not have any SIP ALG built-in so can't affect VoIP. I'd like to suggest you to check busy issue with your VoIP provider or to check out different

Re: pf+voip

2014-05-27 Thread Dahlberg, David
Am Dienstag, den 27.05.2014, 14:15 +0400 schrieb Dmitry Petrakoff: It is most unlikely the issue of pf or its rules. Simply because your issues are related to SIP (busy issue) and RTP/phone (voice volume). Pf does not have any SIP ALG built-in so can't affect VoIP. Well that is not completely

Re: Run 'n' play missing home-based package manager for OpenBSD

2014-05-27 Thread Giancarlo Razzolini
Em 27-05-2014 02:26, bodie escreveu: On 27.05.2014 07:09, Giancarlo Razzolini wrote: Em 27-05-2014 01:22, bodie escreveu: Why do you think that it's good idea to allow users install 3rd party packages without need for root privileges? Users can compile and run whatever they want in their

Re: pf+voip

2014-05-27 Thread Andre Ruppert
Tue, 27 May 2014 13:59:07 +0400 Швецов Михаил mv...@ya.ru wrote: Does pf have specific rules for voip, may be example of working pf_rule with voip? Because for «standart rules» i have problems with voip. set skip on lo match out on pppoe0 from { em1:network } nat-to (pppoe0) block

Re: Run 'n' play missing home-based package manager for OpenBSD

2014-05-27 Thread Antonio Feitosa
It's just like Homebrew. But, with no sudo. Em terça-feira, 27 de maio de 2014, Giancarlo Razzolini grazzol...@gmail.com escreveu: Em 27-05-2014 02:26, bodie escreveu: On 27.05.2014 07:09, Giancarlo Razzolini wrote: Em 27-05-2014 01:22, bodie escreveu: Why do you think that it's good

Re: pf+voip

2014-05-27 Thread Dmitry Petrakoff
Sorry, that was exactly I meant ( OT probably ): The first issue with late hang-up most likely means, that calee hung up and his UAC sent SIP BYE within existing dialog. For some reasons either UAS on caller's side or intermediate SIP proxy discarded that BYE. There could be the same issue with

Re: Run 'n' play missing home-based package manager for OpenBSD

2014-05-27 Thread Giancarlo Razzolini
Em 27-05-2014 13:18, Eric Lalonde escreveu: On a multi-user production system this is unattractive from this system administrator's point of view. On a single-user system this is redundant because the ports system already exists, and you have the priveledge to install whatever you want. So you

Re: pf+voip

2014-05-27 Thread Ryan Freeman
On Tue, May 27, 2014 at 01:59:07PM +0400, wrote: Does pf have specific rules for voip, may be example of working pf_rule with voip? Because for «standart rules» i have problems with voip. set skip on lo match out on pppoe0 from { em1:network } nat-to (pppoe0)

pipex and npppd syslog

2014-05-27 Thread Marko Cupać
Hi, I have relatively busy npppd pptp server, and it logs a lot of output into /var/log/messages. How can I move npppd and pipex log messages into separate file? Thank you in advance, -- Marko Cupać

Re: Weird disklabel problem

2014-05-27 Thread Martijn Rijkeboer
OK, I got it booting. In a fairly useless config, but ... Booting from a -current amd64 cd55.iso cd-rom, I (E)dited the MBR so that the OpenBSD 'A6' partition started on sector 2048, and was 500MB in size. I accepted the auto configured disklabel (i.e. all space in 'a') and installed w/o

problem between postfix and Courier authdaemond

2014-05-27 Thread Mika
Hi, i habe a little problem with authdaemond. cat /var/log/maillog May 27 21:12:30 2-2-2-2 postfix/smtps/smtpd[6446]: Anonymous TLS connection established from 1-1-1-1-di.dum.di[1.1.1.1]: TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits) May 27 21:12:30 2-2-2-2 postfix/smtps/smtpd[6446]:

Re: pf+voip

2014-05-27 Thread Stuart Henderson
On 2014/05/27 13:59, Швецов Михаил wrote: Does pf have specific rules for voip, may be example of working pf_rule with voip? Because for «standart rules» i have problems with voip. set skip on lo match out on pppoe0 from { em1:network } nat-to (pppoe0) block pass out pass in on

Re: pf+voip

2014-05-27 Thread Daniel Melameth
On Tue, May 27, 2014 at 3:33 PM, Stuart Henderson s...@spacehopper.org wrote: It just workstm for me, no special setup needed, no static-port or anything, just a standard nat-to rule. This is with various devices; snom and gigaset hardware phones, softclient on android, pjsua on OpenBSD. But

PF log entry

2014-05-27 Thread Stan Gammons
Using tcpdump -n -ttt -r /var/log/pflog I have a log entry with [len16asnlen69] at the end. The packet was from port 65500 to 161. What is len16asnlen69 ?

Authentication with LDAP on OpenBSD

2014-05-27 Thread Predrag Punosevac
For the past three months our small academic lab has used LDAP server from the base of OpenBSD to authenticate users. All our computing nodes and desktops run RedHat Linux while file servers run FreeNAS. Getting them to authenticate users using OpenBSD LDAP directory server was a breeze. Today I