Re: Advice on learning C as first language

2010-11-25 Thread Tomas Vavrys
2010/11/24 James Hozier guitars...@yahoo.com: Are there any books that are more noob-friendly that want to learn C as their first language and explain basic programming terms along the way? I tried a lot of things and if I could go back I would choose How to Design Programs. It's free and it

Re: Advice on learning C as first language

2010-11-25 Thread Christiano F. Haesbaert
On 24 November 2010 13:55, Kenneth Gober kgo...@gmail.com wrote: On Wed, Nov 24, 2010 at 9:55 AM, James Hozier guitars...@yahoo.com wrote: ... I read online that the first programming language one learns could be crucial to the person's future programming skills and habits that become ported

CARP and routing

2010-11-25 Thread Toni Mueller
Hi, I discover that CARP and routing don't always mix well: Internet --- host1 host2 If host1 and host2 have a CARP interface with the same IP, then packets destined for that IP don't ever reach host2, even if the interface on host1 is in BACKUP state. Kind regards, --Toni++

Re: Advice on learning C as first language

2010-11-25 Thread Sevan / Venture37
Absolute beginners guide to c is very lightweight accommodating http://www.amazon.co.uk/gp/aw/d/0672305100/ref=mp_s_a_1?qid=1290688733sr=8-1 If you're going the kr route there is the c answer book which goes with it apparently, I've not read it myself but it explains the answers to the exercise

Re: CARP and routing

2010-11-25 Thread Michal
On 25/11/10 12:22, Toni Mueller wrote: Hi, I discover that CARP and routing don't always mix well: Internet --- host1 host2 If host1 and host2 have a CARP interface with the same IP, then packets destined for that IP don't ever reach host2, even if the interface on host1 is in BACKUP

Re: CARP and routing

2010-11-25 Thread Toni Mueller
On Thu, 25.11.2010 at 13:15:06 +, Michal mic...@sharescope.co.uk wrote: On 25/11/10 12:22, Toni Mueller wrote: I discover that CARP and routing don't always mix well: Internet --- host1 host2 Wait, do you mean; Host1 Internet --- |

Re: CARP and routing

2010-11-25 Thread Robert Hoffmann
On Thu, 25 Nov 2010 13:22:13 +0100 Toni Mueller openbsd-m...@oeko.net wrote: Internet --- host1 host2 Because your setup should rather look like this? Internet --- switch --- host1 --- switch --- LAN + --- host2 + regards, Robert

Re: Advice on learning C as first language

2010-11-25 Thread Kenneth Gober
On Thu, Nov 25, 2010 at 7:20 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 24 November 2010 13:55, Kenneth Gober kgo...@gmail.com wrote: since you've indicated that you are interested in a 'first' language, I must assume you plan to learn other languages later. as a

Re: CARP and routing

2010-11-25 Thread Michal
On 25/11/10 13:20, Robert Hoffmann wrote: On Thu, 25 Nov 2010 13:22:13 +0100 Toni Muelleropenbsd-m...@oeko.net wrote: Internet --- host1 host2 Because your setup should rather look like this? Internet --- switch --- host1 --- switch --- LAN + --- host2 +

Re: Advice on learning C as first language

2010-11-25 Thread Ted Roby
On Wed, Nov 24, 2010 at 4:34 PM, James Hozier guitars...@yahoo.com wrote: I have to learn ASM anyway (to learn about buffer overflows and other related topics in the family of memory-related security). Would there be any advantage to learning Assembly first or would that just be an

Re: CARP and routing

2010-11-25 Thread Toni Mueller
On Thu, 25.11.2010 at 14:29:39 +, Michal mic...@sharescope.co.uk wrote: Because your setup should rather look like this? Internet --- switch --- host1 --- switch --- LAN + --- host2 + This is what I was trying to get at...the way you draw your diagram, I can't

Re: Advice on learning C as first language

2010-11-25 Thread Nicolas P. M. Legrand
On Thu, Nov 25, 2010 at 09:26:52AM -0500, Kenneth Gober wrote: On Thu, Nov 25, 2010 at 7:20 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 24 November 2010 13:55, Kenneth Gober kgo...@gmail.com wrote: since you've indicated that you are interested in a 'first' language, I

Re: relayctl reload : command failed.

2010-11-25 Thread Jan Johansson
Xavier Beaudouin k...@oav.net wrote: # relayctl reload command failed [...] relay webmail-80 { listen on $webmail port 80 transparent forward to webmail port 80 mode hash check http / host webmail.openvisp.net code 200 interface $int_if } relay webmail-443 { listen

flushing an errant resolver

2010-11-25 Thread David Newman
Greetings. I manage an mail server running OpenBSD 4.5 i386. For various layer-9 reasons I cannot reboot the server at this time let alone upgrade it. I can stop and restart processes. Awhile back when changing ISPs I temporarily added Google's public nameserver at 8.8.8.8 to /etc/resolv.conf.

Re: Advice on learning C as first language

2010-11-25 Thread David Vasek
On Wed, 24 Nov 2010, James Hozier wrote: I have to learn ASM anyway (to learn about buffer overflows and other related topics in the family of memory-related security). Would there be any advantage to learning Assembly first or would that just be an unneccessary headache? Soon you will be

ipsec vpn unexpected flow

2010-11-25 Thread Andrea Parazzini
Hi, we have a vpn connection with a customer. The remote peer is not under our management. Our box is an OpenBSD 4.7 i386. We have configured the vpn as follows: /etc/rc.conf.local ipsec=YES isakmpd_flags=-K -v /etc/ipsec.conf ike active esp tunnel \ from 10.1.0.0/16 (0.0.0.0/0) to

Re: flushing an errant resolver

2010-11-25 Thread Ted Unangst
The libc resolver automatically picks up changes in resolv.conf. If that's not happening, you have a server that uses its own resolver. netstart and other network configuration has nothing to do with it, btw. On Nov 25, 2010, at 1:31 PM, David Newman dnew...@networktest.com wrote: Greetings. I

Re: ipsec vpn unexpected flow

2010-11-25 Thread Damon Schlosser
1. what is the (0.0.0.0/0) good for?2. how are you inspecting traffic in the tunnel?3. is nat allowed in the tunnel? 4. you may have let in more networks than you realize -damon --- On Thu, 11/25/10, Andrea Parazzini a.parazz...@sirtisistemi.net wrote: From: Andrea Parazzini

Re: flushing an errant resolver

2010-11-25 Thread Stuart Henderson
On 2010-11-25, David Newman dnew...@networktest.com wrote: Greetings. I manage an mail server running OpenBSD 4.5 i386. For various layer-9 reasons I cannot reboot the server at this time let alone upgrade it. I can stop and restart processes. Awhile back when changing ISPs I temporarily

Marque já a sua Passagem de Ano 2010-2011!

2010-11-25 Thread Paredes Hotel
A presente e-newsletter destina-se znica e exclusivamente a informar e nco pode ser considerada SPAM. De acordo com a legislagco internacional que regulamenta o correio electrsnico, o e-mail nco podera ser considerado SPAM quando incluir uma forma do receptor ser removido da lista. Caso o seu nome

Taller de Finanzas para NO Financieros, Diciembre 11 y 13 en México, D.F.

2010-11-25 Thread Iveth Vasconcelos
[IMAGE] Presenta Taller de Finanzas para NO Financieros 11 de Diciembre, Mixico D.F. 13 de Diciembre, Mixico D.F. 10 Horas de Capacitacisn Efectiva Impartidas por nuestro consultor L.C.P.Gustavo Rangel L. PMS Capacitacisn Efectiva de Mixico . le presenta este taller que tiene como objetivo

Seminario de Planeación para 2011, 6 de Diciembre en México D.F.

2010-11-25 Thread Lic. Mayte Gonzalez
[IMAGE] Mayores informes responda este correo electrsnico con los siguientes datos. Empresa: Nombre: Telifono: Email: Nzmero de Interesados: Y en breve le haremos llegar la informacisn completa del evento. O bien comunmquense a nuestros telifonos un ejecutivo con gusto le atendera Tels. (33)

Re: ipsec vpn unexpected flow

2010-11-25 Thread Andrea Parazzini
Hi, from 10.1.0.0/16 is the network id that I would negotiate with the remote peer. (0.0.0.0/0) is our real network, we have a lot of networks behind this box. We perform NAT on traffic leaving through the VPN tunnel. 192.168.71/24 0 10.1/160 0 W.X.Y.Z/esp/use/in 10.1/16

Re: ipsec vpn unexpected flow

2010-11-25 Thread Bahador NazariFard
On Fri, Nov 26, 2010 at 8:50 AM, Andrea Parazzini a.parazz...@sirtisistemi.net wrote: Hi, from 10.1.0.0/16 is the network id that I would negotiate with the remote peer. (0.0.0.0/0) is our real network, we have a lot of networks behind this box. We perform NAT on traffic leaving through