nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How to Block Ultrasurf

This is a discussion on How to Block Ultrasurf within the Linux software forums, part of the Linux Getting Started category; How to Block Ultrasurf from linux server? this is complete info what is ultrasurf ÎÞ½çÍøÂç http://www.wujie.net/downloads/ultrasurf/u.zip Thanks...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-11-2007, 05:49 AM
Junior Member
User
 
Join Date: Nov 2007
OS: Fedora
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
laluvirtual is on a distinguished road
Default How to Block Ultrasurf

How to Block Ultrasurf from linux server?

this is complete info what is ultrasurf
ÎÞ½çÍøÂç
http://www.wujie.net/downloads/ultrasurf/u.zip

Thanks
Reply With Quote
  #2 (permalink)  
Old 20-11-2007, 06:47 AM
Junior Member
User
 
Join Date: Nov 2007
OS: Fedora
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
laluvirtual is on a distinguished road
Default

no one have used this software?

So what exactly it is??
It is the flagship software product from UltraReach Internet Corp. for Internet anti-censorship. It enables users inside countries with heavy Internet censorship to visit any public web sites in the world safely and freely. it enables users to browse any website freely just the same as using the regular IE browser while it automatically searches the highest speed proxy servers in the background.
Learn More

Until now i still wait respond to solved this problem
Reply With Quote
  #3 (permalink)  
Old 20-11-2007, 09:59 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Block ÎÞ½çÍøÂç ip address 67.15.183.30 at firewall or use squid ACL, if you know the port number for the software block that too
__________________
May the force with you!
Reply With Quote
  #4 (permalink)  
Old 21-11-2007, 10:17 AM
Junior Member
User
 
Join Date: Nov 2007
OS: Fedora
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
laluvirtual is on a distinguished road
Default

hi monk i have try your suggestions block that ip, port (9666) and its domain but no luck

Last edited by laluvirtual; 21-11-2007 at 10:25 AM.
Reply With Quote
  #5 (permalink)  
Old 21-11-2007, 10:55 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

How did you blocked port using iptables or sqiud? Are you sure clients are using your proxy?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #6 (permalink)  
Old 22-11-2007, 05:59 AM
Junior Member
User
 
Join Date: Nov 2007
OS: Fedora
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
laluvirtual is on a distinguished road
Default

I tried both. this is using iptables
Code:
*mangle
:PREROUTING ACCEPT [192.168.1.0:24]
:OUTPUT ACCEPT [0:0]

-A PREROUTING -p tcp --dport 22 -j TOS --set-tos 0x10
COMMIT

*filter
:INPUT ACCEPT [32296:2595574]
:FORWARD ACCEPT [327:113979]
:OUTPUT ACCEPT [42157:3445894]
#firewall
-P FORWARD DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A FORWARD -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A FORWARD -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A INPUT -p icmp -m state --state NEW,ESTABLISHED,RELATED --icmp-type echo-request -m limit --limit 1/s -j ACCEPT

# Block MAC
#suspect
#-A INPUT -m mac --mac-source 00:0E:7B:C9:13:0B -j DROP

#Block IP
#UltraSurf
-A INPUT -s 67.15.183.30 -j DROP
-A FORWARD -s 67.15.183.30 -j DROP
-A OUTPUT -s 67.15.183.30 -j DROP

-A INPUT -p tcp -m tcp --dport 9666 -j DROP
-A FORWARD -p tcp -m tcp --dport 9666 -j DROP
-A OUTPUT -p tcp -m tcp --dport 9666 -j DROP


:INPUT ACCEPT [192.168.1.0:24]
:FORWARD ACCEPT [192.168.1.0:24]

:OUTPUT ACCEPT [0:0]

#-A INPUT -p tcp -m tcp --dport 10000 -j DROP
-A INPUT -i eth0 -j ACCEPT
-A FORWARD -i eth0 -j ACCEPT

COMMIT

# Completed on Wed Jun 21 12:35:13 2006
# Generated by iptables-save v1.2.3 on Wed Jun 21 12:35:13 2006
*nat
:PREROUTING ACCEPT [8009433:454311769]
:POSTROUTING ACCEPT [1529638:95155672]
:OUTPUT ACCEPT [1273134:83856339]
-A PREROUTING -s 192.168.1.0/255.255.255.0 -p tcp -m tcp --dport 80 -j DNAT --to-destination xxx.xxx.xxx.xxx:port
-A POSTROUTING -s 192.168.1.0/255.255.255.0 -o eth0 -j MASQUERADE
COMMIT
some lines on iptables script above i cut for security reason but if u want it, let me know and i will send it to your inbox.


and this one using squid
Code:
acl porn1 dstdomain "/etc/squid/data_porn.txt"
this is content of data_porn.txt
.ultra*
.wujie.net


yes i sure that my user using proxy (transparent), all site that i put at data_porn.txt can't be access. this is an example
Code:
ERROR

 The requested URL could not be retrieved

   While trying to retrieve the URL: sex.com 
 The following error was encountered:
  • Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is webmaster@MYDOMAIN.COM. Generated Thu, 22 Nov 2007 01:30:46 GMT by proxy.MYDOMAIN.COM (squid/2.5.STABLE14)
Note: its only not work at Internet Explorer (IE) Browser

I really need your help nixcraft
Thank you

Last edited by laluvirtual; 23-11-2007 at 08:34 AM.
Reply With Quote
  #7 (permalink)  
Old 24-11-2007, 10:59 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Are you sure this software only uses 9666 port? If so block it using /etc/sysconfig/iptables add 9666 as drop rule.
__________________
May the force with you!
Reply With Quote
  #8 (permalink)  
Old 24-11-2007, 06:01 PM
Junior Member
User
 
Join Date: Nov 2007
OS: Fedora
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
laluvirtual is on a distinguished road
Default

yes i'm sure. did u see my iptables script above that block port 9666.

hi monk can you download the software and test it on your computer so that u know thw truth please?

Thank you
Reply With Quote
  #9 (permalink)  
Old 28-11-2007, 05:21 AM
Junior Member
User
 
Join Date: Nov 2007
OS: Fedora
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
laluvirtual is on a distinguished road
Default

halo any body tried this case?
Reply With Quote
  #10 (permalink)  
Old 15-06-2008, 04:21 PM
Junior Member
User
 
Join Date: Jun 2008
OS: RedHat
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Tony S is on a distinguished road
Post Ultra Surf Fix

Quote:
Originally Posted by laluvirtual View Post
halo any body tried this case?
Hi
Unfortunatley the port un UltraSurf is 9666 on localhost, and the software is using this as a proxy it is injecting into the IE on the fly. This equates to a website called http://Ultra1

One way of controlling the program, I have found so far, is to place ultra1 in the Restricted Zone in Internet Options / Security / Restricted Sites of IE. Go to Custom Level and set all items to Disable or High Safety except Popup Blocker.

The program appears to make a lot of DNS calls to find the servers it is using. Blocking the servers it talks to may be another way, but it is not using port 80 or whatever your proxy server is.

Tony S
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
How to Block Spam Mails in Sendmail ppnair Mail Servers 3 28-08-2008 12:06 AM
Bad Superblock At Block : Magic Number Wrong Ashish Pathak Solaris/OpenSolaris 2 18-10-2007 08:11 PM
Iptables block ip address raj Getting started tutorials 0 05-05-2007 01:01 AM
How to block gtalk messenger through squid bubloob_13 Linux software 0 16-04-2007 11:59 AM
How to block sites in Squid joproz Linux software 2 18-11-2006 05:00 PM


All times are GMT +5.5. The time now is 04:45 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38