firewall

Making a program that intercepts network traffic in Windows

只愿长相守 提交于 2019-12-03 07:50:54
Sort of what I'm asking is "how to make a software firewall for Windows," but something not so complex. I'm surprised I can find so little when searching for this, only the occasional mention of hooks. So it'd be much appreciated if someone could point me in the right direction. I expect to do this with C (though if there's another language you think would work better, I'm all ears). I want to make an application that watches network traffic, can extract the IP address (source for incoming, destination for outgoing), and can block said network activity. This seems like something that would be

WCF push to client through firewall? [closed]

丶灬走出姿态 提交于 2019-12-03 07:35:44
问题 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 4 years ago . See also How does a WCF server inform a WCF client about changes? (Better solution then simple polling, e.g. Coment or long polling) I need to use push-technology with WCF through client firewalls. This must be a common problem, and I know for a fact it works in theory (see links below), but I have failed to get

UDP hole Punching

半腔热情 提交于 2019-12-03 07:28:42
I've got some questions regarding hole punching with UDP. Based on the wiki http://en.wikipedia.org/wiki/UDP_hole_punching 1) To set up a UDP session between two parties (the client which is behind NAT, server which is non-NAT) does the client simply have to send a packet to the server and then the session is allowed both ways (send & receieve) through the firewall? Meaning the client can receive too from the server. 2) UDP Hole punching: Two clients first conenct to the server, then the server gives a client port / ip on to other clients, so the clients send packets to each other on those

Avoid Windows Firewall popup with sockets on localhost

断了今生、忘了曾经 提交于 2019-12-03 06:22:22
I have written a simple Java application that interacts with multiple instances of itself using sockets. The first instance automatically takes on the role of the server, listening on a specific port, and all subsequent instances connect to it. The problem I'm faced with is that Windows Firewall pops up asking me if I want to unblock the program from "accepting incoming network connections". The thing is: it doesn't matter if you leave the application blocked , because the instances of the application are always on the same machine, so it will always work. Can I inform Windows somehow that I

Recaptcha - Availability in China [closed]

我只是一个虾纸丫 提交于 2019-12-03 06:20:50
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . We are developing a site that will require the usage of a captcha service. Has anyone successfully use Google Recaptcha for a website for users from Mainland China? Did you have major problems with load-time? Did you experience any reliability problems? Any problems with the

MSDTC - how many ports are needed

若如初见. 提交于 2019-12-03 05:41:06
I have a considerably large application that uses MSDTC. How many ports should I open? Is there any way to determine it? EDIT: I know what ports I need to open, I don't know how many I need. I think Migol wants to know how big the range of the RPC dynamic port allocation should be. In the KB they mention a minimum of 100 ports Furthermore, previous experience shows that a minimum of 100 ports should be opened, because several system services rely on these RPC ports to communicate with each other. So I would design a benchmark application to test different values of your dynamic range. When we

Problem with access to Mongodb on Amazon EC2

江枫思渺然 提交于 2019-12-03 04:35:15
问题 i've got another question for you. I have Amazon EC2 instance with mondodb installed. It works great except one thing - i can't access (connect to) it from outside (my PC). I think the problem with Security Groups. It's some sort of default firewall. Does anyone know how to configure EC2 instance to have access to mongodb? Thanks in advance. 回答1: You need to add a security group exception for the port 27017 if you are using default config for you to access it from outside. For security group

Is there a way to get all IP addresses of youtube to block it with Windows Firewall?

。_饼干妹妹 提交于 2019-12-03 04:33:33
问题 I want to programme my own anti distraction tool. I can not / do not want to use hosts or third party apps. When using IPSEC or Windows firewall, it only accepts IP adresses. There is youtube.[264 TLD] www.youtube.[264 TLD] subdomains.youtube.[264 TLD] Appearantly there is no way anymore to get a complete list of youtube sub domains. Can someone think of a way to somehow obtain all youtube ip addresses and block them on ip level other than using brute force subdomain pinging? 回答1: If you have

Connecting to gitosis server through an SSH tunnel

China☆狼群 提交于 2019-12-03 03:36:30
I've got an SSH tunnel setup on my macbook, like this... $ ssh -o ServerAliveInterval=3 -N -L 22222:gitosis-server:22 user@firewall.domain.com So I can ssh to localhost:22222 and will end up on the gitosis-server behind the firewall. I've created a local id_rsa.pub file, copied it into the gitosis server(running Centos5), and imported it into gitosis using... # sudo -H -u gitosis gitosis-init It was successful as I can see the public key in /var/lib/gitosis/.ssh/authorized_keys. Back on my macbook I setup a ~/.ssh/config file with the following... Host gitosis-server Hostname localhost

Configure firewall to enable XAMPP working over LAN

梦想的初衷 提交于 2019-12-03 03:24:22
When I turn off the firewall, I can access my XAMPP website through other LAN computers. When I turn on firewall then I cannot connect to the machine anymore. Could someone tell me what's happening? my os is windows xp. thanks. Go to Control panel - > go to Windows Firewall -> then Advance Settings -> Click Inbound Rules right Click the inbound rules and select "New Rule..." select option port and click next select all local ports or your port number for apache server. and click next select option allow the connection and click next next Give name Allow All Local Port For Xampp Try This, I