search for: ip_tos

Displaying 20 results from an estimated 70 matches for "ip_tos".

2003 Apr 23
1
[Bug 545] openssh-3.6.1p1 does not build on SunOS: IP_TOS not defined
http://bugzilla.mindrot.org/show_bug.cgi?id=545 Summary: openssh-3.6.1p1 does not build on SunOS: IP_TOS not defined Product: Portable OpenSSH Version: 3.6p1 Platform: All OS/Version: SunOS Status: NEW Severity: trivial Priority: P3 Component: Build system AssignedTo: openssh-unix-dev at mindro...
2009 Mar 18
1
[PATCH] Remove setting IP_TOS_IS_BROKEN for Cygwin
Hi, The problem that setsockopt(IP_TOS) doesn't work on Cygwin is long fixed. Ages ago Microsoft changed the definition for IP_TOS when moving from winsock1 to winsock2 and IP_TOS in Cygwin didn't work all these years because nobody (that's especialy me) realized that we were still using the old winsock1 value. This has be...
2003 Apr 11
1
Patch for 'packet.c' in openssh-3.6.1p1
...anaged to compile openssh-3.6.1p1 on Ultrix/MIPS. One of the fixes needed for this is the following. It's because of: --- According to the Changelog - markus at cvs.openbsd.org 2002/12/10 19:26:50 [packet.c] move tos handling to packet_set_tos; ok provos/henning/deraadt --- This IP_TOS is now nicely stuffed in a function, but that function should be #defined away for systems without IP_TOS or with a broken implementation. Greetings, Bert diff -c packet.c packet.c.orig *** packet.c 2003-04-11 12:21:23.000000000 +0200 --- packet.c.orig 2003-04-11 13:31:58.000000000 +0200...
2003 Apr 02
6
[Bug 527] Bad packet length on SunOS 4.1.3U1
...Product: Portable OpenSSH Version: 3.6p1 Platform: Sparc OS/Version: SunOS Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: jsr at dexter.mi.org IP_TOS is undefined in packet.c. Setting it to 1 allows build to continue. When a Slackware Linux system running kernel 2.4.20 tries to slogin to the SunOS system, it disconnects with a bad packet length message. My "fix" to packet.c may be to blame. dex:/home/u/jsr(1)> slogin -v pontoon...
2018 Mar 16
4
cyrus: socket options
Hi, what are the following messages supposed to tell me and does this indicate a problem? # systemctl status cyrus-imapd [...] master[3766]: unable to setsocketopt(IP_TOS): Operation not supported master[3766]: unable to setsocketopt(IP_TOS): Operation not supported [...] Exim says it can not connect to the lmtp socket even when selinux doesn?t get in the way. The configuration looks like this: cyrus.conf (none of the two options work): [...] # lmtp...
2000 May 12
0
SunOS 4.x port
...happened to utmp */ /* Between login and logout */ log("No tty slot found at logout"); --- packet.c.DIST Fri May 5 11:55:05 2000 +++ packet.c Fri May 5 11:56:42 2000 @@ -1233,21 +1233,24 @@ * IPTOS_LOWDELAY and TCP_NODELAY. */ int lowdelay = IPTOS_LOWDELAY; +#ifdef IP_TOS if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &lowdelay, sizeof(lowdelay)) < 0) error("setsockopt IPTOS_LOWDELAY: %.100s", strerror(errno)); +#endif if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on, sizeof(on)) < 0)...
2011 Dec 18
8
[Bug 1963] New: IPQoS not honoured
...y switch between the lowdelay/throughput QoS classes depending on whether the session is interactive or not, the new IPQoS option seems to have absolutely no effect: % ssh -vvvo 'IPQoS ef' -4 -Snone vera 2>&1 >/dev/null | egrep tos || echo no match debug3: packet_set_tos: set IP_TOS 0x10 ^D % ssh -vvvo 'IPQoS ef' -4 -Snone vera true 2>&1 >/dev/null | egrep tos || echo no match debug3: packet_set_tos: set IP_TOS 0x08 In both cases, the TOS value should be 0x2e (class ef). Using the hex number does not work either: % ssh -vvvo 'IPQoS 0x2e' -4...
2002 Apr 26
3
[Bug 180] [PATCH] sshd sets no ToS bit on connections with IPv4-mapped IPv6 addresses
http://bugzilla.mindrot.org/show_bug.cgi?id=180 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From djm at mindrot.org 2002-04-26 16:55
2006 Sep 11
3
openssh-4.3p2: setsockopt() problem
...ssh client was hanging at: debug1: Entering interactive session. Telnet was having a similar problem to port 22, however a simple client.c I compiled was not. My java ssh client was also working. After some investigation, I noticed that the hang was after the system call: setsockopt(3, SOL_IP, IP_TOS, [16], 4) = 0 I noticed also that telnet was hanging the same way. I commented all the setsockopt() calls out of the ssh client code (because I was in a hurry) and now it works. Anyway, I figured I should document the problem somewhere. -Ken _______________________________________________ ope...
2004 Sep 06
0
example/dsmark+policing => tcsim outputs are different
...t;>> ---------- start of dsmark+policing.tcsim file: ---------- /* * dsmark+policing - Dsmark with tcindex and policing * * Packets with non-zero TOS/DS field are marked with TOS 0xb8 (EF DSCP). * If they exceed the rate limit, they''re dropped. */ #define TOS_ZERO UDP_HDR($ip_tos=0) #define TOS_NONZERO UDP_HDR($ip_tos=1) #define PAYLOAD 0 x 980 /* 1000-sizeof(iphdr) = 980 bytes */ dev eth0 10000 { /* 10 Mbps */ #include "dsmark+policing.tc" } every 0.005s send TOS_ZERO PAYLOAD /* 1.6 Mbps */ every 0.005s send TOS_NONZERO PAYLOAD /* 1.6 Mbps */ time 2s end...
2018 Mar 16
0
cyrus: socket options
Am 16.03.2018 um 13:07 schrieb hw: > > Hi, > > what are the following messages supposed to tell me and does this > indicate a problem? > > > # systemctl status cyrus-imapd > [...] > master[3766]: unable to setsocketopt(IP_TOS): Operation not supported > master[3766]: unable to setsocketopt(IP_TOS): Operation not supported > [...] That's cyrus-imapd itself failing and has nothing to do with Exim. > Exim says it can not connect to the lmtp socket even when selinux > doesn?t get in the way.? The configur...
2017 Jun 20
2
dovecot & cap_net_admin capability
...what it is used? CAP_NET_ADMIN Perform various network-related operations: * interface configuration; * administration of IP firewall, masquerading, and accounting; * modify routing tables; * bind to any address for transparent proxying "IP_TRANSPARENT"; * set type-of-service (TOS) "IP_TOS" * clear driver statistics; * set promiscuous mode; * enabling multicasting; * use setsockopt(2) to set the following socket options: SO_DEBUG, SO_MARK, SO_PRIORITY (for a priority outside the range 0 to 6),SO_RCVBUFFORCE, and SO_SNDBUFFORCE Cheers, Michal Hlavinka
2024 Apr 22
0
OpenSSH 9.6 client is stuck
...debug2: resolve_canonicalize: hostname 10.0.0.6 is address debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug3: channel_clear_timeouts: clearing debug3: ssh_connect_direct: entering debug1: Connecting to 10.0.0.6 [10.0.0.6] port 1022. debug3: set_sock_tos: set socket 3 IP_TOS 0x48 debug2: fd 3 setting O_NONBLOCK debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug3: timeout: 60000 ms remain after connect Client side non0-working: debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 47: Applying options for * debug2:...
2000 Jul 10
1
OpenSSH port to ReliantUNIX
Hi all, I just managed to get OpenSSH working on ReliantUNIX, which is the SVR4- compatible UNIX from Fujitsu-Siemens (formerly known as SNI). Patch is attached. Up to now I do not know why it does not work with IP_TOS, but I needed to switch it off. Anyway: it works here in our lab without any problems. Many thanks for OpenSSH and best regards. Udo -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 ZT IK 3, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email...
2004 Aug 02
2
tcng + NAT
Does anybody know how to you use tcng with packet marking. I''m masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets? Thanks for your help.
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
...orig-1.2.2 Sat Jan 22 17:38:00 2000 +++ packet.c Sun Feb 13 13:06:04 2000 @@ -796,22 +796,28 @@ * Set IP options for an interactive connection. Use * IPTOS_LOWDELAY and TCP_NODELAY. */ +#ifdef IPTOS_LOWDELAY int lowdelay = IPTOS_LOWDELAY; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &lowdelay, sizeof(lowdelay)) < 0) error("setsockopt IPTOS_LOWDELAY: %.100s", strerror(errno)); +#endif /* IPTOS_LOWDELAY */ +#ifdef TCP_NODELAY if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on, sizeof(on)) < 0) error(&qu...
2010 Mar 10
35
[Bug 1733] New: Enhance support for QoS (ToS) by supporting DSCP/CS and adding option
https://bugzilla.mindrot.org/show_bug.cgi?id=1733 Summary: Enhance support for QoS (ToS) by supporting DSCP/CS and adding option Product: Portable OpenSSH Version: 5.4p1 Platform: All OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: ssh AssignedTo:
2016 Jul 22
2
Call for testing: OpenSSH 7.3
...riction so we want to set that to zero, but + * we can't do it direct in config.h because it'll cause a conflicting + * definition the first time we include netinet/in.h. + */ +#ifdef NO_IPPORT_RESERVED_CONCEPT +#define IPPORT_RESERVED 0 +#endif + +/* * Definitions for IP type of service (ip_tos) */ #include <netinet/in_systm.h> -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
2004 May 05
3
Simple HTB setup with tcng
Hello all, I am trying to set up a simple htb based system, where packets with source ip 10.0.0.1 should have their own class. I plan to use tcng to set it up easier. Is there something wrong in my tcng file ? ~/tcng$ cat htb /* */ #include "fields.tc" #include "ports.tc" dev eth0 { htb ( ) { class ( rate 600kbps, ceil 600kbps ) {
2016 Oct 05
3
Dev: new option to mark all tincd socket of a tincd process
I know i'm new to the list but i'd like to propose something for tincd daemon. I'd like to mark all sockets established by a tincd process with a mark passed as an argument in the command line. What could be the purpose of this new option? The goal of this option is to be able to have several tincd process running at the same time using the same port but using different ip. In