原创 TCP flag, 排錯時需要用到的東西。

TCP Flags CWR : Congestion Windows ReducedECE : Explicit Congestion Notification [ECN]-EchoURG : UrgentACK : Acknowledge

原创 Cisco ASA U-Turn traffic.

我們的今天的目標是用思科anyconnect 遠程登陸到ASA8,然後通過IPSEC×××連接到ASA9後面的10.2.0.101第一張是原理圖2第二張是eve-ng網路圖,×××客戶會從net也就是我的一臺虛擬機遠程登陸ASA8(用a

原创 開源Squid Proxy Server 設置

設置Squid的目的當你在企業內部,Internet斷掉的情況下,你可以默認路由走別的路徑出去,比如從Squid 所在網絡出口出去 Part 1. restart the squid service the squid path is w

原创 MAC OS 上打開Citrix Receiver 出現證書問題

You may receive the Error "SSL error 61: You have not chosen to trust "DigiCert Global Root G2," 這種情況有可能是系統裏沒有 intermed

原创 多子網Cisco ASA to AWS IPSEC ××× 問題

最近遇到一個很妖的問題, Cisco ASA to AWS IPSEC CPN Asa 這邊有多個子網,每次只能一個子網和AWS 通信,別的就是不通。 配置如下。 ASA 10.10.55.0 255.255.255.010.10.66

原创 Apue Chapter 7 習題答案

Q7.1 在Intel X86系統上,使用Linux,如果執行一個輸出“hellow world"的程序但不調用exit或者return,則程序返回的代碼爲13,(用shell檢查),解釋其原因。因爲hellow world 一共是13個字

原创 BGP 實驗 1

BGP I – Lab guide for LAB 1   Lab Steps LAB1: iBGP and eBGP Neighbor Adjacencies (R1 ibgp R2 ebgp R3)⦁    Objectives: 

原创 TCP/IP 路由 卷一 習題 ospf

什麼是OSPF鄰居從路由器的角度來說,鄰居是指直接在於該OSDF路由器相鄰的其他OSPF路由器From the perspective of an OSPF router, a neighbor is another OSPF router

原创 Apue Chapter 4 習題答案

Q1. 用stat 函數替換圖4-3程序中的lstat 函數,如若命令行參數之一是符號鏈接,會發生什麼變化?改之前:[root@clstore3 ~]# ./lstat /etc/passwd /etc /dev/log /dev/tty

原创 shell 把兩個腳本連起來

#!/bin/bash##This is for auto run the script to save the time ##By [email protected]#chose the latest 10 file and chos

原创 TCP/IP 路由 7.8

Is EIGRP a distance vector or a link state routing protocol?Distance Vector What is the maximum configured bandwidth EIG

原创 traceroute 的工作原理是什麼

它發送一份TTL字段爲1的IP數據包給目的主機,處理這份數據包的第一個路由器將TTL值減1,丟棄該數據包,併發送一份超時ICMP報文。 這樣就得到了該路徑中的第一個路由器的地址。 然後traceroute 在發送一份TTL=2的數據包,這樣

原创 TCP/IP 路由 卷二 習題

2.10 1.BGP-4 與早期版本的主要不同之處是什麼?CIDR 2. CIDR 解決了哪兩個問題?Internet 路由表爆炸B類地址空間的逐漸耗盡3. 有類別與無類別IP路由器之間的區別是什麼?無類別路由器直接進行最長匹配查找操作有類

原创 Cisco ASA firewall swap

Cisco ASA FW replacement Active sand Standby Mode 思科防火牆 更換 must make sure the cross connection is there. must have wr

原创 Apue Chapter 5 習題答案

Q5.1 Implement setbuf using setvbuf. Q5.2 Type in the program that copies a file using line-at-a-time I/O (fgets and fpu