15 1 ( ) Vol. 15 No. 1
2007 2 Journalof Anhui Instituteof Architecture & Industry Feb. 2007
Linux
: ;Linux;Q T designer ; shell
:TP393 08 :A :1006 4540(2007)01 062 03
Q IAN Chao Yang1 , XU Ying hu2 , XI Fang lang3
(1 College of Computer and Information Science ,Hefei University of Technology, Hefei 230009 ;2 Hospital of Chaohu, Chaohu 238000;3 Chinese Medicine Hospital of Susong County, Susong 246501)how to construct a firewall with graphical interface for users in Linux OS int roduced in thepaper how and how to make a grap hicai interface wit h Q T designer was int roduced emp haticallg. wewilla example to explain in the end.firewall Linux;Q T designer GU I
Linux , (3) windows xp
Linux [ 1 ] , IP 1
(1) red hat linux9. 0 1
( ) ; 2
(2) windows 2000 server
:2006 10 11
: (1962- ) , , , ,
7 , : Linux 63
Iptables (Linux2. 4 Ipchains) :s h e ll : IPs h e ll ,
: IP
2.2 QTdesigner
2 QT designer
Q T designer , C++ ,:New File/Project - >C+ + Project ,
, ,firewall C++ , ,
F
, , .
, 3 2. 5
Delp hi (1)s h e ll ,
, shell
,
64 ( ) 15
?reset shell (5)Signal Slot
2 , : INET QT Signal Slot ,_IP= 1 ,LA N_IP= 2 ,
QT , :
2 2 ,
, ( firewall.pro ):
, s h e ll
(2) Make
QString: :arg()
reset=tr(( sh reset
IP) .a r g(LA N_I P)) ; ,
(3) , ,
Qstring reset=t r ( ( shreset . sh%1%2) .arg(IN ET_IP) .arg(LAN_IP)) ;
chmod +Xreset . sh 2 Xt
[M] : ,2002
(4) 3 , , , [M]
, s h e ll : ,2004sysytem() 4 , , ,system() [M] :
QT ,2006shell ,
LOCVPS发布了7月份促销信息,全场VPS主机8折优惠码,续费同价,同时香港云地/邦联机房带宽免费升级不加价,原来3M升级至6M,2GB内存套餐优惠后每月44元起。这是成立较久的一家国人VPS服务商,提供美国洛杉矶(MC/C3)、和中国香港(邦联、沙田电信、大埔)、日本(东京、大阪)、新加坡、德国和荷兰等机房VPS主机,基于XEN或者KVM虚拟架构,均选择国内访问线路不错的机房,适合建站和远程办...
日本vps云服务器怎么选择?很多人都会遇到日本vps和日本云服务器怎么选择的问题,日本云服务器具有免备案的特点。小编今天就分析一下日本云服务器价格多少钱,以方便大家选购的时候有个更加合适的取舍。日本云服务器租用前比较选择,高性能、安全、高效、免备案日本云服务器是很关键的因素。那么,日本云服务器该怎么选择呢?日本作为我们的邻国,与其贸易、文化往来是比较多的。日本云服务器价格多少钱一年?一、日本·CN...
提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...