總網頁檢視次數

星期三, 10月 30, 2019

Telco slogan

IMEI : International Mobile Equipment Identity
IMSI : International Mobile Subscriber Identity
MSISDN : Mobile Station International Subscriber Directory Number = Country Code + operator destination code

GGSN/PGW => Radius message
CGN/FW => NAT message

 GGSN - Gateway GRPS Support Node

A Gateway GPRS Support Node (GGSN) is part of the core network that connects GSM-based 3G networks to the Internet. The GGSN, sometimes known as a wireless router, works in tandem with the Serving GPRS Support Node (SGSN) to keep mobile users connected to the Internet and IP-based applications.

The GGSN converts incoming data traffic from mobile users (via the SGSN) and forwards it to the relevant network, and vice versa. So, for instance, a Google query from a smartphone would be routed via the SGSN to the GGSN and sent on as a query to the Internet search engine, then the process would be reversed for the reply to the phone user.

The GGSN and the SGSN together form the GPRS support nodes (GSN). The GGSN is also linked into hosted services (such as voice and video) and to the billing, policy control, and user verification elements of the core network.

GGSN vendors include Alcatel-Lucent (NYSE: ALU), Cisco Systems Inc. (Nasdaq: CSCO), Ericsson AB (Nasdaq: ERIC), and Nokia Networks .



PGW - PDN Gateway
 
PGW is exactly doing the GGSN Functionalities in EPC (Evolved Packet Core) which is the Core Network of the LTE/4G Network.

in many commercial cases for 2G/3G/4G Converged Network, PGW replaces GGSN and acts as the Mobile Gateway for 2G/3G/4G radio access types.




CGN - Carrier-grade NAT

also known as large-scale NAT (LSN), is an approach to IPv4 network design in which end sites, in particular residential networks, are configured with private network addresses that are translated to public IPv4 addresses by middlebox network address translator devices embedded in the network operator's network, permitting the sharing of small pools of public addresses among many end sites. This shifts the NAT function and configuration thereof from the customer premises to the Internet service provider network.
Carrier-grade NAT has been proposed as an approach for mitigating IPv4 address exhaustion.[1]
One use scenario of CGN has been labeled as NAT444,[2] because some customer connections to Internet services on the public Internet would pass through three different IPv4 addressing domains: the customer's own private network, the carrier's private network and the public Internet.
Another CGN scenario is Dual-Stack Lite, in which the carrier's network uses IPv6 and thus only two IPv4 addressing domains are needed.




星期二, 10月 15, 2019

Install linux driver for TP-Link Archer T4U AC1200 Wireless Dual Band USB adapter for Centos/linux

TP-Link Archer T4U AC1200 Wireless Dual Band USB Adapter Linux Drivers
Internal photos of the TP-Link Archer T4U Wireless Adapter lodged with the FCC shows this device consists of a RealTek RTL8812au chipset.

The T4U has a USB Vendor ID (VID) of 0x2357 and Product ID (PID) of 0x101.

To date, the mainline Linux Kernel does not support this device, hence drivers need to be compiled manually.

One source for the drivers is Anand Babu (AB) Periasamy's git repository. Clone the source:

git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux/
TP-Link T4U's USB VID and PID has not yet been included. Edit op_dep/linux/usb_intf.c and add the following line to the bottom of the CONFIG_RTL8812A #ifdef section.

    {USB_DEVICE(0x2357, 0x0101),.driver_info = RTL8812}, /* TP-Link - T4U */
Now you are ready to make and install the driver:

make
sudo make install
At this stage, plugging in a T4U dongle should be detected and the appropriate driver loaded:

[   57.083756] usb 1-1: new high-speed USB device number 2 using ehci-pci
[   57.292224] usb 1-1: New USB device found, idVendor=2357, idProduct=0101
[   57.292231] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   57.292234] usb 1-1: Product: 802.11n NIC
[   57.292236] usb 1-1: Manufacturer: Realtek
[   57.292238] usb 1-1: SerialNumber: 123456
[   57.337273] cfg80211: Calling CRDA to update world regulatory domain
[   57.486501] 8812au: module verification failed: signature and/or  required key missing - tainting kernel
[   57.507475] cfg80211: World regulatory domain updated:
[   57.507480] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   57.507482] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   57.507485] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   57.507487] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   57.507488] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   57.507490] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   61.711265] usbcore: registered new interface driver rtl8812au

星期一, 10月 14, 2019

How to use TCPDUMP to capture network traffic

星期五, 10月 04, 2019

How to use connection proxy for PuTTY

You can use Host 1 as a bridge to connect to Host 2 by PuTTY..

You can even setup chain of bridge to do that .

i.e. You => Host1 => Host 2 => Host 3 ..

First , you setup a SESSION for You => Host 1 => Host 2..

Then you can use this session and setup You => SESSION=> Host #

Here is the way to setup it ..