You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm following the source code and the thing i noticed was, I wasn't able to access and external network endpoints. All commands like ping, wget etc. failed from inside the child process.
Initially I thought this is because I haven't passed the CLONE_NEWNET namespace, but I don't think that should be the case. I tried adding it anyway but it didn't help.
The text was updated successfully, but these errors were encountered:
@viniciusbds i'll give this a try. Is it because there's no DNS resolver?
I mean is that the only problem? Because if that's the case, I should be able to query a website by its IP without any issue.
Hi @ishankhare07,
When you create a new network namespace you create a completely new networking stack that has nothing in it except one loopback interface that is DOWN. You need to do some amount of extra work to setup the network.
Hi,
I'm following the source code and the thing i noticed was, I wasn't able to access and external network endpoints. All commands like
ping
,wget
etc. failed from inside thechild
process.Initially I thought this is because I haven't passed the
CLONE_NEWNET
namespace, but I don't think that should be the case. I tried adding it anyway but it didn't help.The text was updated successfully, but these errors were encountered: