Skip to content

Files

Latest commit

 

History

History

network-security

README.md

计算机网络安全

1. RC4

references

  1. RC4加密算法的原理及实现
  2. 流加密RC4的C语言实现
  3. RC4算法的Python实现详注
  4. 【维基百科】RC4

2. AES

references

  1. 【维基百科】AES
  2. AES加密算法的详细介绍与实现
  3. AES加密算法的C++实现
  4. JAVA实现AES加密
  5. Understanding AES & Rijndael

3. PGP

references

  1. 使用GnuPG(PGP)加密信息及数字签名教程
  2. GnuPG使用介绍

4. OpenSSL

references

  1. Download OpenSSL
  2. Source Code OpenSSL
  3. 使用 openssl 生成证书

5. Secure Communication(安全通信)

references

  1. Safe-Communication
  2. python加密算法
  3. 廖雪峰 Python网络编程
  4. 菜鸟教程 Python网络编程
  5. 循序渐进学Python 网络编程

6. debug history

  1. twisted

bug report

0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name DNSName'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.

fixed

$ pip install service_identity --force --upgrade
  1. twisted

bug report

AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'

fixed

$ pip install Twisted==16.6.0
  1. Listen port

bug report

twisted.internet.error.CannotListenError: Couldn't listen on any:23333: [Errno 98] Address already in use.

fixed

$ lsof -i TCP:23333 | grep LISTEN 
$ kill -s 9 <PID>