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 ,
digital-vm怎么样?digital-vm在今年1月份就新增了日本、新加坡独立服务器业务,但是不知为何,期间终止了销售日本服务器和新加坡服务器,今天无意中在webhostingtalk论坛看到Digital-VM在发日本和新加坡独立服务器销售信息。服务器硬件是 Supermicro、采用最新一代 Intel CPU、DDR4 RAM 和 Enterprise Samsung SSD内存,默认...
GigsGigsCloud新上了洛杉矶机房国际版线路VPS,基于KVM架构,采用SSD硬盘,年付最低26美元起。这是一家成立于2015年的马来西亚主机商,提供VPS主机和独立服务器租用,数据中心包括美国洛杉矶、中国香港、新加坡、马来西亚和日本等。商家VPS主机基于KVM架构,所选均为国内直连或者优化线路,比如洛杉矶机房有CN2 GIA、AS9929或者高防线路等。下面列出这款年付VPS主机配置信息...
HostHatch在当地时间7月30日发布了一系列的促销套餐,涉及亚洲和欧美的多个地区机房,最低年付15美元起,一次买2年还能免费升级双倍资源。商家成立于2011年,提供基于KVM架构的VPS主机,数据中心包括中国香港、美国、英国、荷兰、印度、挪威、澳大利亚等国家的十几个地区机房。官方网站:https://hosthatch.com/NVMe VPS(香港/悉尼)1 CPU core (12.5%...