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 ,
rfchost怎么样?rfchost是一家开办了近六年的国人主机商,一般能挺过三年的国人商家,还是值得入手的,商家主要销售VPS,机房有美国洛杉矶/堪萨斯、中国香港,三年前本站分享过他家堪萨斯机房的套餐。目前rfchost商家的洛杉矶机房还是非常不错的,采用CN2优化线路,电信双程CN2 GIA,联通去程CN2 GIA,回程AS4837,移动走自己的直连线路,目前季付套餐还是比较划算的,有需要的可...
我们一般的站长或者企业服务器配置WEB环境会用到免费版本的宝塔面板。但是如果我们需要较多的付费插件扩展,或者是有需要企业功能应用的,短期来说我们可能选择按件按月付费的比较好,但是如果我们长期使用的话,有些网友认为选择宝塔面板企业版或者专业版是比较划算的。这样在年中大促618的时候,我们也可以看到宝塔面板也有发布促销活动。企业版年付899元,专业版永久授权1888元起步。对于有需要的网友来说,还是值...
digital-vm,这家注册在罗马尼亚的公司在国内应该有不少人比较熟悉了,主要提供VPS业务,最高10Gbps带宽,还不限制流量,而且还有日本、新加坡、美国洛杉矶、英国、西班牙、荷兰、挪威、丹麦这些可选数据中心。2020年,digital-vm新增了“独立服务器”业务,暂时只限“日本”、“新加坡”机房,最高也是支持10Gbps带宽... 官方网站:https://digital-vm.co...