what is ipp printer
ipp printer refers to a printer that uses the ipp protocol. IPP stands for "Internet Printing Protocol" and is a standard network protocol for printing on the Internet. The IPP protocol allows users to manage printers connected to the Internet and send printer jobs to online host printers; users can control various parameters such as paper type and resolution used for printed products through relevant interfaces.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
ipp printer refers to a printer that uses the ipp protocol.
IPP stands for "Internet Printing Protocol" and as the name suggests, this protocol allows users to manage printers connected to the Internet and send printer jobs to online host printers. The difference between IPP and many other printer management protocols is that IPP is a security protocol that supports advanced features such as access control lists, authentication, and encrypted communications, however, this does not mean that the device owner is using these features.
Internet Printer Protocol IPP Analysis
wireshark captures the packet analysis and parses out the print file name, file, and IP port , Username;
## 1. Agreement Description
Internet Printing Protocol (IPP; InternetPrintingProtocol) is a standard network protocol for printing on the Internet. It allows users to print remotely and manage print jobs through the Internet. Users can control various parameters such as paper type and resolution used for printed products through relevant interfaces;IPP uses the Hypertext Transfer Protocol HTTP POST method to conduct conversations between the client and the print server. . Described by the object model involved in the IPP protocol, there are three types of objects:- Printer object, which encapsulates the printer device, and all actual printing services are completed by this object.
- Job object, which encapsulates a print job consisting of one or more files.
- The scheduled object encapsulates the notification mechanism, which will trigger notifications when the status of the job and printer objects changes.
Communication method
- TCP protocol, HTTP protocol;
- The transport layer is composed of HTTP requests and responses, and the operation layer is the message body in an HTTP request or response;
- Server port: 631
- Client port: any
- Content-Type:application/ipp
##2. TCP data flow analysis Both the client and the server rely on the HTTP protocol for transmission, and the operation layer uses the inherent format of the message body of HTTP requests and responses (see
3for details) Message structure ) Interaction; (1) Single document printing
print-job: The client wants to submit a print job that contains only a single document. Document data will be sent with the request.
(2) Multiple document printing
Create-job: The client wants to submit a print job containing multiple documents. Documents are sent using send-document and send-uri operations.
Send-document: The client wants to add a document to a print job created using the print-job operation. Document data will be sent with the request.
print-job: The client is submitting a print job that contains only a single document. Document data will be sent with the request.
3. Message structure
3.1 Operation request and response encoding
------- --------------------------------------------------
| Version number -----------------------
| Operation ID (request) or |
| Status code (response) | Request 2 bytes
---------------------------------------- --------------
| Request ID | Requires 4 bytes
-------------- ---------------------------------------
| Group
--------------------------| Attribute end tag | 1 byte
------ ------------------------------------------------| Data --------------------------The fourth field is the "Attribute Group" field, which allows 0 or more occurrences. Each "property group" field represents a single set of properties, such as an operation property group or a job property group (see document model). The IPP model file specifies the required set of attributes and their order for each operation request and response.The "End Tag" field is always present
, even when "data" does not exist.The model document specifies whether the "data" field exists for each operation request and response.
3.2 Attribute Group-------------------------- ----------------------------
| Attribute group start tag | 1 byte-------------------------------------------------- ----
|Attributes
to ---------------------------------------------"Attribute group start tag" The field marks the beginning of an attribute group, and its value identifies thetype of the attribute group
. For example, aoperation attribute group and a job attribute group . The "attribute group start tag" also marks the end of the previous attribute group unless it is the first attribute group in the request or response. The "Attribute Start Tag" field serves as the termination of an "Attribute Group" because an "Attribute Group" field cannot be nested within another "Attribute Group" field.
An attribute group field contains zero or more "attribute" fields.
Note: The "Attribute Group Start Tag" field and the "Attribute Group End Tag" field are called "delimiter tags".
3.3 Attributes
The "Attribute" field is coded as follows:
-------------- ----------------------------------------
| Single value attribute . --------------------
| r bytes (0 or more)Added value
#------------------------------------------------ -----When an attribute is single-valued (e.g. "Copy" has a value of 10) or is multi-valued but only takes one value (e.g. "Multi-party support" only takes the value 'unilateral') , then it is only encoded with the "single value attribute" field. When an attribute is multi-valued and takes n values (e.g. "multi-party support" takes the values 'unilateral' and 'two-sided long boundary'), it is encoded with an "attribute single value" field, followed by n-1 "additional values" field.
3.4 Single value attribute (key value)
------------------------ ----------------------------------| Value tag ’ ’ s ’ s through ’ through ’s ‐ to 1-byte---- -------------------------------------------------- ----
| Key name length (unitu
) | 2 bytes------------- ---------------------------------------| #ubytes--------------------------------------------- ------------------
| Value value length (unit
v) | 2 bytes-- -------------------------------------------------- --
| ----------------------------------
"Single value attribute" is encoded by five fields:
The "value label" field specifies the syntax of the attribute, for example,
0x44represents the attribute syntax "
keyword".
The "Name Length" field specifies the length of the "Name" field in bytes. For example, u or 15 in the above figure indicates that the name is "Multi-Party Support". The "Name" field contains a text name attribute, such as "Bilateral Support". The "Value Length" field specifies the length of the "Value" field in bytes. For example, v or 9 in the above figure indicates the value "unilateral".
The "Value" field contains attributes of the value, such as the text value "One Side".
3.5 Added value
------------------------- ----------------------------------
| use using using ‐ ‐ ‐ ‐ ‐ #------------------------------------------------ -----
|
---------------------------------------- -------------| Value length (unitw) | 2 bytes------ -------------------------------------------------- | -----------------------
Added value uses 4 fields to encode:The "value label" field specifies the attribute syntax, for example, 0x44 indicates the attribute syntax "keyword".
The "name length" field can take a value of 0 to indicate that this is an "additional value".The value of the "Name Length" field is the "Additional Value" field ("Name Length" is 0
) and the "Single Value Attribute" field ("Name Length" is not
0
- ) are distinguished
- .
- The "Value Length" field specifies the length of the "Value" field in bytes. As shown in the figure above, w or 19 represents the value "long boundary on both sides".
The "Value" field contains the value attribute, such as the text value "Both sides long boundary". 4. Structure parameters
- Extended knowledge: 80,000 printers every day Online Exposure via IPP
- Shadowserver experts said they specifically scanned the Internet for IPP-enabled printers that remain exposed without firewall protection and allow attacks Users can query local detailed information through the "Get Printer Properties" function.
//属性值; struct _ipp_attr_value{ char type;//属性类型 short len;//值长度 std::string value;//值内容 }; //一个属性包括一个属性名name,零个或者多个属性值; typedef struct _ipp_attr{ std::string name;//属性名称 std::vector<_ipp_attr_value *> values;//一个或者多个属性值 }IPP_ATTR; //一个属性组包括一个组TAG,零个或者多个属性; struct _ipp_attr_seq{ char seq;//属性组类型 std::vector<IPP_ATTR *> attr;//一个或者多个属性 }; typedef struct _ipp{ int data_left;//移动剩下的数据长度 short version;//版本号 union{ short int operation;//操作码 short int response;//响应码 }; int request_id;//请求ID //零个或者多个属性组 std::vector<_ipp_attr_seq *> seqs;// 一个或者多个属性组 }IPP; IPP *m_ipp;//IPP结构 short int m_bufptr;//记录buf移动位置
For example, experts at Shadowserver say that this port can be used to gather intelligence: because a large portion of IPP-enabled printers (such as printer name, location, model, firmware version, organization name, and even WiFi network name) are returned Additional information about themselves, an attacker can collect this information and then use this information to examine the company network to facilitate future attacks. In addition, a quarter of the IPP-enabled printers (approximately 21,000 units) also revealed details of their design and manufacturing. Disclosing this information apparently makes it easier for attackers to find specific vulnerable groups of devices.
The bad thing is, IPP hacking tools are also available online. Programs such as PRET (Printer Operations Toolkit) support IPP hacking and have been used in the past to hijack and force printers to print various promotional messages, possibly even taking over a vulnerable device entirely.Shadowserver The Foundation said it plans to publish a daily IPP exposure report on its website in the future. "We hope that sharing IPP device data reporting in our new open space will reduce the number of exposed IPP-enabled printers and increase awareness of the dangers of exposing such devices to unauthenticated scanners/attackers. Awareness." Companies or national CERT teams that subscribe to organizational security alerts will receive automatic notifications when any IPP services are exposed online in the country's network and IP address space. The Shadowserver Foundation's forward-looking recommendations for dealing with devices exposed to the Internet are consistent with academic research last year, which found that DDoS takedowns are often ineffective and that law enforcement should focus on patching systems to limit attacker. It is also recommended that users read the printer's manual to configure IPP access control and IPP authentication functions to protect the printer before it is exploited. Most printers in the management panel have an IPP configuration section. From there, users can enable authentication, encryption and restrict access to the device via access lists. For more related knowledge, please visit the FAQ column!
The above is the detailed content of what is ipp printer. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The new system win11 brings many optimizations and new features to users, but when connecting to a shared printer, you may encounter an error code 0x00000bc4, which causes the printer to be unable to connect and print. So how to solve the problem of shared printer 0x00000bc4? ? Let’s take a look at the following processing methods. Method 1. Printer sharing (same operating system): 1. All clients are located in the same network segment, such as 192.168.1.* (if the router IP is 192.168.1.1); 2. All clients are located in the same network segment. In the same workgroup, such as WORKGROUP; turn off password-protected sharing in WIN7: Open the Network and Sharing Center, select Change advanced sharing settings, and scroll down

If you encounter an error message when using your printer, such as the operation could not be completed (error 0x00000771), it may be because the printer has been disconnected. In this case, you can solve the problem through the following methods. In this article, we will discuss how to fix this issue on Windows 11/10 PC. The entire error message says: The operation could not be completed (error 0x0000771). The specified printer has been deleted. Fix 0x00000771 Printer Error on Windows PC To fix Printer Error the operation could not be completed (Error 0x0000771), the specified printer has been deleted on Windows 11/10 PC, follow this solution: Restart Print Spool

If you encounter the problem of insufficient printer memory when printing Excel worksheets or PowerPoint presentations, this article may be helpful to you. You may receive a similar error message stating that the printer does not have enough memory to print the page. However, there are some suggestions you can follow to resolve this issue. Why is printer memory unavailable when printing? Insufficient printer memory may cause a memory not available error. Sometimes it's because the printer driver settings are too low, but it can also be for other reasons. Large file size Printer driver Outdated or corrupt Interruption from installed add-ons Misconfiguration of printer settings This issue may also occur because of low memory settings on the Microsoft Windows printer driver. Repair printing

The computer prompts error code 0x00003e3 when connecting to the printer. In daily work and life, we often need to use a printer to print files. However, sometimes we may encounter some problems, such as the error code 0x00003e3 when the computer is connected to the printer. This error code usually indicates that there is some malfunction with the printer or a connection problem. In this article, we will introduce some ways to solve this problem. First, we can try to restart the computer and printer. Sometimes, this error code is just a temporary issue that may be resolved by restarting the device. We can turn off the computer and printer first, then wait for a while before restarting them. If this method does not solve the problem, we can try the following

Printers are equipment that we often use in our daily offices and lives. Occasionally, we may encounter the problem of long printing response delays, which is a headache. There are many reasons for this. First, check whether the printer is connected properly and make sure all the cables are plugged in tightly. Secondly, there may be too many tasks to be processed in the print queue. You can try clearing the print queue or restarting the printer. There may also be a problem with the printer driver. You can try updating the driver or reinstalling it. In addition, hardware failure inside the printer may also cause delays. In this case, you need to contact after-sales service.

Win10 system shared printer access denied (solution to the inability to connect to the shared printer) When using the Windows 10 operating system, sometimes we encounter the problem of shared printer access denied, that is, unable to connect to the shared printer. This problem may cause us to be unable to print files normally, causing inconvenience to our work and life. Here are some solutions to help you solve this problem. 1. Check the network connection: First, make sure your computer and the shared printer are connected to the same network. Check whether the network connection is normal and ensure that the network connection is stable. 2. Check sharing permissions: On the computer where the shared printer is located, open "Control Panel" and select "Devices and Printers". Right-click the shared printer and select "

If you are unable to print using the Snipping Tool in Windows 11/10, it may be caused by corrupted system files or driver issues. This article will provide you with solutions to this problem. Can't print from Snipping Tool in Windows 11/10 If you can't print from Snipping Tool in Windows 11/10, use these fixes: Restart PC Printer Clear print queue Update printer and graphics driver Fix or reset Snipping Tool Run SFC and DISM Scan uses PowerShell commands to uninstall and reinstall Snipping Tool. let us start. 1] Restart your PC and printer Restarting your PC and printer helps eliminate temporary glitches

We can use office software to produce various electronic documents. Electronic documents greatly save the use of paper and are easier to save and read. However, sometimes according to work requirements, superiors require printing out paper documents for everyone to circulate. Document writing It's fine but unable to print. It's very difficult to encounter such a situation. The course we brought today can solve this problem. The following lesson is: What should I do if WPS cannot start the printer job? When trying to print a document using a LAN printer, a problem occurred, saying "WPSOffice cannot start the print job. Please check whether the printer is turned on and online." But in fact, the printer is powered on and online. 2. Click "OK", then click on the upper left corner of the title bar as shown in the picture