Using 'iptables' in Gradescope for networking assignments #96
-
Hello I am developing a networking assignment on Gradescope, where I am trying to use 'iptables' tool to govern how incoming and outgoing packets are handled in the docker server. However, after installing iptables and trying to run the command, I get this error - I looked online to the solution for this issue and they mention using the option Till now, I have been using 'zip file upload' option to upload my autograders on Gradescope. Can you help me with this? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @atul-bansal, unfortunately that would require elevated privileges on our Docker cluster, so it's not something that you are able to do on our platform at the moment. I think some people have had success with full-system emulation via |
Beta Was this translation helpful? Give feedback.
Hi @atul-bansal, unfortunately that would require elevated privileges on our Docker cluster, so it's not something that you are able to do on our platform at the moment. I think some people have had success with full-system emulation via
qemu
or other emulators, because if you run an emulated system within Docker you can actually have full root access there and do whatever you want with network interfaces and the like. There will be a performance penalty but it may be sufficient for your needs.