顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


主題 - g220132110

頁: [1] 2
1
問題:不想要一列一列 echo輸出,故先將輸出資料放在變數$out,最後共一次echo輸出,請教怎麼寫?thanks.

<?php
   //每次輸出
   echo  "<p align=center><font size=5>選擇:繳交梯次</font>";
   echo  "<select size='1'  name='go_cat'>";
   for($i=1;$i<5;$i++){
      echo  "<option value=1 ";
      echo  $i;
      echo  ">";
      echo  "作業:".$i ;
      echo  "</option>";
   }
   echo  "</select>";
?>

<?php
   //最後一次輸出,失敗了,為什麼?
   $out=$out +  "<p align=center><font size=5>選擇:繳交梯次</font>";
   $out=$out +  "<select size='1'  name='go_cat'>";
   for($i=1;$i<5;$i++){
      $out=$out +  "<option value=1 ";
      $out=$out +  $i;
      $out=$out +  ">";
      $out=$out +  "作業:".$i ;
      $out=$out +  "</option>";
   }
   $out=$out +  "</select>";
   
   echo $out;   //這裡要怎麼寫?
?>

2
Network 討論版 / radius 帳號來源用不同認證
« 於: 2008-05-05 21:59 »
小弟安裝  freeradius
想要要多重帳號來源採用不同的認證方式,例如:

samba帳號 /et/samba/smbpasswd   ==>  MS-CHAP
unix帳號  /etc/passwd、/etc/shadow ==> MD5
pop3帳號  PAM用pam_pop3 ==> MS-CHAP

不知道怎麼設定,請知道的人教教我,謝謝!

3
小弟架設好 free radius server後,802.1x無線網路認證啟動成功‧

現在想要設定某些NB的無線網卡mac address不需要認證即可上網(即使帳號密碼錯誤),
同時也有某些NB的無線網卡mac address不能無線上網(即使輸入正確的帳號密碼)

不知道radiusd.conf 有沒有這樣的設定功能,請指教,謝謝!

4
小弟架設用Fedora8 架設 freeradius+ldap好了
在linux上測試應該是成功的:
radtest kevin pwd123  localhost 0 test123 成功
radtest work pwd123  localhost 0 test123 成功

但是在winxp 上就是無法成功,請各位先進幫忙看看,錯誤訊息如下:

rad_recv: Access-Request packet from host 192.168.1.106:1024, id=1, length=118
        User-Name = "kevin"
        NAS-IP-Address = 192.168.1.106
        Called-Station-Id = "001d7e4aacb2"
        Calling-Station-Id = "001b777fa625"
        NAS-Identifier = "001d7e4aacb2"
        NAS-Port = 60
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        EAP-Message = 0x0202000501
        Message-Authenticator = 0x1ab70fe024742a0f65bba275ebbe9548
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 3
  modcall[authorize]: module "preprocess" returns ok for request 3
  modcall[authorize]: module "chap" returns noop for request 3
  modcall[authorize]: module "mschap" returns noop for request 3
    rlm_realm: No '@' in User-Name = "kevin", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 3
  rlm_eap: EAP packet type response id 2 length 5
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 3
    users: Matched entry DEFAULT at line 97
    users: Matched entry DEFAULT at line 99
    users: Matched entry kevin at line 101
  modcall[authorize]: module "files" returns ok for request 3
rlm_pap: Found existing Auth-Type, not changing it.
  modcall[authorize]: module "pap" returns noop for request 3
modcall: leaving group authorize (returns updated) for request 3
  rad_check_password:  Found Auth-Type Local
auth: type Local
auth: No User-Password or CHAP-Password attribute in the request
auth: Failed to validate the user.
Delaying request 3 for 1 seconds
Finished request 3
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 1 to 192.168.1.106 port 1024
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 3 ID 1 with timestamp 47e0ddbd
Nothing to do.  Sleeping until we see a request.

==========修改eap.conf之後===============
default_eap_type = tls
tls {
        private_key_password = whatever
        private_key_file = ${raddbdir}/certs/cert-srv.pem
        certificate_file = ${raddbdir}/certs/cert-srv.pem
        CA_file = ${raddbdir}/certs/demoCA/cacert.pem
        dh_file = ${raddbdir}/certs/dh
        random_file = ${raddbdir}/certs/random
}

又產生了以下錯誤,不知道如何解決?
[root@ldap raddb]# radiusd -X -f
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/raddb/proxy.conf
Config:   including file: /etc/raddb/clients.conf
Config:   including file: /etc/raddb/snmp.conf
Config:   including file: /etc/raddb/eap.conf
 main: prefix = "/usr"
 main: localstatedir = "/var"
 main: logdir = "/var/log/radius"
 main: libdir = "/usr/lib"
 main: radacctdir = "/var/log/radius/radacct"
 main: hostname_lookups = no
 main: snmp = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/var/run/radiusd/radiusd.pid"
 main: user = "radiusd"
 main: group = "radiusd"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/sbin/checkrad"
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = no
 proxy: wake_all_if_all_dead = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/lib
Module: Loaded exec
 exec: wait = yes
 exec: program = "(null)"
 exec: input_pairs = "request"
 exec: output_pairs = "(null)"
 exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
 pap: encryption_scheme = "crypt"
 pap: auto_header = yes
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
 mschap: use_mppe = yes
 mschap: require_encryption = no
 mschap: require_strong = no
 mschap: with_ntdomain_hack = no
 mschap: passwd = "(null)"
 mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap)
Module: Loaded System
 unix: cache = no
 unix: passwd = "/etc/passwd"
 unix: shadow = "/etc/shadow"
 unix: group = "/etc/group"
 unix: radwtmp = "/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded LDAP
 ldap: server = "127.0.0.1"
 ldap: port = 389
 ldap: net_timeout = 1
 ldap: timeout = 4
 ldap: timelimit = 3
 ldap: identity = ""
 ldap: tls_mode = no
 ldap: start_tls = no
 ldap: tls_cacertfile = "(null)"
 ldap: tls_cacertdir = "(null)"
 ldap: tls_certfile = "(null)"
 ldap: tls_keyfile = "(null)"
 ldap: tls_randfile = "(null)"
 ldap: tls_require_cert = "allow"
 ldap: password = ""
 ldap: basedn = "dc=lygsh,dc=ilc,dc=edu,dc=tw"
 ldap: filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
 ldap: base_filter = "(objectclass=radiusprofile)"
 ldap: default_profile = "(null)"
 ldap: profile_attribute = "(null)"
 ldap: password_header = "(null)"
 ldap: password_attribute = "(null)"
 ldap: access_attr = "dialupAccess"
 ldap: groupname_attribute = "cn"
 ldap: groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
 ldap: groupmembership_attribute = "(null)"
 ldap: dictionary_mapping = "/etc/raddb/ldap.attrmap"
 ldap: ldap_debug = 0
 ldap: ldap_connections_number = 5
 ldap: compare_check_items = no
 ldap: access_attr_used_for_allow = yes
 ldap: do_xlat = yes
 ldap: set_auth_type = yes
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP sambaLMPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNTPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaAcctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
conns: 0xb84e95f8
Module: Instantiated ldap (ldap)
Module: Loaded eap
 eap: default_eap_type = "tls"
 eap: timer_expire = 60
 eap: ignore_unknown_eap_types = no
 eap: cisco_accounting_username_bug = no
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
 gtc: challenge = "Password: "
 gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = "(null)"
 tls: pem_file_type = yes
 tls: private_key_file = "/etc/raddb/certs/cert-srv.pem"
 tls: certificate_file = "/etc/raddb/certs/cert-srv.pem"
 tls: CA_file = "/etc/raddb/certs/demoCA/cacert.pem"
 tls: private_key_password = "whatever"
 tls: dh_file = "/etc/raddb/certs/dh"
 tls: random_file = "/etc/raddb/certs/random"
 tls: fragment_size = 1024
 tls: include_length = yes
 tls: check_crl = no
 tls: check_cert_cn = "(null)"
 tls: cipher_list = "(null)"
 tls: check_cert_issuer = "(null)"
rlm_eap_tls: Loading the certificate file as a chain
rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
rlm_eap_tls: Error reading Trusted root CA list
rlm_eap: Failed to initialize type tls
radiusd.conf[10]: eap: Module instantiation failed.
radiusd.conf[1965] Unknown module "eap".
radiusd.conf[1912] Failed to parse authenticate section.



5
1.背景:某學校內的IP被授權可以連結與查詢外國的資料庫,我想要在此學校內架1台伺服器,那就可以讓校外的電腦(我的家裡)上網到此伺服器來使用資料庫,就不需要到學校使用,不知道這樣大家懂嗎?
PS:我不要設定瀏覽器的proxy,而是直接上網到我架的網站



2.舉例:就像這個簡體小說網站 http://www.dragonsky.net 依樣,它使用另一個伺服器http://211.154.166.181/gate/big5/www.dragonsky.net來將簡體轉換成繁體!

請大家告訴我相關資訊與解決之道,謝謝!

6
小弟的 Linux主機中的 /var 滿了,

不知道怎麼去找到是哪個檔案太大,
我知道 find 指令可以找檔案,
但是怎麼去設定 要找的檔案大小呢?
請指教,感激不盡!

7
1.小弟安裝好AP後,使用無線網路都很正常

2.架設好 free radius後,此Radius Server 正常運作,
   可是Client使用Windows xp sp2連線,輸入認證帳號、密碼,也已經通過認證
   但是畫面就一直停在"正在取得網路位址"
  Radius Server上出現的訊息就是"Nothing to do.  Sleeping until we see a request."

不知道我哪裡做錯了,請前輩指教,謝謝!

---------以下是Radius Server的測試過程--------

radiusd -sfxxyz stdout
.................
...............
  modcall[authorize]: module "suffix" returns noop for request 19
  rlm_eap: EAP packet type response id 4 length 6
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 19
    users: Matched entry DEFAULT at line 152
    users: Matched entry lygsh at line 216
  modcall[authorize]: module "files" returns ok for request 19
modcall: group authorize returns updated for request 19
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 19
  rlm_eap: Request found, released from the list
  rlm_eap: EAP/peap
  rlm_eap: processing type peap
  rlm_eap_peap: Authenticate
  rlm_eap_tls: processing TLS
rlm_eap_tls: Received EAP-TLS ACK message
  rlm_eap_tls: ack handshake fragment handler
  eaptls_verify returned 1
  eaptls_process returned 13
  rlm_eap_peap: EAPTLS_HANDLED
  modcall[authenticate]: module "eap" returns handled for request 19
modcall: group authenticate returns handled for request 19
Sending Access-Challenge of id 3 to 140.111.96.241:1029
        Reply-Message = "Hello, %u"
        EAP-Message = 0x010500061900
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xbe94b0135f70d358d8f4d824f6641696
Finished request 19
Going to the next request
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 16 ID 0 with timestamp 4497a1d2
Cleaning up request 17 ID 1 with timestamp 4497a1d2
Cleaning up request 18 ID 2 with timestamp 4497a1d2
Cleaning up request 19 ID 3 with timestamp 4497a1d2
Nothing to do.  Sleeping until we see a request.

8
小弟單位有250台左右電腦,需要防火牆,
去了中信局看,還是不太懂 入侵偵測防禦設備 跟防火牆有哪裡不同?

我的需求就是連外都不限制,連到內部只開放某些網站服務,保留一部份頻寬作網路電話用!

因為經費關係30萬上下,所以想請問大大們:

入侵偵測Fortinet FG-60A    vs   中高階防火牆Fortinet  FG-300

這兩個價錢差不多,不知道哪個比較適合,
還聽說每年都需要維護費,是這樣嗎?
謝謝!

9
小弟用日期"data年月日"這樣格式當作資料表名稱,
所以PHP程式收到網頁輸入的如"data941121"參數後,
就會去執行SQL指令  Select  * from  data941121,
如果沒有此 "data941121" 資料表就會產生錯誤‧

我想問的就是有沒有什麼指令可以察知某個資料表是否存在?
PS:ADODB 與 mysql 我都有用,不知道有誰知道這兩種連線方式的解決方法!

10
小弟常常收到這些信件:
ahmqb.ahmqb@sure.net.cn
mkela.mkela@163.com
enhlm.enhlm@aucma.com.cn
mkbqm.mkbqm@163.com
enhlm.enhlm@aucma.com.cn
mqakg.mqakg@163.com
mnnhb.mnnhb@163.com
她們的特點就是 xxx.xxx 這樣的帳號,

請問如何設定以下procmail,或是還有其他更好方法,謝謝!
:0
* ^From:.ah.*\..ah.*@.*           <==這裡我不會表達
/dev/null

11
假設我有兩個欄位 fieldA 、fieldB,
今天我輸入搜尋字串於  str1、str2、str3 中,
我的SQL下法是這樣的:
Select  *  from table1  Where  fieldA Like '%str1%'  OR  fieldA Like '%str2% OR fieldA Like '%str3%'  OR fieldB  Like '%str1%'  OR  fieldB Like '%str2% OR fieldB Like '%str3%'

可是我覺得這樣太笨了,不知道有沒有人有好方法?
(我的用意是想做跟Google類似的輸入"str1  str2  str3" 這樣的搜尋!

12
小弟有個EXCEL檔案,每個儲存格上面打入大學校系名稱,並建立相關校系連結,現在我想取出超連結位址,不知道用什麼函數可以取得!

我有用 Cell("contents",A1) 這樣的函數想取出此儲存格超連結位址,可是不知道超連結的參數是什麼?

13
小弟用apt-get 到  http://ayo.freshrpms.net/fedora....  更新檔案,
最近這個網站好像不提供 apt的相關檔案了,
請教前輩,目前國內還有哪些網站可以提供更新?

14
Computer 討論版 / 名詞:何謂「資訊平台」?
« 於: 2005-03-07 21:47 »
最近遇到一個評鑑,我實在看不到:是否有「資訊平台」?
有沒有人可以告訴我,「資訊平台」該怎麼解釋?

15
Linux 討論版 / 最近常常收到別人的信
« 於: 2005-03-04 12:42 »
sendmail自從加裝了 mailscanner + clamav後,偶爾會收到應該是寄給別人的信件,卻跑到我的信箱中!

請問有沒人遇過?

16
Linux 討論版 / 登入問題,密碼很多組都可以
« 於: 2005-01-12 16:28 »
環境:RedHat 9  + ProFtp
帳號: s310342    
密碼: G220xxx057       或   G220xxx075   或  G220xxx0575

好幾組密碼都可以登入FTP,不知道有沒有人遇過這樣的問題!

17
小弟想要批次修改多人的密碼,可以教教我嗎?謝謝!

假設我想要更改 user1 的密碼為 testabcd,不知道底下這行為什麼不成功?
應該怎麼寫呢?

echo "testabcd" | "testabcd" | passwd user1

18
如果我有2個檔案a1,a2   ,我想要將這兩個檔案合併成檔案 a3
Windows下是=>   copy a1+a2  a3
不知道Linux下用 cp 指令怎麼完成?

19
請教大家,我的 squid server想要禁止下載影片檔,不知道如何設定ACL?
另外,我也想禁止 10M以上的檔案下載,不知道 squid有這個功能?
謝謝!

20
『ADSL 是非對稱式連線,只要有上傳/下載,另一個下載/上傳就會受影響...』

請問前輩們以上這句話完全正確嗎?

如果我的ADSL是 3M/384k,現在我正在抓檔案(最大下載速度 1M,未超過3M),
那麼我現在要寄出EMail時候就會受到影響而變慢,是不是這樣呢?

如果我是T1專線 1.5M/1.5M,依照同時抓檔案(最大下載達到1M而已)、傳送EMail,
是不是寄出EMail的速度就不受影響?

21
請教各位前輩:
  小弟想要封鎖 140.111.x.151 到 140.111.x.199的ip不能上網
  不知道 iptables -A INPUT -s    之後要怎麼寫?  
thanks.

22
小弟用ProcMail過濾信件,怕誤刪信件,希望可以過濾信件並發信警告本單位內的原收件者‧
就是要將原本信件的主題加工過,再讓他寄到收件者信箱內‧

假設原本信件:
    發信者:         bad@lgn.mailserver.idv.tw
   收件者:     usr1@xx.yy.edu.tw    
   主旨: hi    
=================================
我想要加工後新的信件:
    發信者:                 warn@xx.yy.edu.tw
   收件者:     usr1@xx.yy.edu.tw    
   主旨: 您的信件已被過濾                    

或是這樣也可以:
    發信者:                 bad@lgn.mailserver.idv.tw
   收件者     usr1@xx.yy.edu.tw    
   主旨為: 您的信件已被過濾  
========================================

-----------------請教以下如何修改------------------
Procmail過濾規則:
:0b
* ^Subject:.*hi
| (formail  -k; echo "您的信件已被過濾") | /usr/sbin/sendmail
<==請教上一行如何表達,謝謝!

23
各位好:
    小弟家中WinXP撥接ADSL上網到3個大陸小說網站一切正常‧
http://www.hjsm.net
http://big5.hjsm.net
http://www.cuiweiju.com
   可是學校內的RedHat9撥接ADSL上網,到第一個網站速度滿慢,到另外兩個網站都不成功,請問大大們的原因在哪裡?加大類似time_out的逾時時間有用嗎?
    在學校內我設定 proxy.edu.tw:3128就可以上網成功了!真的很奇怪‧
謝謝!

24
Linux 討論版 / [問題]Proftp 與 中文檔名問題
« 於: 2003-10-20 17:28 »
小弟的中文檔案名稱  『許素英.doc』  FTP上傳到後,檔名變成  『素英.doc』,
就是少了『 許』這個文字‧
請問ProFtp要如何設定呢?有解答請告知,謝謝!(小弟搜尋不到答案才斗膽請問)

25
我用程式呼叫OutLook 產生有回條的信件沒問題!

後來改用 winsock 來 connect  to SMTP Server 的 port 25,
送出回條參數   Disposition-Notification-To: user@xxx.yyy,發生問題‧
原來還要送出 Msg-ID:bbbccccdfdsfsdfsdfsfsf 這樣的參數‧

請問有沒有人知道 Msg-ID: bbbb...   這個計算規則呢?
我看過RFC 文件還是看不懂!
拜託知道的大大啦!

26
小弟用MAPI發Mail可以了,可是只能發純文字,
現在想要發 HTML格式信件,這樣我就可以將純文字表格化,
請教各位大大!

27
我的Slave無法取得Master資料,以下是 /var/log/messages錯誤訊息:
(PS:以下錯誤訊息中的ip位址改成xxx)
Sep 18 15:15:07 mail named[11896]: dumping master file: tmp-XXXXxYXbGr: open: permission denied
Sep 18 15:15:07 mail named[11896]: transfer of 'xxx.111.140.in-addr.arpa/IN' from 140.111.95.1#53: failed while receiving responses: permission denied
Sep 18 15:15:07 mail named[11896]: transfer of 'xxx.111.140.in-addr.arpa/IN' from 140.111.95.1#53: end of transfer

不知道 permission denied 這錯誤訊息代表什麼意思?
請大家指點一條明路,感激不盡!

28
我的 RH9的Sendmail有 SMTP認證(Cyrus SASL ),
我單位內的人發信到別的domain都要經過認證才可發信,

可是自己單位內的人卻不需要經過SMTP認證就可以發信到自己單位內的其他人,
結果有個同事電腦EMail中毒了,就一直發信給其他同事,請問如何解決?
(就是我想要單位內的同仁互相寄MAIL也都要經過SMTP認證才可發信)

謝謝!

29
我想要讓幾百個使用者可以用FTP傳送檔案,
且不允許大部分人Telnet(只允許幾個管理者telnet),
請問有哪些方法?告訴我搜尋字串或網址亦可‧謝謝!

30
Network 討論版 / 請教MultiRouting問題
« 於: 2003-07-21 00:01 »
大家好:
我學校原有一條學術網路,現在又拉了一條非固定式ADSL,變成有兩條線可用‧
我想要設定學校對外只要是 :
1.網址是      .edu.tw的就走學術網路出去
2.其他網址  就走非固定式ADSL出去‧

現在我有網路卡三片:
a.對外eth0(10.11.128.165/255.255.255.252   ==>學術網路固接式ADSL)
b.對外eth1->ppp0(非固定式ADSL)
c.校內eth2(140.111.xxx.0/255.255.255.0  ==>校園LAN的Class C)

請問route指令如何下,或是有其他方法可用?感激不盡‧

頁: [1] 2