firewall

Making a TCP connection through a restrictive outbound firewall

I'm using Java to create a client/server application that communicates using TCP. The network that the client is running on has an outbound firewall that prevents the client from connecting to the server. Is there any way/workaround to create a TCP connection through this firewall? I have tried to use common ports that are open such as ...

How to add trusted sites to the Application Layer Filter (socket-filter firewall) on Mac OS X using command-line?

Hello, I am trying to add trusted sites to Mac OS X's firewall via command-line. I understand that previously, we were able to use ipfw to configure the firewall on a packet level by using port numbers or IPs. In Leopard (10.5) and on, there is a new feature to add a trusted application to a list. This can be accomplished using the U...

Firewalls preventing product activation

I'm looking to implement a basic product activation scheme such that when the program is launched it will contact our server via http to complete the activation. I'm wondering if it is a big problem (especially with bigger companies or educational organizations) that firewalls will block the outgoing http request and prevent activation....

WCF on Windows 7 not working

I am using an example from iDesign about one way calls. I can get it to work on a Vista machine (VS2008) but not on a windows 7 machine (VS2010). I get this error: HTTP could not register URL http://+:8001/MyService/. Your process does not have access rights to this namespace ServiceHost host = new ServiceHost(typeof(MyService)); host...

Getting Android source

I trying to get the source of android using repo and git. Everytime I do a repo sync, the terminal indicates that it is fetching projects but it will freeze at that particular line for hours. I am guessing that my network is behind a firewall. Which port should I open? or What should I do? ...

How to stop routers blocking traffic within a network?

I have an iPhone app which relies on connecting via the local network to a server running on a user's mac/pc. The server is running an http service on port 8080 I already add exceptions to the default windows firewall, or the default mac firewall to ensure traffic is allowed to reach my app. However the most common customer issue is t...

sockets - discover firewalled ports

I was reading the nmap source code because I'd like to find out how does it discover that certain ports are filtered or firewalled. I have some experience with sockets in c and i've built simple port scanners, that's easy - if the connection succeeds, the port is open, otherwise it's closed (because of the RST returned). But in case with...

creating a Mac OSX installer so the installed app won't set off the firewall

Right now I'm distributing a .app file to people in my organization. I drag it to /Applications by authenticating as root, but every time the users launch the program they get a firewall warning. (The app checks for updates on launch--very important for us). Since the users aren't admins they can't authenticate to make the messages go aw...

How to deploy an application with firewall permissions on Mac?

I've bundled a jar file as a mac application using jar bundler. I'm now trying to create an installer for this app so that: 1) The application will be placed in the applications folder 2) The application is added to the list of permissible apps in Mac Application Level Firewall Also, I have several example files I would like to include ...

C++ redirect outgoing connections

Is there any way in C++ on windows to monitor a program and redirect any outgoing requests it makes on a specific port? I have a simple C++ http proxy and want it to be able to automatically redirect all browser requests on port 80 through itself. ...

Blackberry firewall "connection inside and outside the firewall" problem

Device is 8900 OS version 4.6.1 Getting this exception/message The application atempted to open a connection to a location inside the firewall and outside the firewall which is not allowed by your security policy when trying to open an http connection when firewall is on (allowed HTTP connections for the app when prompted). Exact sam...

C# Opensource NAT and Firewall traversal library?

does any one know any stablele project/lib? I need code examples not theory! ...

Http tunneling to pass firewall in C# (TCP)

My need is to communicate between 2 client behind NAT using http tunneling. Is it possible? What all setup is needed to achieve this (like http proxy server etc.)? Is there any library or sample code available for implementing http tunneling over TCP in C#? ...

Raw Socket Programming

Hi, I want to implement a simple firewall using raw sockets. I found some sniffer samples but I want to know if it is possible to drop unwanted packets using raw sockets. It is very important for me. Please let me know how can I do that? ...

How do I change permissions to a socket?

I am trying to run a simple Python based web server given here. And I get the following error message: Traceback (most recent call last): File "webserver.py", line 63, in <module> main() File "webserver.py", line 55, in main server = HTTPServer(('', 80), MyHandler) File "/usr/lib/python2.5/SocketServer.py", line 330, in _...

Posting to internal socket fails when firewall is enabled

I'm working on an application where two processes communicate over loopback interface. Its Linux based system. I'm encountering a very strange problem, when Firewall is enabled, send to internal socket is failing. If I add an iptables rule (in output chain) as shown below from command prompt everything works fine. iptables -I OUTPUT ...

Add to Firewall Exception list

Hi, I got below mentioned code for adding my application to Windows Firewall Exception list. I wanted to know if this will also work for other firewalls eg: Antivirus firewalls etc. If not then please suggest a solution. Note: My application is running with Admin rights but my users are not able to understand firewall settings of quick...

Restrict RDP port based on a Dynamic DNS

Hi All, I want to set a restriction on my firewall (windows firewall on windows 2008) to only allow connections from a certain dynamic DNS. Is this possible? The reason I ask is that this would allow us to just change the IP on the dynamic DNS if our IP changes and means we won't get locked out of RDP. This also allows me to RDP in fro...

Put a java socket-like program in a cloud service

I developed a server side java program, basically is a relay server so I can easily pass NATs and firewalls. The program works, but now I need a cloud service to host it. Do you know where/how I can put a java socket-like program in the cloud? Obviously, I prefer a free service or at least a free service while I'm testing. Thank you! ...

ports to pass from firewall in windows 2003 server

is this OK to on the firewall on windows 2003 Domain & DHCP server? if yes then which ports should be passed from firewall to use full feature of Active directory domain controller file & Printer Sharing DHCP & Dns thanks ...