network-protocols

SQL Server Express cannot connect error: 28 - Server doesn't support requested protocol

大兔子大兔子 提交于 2019-11-29 22:47:55
I cannot connect to my local SQL Server Express (2012, but the version shouldn't matter) from my server (Windows 2008 R2) to use a tool on it (APEX SQL Data Diff if you are wondering). I can browse the network servers fine, and select my local instance from the dropdown of available servers, but when I go to search tables on the server, it times out with this error message (same is true of SSMS). A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that

stateless protocol and stateful protocol

匆匆过客 提交于 2019-11-29 20:56:38
How to understand stateless protocol and stateful protocol? HTTP is a stateless protocol and FTP is a stateful protocol. For the web applications requiring a lot of interactions, the underlying protocol should be stateful ones. Is my understanding right? Since you're asking about a Web application, the protocol will always be stateless -- the protocol for the Web is http (or https), and that's all she wrote. I think what you're thinking of is providing a state mechanism in your Web application itself. The typical approach to this is that you create a unique identifier for the user's session in

Creating Custom Protocol (Windows 7)

China☆狼群 提交于 2019-11-29 14:29:27
问题 I've been trying to create a custom protocol (open_php_file://) to open local files through the browser. I've created the following registery-keys: HKEY_CLASSES_ROOT open_php_file (Default) = "URL:PHPEd protocol" URL Protocol = "" DefaultIcon (Default) = "phped.exe" shell open command (Default) = "C:\Program Files (x86)\NuSphere\7.0\phped.exe" "%1" The problem is: I can't open files in my browser (example: open_php_file://c:\file.txt), and the protocol isn't listed in the windows default

Is it possible to include multiple CRLFs in a HTTP header-field?

大城市里の小女人 提交于 2019-11-29 13:38:48
Below is HTTP-message definition in latest HTTP RFC 7230 HTTP-message = start-line *( header-field CRLF ) CRLF [ message-body ] Below is definition of header-field, header-field = field-name ":" OWS field-value OWS field-name = token field-value = *( field-content / obs-fold ) field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] field-vchar = VCHAR / obs-text obs-fold = CRLF 1*( SP / HTAB ) ..and: obs-text = %x80-FF ..and ABNF's : VCHAR = %x21-7E ; visible (printing) characters As we can see, field-value could have multiple obs-folds and obs-folds has one CRLF. It is strange for me for

Convert Back Latitude from Hex data GREENTEL

北城余情 提交于 2019-11-29 08:42:51
Currently I am doing a GPS Tracking project based on Django and GREENTEL It uses this protocol http://www.m2msolution.eu/doc/Fejlesztoi_dokumentaciok/GT03/GPRS%20Communication%20Protocol_GT03.pdf It says how to convert Latitude/ Longitude to Hex.. but I want to convert latitude hex data to the normal form Conversion method: A Convert the latitude (degrees, minutes) data from GPS module into a new form which represents the value only in minutes; B Multiply the converted value by 30000, and then transform the result to hexadecimal number. For example 22°32.7658′,(22*60+32.7658)*30000 = 40582974

Simulating host unreachable - how to achieve/implement it

寵の児 提交于 2019-11-29 08:26:47
问题 Here is my scenario: A is a provisioning server and B is an client. Whenever there is any change in B's setup, it uploads the appropriate config file to A. I am working as an automation engineer to automate it. One of the scenario says to disconnect A from network or stop the server A. perform some changes to B and make sure that B failed to upload the files to provisioning server A. To automate it, the simple way to stop the server A and do the appropriate actions. Since A and B are also

Packet Sniffing using Raw Sockets in Linux in C

ε祈祈猫儿з 提交于 2019-11-29 04:03:17
问题 I need to write a packet sniffer in Linux that detects HTTPS packet that are sent and save the url from the request. I found code for this in security-freak and ran it. This code runs and only sniffs the received packet but I need to get the sent packet in the sniffer. How do I get the sent packet in this code? I can't use any library like libcap (forbidden). The code is :sniffer.c 回答1: You should be using ETH_P_ALL instead of ETH_P_IP as the protocol. ETH_P_IP only listens for incoming IP

Socket Protocol Fundamentals

泪湿孤枕 提交于 2019-11-29 03:51:56
Recently, while reading a Socket Programming HOWTO the following section jumped out at me: But if you plan to reuse your socket for further transfers, you need to realize that there is no "EOT" (End of Transfer) on a socket. I repeat: if a socket send or recv returns after handling 0 bytes, the connection has been broken. If the connection has not been broken, you may wait on a recv forever, because the socket will not tell you that there's nothing more to read (for now). Now if you think about that a bit, you'll come to realize a fundamental truth of sockets: messages must either be fixed

Frameworks for network protocol fuzzing? [closed]

一笑奈何 提交于 2019-11-29 01:20:12
问题 Can anyone recommend any programmer-friendly (i.e. extensible) frameworks or systems for performing network level packet fuzzing? I'm looking for such a system where I can program in additional packet formats and various ways of breaking those packets in a protocol-dependent manner. I know how to Google. I'm looking for specific recommendations :) thanks! 回答1: You might be interested in American Fuzzy Lop combined with Preeny. It's a fuzzer that is quite simple to use and employs genetic

What SNMP library for .NET makes traps, sets or gets simple? [closed]

我们两清 提交于 2019-11-28 23:39:04
问题 What are the best SNMP libraries to use with .NET? Specifically for listening for traps or sending set or get requests. 回答1: I am using the Sharp SNMP Suite (#SNMP) : LGPL, Mono compatible, developed in C# 3.0, has very good API. 回答2: Hi as the author of #SNMP, I try my best to be unbiased here :) I have a blog post here which is a simple evaluation report. http://www.lextm.com/index.php/2007/12/product-review-snmp-libraries-for-net-evaluation-report/ In my opinion, PowerSNMP is the leading