Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-09-2007, 07:13 PM   #1
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
:stoned PHP guru (socket vs firewalls question)

I have 2 scripts.

The first one will be on my server and will be listening for incomming socket connections.

The second one, will be a client distributed on multiple server (which I don't know the servers config.).

My question is will the firewalls on my clients server block the connection attemp with php fsockopen() ?

Thanks.
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2007, 07:16 PM   #2
webgeek
Confirmed User
 
Join Date: Mar 2007
Posts: 165
no.
that doesn't depend on that.
fsockopen is no different than a regular socket.
__________________
webgeek
webgeek is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2007, 07:18 PM   #3
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
Depends on the firewall config. What port is your script listening on?
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2007, 07:42 PM   #4
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
12345 right now ... but aren't all unused ports blocked by default ? Dedicated servers will be able to open this port ... but I guess webmasters on virtual servers will find it more difficult to open this port...
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2007, 07:48 PM   #5
BigBen
Confirmed User
 
Join Date: Nov 2004
Location: scv
Posts: 2,299
Quote:
Originally Posted by qw12er View Post
12345 right now ... but aren't all unused ports blocked by default ? Dedicated servers will be able to open this port ... but I guess webmasters on virtual servers will find it more difficult to open this port...
It should work fine for most of the clients as many aren't doing egress filtering, or any filtering for that matter, but others with proper rulesets will have to allow the traffic out.
BigBen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2007, 07:59 PM   #6
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
I though a high percentage of servers would be properly proteced by firewalls.
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2007, 08:06 PM   #7
naitirps
Confirmed User
 
Join Date: May 2004
Location: ...
Posts: 761
if your controlling whats listening on that socket, do what you please ;-) Add auth codes and code in your ips or domain lists for auth. Your own type of firewall, just on socket level. :P
__________________
Programmer
ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com
naitirps is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2007, 10:19 AM   #8
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
Quote:
Originally Posted by naitirps View Post
if your controlling whats listening on that socket, do what you please ;-) Add auth codes and code in your ips or domain lists for auth. Your own type of firewall, just on socket level. :P

The server end isn't the problem ... I'm wondering if firewall will block outgoing infos when the client connects.
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.