Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37353
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-01-22 13:36 -0800 |
| References | (3 earlier) <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> <mailman.838.1358889562.2939.python-list@python.org> |
| Subject | Re: Sending a broadcast message using raw sockets |
| From | Peter Steele <pwsteele@gmail.com> |
| Message-ID | <mailman.840.1358891237.2939.python-list@python.org> (permalink) |
Actually, I used to teach C, so yeah, I know it pretty well. :-) Scapy is a possibility, I just need to add it to my environment (which doesn't have a C compiler). I can jury rig something though. On Tuesday, January 22, 2013 1:19:14 PM UTC-8, Chris Angelico wrote: > 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