Re: python libpcap equivalent

2009-02-04 Thread Juergen Kareta
Gabriel schrieb: Hello I need to write a software router [yes, software equivalent to a hardware box that is routing packets .)]. It's a school work.. Question is: is possible write this kind of application in python? and if it's, what module should i use? I tried search for some libpcap equi

Re: python libpcap equivalent

2009-02-03 Thread Grant Edwards
On 2009-02-03, Steve Holden wrote: >> You can use pylibpcap to capture packets, and then use a raw >> socket to send them out again on whatever interface you want. FWIW, under Linux you can also capture packets using a raw-mode socket, but the only times I've done it I was only capturing packets

Re: python libpcap equivalent

2009-02-03 Thread Gabriel
Steve Holden wrote: Unknown wrote: On 2009-02-03, Gabriel wrote: I need to write a software router [yes, software equivalent to hardware box that is routing packets .)]. It's a school work.. Question is: is possible write this kind of application in python? Hmm. It's going to be rather diff

Re: python libpcap equivalent

2009-02-03 Thread Gabriel
Steve Holden wrote: Unknown wrote: On 2009-02-03, Gabriel wrote: I need to write a software router [yes, software equivalent to hardware box that is routing packets .)]. It's a school work.. Question is: is possible write this kind of application in python? Hmm. It's going to be rather diff

Re: python libpcap equivalent

2009-02-03 Thread Steve Holden
Unknown wrote: > On 2009-02-03, Gabriel wrote: > >> I need to write a software router [yes, software equivalent to >> hardware box that is routing packets .)]. It's a school work.. > >> Question is: is possible write this kind of application in >> python? > > Hmm. It's going to be rather diffi

Re: python libpcap equivalent

2009-02-03 Thread Grant Edwards
On 2009-02-03, Gabriel wrote: > I need to write a software router [yes, software equivalent to > hardware box that is routing packets .)]. It's a school work.. > Question is: is possible write this kind of application in > python? Hmm. It's going to be rather difficult, but you might be able t

python libpcap equivalent

2009-02-03 Thread Gabriel
Hello I need to write a software router [yes, software equivalent to a hardware box that is routing packets .)]. It's a school work.. Question is: is possible write this kind of application in python? and if it's, what module should i use? I tried search for some libpcap equivalent in python a