Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!weretis.net!feeder5.news.weretis.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.212.46': 0.03; 'received:mail-vw0-f46.google.com': 0.03; 'wed,': 0.04; 'osf/1': 0.09; 'subject:Problem': 0.09; 'pm,': 0.11; '>>>': 0.12; 'am,': 0.14; 'wrote:': 0.14; '(barring': 0.16; 'mode.': 0.16; 'receive,': 0.16; '\xa0in': 0.16; 'occurred': 0.19; 'tue,': 0.20; 'interface': 0.20; 'header:In-Reply-To:1': 0.22; 'manually': 0.22; 'received:209.85.212': 0.25; "wasn't": 0.25; 'putting': 0.26; 'message-id:@mail.gmail.com': 0.28; 'direction': 0.29; 'mode': 0.29; 'switch': 0.31; 'to:addr:python-list': 0.32; 'agree': 0.32; 'go.': 0.33; 'presence': 0.33; 'put': 0.35; 'approach.': 0.35; 'think': 0.36; 'some': 0.37; 'rest': 0.37; 'received:209.85': 0.37; '20,': 0.38; 'apr': 0.38; 'received:google.com': 0.38; 'though': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'said': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'might': 0.40; 'unwanted': 0.60; 'fact,': 0.60; 'increase': 0.61; '2011': 0.62; 'adapter': 0.84; 'me:': 0.84; 'edwards': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=lQG+54SdYozaIL9vLMjhHVl3SvCLqSI/yCRh90Al9x0=; b=vkVdNRhZaOca4+lWHEHFRpAYOw10NTscnEhZEOqDICoRDjw6Mzqhb+849306Oed+2i FurgNmHugDo43mVxm5GgIwRUAfv0wYT3fcrqUrpr/n7fkFodUgTtrxIfrc69wTMEAHBF X8kz3UXWEyy7qmCHKXdX3E//JEJ51pPk6aM8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=j64KFVLJ5V9Azf45QvCpDmVnJY1Ck6SCvoEFgkfjI45PJ6VLDrANxkNiASOHXQSO6f usFgxXVkdV//+1yAORYsj2J3keBHWkdxDN+KhiNxMnb+7qhyTh3BS2L3fOsRe3Bv4V0P waxdWDaipWk+nibLNGBN/wbhtRMKYO5wDtME4= MIME-Version: 1.0 In-Reply-To: References: <4dae172e$0$65870$e4fe514c@news.xs4all.nl> <4dae1d82$0$81483$e4fe514c@news.xs4all.nl> Date: Wed, 20 Apr 2011 18:35:17 -0700 Subject: Re: Problem receiving UDP broadcast packets. From: Dan Stromberg To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303349765 news.xs4all.nl 41113 [::ffff:82.94.164.166]:35638 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3758 On Wed, Apr 20, 2011 at 7:21 AM, Grant Edwards wr= ote: > On 2011-04-20, Dan Stromberg wrote: >> On Tue, Apr 19, 2011 at 8:12 PM, Dan Stromberg wro= te: >>> I agree though that you're kind of pushing IP in a direction it wasn't >>> intended to go. >> >> It just occurred to me: You might get some additional mileage out of >> popping the network adapter into promiscuous mode. =A0In fact, it Might >> be necessary irrespective of the rest of your approach. > > The network adapter is already receiving all the packets I want to > receive, so putting it into promiscuous mode would only increase the > number of unwanted packets. I think tcpdump and tshark (was tethereal) will put the interface into promiscuous mode so it can see more traffic; on OSF/1 (Tru64), we had to do this manually for said programs to see all that was possible (barring the presence of a switch not repeating packets the way routers and hubs would).