This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tehnerd@tehnerd-test2-devbox5:~$ cat ibgp4-l2vpn.txt | |
neighbor 192.168.201.2 { | |
process parsed-route-backend { | |
receive-routes; | |
run etc/exabgp/processes/syslog-1.py; | |
} | |
description "parsing l2vpn vpls routes"; | |
router-id 192.168.201.1; | |
local-address 192.168.201.1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | environment file missing | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | generate it using "exabgp -fi > /home/tehnerd/exabgp/etc/exabgp/exabgp.env" | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | reactor | Performing reload of exabgp 3.3.2 | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | neighbor 192.168.201.2 { | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | process parsed-route-backend { | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | receive-routes; | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | run etc/exabgp/processes/syslog-1.py; | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | } | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | | |
Mon, 16 Jun 2014 13:09:30 | INFO | 27443 | configuration | loading | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tehnerd@tehnerd-test2-devbox5:~/exabgp$ ./sbin/exabgp -d ./etc/exabgp/ibgp4-l2vpn-singleline.txt | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | environment file missing | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | generate it using "exabgp -fi > /home/tehnerd/exabgp/etc/exabgp/exabgp.env" | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | reactor | Performing reload of exabgp 3.3.2 | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | loading | neighbor 192.168.201.2 { | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | loading | process parsed-route-backend { | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | loading | receive-routes; | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | loading | run etc/exabgp/processes/syslog-1.py; | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | loading | } | |
Tue, 17 Jun 2014 15:49:02 | INFO | 21665 | configuration | loading | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = [email protected] | |
name = tehnerd | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[color "status"] | |
added = green |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Package bench is a package which contains | |
// programs of Go Benchmark Competition. | |
package bench | |
import ( | |
"bufio" | |
"errors" | |
"os" | |
"strconv" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tehnerd@iva-nms:~/linux$ git diff -u e639914f7384a36a6aed563961e2a5ba6e417fc7 | |
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h | |
index 615b20b..12f4c26 100644 | |
--- a/include/net/ip_vs.h | |
+++ b/include/net/ip_vs.h | |
@@ -924,6 +924,7 @@ struct netns_ipvs { | |
int sysctl_nat_icmp_send; | |
int sysctl_pmtu_disc; | |
int sysctl_backup_only; | |
+ int sysctl_tun_src_client_copy; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Playground - noun: a place where people can play | |
import UIKit | |
// Setup the calendar object | |
let calendar = NSCalendar.currentCalendar() | |
// Set up date object | |
let date = NSDate() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IP Virtual Server version 1.2.1 (size=4096) | |
Prot LocalAddress:Port Scheduler Flags | |
-> RemoteAddress:Port Forward Weight ActiveConn InActConn | |
tehnerd@dev-srv2:~$ sudo /tmp/main | |
Start Test/Example Run | |
Expected error because we adding existing service : &errors.errorString{s:"Error! errorcode is: 17\n"} | |
expected error because of lack fwmark 10: &errors.errorString{s:"Error! errorcode is: 3\n"} | |
done | |
tehnerd@dev-srv2:~$ sudo ipvsadm -ln | |
IP Virtual Server version 1.2.1 (size=4096) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func CustomDial(network, addr string) (net.Conn, error) { | |
if network != "tcp" { | |
fmt.Println("network is ", network) | |
panic("CustomDial can work only with tcp") | |
} | |
sd, err := syscall.Socket(syscall.AF_INET6, syscall.SOCK_STREAM, 0) | |
if err != nil { | |
return nil, fmt.Errorf("cant create socket: %#v\n", err) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"gnl2go/gnl2go" | |
) | |
func main() { | |
fmt.Println("Get pool example") | |
ipvs := new(gnl2go.IpvsClient) |
OlderNewer