Timeline for RAW client-server socket python
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 7, 2021 at 8:46 | history | edited | Community Bot |
replaced https://tools.ietf.org/html/rfc with https://www.rfc-editor.org/rfc/rfc
|
|
| Oct 4, 2017 at 19:31 | history | edited | Torxed | CC BY-SA 3.0 |
added 35 characters in body
|
| Oct 4, 2017 at 19:21 | history | edited | Torxed | CC BY-SA 3.0 |
added 50 characters in body
|
| May 23, 2017 at 12:08 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Nov 16, 2015 at 20:32 | vote | accept | rebrid | ||
| Nov 16, 2015 at 20:00 | comment | added | Torxed | @m.ridolfi Found my old code as promised: github.com/Torxed/Scripts/tree/master/python/Laboratory | |
| Nov 16, 2015 at 20:00 | history | edited | Torxed | CC BY-SA 3.0 |
added 138 characters in body
|
| Nov 12, 2015 at 14:15 | comment | added | rebrid | Thanks, my problem now is that I can't send the packet. Do you mean that I must write the code to send SYN message or it is automatically done? Can you check my current situation: link? | |
| Nov 12, 2015 at 7:31 | comment | added | Torxed |
@m.ridolfi Ignore .accept() and everything you know.. Watch my edit to my post.. Again, read this stackoverflow.com/questions/1117958/… which gives you a CLEAR example of how to set up a server socket, i'll include it in my edit as well.
|
|
| Nov 12, 2015 at 7:30 | history | edited | Torxed | CC BY-SA 3.0 |
added 4260 characters in body
|
| Nov 11, 2015 at 15:59 | comment | added | rebrid |
Ok, maybe I can create the socket now but I get this error: starting up on 192.168.240.1 port 10000 waiting for a connection Traceback (most recent call last): File "rawserve.py", line 20, in <module> connection, client_address = sock.accept() File "/usr/lib/python2.7/socket.py", line 202, in accept sock, addr = self._sock.accept() socket.error: [Errno 122] Operation not supported The server is waiting for the client to be connected. How can I do that?
|
|
| Nov 11, 2015 at 15:46 | comment | added | rebrid | Thanks for the good answer. Indeed I will have to create my own packet (header dst address etc) and I intend to do that with Scapy. But my problem now is that I don't even know what's the code for both client and server to create the socket, without exchange any data. | |
| Nov 11, 2015 at 15:32 | history | answered | Torxed | CC BY-SA 3.0 |