Login

Forgot password?

We love free and open web!

Author Topic: IP Execption  (Read 23460 times)

Offline dejavu51

  • Newbie
  • *
  • Posts: 2
    • View Profile
IP Execption
« on: May 08, 2013, 12:01:42 AM »
Hey there. since email ports are blocked in pdproxy I tried to route my email client traffic directly by adding email server ip addresses to the ip exception list of pdproxy. It was successful for yahoo but I got into trouble for gmail. it look likes gmail servers just got too many ip addresses. i checked the addresses imap.gmail.com & smtp.gmail.com with http://www.dnsstuff.com/ and got 4 ip adresses But When I ping the servers myself I endup with new ip addressees every few times. So is there a way to get all gmail servers ip list? or more importantly why pdproxy doesn't allow exception by URL instead of IP? Exceptions by programs would be nice too  :) or common can't you just open the email ports? I can't believe users will abuse it that much  :-\

Offline sasan_blue

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: IP Execption
« Reply #1 on: May 08, 2013, 07:48:06 AM »
Hey there. since email ports are blocked in pdproxy I tried to route my email client traffic directly by adding email server ip addresses to the ip exception list of pdproxy. It was successful for yahoo but I got into trouble for gmail. it look likes gmail servers just got too many ip addresses. i checked the addresses imap.gmail.com & smtp.gmail.com with http://www.dnsstuff.com/ and got 4 ip adresses But When I ping the servers myself I endup with new ip addressees every few times. So is there a way to get all gmail servers ip list? or more importantly why pdproxy doesn't allow exception by URL instead of IP? Exceptions by programs would be nice too  :) or common can't you just open the email ports? I can't believe users will abuse it that much  :-\

I think that's inappropriate to guide you through this. Because spammers are looking for that. If you could explain your problem through PM I might get you an advice. Because I know how to use RDP and SSH with PD  ;)

Offline PDPROXY

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: IP Execption
« Reply #2 on: May 08, 2013, 11:05:44 AM »
You could do this.

1. Ping smtp.gmail.com and imap.gmail.com and get the IP address. Just pick one ip address for smtp... and imap...

2. Open your hosts file located in ( C:\Windows\System32\drivers\etc\hosts ) that is hidden by default so you might want to temporarily change your View options (Show hidden files and folders).

3. Add the following lines to your hosts file. Where x.x.x.x is the IP address you got from ping.
 
Code: [Select]
x.x.x.x smtp.gmail.com
x.x.x.x imap.gmail.com

This is done so that each time your mail client tries to resolve smtp and imap.gmail.com it will resolve only to those IPs.

4. The IPs can now be entered in PD-Proxy's exception list.



So is there a way to get all gmail servers ip list?

Yes, use nslookup

Code: [Select]
C:\Users\Hp>nslookup smtp.gmail.com
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    gmail-smtp-msa.l.google.com
Addresses:  2607:f8b0:4003:c01::6d
          173.194.64.108
          173.194.64.109
Aliases:  smtp.gmail.com


why why pdproxy doesn't allow exception by URL instead of IP? Exceptions by programs would be nice too  :)
That is not possible since PD-Proxy works on the IP level, it has no access to URLs or even programs. It just basically tunnels ip packets and depending on the destination(IP Address) of the packet it can decide if it will tunnel the packet or let it pass using your default internet gateway.



or common can't you just open the email ports? I can't believe users will abuse it that much  :-\

Yes, they will abuse it. If spammers know that our smtp ports are open they will abuse it and that could cause service interruption. SMTP ports are already blocked from our servers yet we still receive spam reports every month from our servers.

Aside from the human spammers there are also issues regarding computers that are infected with viruses that automatically sends spam. The owner of the computer wont even know that his computer is sending spam.

Offline dejavu51

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: IP Execption
« Reply #3 on: May 08, 2013, 11:50:49 AM »
Thumbs Up  ;D . Editing The host file get the job done. thanks  ;)