search for: short_path

Displaying 2 results from an estimated 2 matches for "short_path".

Did you mean: host_path
2002 Nov 25
1
Lartc & Squid
hi all, We are using squid 25s1 with kernel 2.4.19 and iproute2(+julian''s Pathes) with the following acl.. acl short_path dst 128.0.0.0/8 tcp_outgoing_address myIp2nd short_path we are linked to 2 isp--one having satelite & the other OFC. We want the above mentioned network to go thru OFC(ispB) as the sibling resides there. But when i use squidclient mgr:server_list command i see that rtt is still 650ms...
2014 Jan 01
0
Soft chroot jail for sftp-server
...erences > * that traverse the current directory or root, maintaining leading "/" and maintaining trailing "/" if possible. > * The passed string is modified. > */ > static char* shorten_path(char* path) { > unsigned int path_len = strlen(path)+1; > //char* short_path = path; malloc(sizeof(char) * short_path_len); > size_t j = 0; > size_t i = 0; > //Make sure path doesn't contain any "//" > for (i = 0; i < path_len; i++) { > if (*(path+i) == '/' && j>0 && *(path+j-1) == '/') > j--; &g...