network-protocols

Add new accepted protocol to URL/link validation in SharePoint 2010

自作多情 提交于 2020-01-24 19:10:10
问题 I am trying to add a hyperlink in the content editor in sharepoint 2010. The problem is that the validation only allows certain accepted protocols (http, https, ftp, mailto, news, etc..). I need to add Lotus Notes link such as this: "notes://mydomain". I found a few pages that had some solutions for SharePoint 2007, but they did not work for me. Allowing alternate protocols to be entered in link fields how to insert notes:// link? My hope is that SP2010 addresses a way of getting around this

Java: How to use byte literals greater than 0x7F

不问归期 提交于 2020-01-24 04:07:45
问题 In Java, I can't take a byte array of unsigned bytes (from something such as Wire Shark) and put this into java.... Because I will get compile errors since anything greater than 127 decimal/0x07F is treated not as a byte, but as an int.... IE: byte[] protocol = { 0x04, 0x01, 0x00, 0x50, /*error*/0xc1, /*error*/0xdb, 0x1c, /*error*/0x8c, 0x4d, 0x4f, 0x5a, 0x00 }; Need a good way to handle taking unsigned char arrays and putting them into Java as literals. 回答1: Cast them to (byte). 来源: https:/

How to create new layer or new protocol with scapy?

孤街醉人 提交于 2020-01-15 06:29:51
问题 i want to create a new layer using scapy,i created a new layer but when i sent it to another computer it got lost, wireshark also cant recognize it. how can i slove this problem? class OMER(Packet): name = "OMER" fields_desc = [StrLenField("Omer", "", None)] 回答1: When you create a new protocol or a new layer with scapy, other network tools like wireshark (and others) since they are not aware of your protocol's specifics will not be able to automatically parse it correctly. If you want to

non ASCII SSIDs in android

最后都变了- 提交于 2020-01-07 06:14:06
问题 Apparently SSIDs can contain UTF-8 chars and also control characters etc. IIUC to contain UTF-8 chars they must specify the SSIDEncoding field. I was under the impression that I can only get ASCII bytes till now. How should I handle the situation in Android ? Namely, how can I check the SSIDEncoding field from the ScanResult ? Do I need to ? Also what does ScanResult.SSID contain in these cases ( including the case an SSID includes non printable characters ) ? Related Why can't I detect a

How are paths determined on a remote machines?

主宰稳场 提交于 2020-01-05 08:43:31
问题 How are paths determined on a remote machines? I have been assigned a network loaction. Let's call it \wassup\test1 I assume that wassup is the ame of the computer. The question I have is this. How can I determine what the local path from the point of view of the remote machine would be for "test1". For example, how would I know if it is c:\test1 or d:\test1 ? 回答1: You cannot know this from the client. Take a related example: which local path on the server does the below link point to? How

Do firewalls block non-HTTP traffic on port 80?

本秂侑毒 提交于 2020-01-03 08:22:09
问题 Can anyone confirm that using a persistent outgoing TCP connection on port 80 will not be blocked by the vast majority of consumer firewalls? That has been assumption based on the fact that HTTP runs over TCP, but of course it is theoretically possible to analyze the packets. Question is do most CONSUMER firewalls do this or not? 回答1: The feature is called ALG, Application Layer Gateway. This is where the firewall is aware of and perhaps even participates in an application protocol There are

What is a Dynamic Host Configuration Protocol (DHCP) server?

回眸只為那壹抹淺笑 提交于 2020-01-03 06:41:26
问题 What is a Dynamic Host Configuration Protocol(DHCP) server? and What is the difference between DHCP server and a Domain Name Server(DNS) server? 回答1: DHCP (Dynamic Host Configuration Protocol) is for assigning IP addresses (or other network parameters) to devices so they can communicate with each other. If you for example want to establish a wireless connection, then you need amongst other things request a DHCP server that assigns your device an IP address so you can communicate with other

How to forward HTTPS traffic from a SOCKS proxy to HTTP proxy

醉酒当歌 提交于 2020-01-01 19:21:36
问题 I have written a SOCKS proxy which works with both HTTP and HTTPS traffic if chaining is turned off. If chaining is turned on and the forwarding host and port belong to a filtering HTTP proxy then only HTTP traffic can flow. HTTPS traffic does not flow and reports an SSL error. Note that the HTTP proxy does handle HTTPS traffic when the request is coming direct from the browser and not from the SOCKS server. As an example if I make a request to https://www.google.com the following occurs: 1)

Safari won't load some resources over http/2

陌路散爱 提交于 2020-01-01 08:33:53
问题 Http/2 is enabled on server and yesterday I noticed that on Iphone (IOS 10.2) does not load some resources with error: failed to load resource:connecting to server is not possible . When I connect Iphone to Mac there are no errors in console but simply result of some requests result imidiatelly in that error. Interesting thing could be the fact that resources which are not loaded are subdomain of real domain( CNAME to be correct). Site is on https. Server is Windows server 2016. EDIT: We

possible web protocols in javascript

蹲街弑〆低调 提交于 2020-01-01 05:04:11
问题 What are the alternatives to HTTP (per XMLHttpRequest) when establishing a server connection in JavaScript? The only one I know is the WebSocket protocol (per WebSocket). Their corresponding secure variants https and wss included. Would it be possible to choose an arbitrary protocol with JavaScript? How do you communicate with NTP, IMAP, UDP etc. -services for example in Node.js? 回答1: From Node.js, you can do pretty much anything. E.g. UDP is directly supported (dgram module which is shipped