记录蜂窝网络链路聚合项目的零碎
项目是要保密的,所以只是记录一些自己项目过程里的零零碎碎。
对开源IPsec VPN的研究
StrongSwan vs OpenSwan vs Libreswan
Libreswan是OpenSwan开发者因为商标问题新开发的开源VPN工具。
- StrongSwan has much more comprehensive and developed documentation than Libreswan.
- StrongSwan has support for EAP authentication methods, which make it easier to integrate into heterogeneous environments (such as authenticating to Active Directory). These are less well developed or even missing from Libreswan.
- StrongSwan can be clustered and load balanced. Libreswan does not seem to have any support to do either.
- Libreswan supports more hardware crypto accelerators than StrongSwan, but requires kernel patches to do so.
OpenSwan roadwarrior and net2net
1 |
|
1 |
|
StrongSwan的HA模式
The roadwarriors carol and dave set up a connection each to the virtual gateway mars implemented by the two real gateways alice and moon in a High Availability (HA) setup based on ClusterIP. Depending on the hash of the IP addresses of the peers and the SPIs, the inbound and outbound CHILD_SAs are either assigned to segment 1 managed by alice or segment 2 handled by moon. The IKEv2 protocol is managed by moon exclusively with passive IKE_SAs installed on the backup gateway alice.
VPN链路聚合的两种方案
- 主要实现还是利用了
Netfilter HOOK
硬件问题
- 常见天线接头类型:
SIM7100拨号脚本
代码
详见gayhub:
上网设置APN,拨号号码,帐号和密码
运营商(ISP) | APN | 拨号号码 | 帐号 | 密码 |
---|---|---|---|---|
中国联通WCDMA(China Unicom) | 3GNET | *99# | 空 | 空 |
中国电信CDMA2000(China Telecom)EVDO网络 | 空 | #777 | ctnet@mycdma.cn | vnet.mobi |
1X网络 | 空 | #777 | card (CARD) | card(CARD) |
中国移动 TD-SCDMA(China Mobile) | CMNET | 981# | 空 | 空 |
中国移动 GPRS(China Mobile) | CMNET | 99**1# | 空 | 空 |
OpenSwan源码解析
后面没有使用开源VPN,这里没有继续接触。
记录蜂窝网络链路聚合项目的零碎
http://example.com/posts/50343/