![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2004
Location: Montreal
Posts: 799
|
![]() 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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2007
Posts: 165
|
no.
that doesn't depend on that. fsockopen is no different than a regular socket.
__________________
webgeek ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
Depends on the firewall config. What port is your script listening on?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Apr 2004
Location: Montreal
Posts: 799
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |