Re: ipv6, rtadvd.conf, raflags

2012-04-27 Thread Brad Smith

On 27/04/12 10:56 PM, David Diggles wrote:

I am just not doing a very good job of explaining.  I am not confused about
the role of each daemon.  I am setting up a router and that is why I am
using rtadvd.


But you're using rtadvd improperly.


I am confused about which daemon gets the address and default route assigned,
to the router.  Can rtadvd do this?


No that is not what rtadvd is for.

Although the pppoe(4) man page has not been updated for IPv6 support yet
I noticed this mentioned on a URL mentioned on misc@ which should be
equivalent to adding a default route for IPv4 as mentioned in the man
page. If this works as expected the man page should be updated.

``!/sbin/route add -inet6 default -ifp pppoe0 ::0.0.0.1''


Here is an sample from the daemon log, after rtadvd starts (after pppoe
has connected to the ISP)..

rtadvd[10686]: sendmsg on pppoe0: No route to host
rtadvd[10686]: prefix :::xxx::/64 from ::yyy:::
on pppoe0 is not in our list


Yes, you should not be trying to use rtadvd on the PPPoE interface.


ifconfig pppoe0 inet6 :::xxx::/64


IMHO there is no real point in doing this. You'll have an address on the one
or more Ethernet interfaces on the system.


Voila, I have ipv6 connectivity on the router, then dhcp6c can assign
an address from a static address block the ISP provides me, to the 2nd
interface.


Yes, although personally I use the ISC DHCP client and dnsmasq on the
router / firewall.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Where's my bandwidth going?

2012-04-27 Thread David Diggles
> To see the ins and outs of our network traffic, I like
> using pftop.  I looked at iftop too, it has an interesting
> display but pftop was more useful for me.

The systat command is useful too.

systat states - provides similar view to that of pftop.



Re: ipv6, rtadvd.conf, raflags

2012-04-27 Thread David Diggles
> Maybe I am misunderstanding what you're trying to say but it seems
> like you're confused about the role of each daemon. rtadvd runs on
> your router/firewall. rtsol runs on the client to assign the address
> and default route.

I am just not doing a very good job of explaining.  I am not confused about the 
role of each daemon.  I am setting up a router and that is why I am using 
rtadvd.

I am confused about which daemon gets the address and default route assigned, 
to the router.  Can rtadvd do this?

Here is an sample from the daemon log, after rtadvd starts (after pppoe has 
connected to the ISP)..

rtadvd[10686]: sendmsg on pppoe0: No route to host
rtadvd[10686]: prefix :::xxx::/64 from ::yyy::: on 
pppoe0 is not in our list

So now if I go:

ifconfig pppoe0 inet6 :::xxx::/64
route add -inet6 default -ifp pppoe0 ::yyy:::

The above addresses are dynamic.

Voila, I have ipv6 connectivity on the router, then dhcp6c can assign an 
address from a static address block the ISP provides me, to the 2nd interface.

Am I making more sense?



INSCRIPCIONES SOCIAL MEDIA FÓRUM, 4 Speakers expertos con usted! Yahoo,Wsi,Leapfactor,Eslabón.

2012-04-27 Thread Lic. Loana Blum
[IMAGE]
Social Media Worldwide Fsrum Los mejores Speakers de Latinoamirica
presentes!
1ro de Junio, Ciudad de Mixico.ONE DAY WORKSHOP
Lic. Luis Arvizu Director General Yahoo Mixico
Lic. Sergio Villalobos Director de Mercadotecnia en Leapfactor
Lic. Lev Castelan Director comercial WSI
Lic. Pavel Alvarez Head Coach Eslabsn Colectivo Digital

Facebook Marketing / Mobile Marketing Strategy / Community Management 
/Innovacisn
y Nuevos Medios Sociales / Generando Valor para su Marca

Un espacio para compartir Experiencias, ideas y conocimientos con
expertos y ejecutivos como usted. ;&nbs p;  

!Solicite Mayores Informes! Por favor responda este e-mail con los datos
siguientes.
Empresa:
Nombre:
Telifono:
Email:
Nzmero de Interesados:
En breve recibira la informacisn completa de este inigualable evento.
Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le
atendera.
Telifonos: (0133) 8851-2365, (0133) 8851-2741.
Empresa Registrada ante la STPS
Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico.
Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados.
E-Mail MARKETING SERVICE POWERED BY MEDIAMKTOOLS.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
ALTO, si en esta ocasisn la informacisn recibida no fue de su interis
pero desea recibir informacisn personalizada en relacisn a otros temas
favor de indicarlo.
Si usted ha recibido este mensaje por error, haga caso omiso de il y de
antemano una sincera disculpa por la molestia, reporte su cuenta
respondiendo este correo con el subject BAJASOCIAL
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJASOCIAL
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia para nosotros y no es intencisn de la empresa la
inconformidad del receptor, nuestra intencisn es promover herramientas de
utilidad para el

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
imageforum001.jpg]



American Express Alert - Personal Security Key Reset

2012-04-27 Thread americanexpr...@email.americanexpress.com
American Express Alert - Personal Security Key Reset

For your security:



Dear American Express member,

To protect your account(s), we need you to re-authenticate your account
by updating your Pers onal Security Key. For authenticate your identity
please click on the following link.

http://www.americanexpress.com/myca/form/serverstack/action?request_type=75629812604
.

As a reminder, your Personal Security Key is not the password associated
with your User ID when you log in to www.americanexpress.com. You created
this unique key when you activated your Card. We will ask for your
Personal Security Key when you call American Express to validate your
identification and to securely and promptly service your requests. Your
Personal Security Key applies to all of your American Express Card
accounts where you are the Basic Cardmember.

Thank you for your Cardmembership.

Sincerely,

American Express Customer Care

Cardmember:

Account Ending:



Contact Customer Service

View Our Privacy Statement

Add Us to Your Address Book

Your Cardmember information is included in the upper-right corner to help
you recognize this as a customer service e-mail from American Express.
Using the spam/junk mail function may not block servicing messages from
being sent to your email account. .

Copyright 2011 American Express Company. All rights reserved.

CASEUPSW0001005



Re: Considering laptops: Thinkpad T410, T420 others?

2012-04-27 Thread Tobias Sarnowski

On 04/27/12 18:28, Ian Dotson wrote:

I'm looking for a laptop that will run -current without too much
fiddling. Currently considering a Thinkpad T410 or T420 -- anyone who
has one want to share how well it works? Have recent changes fixed
problems[1] with the console after starting X?

Hi Ian,

switching to console does not work for me with -current on my T420. 
Everything else is works fine for me. I am not using the sound card nor 
the video camera. Besides that, X is running stable and I had not a 
single problem with it - no special configuration nessecary. The 
wireless chip requires the firmware package described in the openbsd 
manuals.


For a quick overview, here is my dmesg:
OpenBSD 5.1-current (GENERIC.MP) #269: Sat Apr  7 17:01:22 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8471048192 (8078MB)
avail mem = 8223199232 (7842MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae23000 (67 entries)
bios0: vendor LENOVO version "83ET59WW (1.29 )" date 06/01/2011
bios0: LENOVO 4178CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! 
TCPA SSDT SSDT DMAR UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) 
EHC2(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.67 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF

cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF

cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,NXE,LONG,LAHF

cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 98 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4911" serial 59410 type LION oem "LGC"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2691 MHz: speeds: 2701, 2700, 2400, 2200, 2000, 
1800, 1600, 1400, 1200, 1000, 800 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel GT2+ Video" rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
"Intel 6 Series KT" rev 0x04 at pci0 dev 22 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address 
00:21:cc:62:d1:e4

ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 functi

Re: Considering laptops: Thinkpad T410, T420 others?

2012-04-27 Thread Nick Templeton
I have a ThinkPad T410 and it works great. It does still have the console/X
issues you refer to as of the April 23rd amd64 snapshot though.

-Nick
On Apr 27, 2012 11:34 AM, "Ian Dotson"  wrote:

> I'm looking for a laptop that will run -current without too much
> fiddling. Currently considering a Thinkpad T410 or T420 -- anyone who
> has one want to share how well it works? Have recent changes fixed
> problems[1] with the console after starting X?
>
> I'd be interested in hearing about success stories with other Core i5
> or i7 laptops as well. (I know I should be avoiding configurations
> with nvidia video.)
>
> Thanks,
> Ian
>
> 1. http://marc.info/?l=openbsd-misc&m=132639015131933&w=2



Re: Considering laptops: Thinkpad T410, T420 others?

2012-04-27 Thread Jiri B
On Fri, Apr 27, 2012 at 09:28:42AM -0700, Ian Dotson wrote:
> I'm looking for a laptop that will run -current without too much
> fiddling. Currently considering a Thinkpad T410 or T420 -- anyone who
> has one want to share how well it works? Have recent changes fixed
> problems[1] with the console after starting X?

I have older T400 and is good one, ok not as like old Thinkpad before
it was sold to China :)

jirib



Re: OpenBSD on EC2/Amazon

2012-04-27 Thread Fernando Quintero
Hi!

Thanks all you for the answers.

Cheers,

On Wed, Apr 25, 2012 at 12:42 AM, Fernando Quintero <
fernando.a.quint...@gmail.com> wrote:

> Hi all,
>
> I have a question:
>
> ?Is anyone working to make possible run OpenBSD on Amazon EC2?
>
> now, It is possible to run NetBSD and FreeBSD, but I can not find much
> information about the progress of OpenBSD on this topic.
>
> Thanks in advanced.
>
> --
>
>
> --
> Fernando Quintero
> http://nonroot.blogspot.com/
> Just a nonroot User
>



--


--
Fernando Quintero
http://nonroot.blogspot.com/
Just a nonroot User



kernel stopped in older hardware

2012-04-27 Thread Mihai Popescu
Hello,

I have an old hardware using OpenBSD and installing from snapshots
gives me this kernel stop. The dmesg from a working version, output
messages and details are at this link:
http://marc.info/?l=openbsd-misc&m=132741797807073&w=2
There is no kernel panic, it is just a kernel stop.

I saw a post on the list which says it is good to disable the
offending hardware for isolating the problem. I was using -c option
for boot and disabled intelagp and the stop went away.
My hardware has an AGP slot which is empy because I'm using a PCI
video card. Can this stop be related to this? I was using the same
configuration for the older versions at it was ok.
What am I losing by disabling intelagp ?

Thanks.



Considering laptops: Thinkpad T410, T420 others?

2012-04-27 Thread Ian Dotson
I'm looking for a laptop that will run -current without too much
fiddling. Currently considering a Thinkpad T410 or T420 -- anyone who
has one want to share how well it works? Have recent changes fixed
problems[1] with the console after starting X?

I'd be interested in hearing about success stories with other Core i5
or i7 laptops as well. (I know I should be avoiding configurations
with nvidia video.)

Thanks,
Ian

1. http://marc.info/?l=openbsd-misc&m=132639015131933&w=2



Re: ipv6, rtadvd.conf, raflags

2012-04-27 Thread Brad Smith

On 27/04/12 7:46 AM, David Diggles wrote:

The man page could use some work especially clarifying the use of
raflags and
pinfoflags.

To set the O flag alone use ``raflags#64''. To set both M and O use
``raflags#192''.


Thanks Brad.

I still can't get rtadvd to automatically assign dynamic address and route.

I am forced to check the daemon log, grab the addresses and manually assign
 them, then it works.

On the other hand, rtsold will automatically do this, but this is for a
 router not a host.

If I can't find a way to do it with rtadvd.conf, I will need to scrape it
 from the log with a script.


Maybe I am misunderstanding what you're trying to say but it seems
like you're confused about the role of each daemon. rtadvd runs on
your router/firewall. rtsol runs on the client to assign the address
and default route.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: MPLS VPN on OpenBSD

2012-04-27 Thread Tobias Crefeld
Am Fri, 27 Apr 2012 17:46:38 +0530
schrieb Girish Venkatachalam :

> While someone actually writes an article on undeadly on VPNs please
> also write about MPLS VPN creation as I find no documentation about
> this.

Usually you don't need this if you are not the MPLS-provider/carrier
who owns and runs the MPLS-network but only a customer, because then
carrier will provide a edge-router that is encapsulating the
MPLS-/ATM-traffic.

We were running OpenBSD-routers to connect to a MPLS-based VPN (by
COLT) till last year but the edge router was a Cisco-machine and we
"saw" only IP on Ethernet with some RFC-1918-addressing.

If you really want to run your own MPLS/ATM-stuff you could have a look
at the man-pages "lpd", "bgpd" and "mpe".


RU,
 Tobias.



Re: ipv6, rtadvd.conf, raflags

2012-04-27 Thread David Diggles
> The man page could use some work especially clarifying the use of
> raflags and
> pinfoflags.
> 
> To set the O flag alone use ``raflags#64''. To set both M and O use
> ``raflags#192''.

Thanks Brad.

I still can't get rtadvd to automatically assign dynamic address and route.

I am forced to check the daemon log, grab the addresses and manually assign 
them, then it works.

On the other hand, rtsold will automatically do this, but this is for a router 
not a host.

If I can't find a way to do it with rtadvd.conf, I will need to scrape it from 
the log with a script.

:/



Re: pfsync changes in current?

2012-04-27 Thread Kapetanakis Giannis

On 27/04/12 12:31, Kapetanakis Giannis wrote:

On 14/03/12 21:41, Camiel Dobbelaar wrote:

This is not from just after the reboot right?  The "failed state
lookup/inserts" might be interesting just after the firewalls have
stabilized.



Hi,

After upgrading today to latest -current (i386)
(f1) OpenBSD 5.1-current (GENERIC.MP) #252: Tue Apr 24 15:58:54 MDT 2012
(f2) OpenBSD 5.1-current (GENERIC) #209: Tue Apr 24 15:50:09 MDT 2012

I still have the same problem.
When the primary firewall reboots, It becomes MASTER on the carp 
interfaces

before the pfsync bulk transfer ends:



I think I've traced the source of the problem a bit further.
When I reboot firewall1, firewall2 (which is now MASTER) starts a pfsync 
bulk transfer.

Why is that happening?

In order to reboot primary firewall I do

(f1) # ifconfig -g carp carpdemote
to force BACKUP mode.

Apr 27 12:37:58 f1 /bsd: carp0: state transition: MASTER -> BACKUP
Apr 27 12:37:58 f1 /bsd: carp2: state transition: MASTER -> BACKUP
Apr 27 12:37:58 f1 /bsd: carp3: state transition: MASTER -> BACKUP
Apr 27 12:37:58 f1 /bsd: carp1: state transition: MASTER -> BACKUP
Apr 27 12:38:22 f1 reboot: rebooted by root
Apr 27 12:38:22 f1 syslogd: exiting on signal 15

Then I see on firewall2:

Apr 27 12:37:58 f2 /bsd: carp0: state transition: BACKUP -> MASTER
Apr 27 12:37:58 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:37:58 f2 /bsd: carp1: state transition: BACKUP -> MASTER
Apr 27 12:37:58 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:37:58 f2 /bsd: carp2: state transition: BACKUP -> MASTER
Apr 27 12:37:58 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:37:58 f2 /bsd: carp3: state transition: BACKUP -> MASTER
Apr 27 12:37:58 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:38:34 f2 /bsd: carp: pfsync0 demoted group carp by 1 to 1 
(pfsyncdev)
Apr 27 12:38:34 f2 /bsd: carp: pfsync0 demoted group pfsync by 1 to 1 
(pfsyncdev)
Apr 27 12:38:36 f2 /bsd: carp: pfsync0 demoted group carp by 1 to 2 
(pfsync bulk start)
Apr 27 12:38:36 f2 /bsd: carp: pfsync0 demoted group pfsync by 1 to 2 
(pfsync bulk start)


Why is that sync started?

Apr 27 12:38:36 f2 /bsd: carp: pfsync0 demoted group carp by -1 to 1 
(pfsyncdev)
Apr 27 12:38:36 f2 /bsd: carp: pfsync0 demoted group pfsync by -1 to 1 
(pfsyncdev)
Apr 27 12:38:43 f2 /bsd: carp: pfsync0 demoted group carp by 1 to 2 
(pfsyncdev)
Apr 27 12:38:43 f2 /bsd: carp: pfsync0 demoted group pfsync by 1 to 2 
(pfsyncdev)
Apr 27 12:38:47 f2 /bsd: carp: pfsync0 demoted group carp by -1 to 1 
(pfsyncdev)
Apr 27 12:38:47 f2 /bsd: carp: pfsync0 demoted group pfsync by -1 to 1 
(pfsyncdev)
Apr 27 12:39:01 f2 /bsd: carp: pfsync0 demoted group carp by 1 to 2 
(pfsyncdev)
Apr 27 12:39:01 f2 /bsd: carp: pfsync0 demoted group pfsync by 1 to 2 
(pfsyncdev)
Apr 27 12:39:03 f2 /bsd: carp: pfsync0 demoted group carp by -1 to 1 
(pfsyncdev)
Apr 27 12:39:03 f2 /bsd: carp: pfsync0 demoted group pfsync by -1 to 1 
(pfsyncdev)
Apr 27 12:40:12 f2 /bsd: carp: pfsync0 demoted group carp by 1 to 2 
(pfsyncdev)
Apr 27 12:40:12 f2 /bsd: carp: pfsync0 demoted group pfsync by 1 to 2 
(pfsyncdev)
Apr 27 12:40:15 f2 /bsd: carp: pfsync0 demoted group carp by -1 to 1 
(pfsyncdev)
Apr 27 12:40:15 f2 /bsd: carp: pfsync0 demoted group pfsync by -1 to 1 
(pfsyncdev)
Apr 27 12:40:42 f2 /bsd: carp: pfsync0 demoted group carp by 1 to 2 
(pfsyncdev)
Apr 27 12:40:42 f2 /bsd: carp: pfsync0 demoted group pfsync by 1 to 2 
(pfsyncdev)
Apr 27 12:40:44 f2 /bsd: carp: pfsync0 demoted group carp by -1 to 1 
(pfsyncdev)
Apr 27 12:40:44 f2 /bsd: carp: pfsync0 demoted group pfsync by -1 to 1 
(pfsyncdev)

Apr 27 12:40:49 f2 /bsd: carp0: state transition: MASTER -> BACKUP
Apr 27 12:40:49 f2 /bsd: carp3: state transition: MASTER -> BACKUP
Apr 27 12:40:49 f2 /bsd: carp2: state transition: MASTER -> BACKUP
Apr 27 12:40:49 f2 /bsd: carp1: state transition: MASTER -> BACKUP
Apr 27 12:41:01 f2 /bsd: carp0: state transition: BACKUP -> MASTER
Apr 27 12:41:01 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:41:01 f2 /bsd: carp1: state transition: BACKUP -> MASTER
Apr 27 12:41:01 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:41:01 f2 /bsd: carp2: state transition: BACKUP -> MASTER
Apr 27 12:41:01 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:41:01 f2 /bsd: carp3: state transition: BACKUP -> MASTER
Apr 27 12:41:01 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:41:03 f2 /bsd: carp1: state transition: MASTER -> BACKUP
Apr 27 12:41:03 f2 /bsd: carp0: state transition: MASTER -> BACKUP
Apr 27 12:41:03 f2 /bsd: carp2: state transition: MASTER -> BACKUP
Apr 27 12:41:03 f2 /bsd: carp3: state transition: MASTER -> BACKUP

Manually do (f1) # ifconfig -g carp carpdemote
until pfsync is done

Apr 27 12:41:16 f2 /bsd: carp0: state transition: BACKUP -> MASTER
Apr 27 12:41:16 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:41:16 f2 /bsd: carp1: state transition: BACKUP -> MASTER
Apr 27 12:41:16 f2 /bsd: arp_rtrequest: bad gateway value
Apr 27 12:41:16 f2 /bsd: carp2: st

Re: pfsync changes in current?

2012-04-27 Thread Kapetanakis Giannis

On 14/03/12 21:41, Camiel Dobbelaar wrote:

This is not from just after the reboot right?  The "failed state
lookup/inserts" might be interesting just after the firewalls have
stabilized.



Hi,

After upgrading today to latest -current (i386)
(f1) OpenBSD 5.1-current (GENERIC.MP) #252: Tue Apr 24 15:58:54 MDT 2012
(f2) OpenBSD 5.1-current (GENERIC) #209: Tue Apr 24 15:50:09 MDT 2012

I still have the same problem.
When the primary firewall reboots, It becomes MASTER on the carp interfaces
before the pfsync bulk transfer ends:

(f1) # egrep 'pfsync|carp' /var/log/messages

Apr 27 12:10:36 f1 /bsd: carp: carp0 demoted group carp by 1 to 129 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: carp1 demoted group carp by 1 to 130 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: carp2 demoted group carp by 1 to 131 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: carp3 demoted group carp by 1 to 132 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: pfsync0 demoted group carp by 1 to 133 
(pfsync bulk start)
Apr 27 12:10:36 f1 /bsd: carp: pfsync0 demoted group pfsync by 1 to 1 
(pfsync bulk start)
Apr 27 12:10:36 f1 /bsd: carp: carp0 demoted group carp by -1 to 132 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: carp3 demoted group carp by -1 to 131 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: carp2 demoted group carp by -1 to 130 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: carp1 demoted group carp by -1 to 129 
(carpdev)
Apr 27 12:10:36 f1 /bsd: carp: pfsync0 demoted group carp by -1 to 128 
(pfsyncdev)
Apr 27 12:10:36 f1 /bsd: carp: pfsync0 demoted group pfsync by -1 to 0 
(pfsyncdev)

Apr 27 12:10:38 f1 /bsd: carp0: state transition: BACKUP -> MASTER
Apr 27 12:10:38 f1 /bsd: carp3: state transition: BACKUP -> MASTER
Apr 27 12:10:38 f1 /bsd: carp2: state transition: BACKUP -> MASTER
Apr 27 12:10:39 f1 /bsd: carp1: state transition: BACKUP -> MASTER
Apr 27 12:10:47 f1 /bsd: carp0: state transition: MASTER -> BACKUP
Apr 27 12:10:47 f1 /bsd: carp3: state transition: MASTER -> BACKUP
Apr 27 12:10:47 f1 /bsd: carp2: state transition: MASTER -> BACKUP
Apr 27 12:10:47 f1 /bsd: carp1: state transition: MASTER -> BACKUP
Apr 27 12:10:48 f1 /bsd: carp0: state transition: BACKUP -> MASTER
Apr 27 12:10:48 f1 /bsd: carp3: state transition: BACKUP -> MASTER
Apr 27 12:10:48 f1 /bsd: carp2: state transition: BACKUP -> MASTER
Apr 27 12:10:48 f1 /bsd: carp1: state transition: BACKUP -> MASTER

Manually (f1) # ifconfig -g carp carpdemote
because states are lost by now...

Apr 27 12:11:11 f1 /bsd: carp1: state transition: MASTER -> BACKUP
Apr 27 12:11:11 f1 /bsd: carp0: state transition: MASTER -> BACKUP
Apr 27 12:11:11 f1 /bsd: carp2: state transition: MASTER -> BACKUP
Apr 27 12:11:11 f1 /bsd: carp3: state transition: MASTER -> BACKUP
Apr 27 12:12:48 f1 /bsd: carp: pfsync0 demoted group carp by -1 to 0 
(pfsync bulk done)
Apr 27 12:12:48 f1 /bsd: carp: pfsync0 demoted group pfsync by -1 to 0 
(pfsync bulk done)

Apr 27 12:12:49 f1 /bsd: carp0: state transition: BACKUP -> MASTER
Apr 27 12:12:49 f1 /bsd: carp1: state transition: BACKUP -> MASTER
Apr 27 12:12:49 f1 /bsd: carp2: state transition: BACKUP -> MASTER
Apr 27 12:12:49 f1 /bsd: carp3: state transition: BACKUP -> MASTER

If you see on logs () if goes to 0 before pfsync 
bulk is done...


A few minutes after initial sync is done.

(f1) # netstat -s
pfsync:
107036 packets received (IPv4)
0 packets received (IPv6)
0 packets discarded for bad interface
0 packets discarded for bad ttl
0 packets shorter than header
0 packets discarded for bad version
0 packets discarded for bad HMAC
0 packets discarded for bad action
0 packets discarded for short packet
0 states discarded for bad values
215 stale states
15413 failed state lookup/inserts
193432 packets sent (IPv4)

(f1) # netstat -in
NameMtu   Network Address  Ipkts IerrsOpkts 
Oerrs Colls
lo0 33196   27 0   27 
0 0
lo0 33196 ::1/128 ::1 27 0   27 
0 0
lo0 33196 fe80::%lo0/ fe80::1%lo0 27 0   27 
0 0
lo0 33196 127/8   127.0.0.1   27 0   27 
0 0
em0 1500   00:1b:21:8c:41:96  2891709   325  2848710 
0 0
em0 1500  fe80::%em0/ fe80::21b:21ff:fe  2891709   325  2848710 
0 0
em1 1500   00:1b:21:8c:41:97  2850994 0  2867906 
0 0
em1 1500  fe80::%em1/ fe80::21b:21ff:fe  2850994 0  2867906 
0 0
em2 1500   00:19:99:98:e4:ea   10710387   214880 
0 0
em2 1500  10.1.3.1/30 10.1.3.110710387   214880 
0 0
em2 1500  fe80::%em2/ fe80::219:99ff:fe   10710387   214880 
0 0


(f2) # egrep 'pfsync|carp' /var/log/messages

Apr 27 12:10:03 f2 /bsd: carp: pfsync0 demoted group carp by 1 to

Re: Why does the ports system delete distfiles?

2012-04-27 Thread Stuart Henderson
On 2012-04-26, Alan Corey  wrote:
> This site in question is for net/trafshow, the nsk.su site:
> The server refuses login.

I've mirrored this, port in -current has the new url,
you can fetch it from http://spacehopper.org/mirrors/trafshow-3.1.tgz

> Back to manually fetching I guess.

post 5.0, but in -current or 5.1, you can do

PATH=$PATH:/usr/ports/infrastructure/bin
dpb -F1 editors/libreoffice

Or if you're having a problem with some sites you could try this in mk.conf

MASTER_SITE_OVERRIDE=Yes

and maybe also set MASTER_SITE_BACKUP to one or more of

http://ftp.openbsd.org/pub/OpenBSD/distfiles/
http://ftp.usa.openbsd.org/pub/OpenBSD/distfiles/
http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles/