Windows Routing table of disconnected Interfaces? [closed] - windows

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to get the routing table for disconnected interfaces on Windows.
To give you a little background why:
Im using OpenVPN. OpenVPN will setup several routes after the TAP adapter is online.
If the OpenVPN crashes or the User just kills OpenVPN, these routes won't be deleted by OpenVPN.
And because the TAP adapter will be disconnected after this, route print wont show any route for the adapter. But the next time the TAP adapter comes up the old routes are active again. For several reasons like multiple tap adapters, IP ranges and so on its hard to build heuristics to detect old routes, so it would be great i there was some way to see and delete routes for a disconnected Interface.

You may try this command:
netsh interface ipv4 show route
There might be some information that you needed.

Related

How do I have my lambda functions make outbound requests from a static IP? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I've seen plenty saying I need to setup a VPC and NAT but there's no guide I can find that covers exactly how to do that.
I have no experience with VPC, so it's all pretty confusing. I tried following http://techblog.financialengines.com/2016/09/26/aws-lambdas-with-a-static-outgoing-ip/ but it didn't work...
NB: the service we have to send data to requires IP whitelisting, that's why we're going through this process.
Edit: the issue with the NAT gateway I setup is that my lambda function can no longer make any outbound connections
Following this guide worked after some debugging.
The mistake I had made was pointing the lambda at the public subnet not the private subnet.

Which is the purpose of port 6443 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
there,
Which application uses port 6443 and for what? I want this information because when I use the command nmap with mi ip, there is a line that puts "6443 sun-sr-https". Is it something about oracle? sr means "server"?
And in other port, in 9090, I have "zeus-admin". I read about it in some places and in there they said that it is some kind of malware. Is it correct? Thanks for your answers.
kube-apiserver which is one of Kubernetes components uses port 6443 too.
The service name sun-sr-https is the name of the Oracle Service Registry which (according to this) uses the 6443 port for HTTPS over SSL connections as an alternative to the default well-known port 443 so as not to cause conflicts with the default Application Server domain.
Many applications use the 6443 port as an alternative to the default one, for example, the Kubernetes API. Applications can use those ports without superuser permissions.

Block IP/Domain using powershell [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to block a ip address and website using powershell in windows 7 ?
Hosts file is not an option for me as I want to block IP address so that windows cant connect to that website.
Thanks.
I do not think that is possible, but I know you can use the firewall in Windows 7 to block outgoing connections to an IP address. Create an outgoing rule (I think the Port type will work) and once completed go to properties and on the Scope tab enter the remove IP address that you want blocked. The Action must be set to "Block the connection".
You can block for all ports or selected list of ports. For eample, you can block port 80 for HTTP traffic while still allowing other traffic to pass.

How does garena client sets up a network? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How does Garena works ?? Does it work based on VPN ??? But it doesnot create any virtual network adapter. so how does it creates a network between players ??
One thing is for sure, garena client includes a game launcher. So I suppose when u start any multiplayer game like warcraft via the launcher, it somehow intercepts the packets to and from the warcraft game and send it to the destination via VPN or any other means (Tell me what means are possible for gaming over internet if not VPN)
But how can u do so ?? How can u intercept all packets from a particular application without using any virtual network adapter ? and what protocol could it be using to establish a lag-free gaming experience ??
Assume : windows, warcraft, internet, NAT, Lag free
How does Garena works ??
Last time I used it, GArena gets a list of servers (from a central location), and when you start a game (say CoD4) it lunches the game with the server:port as a parameter and since most of garena users are connecting to the same server, you may thinks that it's garena that is routing the packets to the proper application.
How can u intercept all packets from a particular application without using any virtual network adapter ?
It's called packet sniffing, tools like Wireshark can help you analyse all the packet that are transferred through a network interface without creating a virtual network adapter.
I notice that game must be started from withing Garena client. Maybe they reroute calls to Winsock library once the library is loaded.
I don't know how they did it, but I would do it with layered service provider.

Pinging EC2 instances [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm new to managing EC2 instances. I have created one, and I can run it and remotely login with Windows Remote Desktop. I can ping external servers from inside my instance, but I cannot ping the instance from my machine using its DNS public name.
I guess I'm doing something wrong with security groups.
Any thoughts anybody?
To ping an EC2 instance, you need to allow ICMP traffic in the instance's security group.
As far as I am aware, Amazon is blocking ICMP (ping) requests. If you want to perform some sort of "is it up" request you may want to implement some other routine like a web based "ping" page; just have it display the time when you hit it.

Resources