Re: Layer 2 socket connection

2007-08-16 Thread alisonken1
On Aug 16, 5:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I use impacket for stuff like that, > seehttp://oss.coresecurity.com/projects/impacket.html > > Cheers > > Rich. Thanks, Rich - I'll have a look -- http://mail.python.org/mailman/listinfo/python-list

Re: Layer 2 socket connection

2007-08-16 Thread [EMAIL PROTECTED]
On Aug 15, 7:21 pm, alisonken1 <[EMAIL PROTECTED]> wrote: > Hello all - > > I'm looking at trying to write a python script to connect to a layer 2 > bridge (no IP available). > > Looking at the sockets function, it's not clear if I can connect using > only the mac address - it appears to want eithe

Re: Layer 2 socket connection

2007-08-15 Thread alisonken1
On Aug 15, 12:05 pm, "Martin v. Löwis" > If your operating system supports the PF_PACKET protocol family, you > can try to use that. Python only wraps the socket interface of the > operating system, so if the system's socket implementation has no > facility for that, Python cannot expose it to you

Re: Layer 2 socket connection

2007-08-15 Thread Martin v. Löwis
> I'm looking at trying to write a python script to connect to a layer 2 > bridge (no IP available). > > Looking at the sockets function, it's not clear if I can connect using > only the mac address - it appears to want either a broadcast address > or a specific IP address. > > Can anyone give me

Layer 2 socket connection

2007-08-15 Thread alisonken1
Hello all - I'm looking at trying to write a python script to connect to a layer 2 bridge (no IP available). Looking at the sockets function, it's not clear if I can connect using only the mac address - it appears to want either a broadcast address or a specific IP address. Can anyone give me a