FreeBSD IPsec mini-HOWTO

【深度学习预测】项目介绍 Python实现基于BO-Transformer-LSTM贝叶斯优化算法(BO)优化Transformer-LSTM模型进行多变量时间序列预测(含模型描述及部分示例代码) 内容概要:本文详细介绍了一个基于BO-Transformer-LSTM的多变量时间序列预测项目,通过结合Transformer的全局自注意力机制与LSTM的局部时序建模能力,构建了适用于复杂业务场景的深度学习预测模型。模型输入采用多变量滑动窗口结构,并引入正弦余弦位置编码以保留时间顺序信息;Transformer编码器提取变量间长距离依赖关系,LSTM进一步捕捉动态演化特征,最终通过回归层输出预测值。为优化模型性能,采用贝叶斯优化算法(基于Tree-structured Parzen Estimator)自动搜索最优超参数组合,包括嵌入维度、注意力头数、学习率、窗口长度等,显著提升了调参效率与模型泛化能力。项目还设计了包含周期性、趋势性、均值回归、突发事件和异方差噪声的五因素模拟数据生成机制,确保数据贴近真实业务场景,并建立了从数据预处理、模型训练、验证评估到结果恢复的完整技术链路。; 适合人群:具备一定机器学习与深度学习基础,熟悉PyTorch框架,从事时间序列预测相关研究或工程应用的研发人员、数据科学家及研究生。; 使用场景及目标:①应用于能源负荷预测、设备状态监测、金融风控、供应链需求预测等多变量时间序列预测任务;②解决传统模型在长时依赖、非线性关系和高维特征下的预测瓶颈;③实现高效超参数优化,提升模型调优自动化水平与部署可行性。; 阅读建议:本文含核心模型结构与部分示例代码,建议结合完整项目代码(如GitHub或博客资源)进行复现实践,重点关注数据生成逻辑、模型前向传播流程及贝叶斯优化集成方式,同时可通过调整网络结构或优化策略进一步拓展至多步预测、概率输出与可视化分析等高级功能。 立即下载

FreeBSD IPsec mini-HOWTO

by Josh Tiefenbach <josh@zipperup.org> and Boris Köster <x-itec@freenet.de>

 

Introduction

The latest version of this tutorial can always be found at:

 

This document is intended to be a primer on how to get IPsec on FreeBSD up and running, interoperating both with another FreeBSD (or NetBSD or any other KAME-derived stack) machine, and a Windows 2000 machine.

IPsec is a means to secure IP layer communications between hosts, and can secure both IPv4 and IPv6 traffic. Only IPsec over IPv4 will be discussed here.

IPsec can be used to build tunnels between subnets (tunnel mode) or secure communication between two machines directly (transport mode) with the guarantee that the packets are encrypted, authenticated and anti-replay protected (by sequence-numbers) with limited traffic flow confidentiality. By design, IPsec communication is encrypted by symmetric algorithms (Blowfish, DES, 3DES). This is known as ESP (Encapsulating Security Payload) mode, in which the payload of a packet is encrypted. The headers of the packet are left untouched. If you do not want to encrypt the traffic, you can use IPsec in what's known as AH (Authenticaed Header) mode. In this mode, the payload of the packet is not encrypted, but the header fields are hashed using a secure hashing function, and an additional header containing this hash is added to the packet to allow the information in the packet to be authenticated.

This document will not describe the overall architechture of IPsec, and its component protocols. We will show only some basics here.

If we take a technical look at the tcp packet, we have the following structure now (see RFC 2406). The drawings are from this RFC for educational use:

                 BEFORE APPLYING ESP
            ----------------------------
      IPv4  |orig IP hdr  |     |      |
            |(any options)| TCP | Data |
            ----------------------------
                 AFTER APPLYING ESP
            -------------------------------------------------
      IPv4  |orig IP hdr  | ESP |     |      |   ESP   | ESP|
            |(any options)| Hdr | TCP | Data | Trailer |Auth|
            -------------------------------------------------
                                |<----- encrypted ---->|
                          |<------ authenticated ----->|

If we would have IPV6, the design would look like this:

                     BEFORE APPLYING ESP
            ---------------------------------------
      IPv6  |             | ext hdrs |     |      |
            | orig IP hdr |if present| TCP | Data |
            ---------------------------------------


                     AFTER APPLYING ESP
            ---------------------------------------------------------
      IPv6  | orig |hop-by-hop,dest*,|   |dest|   |    | ESP   | ESP|
            |IP hdr|routing,fragment.|ESP|opt*|TCP|Data|Trailer|Auth|
            ---------------------------------------------------------
                                         |<---- encrypted ---->|
                                     |<---- authenticated ---->|

            * = if present, could be before ESP, after ESP, or both

It is important to know what we are doing here to understand the mechanism how ESP works so we know what we are doing and WHY we are NOT using a SSH tunnel or similar. This is a structure of the ESP header, some of the words you may have read somewhere, and this graphic may help you to understand something more about ESP.

 

0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ----
|               Security Parameters Index (SPI)                 | ^Auth.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Cov-
|                      Sequence Number                          | |erage
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ----
|                    Payload Data* (variable)                   | |   ^
~                                                               ~ |   |
|                                                               | |Conf.
+               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Cov-
|               |     Padding (0-255 bytes)                     | |erage*
+-+-+-+-+-+-+-+-+               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |   |
|                               |  Pad Length   | Next Header   | v   v
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ------
|                 Authentication Data (variable)                |
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   * If included in the Payload field, cryptographic
          synchronization data, e.g., an Initialization Vector

If you hear somewhere words like "Padding", "Sequence Numbers", or "Payload Data"; if you are reading the docs of racoon.conf(5) or setkey(8) now you know that these bits of information are a part of the ESP header or it has something to do with IPsec.

The basic procedure for implementing IPsec is:

  • Configure kernel

  • Set security policy

  • Configure key exchange

 

Getting started

In order to use IPsec on a FreeBSD machine, it is highly recommended that you be running FreeBSD 4.1 or later. While the KAME IPsec code exists in versions prior to this (notably FreeBSD 3.x), it is not sufficient to be able to use the racoon IKE (Internet Key Exchange) daemon to perform automatic keying.

To add IPsec support to your kernel, add the following lines to your kernel config file

	options         IPSEC                   #IP security
	options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)
	options         IPSEC_DEBUG             #debug for IP security

Additionally, if you want to use IPsec in tunnel mode, you may will also want to add the following line to the kernel config:

	device gif 4

Recompile and install the new kernel.

Install the racoon daemon from ports:

        cd /usr/ports/security/racoon ; make all install clean

Currently the latest version of the port is racoon-20001111a. While it is possible to have 2 FreeBSD machines communicate via IPsec using only manual keying (that is, manually specifying the encryption keys), not only is it not interesting or practical, but it won't work when you try to interact with a Win2k machine.

 

Setting security policy

An integral part of IPsec, is letting the kernel know which packets it should be encrypting and how it should be encrypting them, whether to use AH (authentication header) mode or ESP (encapsulating security payload) mode, and what encryption and hashing algorithms to use.

These decisions are referred to as 'policy', and are stored in a table in the kernel known as the Security Policy Database (SPD). You can use the setkey(8) program to manipulate the SPD.

There is also a table in the kernel which stores the various encryption keys needed to secure communications between hosts. This table is known as the Security Association Database (SAD). If you are configuring IPsec using manual keying then the setkey(8) program is also used to configure the manual keys in the SAD. If you are using IKE to automatically exchange keys between hosts, then racoon will handle the adding and deleting of entries from the SAD.

If you have 2 FreeBSD machines, node A with an IP address of 1.2.3.4, and node B with an address of 5.6.7.8, then the following commands will add policy to the SPD to enable IPsec between the 2 nodes:

        #!/bin/sh
        # These commands need to be run on node A
        # The next 2 lines delete all existing entries from the SPD and SAD
        setkey -FP
        setkey -F
        # Add the policy
        setkey -c << EOF
        spdadd 1.2.3.4/32 5.6.7.8/32 any -P out ipsec
         esp/transport/1.2.3.4-5.6.7.8/require;
        spdadd 5.6.7.8/32 1.2.3.4/32 any -P in ipsec
         esp/transport/5.6.7.8-1.2.3.4/require;
        EOF

The first spdadd command sets the policy that all outgoing packets from 1.2.3.4/32 to 5.6.7.8/32 will be required to be encrypted using ESP. The second spdadd command sets the same policy, but for incoming packets from 5.6.7.8/32 to 1.2.3.4/32

        #!/bin/sh
        # These commands need to be run on node B
        # The next 2 lines delete all existing entries from the SPD and SAD
        setkey -FP
        setkey -F
        # Add the policy
        setkey -c << EOF
        spdadd 5.6.7.8/32 1.2.3.4/32 any -P out ipsec
         esp/transport/5.6.7.8-1.2.3.4/require;
        spdadd 1.2.3.4/32 5.6.7.8/32 any -P in ipsec
         esp/transport/1.2.3.4-5.6.7.8/require;
        EOF

Examples on how to set SAD entries using setkey(8) are given in the IPsec section of the FreeBSD handbook.

 

AH vs ESP. Tunnel vs Transport

Given even a casual reading of the available IPsec documentation, one can get rather confused as to what mode they should be running in. Unless you are wanting to set up a VPN, then the mode that you probably want is ESP/transport.

In ESP/transport mode, each packet that is destined for a host for which IPsec is requested has its payload encrypted. In tunnel mode, the entire packet (including the encrypted payload) is encapsulated within another packet before being sent off to the remote host.

However, if your goal is to set up a VPN, that is, link 2 widely-separated networks together over the Internet, then you'll probably want to use ESP/tunnel mode. The configuration of the SPD for tunnel mode is very similar to that of transport mode. The major change that is done is the use of the gif(4) device to implement the IP-IP tunneling.

Returning to our hypothetical nodes A and B, presume the following network topology:

Internal net A <-> Node A <-----> Internet <------> Node B <-> Internal net B

where

node A's internal address is 10.10.10.1/24

external address is 1.2.3.4

node B's internal address is 10.20.20.1/24

external address is 5.6.7.8

then to configure policy on node A:

        #!/bin/sh
        # These commands need to be run on node A
        # Set up the tunnel device. This presumes you have gif(4) support
        # gif0 connects 1.2.3.4 to 5.6.7.8
        gifconfig gif0 1.2.3.4 5.6.7.8
        # The 'internal' side of the tunnel connects 10.10.10.1 to 10.20.20.1
        ifconfig gif0 inet 10.10.10.1 10.20.20.1 netmask 255.255.255.0
        # The next 2 lines delete all existing entries from the SPD and SAD
        setkey -FP
        setkey -F
        # Add the policy
        setkey -c << EOF
        spdadd 10.10.10.0/24 10.20.20.0/24 any -P out ipsec
         esp/transport/1.2.3.4-5.6.7.8/require;
        spdadd 10.20.20.0/24 10.10.10.0/24 any -P in ipsec
         esp/transport/5.6.7.8-1.2.3.4/require;
        EOF

Note the difference in the spdadd command. We are setting policy to have traffic from the network 10.10.10/24 to the network 10.20.20/24 be encrypted (via ESP), and routed from 1.2.3.4 to 5.6.7.8, and vice versa.

And on node B:

        #!/bin/sh
        # These commands need to be run on node B
        # Set up the tunnel device. This presumes you have gif(4) support
        # gif0 connects 5.6.7.8 to 1.2.3.4
        gifconfig gif0 5.6.7.8 1.2.3.4
        # The 'internal' side of the tunnel connects 10.20.20.1 to 10.10.10.1
        ifconfig gif0 inet 10.20.20.1 10.10.10.1 netmask 255.255.255.0
        # The next 2 lines delete all existing entries from the SPD and SAD
        setkey -FP
        setkey -F
        # Add the policy
        setkey -c << EOF
        spdadd 10.20.20.0/24 10.10.10.0/24 any -P out ipsec
         esp/transport/5.6.7.8-1.2.3.4/require;
        spdadd 10.10.10.0/24 10.20.20.0/24 any -P in ipsec
         esp/transport/1.2.3.4-5.6.7.8/require;
        EOF

 

Automatic key exchange using racoon

Configuring racoon to the point where you can successfully exchange keys is reasonably easy. The default racoon.conf file is sufficient for a basic setup. However, we would recommend that the following items be changed.

The default log level of "debug4" is very chatty. While its handy when setting things up normally, its a bit excessive for normal usage. To reduce logging, change the line

        log "debug4";

to

        log "info";

In a thread on the freebsd-net mailing list, it was pointed out that the default values for the lifetime of the keys negotiated by racoon is far too short for WAN links, especially over PPPoE links. Thus, you may want to give thought to changing the 'lifetime time' and 'lifetime byte' parameters in the 'sainfo anonymous' stanza to 3600 seconds and 50000 kb respectively.

Part of the key-exchange process requires that the 2 nodes agree on some predetermined secret. This can be accomplished either by presenting X.509 certificates, or (simpler) via some pre-shared text key. To configure a pre-shared key, you must edit the /usr/local/etc/racoon/psk.txt file on both nodes.

In the psk.txt file, add the following line:

        peer_ip_address        sharedkey

If you were configuring IPsec to talk to a peer with an IP of 5.6.7.8 and a shared key of 'thisisatest' then you'd add the line

        5.6.7.8                thisisatest

to the psk.txt file on that machine.

Make sure that the psk.txt file is mode 600 and owned by root, else racoon will refuse to read it.

At this point, you can launch racoon on both boxes via the following command:

        /usr/local/sbin/racoon -f /usr/local/etc/racoon/racoon.conf

If you've done everything right, then pinging either host should work. There will be a brief delay while racoon exchanges keys, but then you'll see packets flow. The default location of racoon's log file is /var/log/racoon.log. By tailing the log you can see the keys being exchanged.

 

Interoperating with Win2k

It is possible to have a FreeBSD box use IPsec to communicate with a Win2k machine. As you cannot setup manual keying when interoperating with a Win2k machine, you must use racoon to automatically exchange keys. Also you should know that there are some limitations on a Win2k machine and it is not as secure as an encrypted FreeBSD network (fewer algorithms, fewer bits for encryption).

The very first thing you have to to if you want to create an encrypted session between your FreeBSD machine and your Win2k server is to download the latest service pack available and also the "high encryption pack for win2k". This encryption pack is neccessary for several countries to enable 128 bit 3DES encryption on your win2k box. If you do not download the pack, you will NOT be able to connect to the FreeBSD server and everything you get is a TIMEOUT. The service packs and the high encryption pack is freely available from Microsoft.

Set up the FreeBSD machine as detailed above, recompiling the kernel to include IPsec, adding the entries to the SAD using setkey(8), configuring and running racoon.

You have first to setup the basics with setkey and then you may start racoon. You should not start racoon before you have setup the basic configuration described above in this tutorial (the setkey-script).

At this point we will show you how to configure racoon specially for win2k requirements.

Have a look at this configuration file, we will call it "my-racoon.conf". we have made some modifications to it, so it is not completely the same as the original racoon.conf.

We really cannot stress enough the importance in using the latest version of racoon. Development on racoon proceeds fairly rapidly, with numerous bugs and interoperability issues fixed between releases.

A word about the option "log debug4". The first goal of this tutorial is to get the encrypted communication up and running. If it works we can go on optimizing the configuration and its options and again change the logging as noted above.


path pre_shared_key "/usr/local/etc/psk.txt" ;

log debug4;

# "padding" defines some parameter of padding. You should not touch these. padding
{

        maximum_length 20;      # maximum padding length.
        randomize off;          # enable randomize length.
        strict_check off;       # enable strict check.
        exclusive_tail off;     # extract last one octet.

}

# Specification of default various timer. timer
{

        # These value can be changed per remote node.
        counter 5;              # maximum trying count to send.
        interval 20 sec;        # maximum interval to resend.
        persend 1;              # the number of packets per a send.

        # timer for waiting to complete each phase.
        phase1 30 sec;
        phase2 15 sec;

}

remote anonymous
{

        #exchange_mode main,aggressive;
        exchange_mode aggressive,main;
        doi ipsec_doi;
        situation identity_only;

        #we not need an identifier, it is set automatically
        #my_identifier address;
        #my_identifier address "192.168.0.99";
        ##peers_identifier address "192.168.0.1";
        #certificate_type x509 "mycert" "mypriv";

        nonce_size 16;
        lifetime time 1 min;    # sec,min,hour
        lifetime byte 5 MB;     # B,KB,GB
        initial_contact on;
        support_mip6 on;
        proposal_check obey;    # obey, strict or claim

        #very important. We need 3DES for encryption and MD5 as checksum

        proposal {
                encryption_algorithm 3des;
                hash_algorithm md5;
                authentication_method pre_shared_key ;
                dh_group 2 ;
        }

}

sainfo anonymous
{

        pfs_group 1;
        lifetime time 36000 sec;
        lifetime byte 50000 KB;
        encryption_algorithm 3des,des,cast128,blowfish ;
        authentication_algorithm hmac_sha1,hmac_md5;
        compression_algorithm deflate ;

}


A word about the lifetime settings. The shorter the lifetime, the better the security of your session. This is because the session keys for the symmetric encryption algorithm are changed more often. As a result, less of your communication is vulnerable to one of the session keys being cracked. But there are some limitations on the Win2k machine. You can not set up a very short lifetime with it. On the other hand, the shorter the lifetime is, the more overhead you have, as additional bandwidth and processing power is dedicated to key exchange.

As described above in this tutorial, do not forget to create a "secret file" with your pre-shared "key" (password). One of the advantages of racoon is that you do not have to make some calculations about the password-length (bits divided by 8 must fit to the password length), and you do not have to use two passwords (one for authentication, one for encryption). With Windows 2000, you cannot use two passwords. You have only one shared secret for your communication and it is not divided by seperate passes for authentication and encryption.

For debugging purposes, we start racoon with the following options:

    racoon -F -v -f my-racoon.conf

This forces racoon to run in the foreground and we have a debugging protocol on the screen for later analysis of common problems.

On the Windows machine, perform the following steps:

  • Start a command window, and launch 'mmc'. Go to Console->Add/Remove Snap in. Add the IP Security Policy Management snap-in.

  • Click on IP Security Policies in the tree listing, and then select Action->Create IP Security Policy from the menu.

  • Go through the wizard. In particular,

    • Do not activate the default response rule.

    • Edit the properties.

  • In the properties, click on the Add button to add a new rule. Go through the wizard, and ensure the following settings:

    • The rule does not specify a tunnel.

    • The rule applies to the LAN

    • Use a string to protect the key exchange. Stick in the same key as you used in the psk.txt file

    • You'll want to create a new IP filter so that only traffic to the BSD box is subjected to the security policy. Select this new filter.

    • Select 'Require Security' for the filter action.

        Make sure the used configuration for 'Require Security' is as following.
        There are several rules you might see, check for a rule with this options
        or create a new rule by yourself:

        AH is disabled
        ESP integrity is MD5
        Encryption algo is 3DES

        For our first testing purposes, the 'Session Key Settings' are disabled.
        You can change and optimize it later.
  • Restart the IPsec policy agent, via the Administrative Tools->Services selection from the Control Panel. You should restart the agent every time if you make any changes to your rulesets to ensure that the rules are promptly and properly accepted.

  • Select the new policy in the window, and click on the toggle switch icon in the menu bar to activate the policy.

  • Start the "ipsecmon" program. With this tool you can monitor the active rules on the machine.

  • Open up a command window, and ping the BSD box. The ping will 'fail' with a message 'Negotiating IP Security'. Another ping should subsequently work. As soon as you ping, you can see on the BSD box that there are a lot of debug messages.

At this point, all IP traffic between the 2 boxes has been secured.

On the windows machine, you can see the encrypted session with the ipsecmon tool. On the BSD Box you can follow the debug messages to see that everything works well.

On the BSD machine we can try to dump the data on the wire to be sure everything works as we want. A command like

   tcpdump -i ed0 -x -X -s 14400

where ed0 is your interface, will show the packets on the wire. You can see both the IKE key exchange between Win2k and racoon, and the actual encrypted packets, shown as the ESP packets.

If you are having problems with setting up IPsec, we would urge you to first direct your queries to the appropriate mailing lists; freebsd-net@freebsd.org or freebsd-questions@freebsd.org; before contacting the authors directly.


 

Useful links

Kame documentation:

 

FreeBSD IPsec documentation:
Raccoon configuration tips:

 

Using certificates instead of pre-shared keys in Racoon:

 

NetBSD IPsec documentation:

 

Some RFCs:
  • RFC2709: Security Model with Tunnel-mode IPsec for NAT Domains

  • RFC2663: IP Network Address Translator (NAT) Terminology and Considerations

  • RFC2406: ESP

  • RFC2402: AH

  • RFC2409: IKE

http://www.rfc.net contains a comprehensive collection of the RFCs

 

Misc

Suggestions, hints, advice, corrections, and feedback about this document may be sent to the authors.

城市生命线之长距离输水管线的监测与检测.pdf 立即下载

相关推荐

AI大模型训练大规模智算中心建设方案.pdf

AI大模型训练大规模智算中心建设方案.pdf

FreeBSD IPsec mini-HOWTO (转)

FreeBSD IPsec mini-HOWTO (转)[@more@]Freebsd IPsec mini-HOWTO by Josh Tiefenbach <Mailto:josh@zipperup.org">...

csd3176的博客 346

复现水下航行器(NMPC)非线性模型预测控制分布式轨迹跟踪(Matlab代码实现)

内容概要:本文档围绕水下航行器(AUV)的非线性模型预测控制(NMPC)分布式轨迹跟踪技术展开,重点复现并实现了国际顶级期刊中提出的先进控制算法。该资源详细提供了基于Matlab的仿真代码,涵盖AUV的非线性动力学建模、多智能体系统协同控制、事件触发通信机制以及复杂海洋环境下分布式轨迹跟踪的优化求解过程。通过系统地构建NMPC控制器,实现对预设轨迹的高精度跟踪,同时有效处理系统约束与外部扰动。研究强调算法在多AUV协同任务中的适用性,突出其在节能通信与实时性方面的优势,是控制理论与工程实践相结合的典型范例; 适合人群:具备自动控制原理、非线性系统理论及Matlab编程基础的研究生、科研人员和工程技术开发者,尤其适用于从事水下机器人、智能控制、多智能体协同、路径规划与优化控制等方向的研究者; 使用场景及目标:① 深入理解非线性模型预测控制(NMPC)在欠驱动AUV轨迹跟踪中的设计与实现机制;② 复现并验证高水平学术论文中的控制策略,支撑科研创新与论文撰写;③ 探索事件触发机制下的分布式协同控制架构,提升多智能体系统的通信效率与控制性能; 阅读建议:建议结合现代控制理论相关教材与原始参考文献,逐行分析Matlab代码结构与算法流程,重点关注系统建模、代价函数构造、约束处理与优化求解器的调用方式。可通过调整控制参数、初始状态或引入环境干扰等方式进行仿真实验,以评估算法的鲁棒性、收敛性与工程实用性。

加密算法源代码库 Encryption Source Code Base

Encryption Source Code Base1. C/C++, asm 加密算法DES 加密算法DES.H ,DES.C ,KEY.C 超期服役 DES 算法变形LIBDES,Tripledes,Ufc1, Ufc2 Ufc-crypt 比DES更安全 Bl

乱站乱弹 —— 阿新·乱站 5119

DSPF28335:从零到一,实战GPIO与外部中断的嵌入式系统交互设计

本文以德州仪器DSPF28335芯片为例,详细讲解了嵌入式系统中GPIO与外部中断(EXTI)的实战配置方法。通过一个完整的按键控制LED并触发ADC采样的项目,深入剖析了GPIO寄存器配置、三级中断机制(外设-PIE-CPU)以及中断服务函数编写的核心要点,帮助开发者掌握嵌入式交互设计的基石,并提供了关键的避坑指南与调试清单。

weixin_29169899的博客 118

ArcMap新手必看:Shape属性中的点ZM值到底是什么?如何快速处理

本文深入解析ArcMap中Shape属性中的点ZM值,揭示其在GIS数据中的隐藏维度作用,包括Z值(高程值)和M值(测量值)。针对ZM值可能引发的服务发布问题,提供三种高效处理方案,帮助新手快速掌握数据导入时的ZM值管控策略及精准去除方法。

weixin_42561476的博客 437

自己动手删除时常来袭的 木马、病毒

自己动手删除时常来袭的 木马、病毒By 阿新 -- Seraph Chutium· http://com.6to23.com/前一阵我中了一个小破木马,开了个鬼端口。于是我开始自己手动删除,我一般不用杀毒软件,那些软件都是哄人的,比如一个简简单单的happy time都不能很好的清除!最后还是要靠我自己来~我建议有能力的话,时刻注意系统的变化,奇怪端口、可疑

乱站乱弹 —— 阿新·乱站 4992

Ubuntu开发环境配置——持续更新

本文简要介绍了Ubuntu下的开发环境配置流程和问题分析与解决,更多内容持续更新中。

m0_53365889的博客 2227

无线局域网协议 IEEE802.11b 详解

无线局域网协议(802.11b)详解 整理:阿新 (Seraph Chutium)----- http://com.6to23.com/ 价格便宜的便携式计算机、移动电话和手持式设备的日趋流行,以及Internet应用程序和电子商务的快速发展,使用户需要随时进行网络连接。为满足这些需求,可以使用两种方法将便携式设备连接到网络,而没有电缆所带来的不便。这两种标准就是IEEE 802.11b和

乱站乱弹 —— 阿新·乱站 4693

学习笔记|多组率卡方检验和Fisher确切法|个案加权|规范表达|《小白爱上SPSS》课程:SPSS第十六讲 | 多组率卡方检验和Fisher确切法

学习笔记|多组率卡方检验和Fisher确切法|个案加权|规范表达|《小白爱上SPSS》课程:SPSS第十六讲 | 多组率卡方检验和Fisher确切法

Medlar_CN的博客 2969

常用的串口通信工具MobaXterm、Bus Hound、SScom等

本文介绍了四种PC端串口通信工具的功能和使用方法:MobaXterm支持SSH、FTP、串口等多种协议;Bus Hound用于监控CAN和串口数据;SScom专为串口和网口通信设计;ScriptCommunicator可进行串口通信并绘制波形图。每种工具都有详细的操作步骤图示,包括参数设置、数据监控等关键功能,并提供了官方和个人下载地址。这些工具各有特点,适用于不同的串口通信和数据分析场景。

sanqima的专栏 2573

网站恶意代码陷阱分析及修复代码

“万花谷”网站恶意病毒“陷阱”分析介绍及修复代码 作者:邱腾 (chutium)新浪科技报道:  国家反病毒应急处理中心联防单位北京江民公司的反病毒应急小组最近监测到国内有心怀不轨的人到处在互连网上散发一个美丽诱人的网址"万花谷",这实际是一个恶意"陷阱",有人经不住诱惑,只用鼠标轻轻点一下,计算机就立即瘫痪了,这是有人利用Java最新技术进行破坏的又一个恶意网址。北京江民公司提醒广大上网用户

乱站乱弹 —— 阿新·乱站 3701

《拉依达的嵌入式\驱动面试宝典》—C/CPP基础篇(二)

《拉依达的嵌入式\驱动面试宝典》 整合了所有我认为可能遇到的技术面试问题。所有问题及其答案均是我个人学习后查阅资料总结,每个回答都做了仔细的分析,在嵌入式及其驱动面试相关问题解析做到全网独一无二。学习或者转行到嵌入式、驱动开发领域学习的不二之选

拉依达不拉跨的博客 588

NetBSD 中使用 IPSec 指南

 Using IPSec (IP Security Protocol)  Table of Contents13.1 - What is IPSec? 13.2 - Thats nice, but why do I want to use IPSec? 13.3 - What are the protocols behind IPSec? 13.4 - O

乱站乱弹 —— 阿新·乱站 3494

⑨电子产品拆解分析-触摸化妆镜

①短按白光、暖光、冷光三档色温切换;②长按支持无极调光;③三档调亮度关机记忆当前亮度功能;

a6662580的博客 1638

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

John the Ripper 破解 DES、MD5 密文的使用说明

在网络论坛:http://www.s8s8.net 里看到有不少人说john可以破解NT的LANMAN密文,不清楚说的是哪个版本,可以肯定的是,1.4和1.5都是不支持NT的LANMAN密码破解的,包括1.5 for win。 John是一个优秀的破解标准DES加密的工具,shadow使用的就是标准DES加密,所以常用JOHN破解shadow密文,另外John还可以破解MD5,但可以肯定的是,不支

乱站乱弹 —— 阿新·乱站 3082

IMSL CNL 7.0.0 (x86-64)Crack

IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件

Cisco CCIE 认证项目考生手册(附图)

这里有更多: http://chutium.top263.net/tech/certified.htm Cisco CCIE 认证项目考生手册1993年9月27日,Cisco公司推出其国际互联网络专家认证项目,作为一种识别最佳技术能手的资格认证。在伴随计划推进的新闻发布中,当时出任Cisco公司高级副总裁的John Chambers先生已经指出:“CCIE项目从其他网络厂商认证计划放弃

乱站乱弹 —— 阿新·乱站 2343

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

Linux 中的 IPSec 协议

The IPSEC protocols in LinuxThis section provides details of the IPSEC protocols which FreeS/WAN implementsThe basic idea of IPSEC is to provide security functions, authentication and encryption , at

乱站乱弹 —— 阿新·乱站 1957

细说3721网络实名“病毒”(含部分源代码)

细说3721网络实名“病毒”(含部分源代码) 作者:邱腾 最近浏览一些门户网站时,会不知不觉的被安装上一个名为“3721网络实名”的 IE插件。虽说这些门户网站和3721本是好意,可是这样单方面地安装上这么一个 插件有点不妥!之所以说它是病毒,因为它同样是开机自动启动,而且虽然带来 一些方便,但是使系统运行的极不稳定,拖慢上网速度。在s8s8.net的论坛上看 到很多网友都说关机时经常会出现 ex

乱站乱弹 —— 阿新·乱站 1881

Windows 2000 高级问答 转

Win2000高级问答 转肥猪猪 (04/18/2000)  问:在安装WINDOWS2000的过程中要提示输入注册号,我想使安装更方便,怎样去处掉安装过程中需要输入注册号这个过程?  答:把安装文件拷贝到硬盘,打开i386目录下的setupp.ini,将PID后面的数字改成51873270,那么在整个安装过程中就不会再问你输入序列号了。  问:在安装WINDOWS2000的过程中我需要填写很多系

乱站乱弹 —— 阿新·乱站 1632

【最新】IP 地址分配表

全部内容太长了,总共147KB!……这里只贴一部分:全部内容在:http://com.6to23.com/文章最后告诉了个小秘密~您要是已经知道了别闲我无知……从追捕里整理 IP 的方法~很简单的,大家有兴趣就等它显示到最后看看吧。132.246.027.000~132.246.027.255 北京教育网 131.107.003.000~131.107.003.255 Micros

乱站乱弹 —— 阿新·乱站 1559

在 Windows 2000 中如何配置 IPSec 隧道

How to Configure IPSec Tunneling in Windows 2000The information in this article applies to:Microsoft Windows 2000 Advanced Server Microsoft Windows 2000 Datacenter Server Microsoft

乱站乱弹 —— 阿新·乱站 1551

Windows2000的日志文件详述及删除方法

Windows2000的日志文件详述及删除方法 阿新(Seraph Chutium) 收藏Windows2000的日志文件通常有应用程序日志,安全日志、系统日志、DNS服务器日志、FTP日志、WWW日志等等,可能会根据服务器所开启的服务不同。当我们用流光探测时,比如说IPC探测,就会在安全日志里迅速地记下流光探测时所用的用户名、时间等等,用FTP探测后,也会立刻在FTP日志中记下IP、时间、探测所

乱站乱弹 —— 阿新·乱站 1534

Windows NT/2000 系统默认共享清除工具 (批处理文件)

Windows NT/2000 系统默认共享清除工具 作者:阿新(Seraph Chutium) 主页:http://com.6to23.com/ ================================================================================ 使用方法: 例如,删除系统默认共享: delshare c d e ipc admin p

乱站乱弹 —— 阿新·乱站 1442
上一篇: Linux 中的 IPSec 协议
下一篇: NetBSD 中使用 IPSec 指南
chutium
博客等级 码龄25年 2粉丝 33原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址