Skip to content

Instantly share code, notes, and snippets.

View download_eml.py
import argparse
from datetime import datetime
from getpass import getpass
import requests
AAD_GRAPH_SERVICE = "https://graph.microsoft.com"
AAD_TENANT = "<tenant>.onmicrosoft.com"
AAD_CLIENT_ID = "<app ID>"
View vpnc-0.5.3-juniper.patch
From 8f005fefbc8713535d59f95e3abee8a45b05399a Mon Sep 17 00:00:00 2001
From: "James E. Flemer" <jflemer@alum.rpi.edu>
Date: Sun, 20 May 2012 21:28:41 -0600
Subject: [PATCH] Add support for Juniper SRX Dynamic VPN
Support for Juniper SRX Dynamic VPN is based on patchset from Mikael Cam
at Nateis (http://www.nateis.fr/vpnc/vpnc-0.5.3-to-0.5.4beta.patch).
Also added explicit "IPSec IDType" option for IKE.
This change has been tested with one Cisco ASA and one Juniper SRX210h
View NetworkManager-vpnc-0.9.8.2-juniper.patch
diff --git a/po/cs.po b/po/cs.po
index d1a9d99..3a8076c 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -210,7 +210,7 @@ msgstr "_Výrobce:"
#: ../properties/nm-vpnc-dialog.ui.h:7
msgid ""
"Vendor of your IPsec gateway\n"
-"config: Vendor <cisco/netscreen>"
+"config: Vendor <cisco/juniper/netscreen>"
View network-manager-vpnc_0.9.6.0-0ubuntu2-juniper.patch
diff -rupN network-manager-vpnc-0.9.6.0/po/cs.po network-manager-vpnc-juniper-0.9.6.0/po/cs.po
--- network-manager-vpnc-0.9.6.0/po/cs.po 2012-05-19 07:09:47.000000000 +1200
+++ network-manager-vpnc-juniper-0.9.6.0/po/cs.po 2013-06-01 13:35:07.857567458 +1200
@@ -208,7 +208,7 @@ msgstr "_Výrobce:"
#: ../properties/nm-vpnc-dialog.ui.h:7
msgid ""
"Vendor of your IPsec gateway\n"
-"config: Vendor <cisco/netscreen>"
+"config: Vendor <cisco/juniper/netscreen>"
msgstr ""
@jlaundry
jlaundry / build.patch
Last active Aug 29, 2015
f20 NetworkManager vpnc Juniper build
View build.patch
diff --git a/SPECS/NetworkManager-vpnc.spec b/SPECS/NetworkManager-vpnc.spec
index 78a1c98..660bec5 100644
--- a/SPECS/NetworkManager-vpnc.spec
+++ b/SPECS/NetworkManager-vpnc.spec
@@ -4,12 +4,13 @@ Summary: NetworkManager VPN plugin for vpnc
Name: NetworkManager-vpnc
Epoch: 1
Version: 0.9.8.2
-Release: 3%{snapshot}%{?dist}
+Release: 3%{snapshot}.juniper%{?dist}
You can’t perform that action at this time.