随笔分类 -  http&server&业务

http Server 四层 七层 udp 业务
摘要:之前跑内存泄漏时,用到 1>file_res.std 2>&1 "2>&1" "2>1" 的意思等于 "STDERR 给输出到文件 1",再加上论文要特别 "&1" 代表是引用 "STDOUT",而不是文件 今天看到bash_redirection文档,来看看别人怎么说 "1 > file 2>&1 阅读全文
posted @ 2025-05-17 21:51 codestacklinuxer 阅读(9) 评论(0) 推荐(0)
摘要:初始化 回调函数作用对象触发阶段用途常见场景 SSL_set_verify / SSL_CTX_set_verify SSL/SSL_CTX 证书验证阶段 设置是否验证对端证书及验证模式(如 SSL_VERIFY_PEER) 强制验证客户端/服务器证书 SSL_CTX_set_cert_verify 阅读全文
posted @ 2025-03-25 14:58 codestacklinuxer 阅读(43) 评论(0) 推荐(0)
摘要:eaptls 中忽略server 端对client端证书校验 SSL_set_verify(conn->ssl, SSL_VERIFY_PEER, tls_verify_cb); 设置是否需要校验对端证书。 对于wpa 客户端是否要忽略校验服务端证书结果; 使用peap-mschap验证 1、如果配 阅读全文
posted @ 2025-03-21 19:41 codestacklinuxer 阅读(6) 评论(0) 推荐(0)
摘要:// Test PRR-slowstart implementation. // In this variant we verify that the sender uses SACK info on an ACK // below snd_una. // Set up config. `../co 阅读全文
posted @ 2024-12-16 23:35 codestacklinuxer 阅读(5) 评论(0) 推荐(0)
摘要:https://www.kancloud.cn/alex_wsc/android-wifi-nfc-gps/414083 文章参考 form:https://blog.csdn.net/yudelian/article/details/121036099 1、https://chujian521.g 阅读全文
posted @ 2024-09-11 20:21 codestacklinuxer 阅读(21) 评论(0) 推荐(0)
摘要:EAP-PEAP with Mschapv2: Decrypted and Decoded Michal Garcarz Cisco Employee 选项 ‎01-18-2013 11:50 PM [toc:faq] Introduction The aim of the article is t 阅读全文
posted @ 2024-09-11 20:07 codestacklinuxer 阅读(111) 评论(0) 推荐(0)
摘要:主程序 wpa_supplicant/main.c/main() wpa_supplicant_init() // 初始化wpa_global, eloop_data wpa_supplicant_add_iface() wpa_supplicant_run() 1. wpa_global对象描述全 阅读全文
posted @ 2024-09-05 23:30 codestacklinuxer 阅读(377) 评论(0) 推荐(0)
摘要:HttpHeader之User-Agent UA 串的发展史 1990 年,Tim Berners-Lee 编写了第一个浏览器 WorldWideWeb,后来改名为 Nexus。但是,Nexus 只支持文字展示。 1993 年,美国 NCSA 组织开发了 Mosaic 浏览器,能支持图片的展示使其成 阅读全文
posted @ 2024-08-17 18:40 codestacklinuxer 阅读(342) 评论(0) 推荐(0)
摘要:例子 static rlm_rcode_t _test_sql_authenticate(UNUSED rlm_eap_t *inst, REQUEST *request) { REQUEST *fake; VALUE_PAIR *vp1, *vp2; int rc = RLM_MODULE_FAI 阅读全文
posted @ 2024-08-16 17:17 codestacklinuxer 阅读(21) 评论(0) 推荐(0)
摘要:由于ac 上一个ssid只能配置一个portal服务器, 为了负载均衡,目前使用dns 解析,没有对某ip进行负载均衡 但是却出现了ece cwr /* RFC3168 : 6.1.1 SYN packets must not have ECT/ECN bits set * * If we rece 阅读全文
posted @ 2024-08-12 20:46 codestacklinuxer 阅读(15) 评论(0) 推荐(0)
摘要:need-call-flow-diagram-for-wpa2-eap-authentication Hello Avanindra, Here’s a detailed call flow diagram for WPA2 EAP authentication using an NPS serve 阅读全文
posted @ 2024-08-03 15:33 codestacklinuxer 阅读(18) 评论(0) 推荐(0)
摘要:代码: #include <openssl/bio.h> #include <openssl/ssl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <netdb.h 阅读全文
posted @ 2024-07-17 21:20 codestacklinuxer 阅读(54) 评论(0) 推荐(0)
摘要:初始化: struct tls_connection * tls_connection_init(void *ssl_ctx) { struct tls_data *data = ssl_ctx; SSL_CTX *ssl = data->ssl; struct tls_connection *co 阅读全文
posted @ 2024-07-16 22:47 codestacklinuxer 阅读(56) 评论(0) 推荐(0)
摘要:建立tls后copy数据到clean_in 然后写入到ssl加密,从from_ssl 读取加密后的数据然后发送 /* * Take cleartext user data, and encrypt it into the output buffer, * to send to the client 阅读全文
posted @ 2024-07-16 14:51 codestacklinuxer 阅读(74) 评论(0) 推荐(0)
摘要:tls session typedef struct _tls_session_t { SSL_CTX *ctx; SSL *ssl; #if OPENSSL_VERSION_NUMBER >= 0x10001000L SSL_SESSION *session; #endif tls_info_t 阅读全文
posted @ 2024-07-15 22:47 codestacklinuxer 阅读(63) 评论(0) 推荐(0)
摘要:转载涉及的源码 statem.c : openssl/ssl/statem/statem.c statem.h : openssl/ssl/statem/statem.h ssl.h : openssl/nclude/openssl/ssl.h statem_lib.c : openssl/ssl/ 阅读全文
posted @ 2024-06-14 15:30 codestacklinuxer 阅读(98) 评论(0) 推荐(0)
摘要:目前准备自己使用基于udp的ssl流传输数据。研究了一下ssl;测试了一下demo。 ssl_ctx = SSL_CTX_new(SSLv23_client_method()); // #define SSLv23_client_method TLS_client_method //////ssl_ 阅读全文
posted @ 2024-06-14 14:22 codestacklinuxer 阅读(104) 评论(0) 推荐(0)
摘要:https://stackoverflow.com/questions/51672133/what-are-openssl-bios-how-do-they-work-how-are-bios-used-in-openssl What is OpenSSL BIO? OpenSSL BIO is a 阅读全文
posted @ 2024-06-12 16:58 codestacklinuxer 阅读(87) 评论(0) 推荐(0)
摘要:转载自:https://blog.cloudflare.com/sockmap-tcp-splicing-of-the-future/ 转载自:https://www.ctyun.cn/developer/article/418131585904709 1、背景介绍 sockmap是基于ebpf程序 阅读全文
posted @ 2024-04-08 20:34 codestacklinuxer 阅读(96) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-02 15:32 codestacklinuxer 阅读(14) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示