Date: Fri, 11 Dec 2015 07:57:59 +0000 From: PepperTap <newsletters@ptmails.in> To: <freebsd-questions@freebsd.org> Subject: =?utf-8?Q?=E2=98=98=20Save=20more=20on=20groceries=20today!=20=E2=98=98?= Message-ID: <30336875.20151211075759.566a8207160438.92679590@mail133-8.atl131.mandrillapp.com>
next in thread | raw e-mail | index | archive | help
Get fruits, vegetables & groceries delivered in 2 hours with just a few taps. Now in 30+ cities. If unsolicited *Report Spam <http://mail.ptmails.in/unsubscribe?userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58&campaign=58192426> * <http://mail.ptmails.in/r?url=9897849476&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> <http://mail.ptmails.in/r?url=9897849476&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> <http://mail.ptmails.in/r?url=3006682907&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> <http://mail.ptmails.in/r?url=1145938399&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> <http://mail.ptmails.in/r?url=6585039646&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> <http://mail.ptmails.in/r?url=9128248661&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> <http://mail.ptmails.in/r?url=6532269179&userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58> We hope you enjoy receiving news and special offer emails from PepperTap.com. If you would prefer not receiving our emails, please click here <http://mail.ptmails.in/unsubscribe?userId=329ba3da-c1e5-4b03-a882-96a48a2e7e58&campaign=58192426> to unsubscribe. From owner-freebsd-questions@freebsd.org Fri Dec 11 08:17:48 2015 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE81D9D583B for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 11 Dec 2015 08:17:48 +0000 (UTC) (envelope-from eagledriverpcb09@163.com) Received: from m13-119.163.com (m13-119.163.com [220.181.13.119]) by mx1.freebsd.org (Postfix) with ESMTP id E92B1146E for <freebsd-questions@freebsd.org>; Fri, 11 Dec 2015 08:17:47 +0000 (UTC) (envelope-from eagledriverpcb09@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=HqfVt eeeJZ/q3Ld3IXZFHFiJJJ5h+Nv8BvgGNg10Nyc=; b=qGtyxamLWqy1FN0ng6Oi8 SKs72hibQaovcm16CVRpQGU/3a4EF5AuONbc1cqzX4nSte8gDpjGULAubsemPKpH fCUIG0qG26ONBdBBUSF9L49+egXilEsk1ok94gCZT2k7Vv7CcJ80CInXHrivZvVj WVYy0RSYYgTqghs8umE51I= Received: from eagledriverpcb09$163.com ( [113.102.153.148] ) by ajax-webmail-wmsvr119 (Coremail) ; Fri, 11 Dec 2015 15:50:18 +0800 (CST) X-Originating-IP: [113.102.153.148] Date: Fri, 11 Dec 2015 15:50:18 +0800 (CST) From: Jackie <eagledriverpcb09@163.com> To: freebsd-questions@freebsd.org Subject: Quick Turn PCB Prototyping X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20150911(74783.7961) Copyright (c) 2002-2015 www.mailtech.cn 163com X-CM-CTRLDATA: qMLaCWZvb3Rlcl9odG09ODE5Njo1Ng== MIME-Version: 1.0 Message-ID: <33494c14.e781.1519004e56f.Coremail.eagledriverpcb09@163.com> X-CM-TRANSID: d8GowEBpLUI6gGpWNRcEAA--.5236W X-CM-SenderInfo: xhdjzvxgul4vhusfuiqz6rljoofrz/1tbiWxXN4VSIMd5bfgADs3 X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 11 Dec 2015 08:17:48 -0000 R2xhZCB0byBjb250YWN0IHlvdS4gSSBhbSBqYWNraWUsIG92ZXJzZWFzIHNhbGVzIG9mIFBDQiBm YWN0b3J5IGluIGNoaW5hLiBTcGVjaWFsaXplZCBpbiBQQ0IgZm9yIG1vcmUgdGhhbiA4IHllYXJz IC4KCiAKCk1haW4gcHJvZHVjdGlvbjoKCjEuIENhcGFiaWxpdGllczogMS0yNCBsYXllcnMgUmln aWQsIEZsZXgsIFJpZ2lkLWZsZXgsIEFsdW1pbnVtIHBjYiwgSGlnaCBUZywgLEhpZ2gtZnJlcXVl bmN5ICwgSW1wZWRhbmNlIGNvbnRyb2wsIEJ1cmllZC1ibGluZCB2aWFzIGhvbGVzLCBIREksIE1l dGFsIGJhc2VkLCBUaGljayBjb3BwZXIsIE1peC1tYXRlcmlhbCBldGPigKYKCjIuIE1hdGVyaWFs OiBGUjQsIFBvbHlpbWlkZSwgQmVyZ3F1aXN0LCBSb2dlcnMsIEFybG9uLCBJc29sYSwgVGFjb25p YywgTmVsY28sIEhhbG9nZW4gZnJlZSBsYW1pbmF0ZSBldGPigKYKCjMuUXVpY2sgdHVybiBsZWFk IHRpbWVzOiAyNC03MiBob3VycyBkZWxpdmVyeSBhdmFpbGFibGUgZm9yIDEtNiBsYXllcnMgcGNi LgoKIAoKTG93IHBpcmNlIGFuZCBoaWdoLXF1YWxpdHkgYXJlIHRoZSBhZHZhbnRhZ2VzIG9mIG91 ciBmYWN0b3J5LiB3ZSB3aWxsIGJlIHlvdXIgaG9uZXN0IGFuZCBiZXN0IHN1cHBsaWVyIGluIGNo aW5hLgoKIAoKS2luZCByZWdhcmRzLAoKSmFja2llCgpFQUdMRSBEUklWRVIgIEVMRUNUUk9OSUMg TElNSVRFRAoKT3ZlcnNlYXMgRGVwYXJ0bWVudAoK4oCiQ2VsbHBob25lOis4NjEzNDI4OTYyNzcx ICAgKzEzOTIyOTcwNjc1CgrigKIgVGVsOis4Njc1NTIzNzAzNjExCgrigKIgRmF4Ois4Njc1NTIz NzAzNjExIAoKIAoK4oCiU2t5cGU6ZWFnbGVkcml2ZXJwY2IgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCgrigKIgV2ViOiB3d3cuZWFnbGVkcml2 ZXJwY2IuY29tCgrigKIgRS1tYWlsOmphY2tpZUBlYWdsZWRyaXZlcnBjYi5jb20KCgoKCgogCgoK CgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgog From owner-freebsd-questions@freebsd.org Fri Dec 11 09:45:50 2015 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A58D19D6C76 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 11 Dec 2015 09:45:50 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from relay-b02.edpnet.be (relay-b02.edpnet.be [212.71.1.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50D89162C for <freebsd-questions@freebsd.org>; Fri, 11 Dec 2015 09:45:49 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) X-ASG-Debug-ID: 1449827143-0a7b8d53978e8730001-jLrpzn Received: from mordor.lan (77.109.103.53.adsl.dyn.edpnet.net [77.109.103.53]) by relay-b02.edpnet.be with ESMTP id fzZIRt7D9UOOX9ym (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Dec 2015 10:45:44 +0100 (CET) X-Barracuda-Envelope-From: jcigar@ulb.ac.be X-Barracuda-Effective-Source-IP: 77.109.103.53.adsl.dyn.edpnet.net[77.109.103.53] X-Barracuda-Apparent-Source-IP: 77.109.103.53 Date: Fri, 11 Dec 2015 10:45:43 +0100 From: Julien Cigar <jcigar@ulb.ac.be> To: Emmanuel Vadot <manu@bidouilliste.com> Cc: freebsd-questions@freebsd.org Subject: Re: CARP demotion counter Message-ID: <20151211094543.GQ13477@mordor.lan> X-ASG-Orig-Subj: Re: CARP demotion counter References: <20151210182821.GM13477@mordor.lan> <ee17d45f9f7b1a24f76b59b09608d466@megadrive.org> <20151210194038.GN13477@mordor.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+XOiI3L4D1ypiv9E" Content-Disposition: inline In-Reply-To: <20151210194038.GN13477@mordor.lan> User-Agent: Mutt/1.5.24 (2015-08-30) X-Barracuda-Connect: 77.109.103.53.adsl.dyn.edpnet.net[77.109.103.53] X-Barracuda-Start-Time: 1449827143 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.222:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 3464 X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Malware-Scanned: by bsmtpd at edpnet.be X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.25162 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 11 Dec 2015 09:45:50 -0000 --+XOiI3L4D1ypiv9E Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 10, 2015 at 08:40:38PM +0100, Julien Cigar wrote: > On Thu, Dec 10, 2015 at 08:00:48PM +0100, Emmanuel Vadot wrote: > > On 2015-12-10 19:28, Julien Cigar wrote: > > > Hello, > > >=20 > > > I'm busy to setup a redundant router/firewall with two Soekris 6501,= =20 > > > PF, > > > CARP and PFSync. > > >=20 > > > I wondered if it was normal that the CARP demotion counter > > > (net.inet.carp.demotion) is greater than 0 at boot? > > >=20 > > > I'm asking this because it seems that the MASTER never returns from a > > > BACKUP state, and it seems that's because the demotion counter is > > > greater than 0 on both boxes (480) .. > > >=20 > > > Any idea .. ? > > >=20 > > > Thanks, > > > Julien > >=20 > > You need net.inet.carp.preempt=3D1 for MASTER returning to MASTER aft= er a=20 > > BACKUP state. > > Otherwise as long as another machine have the carp ip, it will stay t= o=20 > > BACKUP. >=20 > Both machines have net.inet.carp.preempt=3D1 >=20 > To sum up, with "A" the original MASTER, "B" the BACKUP: > - At first boot net.inet.carp.demotion is > 0 on A and B (which is not > expected) > - A is in MASTER state and B is in BACKUP state (which is expected) > - If I unplug the cable from A, the state changes from BACKUP -> MASTER > on B (which is expected) > - When I re-plug the cable in A, the state remains the same (A is in > BACKUP and B is in MASTER, which is *not* expexted) > - As soon as set net.inet.carp.demotion to "0" the states change as > expected (A in MASTER and B in BACKUP) >=20 > Is it normal and expected that the demotion counter is > 0 at first=20 > boot? Could this be related to the order of the interfaces? so.. I'm looking further at this and it seems that the pfsync interface is causing this, this is what I have in the logs when I boot the two boxes: (soekris1 is the MASTER and soekris2 is the BACKUP, em1 is the CARP alias and em3 the pfsync) as a test I powered on the soekris2 box first: carp: VHID 192@em1: INIT -> BACKUP carp: demoted by -240 to 720 (interface up) em1: link state changed to UP carp: VHID 192@em1: BACKUP -> MASTER (master down) some seconds later I powered on soekris1: carp: demoted by -240 to 720 (pfsync bulk done) carp: VHID 192@em1: INIT -> BACKUP carp: demoted by -240 to 480 (interface up) em1: link state changed to UP once soekris1 and soekris2 finished to boot this is what I get on=20 soekris2: em3: link state changed to DOWN em3: link state changed to UP em3: link state changed to DOWN em3: link state changed to UP carp: demoted by -240 to 480 (pfsync bulk done) >=20 > Thanks! >=20 > Julien >=20 > >=20 > > --=20 > > Emmanuel Vadot > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" >=20 > --=20 > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --+XOiI3L4D1ypiv9E Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJWaptAAAoJEAi2KiTKQR5pe9EQANfuKNLt2YwpA6W/SNXMDZZQ RpYWI/TXkFTJi2VPo0YQOXXkGygTkTO+z623x+nOOIeoXIzGWqm/WamdXTWckCNC 0lYRGqtQe+wWRDu+SF4lfNyy3PyLmoTMKfc/7NHJ2XVub75T68quR7P6k2pA2ZBu tPMbMZsrG6cT+EJkO5e3i6gneI/anZccR/Tv/YinTtiNoLLAgDcbDLok8oFMz6ul +LCQhQO/JO7+YlOOSNI8dmQzzxtxJgLcHGYDDc7HuJ6BN5YAeKkWRB3AXcAvrTm4 B42icWRu5Mv/7rqyT00ywOo4kklRssPj9/Z4u1eufCAF6tXB10qlhxGfs4p0If4V Td5wBfmcig3n6KUSB/g01n8aNacjzeMtHDAcIuR6c5l+/V+ZS82ZGaiCSCA2bz/u jQMClMkQRxbBodcoTk1rSPtFDKwPEaRSDC1ETgvU254bntefTk3VSPKJl3XYv9sR DztJIPJUCoTI9RyC1+oL3SxxtCS/Ih+Ma9UvpNbdsuFpcUN8JVv0pJbLc0ymp4eV bmkb7W/y5E/l2DhWnAaWfllHp0iW38DBt1AptnBJkiqL9isF6tnlLFHzVBJSh83L zYTN6tlmzgihX1hdt7jAxaeGkJhbXMYiy30pMWGFHoIaiLcNfzjVG+2nCLiWC88X e39YKikYh2keOmDA6Hq7 =+qHW -----END PGP SIGNATURE----- --+XOiI3L4D1ypiv9E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30336875.20151211075759.566a8207160438.92679590>