Change of DST [Timezone] at Argentina

2007-12-30 Thread Pablo Halamaj
Hello misc,

The last week a law created a new Daylight Saving Time at Argentina.

It says:

Increase 1h. from Sunday 30 of December at 0:00 A.M. local time.
Decrease 1 h. at Sunday 16 of March at 0:00 A.M. summer time.

So , reading zic's manual page:

$ vi ART

#Rule   NAME FROMTO  TYPEIN  ON  AT  SAVE
  LETTER/S
RuleAmerica/Argentina/Buenos_Aires  2007max -   Dec
 30  0:00w   1:00S
RuleAmerica/Argentina/Buenos_Aires  2008max -   Mar
 16  0:00w   0:00-

$ zic ART

But nothing happens.

Which are the next steps to install the new TimeZone i create?

Thanks for the help

Pablo



Re: Change of DST [Timezone] at Argentina

2007-12-30 Thread Pablo Halamaj
On 30/12/2007, Pablo Halamaj [EMAIL PROTECTED] wrote:
 Hello misc,

 The last week a law created a new Daylight Saving Time at Argentina.

 It says:

 Increase 1h. from Sunday 30 of December at 0:00 A.M. local time.
 Decrease 1 h. at Sunday 16 of March at 0:00 A.M. summer time.

 So , reading zic's manual page:

 $ vi ART

 #Rule   NAME FROMTO  TYPEIN  ON  AT  SAVE
   LETTER/S
 RuleAmerica/Argentina/Buenos_Aires  2007max -   Dec
  30  0:00w   1:00S
 RuleAmerica/Argentina/Buenos_Aires  2008max -   Mar
  16  0:00w   0:00-

Reading zic's manual again. ART now looks:

#Rule   NAMEFROMTO  TYPEIN  ON  AT  SAVELETTER/S
RuleBA  19932007-   Nov 30  0:00w   0:00-
RuleBA  2007max -   Dec 30  0:00w   1:00S
RuleBA  2008max -   Mar 16  0:00w   0:00-

# Zone  NAME  GMTOFF
RULES   FORMAT  UNTIL
ZoneAmerica/Argentina/Buenos_Aires  -3:00  BA   BA%sT

 $ zic ART

 But nothing happens.

 Which are the next steps to install the new TimeZone i create?

The changes go great, the time is accurated, but the date is now
displayed as GMT

# date
Sun Dec 30 15:07:15 GMT 2007

What i have to change in order to make date to display ART instead of GMT?
It will display ART or BAT?

 Thanks for the help

 Pablo


Pablo



pf.conf's example of tables using ports

2006-09-05 Thread Pablo Halamaj

maybe i'm plain stupid or i have a weird install.

All you have the following line at pf.conf ,that comes with OpenBSd 3.9,?

#table httport { 80, 443 }

I have readed the pf.conf 's man page also the FAQ at www.openbsd.org
and it says

A table is used to hold a group of IPv4 and/or IPv6 addresses

PF don't want to load the pf.conf with that line uncommented.
Is that a problem on my version or is a bug ;o) in base install?



Re: pf.conf's example of tables using ports

2006-09-05 Thread Pablo Halamaj

On 06/09/06, Nick Holland [EMAIL PROTECTED] wrote:

Pablo Halamaj wrote:
 maybe i'm plain stupid or i have a weird install.

 All you have the following line at pf.conf ,that comes with OpenBSd 3.9,?

 #table httport { 80, 443 }

no, that's something you (or someone) put in your machine.


Thankz to all, i will track down why that line was at my machine.
i just want to know if the problem was mine.


 I have readed the pf.conf 's man page also the FAQ at www.openbsd.org
 and it says

 A table is used to hold a group of IPv4 and/or IPv6 addresses

 PF don't want to load the pf.conf with that line uncommented.

good.

 Is that a problem on my version or is a bug ;o) in base install?

No and no.

You are trying to use it as a table of ports.  That's not what it is
for.  It's for addresses, like you quoted.  Those aren't valid IP
addresses.

For two items, use a macro:

httpport={ 80, 443 }

Nick.



Pablo



Changing from a P2P connection to his backup's link (a VPN)

2006-04-17 Thread Pablo Halamaj
Hi, i have a Point to point  conection which has a VPN conection in Backup.
More specific, what i have is a i386 OpenBSD 3.8 routing between 3 NICs.
1 NIC: Connection to the Corporate LAN
2 NIC: Connection to the Factory LAN
3 NIC : Connection to the Cisco interface of the P2P Link

Drawed:

 VPN
|
Factory LAN||OBSD 3.8|Corp LAN|Internet
  |
  |
   P2P

The VPN (ipsec with isakmp) connects perfect , following 'man vpn',
i see the routes using netstat with enfcap as parameter , also with
tcpdump i see the esp paquets between the VPN's gateways
Mi Problems is:

What i should do to change the flow of data in order to make it flow
throught the VPN connection when the P2P links goes down?
Should i use pf's nat , route ? In which manner?

I will detect the status of the P2P link with a periodic ping through
his interface.

I try to simulate this scenario, dropping the P2P link using
ifconfig(ifconfig $PAP down) but the result to ping was 'no route to
host: interface down'

If you need further information please ask me.

Thanks for the Help

pablo!



Re: Network performance

2005-05-29 Thread Pablo Halamaj
  Incidentally, the original 3c509 is a terrible performer
(the 3c509b was better).  

Really good history lesson, i must say ,here at argentina i don't have
a lot of options to buy nics cards, so fxp and xl are the main
options,also could be that i'm too lazy to search in deep for other
options.

If i don't remember bad the B at the 3C509-B is for Buffered , so it
has a big buffer on the NIC which gives it a better performance and
less IRQ request, that's why the incredible 2,5 x 2,5 cm Chip(the
biggest i ever saw on a NIC ;)).

-Pablo