Networking Forums

Networking Forums > Computer Networking > Linux Networking > getting by firewalls for direct access

Reply
Thread Tools Display Modes

getting by firewalls for direct access

 
 
Eric
Guest
Posts: n/a

 
      04-14-2004, 03:57 PM
Hi,
This is more of a theory type question than anything else.
My friend and I have IM installed and I send him an instant message.
We are both behind firewalls but he gets the instant message
instantly!
Now, my IM can't just open a socket to his as he is behind a firewall
so it must go through a server. But if it does that his IM must be
checking/polling for messages every .2sec to account for the fact that
he gets it instantly?
Now, that can't be right can it? That every installation of IM in the
world is polling a central server for messages every .2/.5 sec? That
would be huge network overhead?
How are they doing it?
Eric
 
Reply With Quote
 
 
 
 
Andrew Schulman
Guest
Posts: n/a

 
      04-14-2004, 04:17 PM
> Hi,
> This is more of a theory type question than anything else.
> My friend and I have IM installed and I send him an instant message.
> We are both behind firewalls but he gets the instant message
> instantly!
> Now, my IM can't just open a socket to his as he is behind a firewall
> so it must go through a server. But if it does that his IM must be
> checking/polling for messages every .2sec to account for the fact that
> he gets it instantly?
> Now, that can't be right can it? That every installation of IM in the
> world is polling a central server for messages every .2/.5 sec? That
> would be huge network overhead?
> How are they doing it?


When you send a message to your friend, it gets routed to him through
the firewall host on his end. The firewall is (more or less)
continuously polling its incoming queue for packets. When it finds one
and sees that it's intended for your friend's host, it forwards it on to
him straight away. Since CPUs and internal data buses are orders of
magnitude faster than network links, the delay is too small for you to
notice. This is why people like to use old, otherwise-useless 386 and
486 machines as stand-alone firewall hosts.

Note that none of this requires polling a central server.

--
To reply by email, replace "deadspam.com" by "alumni.utexas.net"
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting around corporate firewalls to access ssh server General Schvantzkoph Linux Networking 20 03-19-2006 04:48 PM
Repeater clients need direct access to router? Jorabi Wireless Internet 11 03-23-2005 05:06 PM
split access routing: how to direct NEW connections Rudolf Potucek Linux Networking 2 07-11-2004 10:18 PM
Playing direct connect game from behind two firewalls. Roger Vandervort Linux Networking 0 01-29-2004 03:51 PM
firewalls and p2p access Eric Mosley Linux Networking 3 11-02-2003 04:46 PM



1 2 3 4 5 6 7 8 9 10 11