Re: defining ports LOCKDIR

2010-06-18 Thread Sean Kennedy
Marc, Everyone.

I say  /tmp

This; if anything, is what makes OpenBSD - Unix -.
The correct usage of /tmp

/etc/daily  I strongly urge be fixed.

-sean

 Date: Wed, 16 Jun 2010 17:17:40 +0200
 From: es...@nerim.net
 To: tech@openbsd.org
 Subject: Re: defining ports LOCKDIR

 I should have been more specific. This is not a vote as to where we
 should put the default.

 If you think of the constraints (usually not NFS, user-writable), there
 are about two locations that make sense: /tmp or /var/tmp.

 Also remember that it makes no sense for those locks to survive reboot.
 So /tmp is the only location that makes sense.

 Remember that it is a default.

 Stuart's remark wrt /etc/daily is good, but /etc/daily can be fixed.

 What do you say ? default, or not default ?




A computer without COBOL and FORTRAN is like a piece of
chocolate cake without ketchup or mustard.  unix fortune cookie.



_
Look 'em in the eye: FREE Messenger video chat
http://go.microsoft.com/?linkid=9734386



update bind/root.hint

2010-06-18 Thread Gleydson Soares
hi,

sync root.hint with ftp.internic.net.

- ipv6 address for i-root added
- remove extra spaces in k-root and l-root
Index: root.hint
===
RCS file: /cvs/src/etc/bind/root.hint,v
retrieving revision 1.7
diff -u root.hint
--- root.hint   29 Dec 2009 08:14:00 -  1.7
+++ root.hint   18 Jun 2010 13:04:07 -
@@ -11,8 +11,8 @@
 ;   on server   FTP.INTERNIC.NET
 ;   -OR-RS.INTERNIC.NET
 ;
-;   last update:Dec 12, 2008
-;   related version of root zone:   2008121200
+;   last update:Jun 17, 2010
+;   related version of root zone:   2010061700
 ;
 ; formerly NS.INTERNIC.NET
 ;
@@ -61,6 +61,7 @@
 ;
 .360  NSI.ROOT-SERVERS.NET.
 I.ROOT-SERVERS.NET.  360  A 192.36.148.17
+I.ROOT-SERVERS.NET.  360    2001:7FE::53
 ;
 ; operated by VeriSign, Inc.
 ;
@@ -71,14 +72,14 @@
 ; operated by RIPE NCC
 ;
 .360  NSK.ROOT-SERVERS.NET.
-K.ROOT-SERVERS.NET.  360  A 193.0.14.129 
+K.ROOT-SERVERS.NET.  360  A 193.0.14.129
 K.ROOT-SERVERS.NET.  360    2001:7fd::1
 ;
 ; operated by ICANN
 ;
 .360  NSL.ROOT-SERVERS.NET.
 L.ROOT-SERVERS.NET.  360  A 199.7.83.42
-L.ROOT-SERVERS.NET.  360    2001:500:3::42   
+L.ROOT-SERVERS.NET.  360    2001:500:3::42
 ;
 ; operated by WIDE
 ;



Re: PF FAQ example ruleset

2010-06-18 Thread Sean Kennedy
pf.conf  and typical workstation settings aside, I am wondering about PF FAQ
and 'Some examples.

Really a pf.conf for what I use DD-WRT for running on a linksys. (as compared
to default Linksys Firmware)

(outside world)--[OpenBSD box{PF, dhcpd, services}]--({NAT}wired/wireless
lan)--[PSP, PS3, WinCE, and/or computers]

A good pf.conf example ruleset just to do this, would meet most if not all
basic needs; Need to do more, read the man page...

Wired and Wireless dhcpd config's are straightforward, as are services like
CUPS, SSHd, and FTPd.

Mostly this saves on component count since I use the same OpenBSD box as a
Windows Netbook terminal, and I don't have to lug +5 pieces of gear to get a
network of my own.
For PSP's and PS3's and other devices Like Windows CE, running 802.11bgn
wireless, in my own WLAN space saves me re-running a setup for the wireless
connection every time I goto another hotel...
Further I can run a Branch Office in a Box If I added the requisite VPN
parts, but thats outside the scope of Basic NAT micronetting here.

Note: I did not want to send a DIFF since these are Examples for the PF FAQ,
and not updates for -release.

FWIW, these three examples are what I use for the outside world wired, and
WLAN NAT-Net behind PF.
bge0 is dhclient ext_if,  ural0 is dhcpd int_if.  This is not the latest
pf.conf from etc47, but updated for the Match Rule.

pf.conf
#$OpenBSD: pf.conf,v 1.44 2009/06/10 15:29:34 sobrado Exp $
#
# See pf.conf(5) for syntax and examples; this sample ruleset uses
# require-order to permit mixing of NAT/RDR and filter rules.
# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.

#set skip on lo

#ext_if=fxp0 #used on HP SFF Desktop in road-case, Lenovo PinkPad S10
uses bge0 for wired.
#ext_if=ural0#for reversed wireless to wired NAT lan.  Change
hostname.ural0 to a dhcp-client version.
ext_if=bge0
#int_if=bge0  #for reversed wireless to wired NAT lan. Change
hostname.bge0 to the dhcpd wired version.
int_if=ural0


# NAT/filter rules and anchors for ftp-proxy(8)
#nat-anchor ftp-proxy/*
#rdr-anchor ftp-proxy/*
#rdr pass on ! egress proto tcp to port ftp - 127.0.0.1 port 8021
#anchor ftp-proxy/*
#pass out proto tcp from $proxy to any port ftp

# NAT/filter rules and anchors for relayd(8)
#rdr-anchor relayd/*
#anchor relayd/*
#nat on $ext_if from !($ext_if) - ($ext_if:0) ### 4.6 old, does not work in
4.7 see below ###

match out on $ext_if from !($ext_if) nat-to ($ext_if:0)

# NAT rules and anchors for spamd(8)
#table spamd-white persist
#table nospamd persist file /etc/mail/nospamd
#no rdr on egress proto tcp from nospamd to any port smtp
#no rdr on egress proto tcp from spamd-white to any port smtp
#rdr pass on egress proto tcp from any to any port smtp - 127.0.0.1 port
spamd

pass out# to establish keep-state

#block in quick from urpf-failed to any# use with care

# By default, do not permit remote connections to X11
block in on ! lo0 proto tcp to port 6000:6010

pass quick on $int_if no state
antispoof quick for { lo $int_if }

pass in on $ext_if proto icmp to ($ext_if)
pass in on $ext_if proto tcp to ($ext_if) port ssh

pf.conf




hostname.ural0 __
!ifconfig ural0 down
!ifconfig ural0 nwkey 0xC0FFEE0DEADBEEF0CAB1BADA55
!ifconfig ural0 mediaopt hostap nwid 1020wlanmyopenbsd3040 chan 6
!ifconfig ural0 10.16.1.1 netmask 255.255.255.0
#!ifconfig ural0 up
hostname.ural0 __



dhcpd.conf 

#$OpenBSD: dhcpd.conf,v 1.2 2008/10/03 11:41:21 sthen Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
#

# Network:192.168.1.0/255.255.255.0
# Domain name:my.domain
# Name servers:192.168.1.3 and 192.168.1.5
# Default router:192.168.1.1
# Addresses:192.168.1.32 - 192.168.1.127
#
option  domain-name dfg.org;
# DFG.ORG Office
option  domain-name-servers 192.168.125.1;
# Marriot Hotel Internet
#option  domain-name-servers 4.2.2.1;

subnet 10.16.1.0 netmask 255.255.255.0 {
option routers 10.16.1.1;

range 10.16.1.32 10.16.1.42;

host static-client {
#hardware ethernet 22:33:44:55:66:77;
#fixed-address 0.1.2.3;
}

host handheld-one {
hardware ethernet 00:a0:35:28:40:0f;
fixed-address 10.16.1.200;
option host-name wince-hh-one;
}

host handheld-two {
hardware ethernet 00:a0:35:28:40:0b;
fixed-address 10.16.1.202;
option host-name wince-hh-two;
}

host pxe-client {
hardware ethernet 02:03:04:05:06:07;
filename pxeboot;
next-server 10.16.1.1;
}
}
dhcpd.conf 



These are just examples, but they work for me.


---

 Subject: Re: PF FAQ example ruleset
 Bump!
  The more examples the better, as 

Re: PF FAQ example ruleset

2010-06-18 Thread Stuart Henderson
On 2010/06/18 09:32, Sean Kennedy wrote:
 Note: I did not want to send a DIFF since these are Examples for the PF FAQ,
 and not updates for -release.

If you think they should go in the FAQ, you would need to
send a diff for the FAQ so we can see how you'd fit them in..

  Subject: Re: PF FAQ example ruleset
  Bump!

I haven't had as much spare time as I'd like since then...



Si tu equipo gana, te regalamos 149 USD.

2010-06-18 Thread Mundial Implacable - CT
Si tu equipo gana, re regalamos 149 USD

Si no puede ver este Newsletter correctamente, o desea ver la version HTML
completa presione en el SIGUIENTE LINK
http://www.editorialpoulbert.com.ar/Newsletter/news_mundial_2010_promo/news_mundial.html

Mundial FIFA Sudfrica 2010 IMPLACABLE 

Si tu Pais gana su partido en el mundial ESE DIA (o sea el dia que juega tu
pais) te regalamos 149 USD.
Exacto, escuchaste bien, a vos te regalamos 149 USD solo porque tu Pais
gano SU PARTIDO del mundial ese dia. 
Esos 149 dolares podes utilizarlos como pago para cualquiera de nuestros
cursos y carreras.

-
ARGENTINA
17/06: Si gana contra Corea del Sur
22/06: Si gana contra Grecia
SI GANA EN OCTAVOS DE FINAL

MEXICO
17/06: Si gana contra Francia
22/06: Sin gana contra Uruguay
SI GANA EN OCTAVOS DE FINAL

ESPAQA
21/06: si gana contra Honduras
25/06: si gana contra Chile
SI GANA EN OCTAVOS DE FINAL

ESTADOS UNIDOS
18/06: si gana contra Eslovenia
23/06: si gana contra Argelia
SI GANA EN OCTAVOS DE FINAL

URUGUAY
22/06: si gana contra Mexico
SI GANA EN OCTAVOS DE FINAL

PARAGUAY
20/06: si gana contra Eslovaquia
24/06: si gana contra Nueva Zelanda
SI GANA EN OCTAVOS DE FINAL

CHILE
21/06: si gana contra Suiza
25/06: si gana contra Espaa
SI GANA EN OCTAVOS DE FINAL

HONDURAS
21/06: si gana contra Espaa
25/06: si gana contra Suiza
SI GANA EN OCTAVOS DE FINAL

-

El dia que tu equipo GANA, venis o llamas a CentralTECH
(www.centraltech.com.ar) y reclamas tu Premio.
Recorda que tiene que ser el mismo dia, si por algun motivo no llegas,
espera hasta el proximo partido, y si tu equipo GANA, bueno pues te ganaste
149 USD. 
Esta promo se extiende hasta el 30 de Junio 2010, o sea hasta todos los
partidos de Octavos de FINAL inclusive. 
Es un solo premio de 149 USD por persona.

-

Encontranos en...
http://www.centraltech.tv/
http://www.facebook.com/centraltech
http://blogcentraltech.blogspot.com/
http://twitter.com/centraltech_ct


Argentina - Bs As.: 
+54 (11) 5031-2233
 Espaqa - Madrid: 
+34 (91) 143-6077
 Mexico - Dis. Fed.:
+52 (55) 1163-8760
 USA - Miami:
+1 (786) 718-1991

Lavalle 348 - Piso 6 - (C1043AAF) Buenos Aires, Argentina |
masi...@centraltech.com.ar http://www.centraltech.com.ar/ |
http://www.centraltech.com.ar






















Si no desea continuar recibiendo nuestros Newsletters,
http://mail.ctnewsletter.com.ar:20080/lists/?p=unsubscribeuid=5d4d37f1358e36e589fb6759c9893e35

Para cambiar sus opciones de envio
http://mail.ctnewsletter.com.ar:20080/lists/?p=preferences

Visite nuestra politica de PRIVACIDAD
http://mail.ctnewsletter.com.ar:20080/lists/privacidad.html


--
Powered by CTNewsletter, mail.ctnewsltter.com.ar --



Patch to remove redundant splbio()/splx()

2010-06-18 Thread Matthew Dempsky
The bufpool pool is already protected at IPL_BIO (see line 242 of
kern/vfs_bio.c), so it's redundant to block interrupts in getphysbuf()
just for allocating from the pool.

Index: kern/kern_physio.c
===
RCS file: /cvs/src/sys/kern/kern_physio.c,v
retrieving revision 1.29
diff -u -p kern/kern_physio.c
--- kern/kern_physio.c  4 Jun 2009 21:27:14 -   1.29
+++ kern/kern_physio.c  18 Jun 2010 22:52:46 -
@@ -262,11 +262,8 @@ struct buf *
 getphysbuf(void)
 {
struct buf *bp;
-   int s;
 
-   s = splbio();
bp = pool_get(bufpool, PR_WAITOK | PR_ZERO);
-   splx(s);
 
bp-b_vnbufs.le_next = NOLIST;



ΣΕΜΙΝΑΡΙΟ ΔΙΕΚΔΙΚΗΤΙΚΗΣ ΣΥΜΠΕΡΙΦΟΡΑΣ (ASSERTIVENESS TRAINING) ΕΠΙΚΟΙΝΩΝΙΑ

2010-06-18 Thread Akis Angelakis
Acapgt]r v_ker jai v_koi,

Sto sumgll]mo aqwe_o ha bqe_te pokk]r pkgqovoq_er jai amakutij^
helatokoc_a cia tto enaiqetij\ yv]kilo selim\qio pou c_metai se lia
idia_teqa pqomoloiaj^ til^ le h]la +Diejdijgtij^ sulpeqivoq\ jai
Epijoimym_a;.

To selim\qio e_mai elpkoutisl]mo le pokk]r asj^seir jai paqade_clata,
~ste ma lpoqe_te ma evaql|sete |ka |sa ha ajo}sete stgm jahgleqim^
eqcasiaj^ jai joimymij^ sar fy^.

Peqioqisl]mor aqihl|r h]seym. Dgk~ste ]cjaiqa tg sulletow^ sar!

Le vikijo}r waiqetislo}r

jgr Accek\jgr LLM, SAC Dip.,

Authorized Trainer, Counselor  Life Coach,

S}lboukor Epiweiq^seym, Ejd|tgr, Succqav]ar.

Image A Seminars, Ejd|seir PKGQOTGTA

Ehmij^r Amtist\seyr 21, M]a Wakjgd|ma, Ah^ma 143 43

Tgk. 210-2512988  210-2584880 Fax 210-2512988

www.akis-angelakis.com

Am dem epihule_te ma kalb\mete tgm paqap\my akkgkocqav_a, paqajako}le
pat^ste ed~

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of 
=?windows-1253?Q?=C4=C9=C5=CA=C4=C9=CA=C7=D4=C9=CA=C7_=D3=D5=CC=...CA=CF=C9=CD=D9=CD=C9=C1.pdf?=]



Try this patch.. HP Laptop Panic

2010-06-18 Thread jordan
This patch is for an issue seen with ACPI on a HP Laptop but wanted to get
some additional testing done.  Some debugging prints in for now.

? acpipci.diff
? acpitz.c.fix
? condref
? msg
? passive.diff
? tzdiff
? xdiff
Index: dsdt.c
===
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.157
diff -u -p -u -p -b -r1.157 dsdt.c
--- dsdt.c  5 Dec 2009 02:38:11 -   1.157
+++ dsdt.c  19 Jun 2010 03:10:08 -
@@ -699,6 +699,11 @@ aml_delchildren(struct aml_node *node)

aml_delchildren(onode);

+   if (onode-value  onode-value-refcnt  1) {
+   printf(MULTI: %s\n, aml_nodename(onode));
+   onode-value-node = NULL;
+   }
+
/* Decrease reference count */
aml_xdelref(onode-value, );

@@ -976,6 +981,9 @@ aml_copyvalue(struct aml_value *lhs, str
break;
case AML_OBJTYPE_OBJREF:
lhs-v_objref = rhs-v_objref;
+   aml_xaddref(lhs-v_objref.ref, );
+   printf(copy objref: %x %s\n, lhs-v_objref.type,
+   aml_nodename(lhs-v_objref.ref-node));
break;
default:
printf(copyvalue: %x, rhs-type);
@@ -3626,11 +3634,11 @@ aml_xparse(struct aml_scope *scope, int
/* CondRef: rr = I */
ival = 0;
if (opargs[0]-node != NULL) {
-   aml_freevalue(opargs[1]);
-
/* Create Object Reference */
-   _aml_setvalue(opargs[1], AML_OBJTYPE_OBJREF, opcode, 
opargs[0]);
-   aml_xaddref(opargs[1], CondRef);
+   opargs[2] = aml_allocvalue(AML_OBJTYPE_OBJREF, opcode,
+   opargs[0]);
+   aml_xaddref(opargs[0], CondRef);
+   aml_xstore(scope, opargs[1], 0, opargs[2]);

/* Mark that we found it */
ival = -1;