Displaying 6 results from an estimated 6 matches for "tohex".
Did you mean:
to_hex
2005 Nov 12
4
Borrowing between HTB classes not working as expectd.
...($speed_up * 0.95) . "kbit ".
"prio 4 burst 15k");
tc("qdisc add dev $dev parent 1:" . ($i + 256) . " handle " . ($i +
256) . ": sfq perturb 10");
tc("filter add dev $dev protocol ip parent 1: prio 5 handle " .
tohex($i + 256) . " fw flowid 1:" . ($i + 256));
# Med class
tc("class add dev $dev parent 1:5 classid 1:" . ($i + 512) . " htb ".
"rate " . int($speed_up * 0.40) . "kbit ".
"ceil " . int($spe...
2014 Apr 04
6
[Bug 2220] New: Add uuid-style identifier for use with ControlPath
https://bugzilla.mindrot.org/show_bug.cgi?id=2220
Bug ID: 2220
Summary: Add uuid-style identifier for use with ControlPath
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs
2015 Aug 17
3
[PATCH] Expand tilde for UNIX domain socket forwards.
On Mon, 17 Aug 2015, Todd C. Miller wrote:
> I like the idea but tilde_expand_filename() calls fatal() if it
> cannot resolve ~foo. This is not terrible when using -L and -R on
> the normal command line but it seems pretty harsh to exit when -L
> or -R are used via the ~C escape or the streamlocal-forward at openssh.com
> request.
> Message-Id: <aea6cdc1d1b42d07 at
2004 Jun 16
4
Class ID limits
Hey everyone,
I had a question about the class id''s using the TC command. I''m
using a command that looks something like this:
tc class add dev eth1 parent 10: classid 10:$variable cbq bandwidth
200Mbit rate 512Kbit allot 1514 prio 5 maxburst 20 avpkt 1000 bounded
That''s just an example. My problem is I''m guessing the $variable is not
allowed to be anything
2015 Mar 03
2
openssh-SNAP-20150304 issues
..., pred);
test_header(file, line, a1, a2, "STRING", pred);
[67;1H[K:[67;1H[67;1H[K fprintf(stderr, "%12s = %s (len %zu)\n", a1, aa1, strlen(aa1));
fprintf(stderr, "%12s = %s (len %zu)\n", a2, aa2, strlen(aa2));
test_die();
}
static char *
tohex(const void *_s, size_t l)
{
u_int8_t *s = (u_int8_t *)_s;
size_t i, j;
const char *hex = "0123456789abcdef";
char *r = malloc((l * 2) + 1);
assert(r != NULL);
for (i = j = 0; i < l; i++) {
r[j++] = hex[(s[i] >> 4) &...
2017 Oct 10
3
tunnel device name acquisition?
Numerous how-tos all over the Internet show how one would set up
a tunnel using ssh, e.g.:
ssh -f -o Tunnel=ethernet <server_ip> true
I was wondering if there's a way to subsequently acquire the names
of the local and remote tun/tap interfaces (e.g., using the default
"-w any:any") for subsequent automatic tunnel configuration, e.g.:
ip link set $TapDev up
ip link set