Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37350
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'root': 0.04; 'socket': 0.05; 'python': 0.09; 'etc).': 0.09; 'sockets': 0.09; 'subject:using': 0.09; 'yeah,': 0.09; 'bypassing': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'privileges.': 0.16; 'reasonably': 0.16; 'subject:raw': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'code,': 0.18; 'fairly': 0.21; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'raw': 0.27; 'message-id:@mail.gmail.com': 0.27; 'environment': 0.29; 'restricted': 0.29; 'subject:Sending': 0.29; 'point': 0.31; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'received:209.85.220': 0.35; "won't": 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'available.': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'lower': 0.61; "you'll": 0.62; 'more': 0.63; 'note:': 0.64; 'reverse': 0.65; 'fact,': 0.69; 'special': 0.73; '2013': 0.84; 'hard.': 0.84; 'steele': 0.84; 'employ': 0.95; 'have.': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=0bP6oFJkTH/zhapsxhqrfEkGVK1oVSUf1eLbfEmJ/d0=; b=skVnEIjhMMM9gy3MBAIH7g0yATaZQlOBbwYinz+zEIJfZ7iLbPut7yU0MAB6eOdjOA gvA/LFdQ/MDL8IhYnmPSEloC4dlUmFnIdRdxtVQmIDjWwr0ZAPV55sDK93fjz3en0aQn iIMhcV0J1eo+pQ9xTwPHs9NcM171+3IfyIOmWCsItiCsX/Ud/HooMkLqMVlDk5I2UnYM gpHpsfRzZNaWIWhdJwQFsR61cRm0dzpSB0kLkDf1NIQ5srCFxGxm6/Z+qRGyb2PMnvQE bP5zGy9kgMcN2QrYwDRpANNkA2+hVGaUp4mfPcGZWj7R+vfWjdtUJ/oNXYIjTb0undWj Jm2w== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.29.40 with SMTP id g8mr22135003vdh.58.1358889554583; Tue, 22 Jan 2013 13:19:14 -0800 (PST) |
| In-Reply-To | <28c05d48-1af1-46db-a316-69d29089d487@googlegroups.com> |
| References | <f37ccb35-8439-42cd-a063-962249b44903@googlegroups.com> <XnsA14F5D5D4670FrtwfreenetREMOVEcouk@88.198.244.100> <0c2b3482-df46-4324-8bf9-2c45d3f6b516@googlegroups.com> <XnsA1505CBA6AF48rtwfreenetREMOVEcouk@88.198.244.100> <96947c45-f16b-4e97-b055-edc1241ee4a1@googlegroups.com> <mailman.809.1358874138.2939.python-list@python.org> <28c05d48-1af1-46db-a316-69d29089d487@googlegroups.com> |
| Date | Wed, 23 Jan 2013 08:19:14 +1100 |
| Subject | Re: Sending a broadcast message using raw sockets |
| From | Chris Angelico <rosuav@gmail.com> |
| 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.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.838.1358889562.2939.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1358889562 news.xs4all.nl 6963 [2001:888:2000:d::a6]:41605 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:37350 |
Show key headers only | View raw
On Wed, Jan 23, 2013 at 4:57 AM, Peter Steele <pwsteele@gmail.com> wrote: > In fact, I have used scapy in the past, but I am working in a restricted environment and don't have this package available. It provides tones more than I really need anyway, and I figured a simple raw socket send/receive can't be *that* hard. I may have to reverse engineer some C code, such as dhclient... Yeah, I think you're working with something fairly esoteric there - bypassing the lower tiers of support (routing etc). Chances are you won't find any good Python examples, and C's all you'll have. Are you reasonably familiar with C? Point to note: Raw sockets *may* require special privileges. Some systems require that only root employ them, for security's sake. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-18 23:32 -0800
Re: Sending a broadcast message using raw sockets Rob Williscroft <rtw@rtw.me.uk> - 2013-01-21 09:10 +0000
Re: Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-21 17:06 -0800
Re: Sending a broadcast message using raw sockets Rob Williscroft <rtw@rtw.me.uk> - 2013-01-22 09:06 +0000
Re: Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-22 07:11 -0800
Re: Sending a broadcast message using raw sockets Corey LeBleu <coreylebleu@gmail.com> - 2013-01-22 10:07 -0600
Re: Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-22 09:57 -0800
Re: Sending a broadcast message using raw sockets Chris Angelico <rosuav@gmail.com> - 2013-01-23 08:19 +1100
Re: Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-22 13:36 -0800
Re: Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-22 13:36 -0800
Re: Sending a broadcast message using raw sockets Peter Steele <pwsteele@gmail.com> - 2013-01-22 09:57 -0800
Re: Sending a broadcast message using raw sockets Rob Williscroft <rtw@rtw.me.uk> - 2013-01-22 21:58 +0000
Re: Sending a broadcast message using raw sockets peter@peaxy.net - 2013-01-22 17:21 -0800
csiph-web