author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
112,454 | 17.03.2017 14:00:08 | 18,000 | 19e587692c04e96bd9fc806a567167e34c18a2f9 | make `windows_share` idempotent. Fixes | [
{
"change_type": "MODIFY",
"old_path": "resources/share.rb",
"new_path": "resources/share.rb",
"diff": "@@ -25,7 +25,6 @@ property :description, String, default: ''\nproperty :full_users, Array, default: []\nproperty :change_users, Array, default: []\nproperty :read_users, Array, default: []\n-prope... | Ruby | Apache License 2.0 | chef-boneyard/windows | make `windows_share` idempotent. Fixes #447
Signed-off-by: Steven Murawski <steven.murawski@gmail.com> |
112,428 | 18.03.2017 09:06:08 | -10,800 | 8a64622783f9a1788381f01bc4428e2c5b834c92 | CHANGELOG: add release date to v3.0.0 | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "@@ -6,7 +6,7 @@ This file is used to list changes made in each version of the windows cookbook.\n- Fix `windows_share` to be fully idempotent. Fixes #447\n-## 3.0.0 (UNRELEASED!)\n+## 3.0.0 (2017-03-15)\n**Wa... | Ruby | Apache License 2.0 | chef-boneyard/windows | CHANGELOG: add release date to v3.0.0 |
112,454 | 21.03.2017 16:36:02 | 18,000 | 5f0f8e062fdef91842965f71c7a9ff091cbb8bb3 | make the `windows_zipfile` properly download and cache the zip archive | [
{
"change_type": "MODIFY",
"old_path": "libraries/windows_helper.rb",
"new_path": "libraries/windows_helper.rb",
"diff": "@@ -70,28 +70,6 @@ module Windows\nURI.parse(URI.escape(source))\nend\n- # if a file is local it returns a windows friendly path version\n- # if a file is remote it caches it loc... | Ruby | Apache License 2.0 | chef-boneyard/windows | make the `windows_zipfile` properly download and cache the zip archive
Signed-off-by: Steven Murawski <steven.murawski@gmail.com> |
112,432 | 22.03.2017 16:12:14 | -3,600 | 9cf5d2101302a70209e8b0f751ad7cd559b70dab | Correct a typo in a Log message. | [
{
"change_type": "MODIFY",
"old_path": "resources/feature_dism.rb",
"new_path": "resources/feature_dism.rb",
"diff": "@@ -74,7 +74,7 @@ action_class do\nend\naction :install do\n- Chef::Log.warn(\"Requested feature #{new_resource.feature} is not available on this system.\") unless available?\n+ Chef... | Ruby | Apache License 2.0 | chef-boneyard/windows | Correct a typo in a Log message.
Signed-off-by: Emmanuel Guerin <dev@emmanuelguerin.fr> |
112,454 | 29.03.2017 17:16:55 | 18,000 | 5293597c20b8ecabcd042e6d7ae0b8c38838cd2e | restoring the `cached_file` helper as downstream cookbooks use it. | [
{
"change_type": "MODIFY",
"old_path": "libraries/windows_helper.rb",
"new_path": "libraries/windows_helper.rb",
"diff": "@@ -70,6 +70,28 @@ module Windows\nURI.parse(URI.escape(source))\nend\n+ # if a file is local it returns a windows friendly path version\n+ # if a file is remote it caches it loc... | Ruby | Apache License 2.0 | chef-boneyard/windows | restoring the `cached_file` helper as downstream cookbooks use it.
Signed-off-by: Steven Murawski <steven.murawski@gmail.com> |
112,445 | 29.05.2017 17:06:22 | -7,200 | 093a40009b9b20135920b64723f75bfb5e96d67b | Declare windows_feature as why-runnable | [
{
"change_type": "MODIFY",
"old_path": "resources/feature.rb",
"new_path": "resources/feature.rb",
"diff": "@@ -25,6 +25,10 @@ property :install_method, Symbol, equal_to: [:windows_feature_dism, :windows_fea\ninclude Windows::Helper\n+def whyrun_supported?\n+ true\n+end\n+\naction :install do\nrun_d... | Ruby | Apache License 2.0 | chef-boneyard/windows | Declare windows_feature as why-runnable
Signed-off-by: Julien Pepy <j.pepy@criteo.com> |
112,443 | 22.09.2017 09:54:39 | -36,000 | 055289636aa70e18d760ad63bd2315492dc31eb0 | Allow fonts to be pulled from a remote location
e.g.: over http(s), such as S3. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -231,12 +231,16 @@ Font files should be included in the cookbooks\n#### Properties\n- `name` - The file name of the font file name to install. The path defaults to the files/default directory of the cookbook you... | Ruby | Apache License 2.0 | chef-boneyard/windows | Allow fonts to be pulled from a remote location
e.g.: over http(s), such as S3.
Signed-off-by: Jon Burgess <jkburges@gmail.com> |
112,436 | 09.10.2017 08:10:49 | 10,800 | 0c720a1596a640c387fe64265c269d8acc324bc2 | Enable script for other languages windows
When you run this script for other languages windows the enable/disable detection didn't work. The /English parameter corrects the problem. | [
{
"change_type": "MODIFY",
"old_path": "files/dism_features.rb",
"new_path": "files/dism_features.rb",
"diff": "@@ -30,7 +30,7 @@ Ohai.plugin(:DismFeatures) do\ncmd\nend\n# Grab raw feature information from dism command line\n- raw_list_of_features = shell_out(\"#{dism} /Get-Features /Online /Format... | Ruby | Apache License 2.0 | chef-boneyard/windows | Enable script for other languages windows
When you run this script for other languages windows the enable/disable detection didn't work. The /English parameter corrects the problem.
Signed-off-by: Daniel Masarin <daniel.masarin@gmail.com> |
112,437 | 17.10.2017 16:24:29 | -7,200 | c56bd3df38b44527e3f7dff39fe8de22fb9cef92 | Change install feature guards for win2008r2 | [
{
"change_type": "MODIFY",
"old_path": "resources/feature_powershell.rb",
"new_path": "resources/feature_powershell.rb",
"diff": "@@ -42,14 +42,22 @@ action_class do\ndef installed?\n@installed ||= begin\n- cmd = powershell_out(\"(Get-WindowsFeature #{to_array(new_resource.feature_name).join(',')} |... | Ruby | Apache License 2.0 | chef-boneyard/windows | Change install feature guards for win2008r2
Signed-off-by: Krzysztof Kowalczyk <krzkowalczyk@gmail.com> |
112,450 | 06.12.2017 19:05:59 | 18,000 | 1828c4e7f3d75a153906b32d1630af9c5fef0c21 | Fix long-running filtering by replace LIKE with equality sign | [
{
"change_type": "MODIFY",
"old_path": "resources/share.rb",
"new_path": "resources/share.rb",
"diff": "@@ -230,7 +230,7 @@ action_class do\n)\n#Create the Trusteee Object\n$Trustee = ([WMIClass] \"\\\\\\\\$env:computername\\\\root\\\\cimv2:Win32_Trustee\").CreateInstance()\n- $account = get-wmiobje... | Ruby | Apache License 2.0 | chef-boneyard/windows | Fix long-running filtering by replace LIKE with equality sign |
112,450 | 06.12.2017 19:06:57 | 18,000 | 81d499df78fd320fece8858f2765ec54eb12d053 | Use logical OR instead of AND when trying to detect share permissions changing | [
{
"change_type": "MODIFY",
"old_path": "resources/share.rb",
"new_path": "resources/share.rb",
"diff": "@@ -147,7 +147,7 @@ action_class do\nend\ndef different_members?(permission_type)\n- !(current_resource.send(permission_type.to_sym) - new_resource.send(permission_type.to_sym).map(&:downcase)).em... | Ruby | Apache License 2.0 | chef-boneyard/windows | Use logical OR instead of AND when trying to detect share permissions changing
Signed-off-by: Baurzhan Konurbayev <baurzhan.konurbayev@gmail.com> |
112,427 | 04.01.2018 11:56:51 | 28,800 | 45907db3968bec20f92a4ea4f7360b44fad225a9 | Added missing parentheses around PersistKeySet flag that was preventing PowerShell from creating X509Certificate2 object. Obvious fix. | [
{
"change_type": "MODIFY",
"old_path": "resources/certificate.rb",
"new_path": "resources/certificate.rb",
"diff": "@@ -106,7 +106,7 @@ action_class do\nif ::File.extname(file.downcase) == '.pfx'\ncert_script << \", \\\"#{new_resource.pfx_password}\\\"\"\nif persist && new_resource.user_store\n- cer... | Ruby | Apache License 2.0 | chef-boneyard/windows | Added missing parentheses around PersistKeySet flag that was preventing PowerShell from creating X509Certificate2 object. Obvious fix. |
112,433 | 23.01.2018 16:36:13 | 28,800 | ac81585ee1b3c31deec748f4177c2b215b6d8c8d | Support windows 10, dang it! | [
{
"change_type": "MODIFY",
"old_path": "libraries/version.rb",
"new_path": "libraries/version.rb",
"diff": "@@ -139,6 +139,7 @@ module Windows\nend\nWIN_VERSIONS = {\n+ 'Windows 10' => { major: 10, minor: 0, callable: -> { @product_type != VER_NT_WORKSTATION } },\n'Windows Server 2012 R2' => { major... | Ruby | Apache License 2.0 | chef-boneyard/windows | Support windows 10, dang it! |
112,425 | 08.03.2018 22:19:56 | 21,600 | 21f32831b1244face392b426ceab837e922f54f5 | Adds Caching for WIndows Feature Powershell provider
Checks source definition key in registry when determining availability | [
{
"change_type": "MODIFY",
"old_path": "resources/feature_dism.rb",
"new_path": "resources/feature_dism.rb",
"diff": "@@ -143,7 +143,7 @@ action_class do\nadd_to_feature_mash('disabled', feature_details_raw)\nend\nend\n- Chef::Log.debug(\"The cache contains\\n#{node['dism_features_cache']}\")\n+ Che... | Ruby | Apache License 2.0 | chef-boneyard/windows | Adds Caching for WIndows Feature Powershell provider
Checks source definition key in registry when determining availability
Signed-off-by: jakauppila <Jared@Kauppi.la> |
112,425 | 08.03.2018 22:45:01 | 21,600 | b2ebd97e3eb84ef3263321aca69254d67b239cbb | Modify the registry source check to key and value | [
{
"change_type": "MODIFY",
"old_path": "resources/feature_dism.rb",
"new_path": "resources/feature_dism.rb",
"diff": "@@ -160,7 +160,7 @@ action_class do\ndef fail_if_removed\nreturn if new_resource.source # if someone provides a source then all is well\nif node['os_version'].to_f > 6.2\n- return if... | Ruby | Apache License 2.0 | chef-boneyard/windows | Modify the registry source check to key and value
Signed-off-by: jakauppila <Jared@Kauppi.la> |
112,451 | 28.05.2018 17:35:15 | 14,400 | fa925196883db52d78fda8d77d87a6d9d9501419 | Add quoting to Path when creating new Share | [
{
"change_type": "MODIFY",
"old_path": "resources/share.rb",
"new_path": "resources/share.rb",
"diff": "@@ -201,7 +201,7 @@ action_class do\ndef create_share\nraise \"#{new_resource.path} is missing or not a directory. Shares cannot be created if the path doesn't first exist.\" unless ::File.directo... | Ruby | Apache License 2.0 | chef-boneyard/windows | Add quoting to Path when creating new Share |
112,440 | 14.07.2018 04:07:22 | -19,080 | 7594514ab1b606d76943028fce8167a5c3ae0142 | Add an action to windows_user_privilege to remove a privilege
Added a `remove` action to remove account privileges using the windows_user_privilege resource
Updated Readme with an example
Added test recipes
Fixes | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -688,6 +688,7 @@ Adds the `principal` (User/Group) to the specified privileges (such as `Logon as\n#### Actions\n- `:add` - add the specified privileges to the `principal`\n+- `:remove` - remove the specified pr... | Ruby | Apache License 2.0 | chef-boneyard/windows | Add an action to windows_user_privilege to remove a privilege
- Added a `remove` action to remove account privileges using the windows_user_privilege resource
- Updated Readme with an example
- Added test recipes
Fixes MSYS-859
Signed-off-by: nimesh-msys <nimesh.patni@msystechnologies.com> |
112,440 | 17.07.2018 13:00:53 | -19,080 | 063d2aaf4b5a24c1741f30637355cc9657003001 | Updating Kitchen configurations
Test dependancy on Current release(14.3.39) and above
We may use stable version once 14.4 will be released
Skipping DeprecatedFeatureError as a warning as few resources are added to Chef core | [
{
"change_type": "MODIFY",
"old_path": "kitchen.appveyor.yml",
"new_path": "kitchen.appveyor.yml",
"diff": "@@ -9,10 +9,10 @@ driver:\nprovisioner:\nname: chef_zero\n- deprecations_as_errors: true\n+ deprecations_as_errors: false\nproduct_name: chef\n- product_version: 13.1\nrequire_omnibus: true\n+... | Ruby | Apache License 2.0 | chef-boneyard/windows | Updating Kitchen configurations
- Test dependancy on Current release(14.3.39) and above
- We may use stable version once 14.4 will be released
- Skipping DeprecatedFeatureError as a warning as few resources are added to Chef core
Signed-off-by: nimesh-msys <nimesh.patni@msystechnologies.com> |
112,462 | 08.10.2018 15:31:13 | -10,800 | a841444bc03e9a4cb05dfd9ec0c23df66b762593 | Fix typo in windows_feature_dism resource name | [
{
"change_type": "MODIFY",
"old_path": "resources/feature_dism.rb",
"new_path": "resources/feature_dism.rb",
"diff": "#\nchef_version_for_provides '< 14.0' if respond_to?(:chef_version_for_provides)\n-resource_name :windows_feature_name\n+resource_name :windows_feature_dism\nproperty :feature_name, ... | Ruby | Apache License 2.0 | chef-boneyard/windows | Fix typo in windows_feature_dism resource name
Signed-off-by: Nikolai Bessonov <bessonov.na@icloud.com> |
112,442 | 10.10.2018 20:31:58 | 14,400 | c4dc3890a298462c493e6e8001ca5e029ba6f857 | Changed variable name in log message for retrieving SMB share access | [
{
"change_type": "MODIFY",
"old_path": "resources/share.rb",
"new_path": "resources/share.rb",
"diff": "@@ -102,7 +102,7 @@ load_current_value do |desired|\n# we raise here instead of warning like above because we'd only get here if the above Get-SmbShare\n# command was successful and that continuin... | Ruby | Apache License 2.0 | chef-boneyard/windows | Changed variable name in log message for retrieving SMB share access
Signed-off-by: Jeffrey Coe <jeffrey.coe@cerner.com> |
112,453 | 24.10.2018 13:18:07 | 25,200 | 7c5551ee81eb0d413c6a46d3422ffab16e18c262 | Note the :verify action for windows_certificate
Notes the :verify action for the windows_certificate resource | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -61,6 +61,7 @@ Installs a certificate into the Windows certificate store from a file, and grant\n- `:create` - creates or updates a certificate.\n- `:delete` - deletes a certificate.\n- `:acl_add` - adds read-on... | Ruby | Apache License 2.0 | chef-boneyard/windows | Note the :verify action for windows_certificate
Notes the :verify action for the windows_certificate resource |
112,461 | 24.11.2018 19:31:41 | -3,600 | c8d9b9c8bd3c88347f7146a25b9c9a09dafe702f | Fix http_acl regex to properly capture SDDL
Former regex was incorrect and captured the trailing space and CR.
Since the SDDL format does not include spaces the new regexp is better. | [
{
"change_type": "MODIFY",
"old_path": "resources/http_acl.rb",
"new_path": "resources/http_acl.rb",
"diff": "@@ -35,7 +35,7 @@ load_current_value do |desired|\nexists true\nurl desired.url\n# Checks first for sddl, because it generates user(s)\n- sddl_match = cmd_out.match(/SDDL:\\s*(?<sddl>.+)/)\n... | Ruby | Apache License 2.0 | chef-boneyard/windows | Fix http_acl regex to properly capture SDDL
Former regex was incorrect and captured the trailing space and CR.
Since the SDDL format does not include spaces the new regexp is better.
Signed-off-by: Baptiste Courtois <b.courtois@criteo.com> |
112,452 | 29.11.2018 17:18:25 | -19,080 | 10131bc7110e650dff0e420ac2409e7d40e7dddd | Fix for windows certificate delete action fails if certificate does not exist | [
{
"change_type": "MODIFY",
"old_path": "resources/certificate.rb",
"new_path": "resources/certificate.rb",
"diff": "@@ -65,8 +65,13 @@ end\naction :delete do\nload_gem\n+ cert_obj = fetch_cert\n+ if cert_obj\n+ converge_by(\"Deleting certificate #{new_resource.source} from Store #{new_resource.store... | Ruby | Apache License 2.0 | chef-boneyard/windows | MSYS-936 Fix for windows certificate delete action fails if certificate does not exist
Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com> |
112,459 | 26.04.2019 00:07:03 | 14,400 | 61274599817bcd90b1668bf1c15864d695518a68 | Remove deprecated Win32API
* Remove deprecated Win32API
Remove support for Windows Server 2003 R2
* Remove more Windows Server 2003 ref | [
{
"change_type": "MODIFY",
"old_path": "libraries/version.rb",
"new_path": "libraries/version.rb",
"diff": "if RUBY_PLATFORM =~ /mswin|mingw32|windows/\nrequire_relative 'wmi_helper'\n- require 'Win32API'\nend\nmodule Windows\n@@ -30,10 +29,6 @@ module Windows\n# Suite Masks\n# Microsoft BackOffice ... | Ruby | Apache License 2.0 | chef-boneyard/windows | Remove deprecated Win32API (#611)
* Remove deprecated Win32API
Remove support for Windows Server 2003 R2
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Remove more Windows Server 2003 ref
Signed-off-by: Jaymala Sinha <jsinha@chef.io> |
89,485 | 19.04.2018 23:21:02 | 0 | 8e607b7feb45ea88d0b3c6b3f757480f8811288f | Second logo draft | [
{
"change_type": "MODIFY",
"old_path": "logo/bio-rd-logo.svg",
"new_path": "logo/bio-rd-logo.svg",
"diff": "</rdf:RDF>\n</metadata>\n<sodipodi:namedview\n- inkscape:window-height=\"1043\"\n+ inkscape:window-height=\"1061\"\ninkscape:window-width=\"1920\"\ninkscape:pageshadow=\"2\"\ninkscape:pageopac... | Go | Apache License 2.0 | bio-routing/bio-rd | Second logo draft |
89,491 | 26.04.2018 13:13:27 | -7,200 | 4b628da880768890cde7505852b1b4dccf47638e | added README.md in preperation of travis integration | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "README.md",
"diff": "+# bio-rd\n+\n+[](https://travis-ci.org/bio-routing/bio-rd)\n+[](http://goreportcar... | Go | Apache License 2.0 | bio-routing/bio-rd | added README.md in preperation of travis integration |
89,491 | 11.05.2018 22:49:27 | -7,200 | 7d8eb7f10a39914e90cef1f969cc4be870438d14 | Update fsm.go
cleanup | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/fsm.go",
"new_path": "protocols/bgp/server/fsm.go",
"diff": "@@ -665,17 +665,6 @@ func (fsm *FSM) established() int {\nfsm.rib.RegisterWithOptions(fsm.adjRIBOut, routingtable.ClientOptions{BestOnly: true})\n- /*go func() {\n- for {\n- time... | Go | Apache License 2.0 | bio-routing/bio-rd | Update fsm.go
cleanup |
89,491 | 11.05.2018 22:55:31 | -7,200 | bc8acb13edd92f770f7e095a2273c2defe4c93d1 | Update route.go
clean up | [
{
"change_type": "MODIFY",
"old_path": "route/route.go",
"new_path": "route/route.go",
"diff": "@@ -193,12 +193,6 @@ func getBestProtocol(paths []*Path) uint8 {\n// Print returns a prinatble representation of route `r`\nfunc (r *Route) Print() string {\nret := fmt.Sprintf(\"%s:\\n\", r.pfx.String())... | Go | Apache License 2.0 | bio-routing/bio-rd | Update route.go
clean up |
89,491 | 11.05.2018 23:14:02 | -7,200 | 3137f4d825299b627d906d39497b9c2eedfefa37 | Update loc_rib.go
added fixme | [
{
"change_type": "MODIFY",
"old_path": "routingtable/locRIB/loc_rib.go",
"new_path": "routingtable/locRIB/loc_rib.go",
"diff": "@@ -52,6 +52,7 @@ func (a *LocRIB) AddPath(pfx net.Prefix, p *route.Path) error {\nrouteExisted = true\n}\n+ // FIXME: in AddPath() we assume that the same reference of rou... | Go | Apache License 2.0 | bio-routing/bio-rd | Update loc_rib.go
added fixme |
89,491 | 11.05.2018 23:35:46 | -7,200 | 6a4e9435212ac7e91c33b117b0917212aa1eeca3 | fixed TestNewRoute | [
{
"change_type": "MODIFY",
"old_path": "route/route.go",
"new_path": "route/route.go",
"diff": "@@ -29,7 +29,7 @@ type Route struct {\n}\n// NewRoute generates a new route with paths p\n-func NewRoute(pfx net.Prefix, p ...*Path) *Route {\n+func NewRoute(pfx net.Prefix, p *Path) *Route {\nr := &Route... | Go | Apache License 2.0 | bio-routing/bio-rd | fixed TestNewRoute |
89,491 | 12.05.2018 15:24:30 | -7,200 | b9843fc95692f825187f47a31bf5f81c0e549db7 | added filter to prevent neighbors own prefixes | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "net/helper.go",
"diff": "+package net\n+\n+import \"net\"\n+\n+// IPv4ToUint32 converts an `net.IP` to an uint32 interpretation\n+func IPv4ToUint32(ip net.IP) uint32 {\n+ return uint32(ip[0]) + uint32(ip[1])<<8 + uint32(ip[2])<<16 + uint32(ip[3]... | Go | Apache License 2.0 | bio-routing/bio-rd | added filter to prevent neighbors own prefixes |
89,491 | 12.05.2018 15:51:13 | -7,200 | 2ab9b4cf583c3b4dec6896e9b954f42630825215 | added tests for the helper method | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "net/helper_test.go",
"diff": "+package net\n+\n+import (\n+ \"testing\"\n+\n+ \"github.com/stretchr/testify/assert\"\n+)\n+\n+func IPv4ToUint32Test(t *testing.T) {\n+ tests := []struct {\n+ input []byte\n+ expected uint32\n+ }{\n+ {\n+ input: []... | Go | Apache License 2.0 | bio-routing/bio-rd | added tests for the helper method |
89,491 | 12.05.2018 23:00:37 | -7,200 | 9b5df52aaba84fbcb6ca833fe057df7976282a0c | added basic filter structure | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/actions/accept_action.go",
"diff": "+package actions\n+\n+import (\n+ \"github.com/bio-routing/bio-rd/net\"\n+ \"github.com/bio-routing/bio-rd/route\"\n+)\n+\n+type AcceptAction struct {\n+}\n+\n+func (*AcceptAction) Do(p net... | Go | Apache License 2.0 | bio-routing/bio-rd | added basic filter structure |
89,491 | 12.05.2018 23:42:09 | -7,200 | 8b5eac6623e02ad6cd336c710113b5664c5c7886 | refactoring of return values | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/actions/accept_action.go",
"new_path": "routingtable/filter/actions/accept_action.go",
"diff": "@@ -8,6 +8,6 @@ import (\ntype AcceptAction struct {\n}\n-func (*AcceptAction) Do(p net.Prefix, pa *route.Path) (bool, *route.Path) {\n- return ... | Go | Apache License 2.0 | bio-routing/bio-rd | refactoring of return values |
89,491 | 14.05.2018 10:27:13 | -7,200 | 8e6945d80b8687674afdc99cf3a28ebf649b03dc | added route filter | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/route_filter.go",
"diff": "+package filter\n+\n+import (\n+ \"github.com/bio-routing/bio-rd/net\"\n+)\n+\n+type RouteFilter struct {\n+ pattern net.Prefix\n+ matcher PrefixMatcher\n+}\n+\n+type PrefixMatcher func(pattern, pre... | Go | Apache License 2.0 | bio-routing/bio-rd | added route filter |
89,491 | 14.05.2018 10:32:11 | -7,200 | d5767c9eeb6f157ee79e1635e5958be6e2bf108a | renamed Then to FilterAction | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/filter_test.go",
"new_path": "routingtable/filter/filter_test.go",
"diff": "@@ -54,7 +54,7 @@ func TestAddPath(t *testing.T) {\nprefix: net.NewPfx(0, 0),\npath: &route.Path{},\nterm: &Term{\n- then: []Then{\n+ then: []FilterAction{\n&action... | Go | Apache License 2.0 | bio-routing/bio-rd | renamed Then to FilterAction |
89,491 | 14.05.2018 10:44:28 | -7,200 | 2908db94861ad3faa69d95c30f4c6577389c6c6d | support for multiple prefix lists | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/from.go",
"new_path": "routingtable/filter/from.go",
"diff": "@@ -6,9 +6,19 @@ import (\n)\ntype From struct {\n- prefixList *PrefixList\n+ prefixLists []*PrefixList\n}\nfunc (f *From) Matches(p net.Prefix, pa *route.Path) bool {\n- return ... | Go | Apache License 2.0 | bio-routing/bio-rd | support for multiple prefix lists |
89,491 | 14.05.2018 15:14:24 | -7,200 | 5dab1a2cf1a05b84ddd423e37df4f486ab81e80c | prefix list now with matching strategy, next step in implementing terms | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/from.go",
"new_path": "routingtable/filter/from.go",
"diff": "@@ -7,10 +7,11 @@ import (\ntype From struct {\nprefixLists []*PrefixList\n+ routeFilters []*RouteFilter\n}\nfunc (f *From) Matches(p net.Prefix, pa *route.Path) bool {\n- return... | Go | Apache License 2.0 | bio-routing/bio-rd | prefix list now with matching strategy, next step in implementing terms |
89,491 | 15.05.2018 12:05:54 | -7,200 | b6b2fdcb8a421adee68307de8af7ba9b67e94200 | added local pref modification to filters | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/actions/set_local_pref_action.go",
"diff": "+package actions\n+\n+import (\n+ \"github.com/bio-routing/bio-rd/net\"\n+ \"github.com/bio-routing/bio-rd/route\"\n+ \"github.com/bio-routing/bio-rd/routingtable/filter\"\n+)\n+\n+... | Go | Apache License 2.0 | bio-routing/bio-rd | added local pref modification to filters |
89,491 | 15.05.2018 16:47:35 | -7,200 | aa2bc7a86089b3fd30cf1ef956214bcb870ef9d4 | added actions to manipulate next-hop and local-pref | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/actions/set_local_pref_action_test.go",
"new_path": "routingtable/filter/actions/set_local_pref_action_test.go",
"diff": "@@ -16,7 +16,6 @@ func TestSetLocalPref(t *testing.T) {\n}{\n{\nname: \"BGPPath is nil\",\n- expectedLocalPref: 0,\n},... | Go | Apache License 2.0 | bio-routing/bio-rd | added actions to manipulate next-hop and local-pref |
89,491 | 16.05.2018 17:06:26 | -7,200 | cb95915f1fb179fe942509655a0e9a54975ff0f5 | Update path_attributes_test.go | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes_test.go",
"new_path": "protocols/bgp/packet/path_attributes_test.go",
"diff": "@@ -62,7 +62,7 @@ func TestDecodePathAttrs(t *testing.T) {\ncontinue\n}\n- assert.Equal(t, test.expected, res, \"%s\", test.name)\n+ assert.Equa... | Go | Apache License 2.0 | bio-routing/bio-rd | Update path_attributes_test.go |
89,491 | 17.05.2018 11:32:49 | -7,200 | 862519ec19ff46ea5c01cc58f9d6ca0b38369851 | copy paths, first path modification actions | [
{
"change_type": "MODIFY",
"old_path": "route/bgp.go",
"new_path": "route/bgp.go",
"diff": "@@ -154,6 +154,14 @@ func (b *BGPPath) Print() string {\nreturn ret\n}\n+func (b *BGPPath) Prepend(asn uint32, times uint16) {\n+ for i := 0; uint16(i) < times; i++ {\n+ b.ASPath = fmt.Sprintf(\"%d %s\", asn,... | Go | Apache License 2.0 | bio-routing/bio-rd | copy paths, first path modification actions |
89,491 | 17.05.2018 12:11:51 | -7,200 | 196ac6475882356695cf7b280e7da02a553748ab | improved test to include testing of position of appended path | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/actions/as_path_prepend_action_test.go",
"new_path": "routingtable/filter/actions/as_path_prepend_action_test.go",
"diff": "@@ -33,10 +33,10 @@ func TestAppendPath(t *testing.T) {\nname: \"append 3\",\ntimes: 3,\nbgpPath: &route.BGPPath{\n-... | Go | Apache License 2.0 | bio-routing/bio-rd | improved test to include testing of position of appended path |
89,491 | 17.05.2018 13:59:10 | -7,200 | e52ad631ccc09b12d19934f5bad2b8efe039588d | improved performance on as path prepend | [
{
"change_type": "MODIFY",
"old_path": "route/bgp.go",
"new_path": "route/bgp.go",
"diff": "@@ -2,6 +2,8 @@ package route\nimport (\n\"fmt\"\n+ \"strconv\"\n+ \"strings\"\n\"github.com/taktv6/tflow2/convert\"\n)\n@@ -155,11 +157,20 @@ func (b *BGPPath) Print() string {\n}\nfunc (b *BGPPath) Prepend(... | Go | Apache License 2.0 | bio-routing/bio-rd | improved performance on as path prepend |
89,491 | 18.05.2018 17:34:10 | -7,200 | 0cc9da01728e6268b59dc8958f65777981fd0ac7 | large community decode | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "package packet\n+import (\n+ \"fmt\"\n+)\n+\nconst (\nOctetLen = 8\nMaxASNsSegment = 255\n@@ -58,6 +62,7 @@ const (\nLocalPrefAttr = 5\nAtomicAggrAttr = 6\nAggregatorAttr = 7\n+ ... | Go | Apache License 2.0 | bio-routing/bio-rd | large community decode |
89,491 | 18.05.2018 20:03:13 | -7,200 | 032ece0bf9eb7ff3ca8387bae4d1b00d6aea841a | large community encoding | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "package packet\n-import (\n- \"fmt\"\n-)\n-\nconst (\nOctetLen = 8\nMaxASNsSegment = 255\n@@ -15,6 +11,7 @@ const (\nMinLen = 19\nMaxLen = 4096\nNLRIMaxLen = 5\n+ LargeCommunityL... | Go | Apache License 2.0 | bio-routing/bio-rd | large community encoding |
89,491 | 20.05.2018 00:07:55 | -7,200 | 16a5c7faceae285c0180b9464d58ac18f5456236 | added action to add large communities | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/actions/add_large_community_action.go",
"diff": "+package actions\n+\n+import (\n+ \"strings\"\n+\n+ \"github.com/bio-routing/bio-rd/net\"\n+ \"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n+ \"github.com/bio-routing/... | Go | Apache License 2.0 | bio-routing/bio-rd | added action to add large communities |
89,491 | 20.05.2018 00:42:55 | -7,200 | 2b6ebfa53131cb77553cfa616824aaf61773f771 | added large community filter | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/large_community_filter.go",
"diff": "+package filter\n+\n+import (\n+ \"strings\"\n+\n+ \"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n+)\n+\n+type LargeCommunityFilter struct {\n+ community *packet.LargeCommunity\n+... | Go | Apache License 2.0 | bio-routing/bio-rd | added large community filter |
89,491 | 21.05.2018 20:14:17 | -7,200 | d141e98d9970789fdcd826ccafe169492991a578 | Update path_attributes.go
fixed copy paste error | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes.go",
"new_path": "protocols/bgp/packet/path_attributes.go",
"diff": "@@ -603,7 +603,7 @@ func read4BytesAsUin32(buf *bytes.Buffer) (uint32, error) {\nreturn 0, err\n}\nif n != 4 {\n- return 0, fmt.Errorf(\"Unable to read ne... | Go | Apache License 2.0 | bio-routing/bio-rd | Update path_attributes.go
fixed copy paste error |
89,486 | 23.05.2018 15:33:31 | -7,200 | 8b30d41ffc57fe535947f02f86e67ebf0b67368a | Assured that IPv4ToUint32 works also an interal 16 byte v4 representation | [
{
"change_type": "MODIFY",
"old_path": "net/helper.go",
"new_path": "net/helper.go",
"diff": "@@ -4,5 +4,6 @@ import \"net\"\n// IPv4ToUint32 converts an `net.IP` to an uint32 interpretation\nfunc IPv4ToUint32(ip net.IP) uint32 {\n+ ip = ip.To4()\nreturn uint32(ip[3]) + uint32(ip[2])<<8 + uint32(ip[... | Go | Apache License 2.0 | bio-routing/bio-rd | Assured that IPv4ToUint32 works also an interal 16 byte v4 representation |
89,486 | 23.05.2018 15:34:01 | -7,200 | 10049697322d1b0cc8de490ef4b2ef5155ab67b0 | added missing locks | [
{
"change_type": "MODIFY",
"old_path": "routingtable/client_manager.go",
"new_path": "routingtable/client_manager.go",
"diff": "@@ -63,6 +63,8 @@ func (c *ClientManager) RegisterWithOptions(client RouteTableClient, opt ClientO\n// Unregister unregisters a client\nfunc (c *ClientManager) Unregister(c... | Go | Apache License 2.0 | bio-routing/bio-rd | added missing locks |
89,486 | 24.05.2018 11:35:40 | -7,200 | c5ca8db007f3e28abc2bcc2c38b96702404bb869 | Use prefix of old route. New route could be nil. | [
{
"change_type": "MODIFY",
"old_path": "routingtable/locRIB/loc_rib.go",
"new_path": "routingtable/locRIB/loc_rib.go",
"diff": "@@ -120,7 +120,7 @@ func (a *LocRIB) removePathsFromClients(oldRoute *route.Route, newRoute *route.R\nwithdraw := route.PathsDiff(oldRoute.Paths()[0:oldPathsLimit], newRout... | Go | Apache License 2.0 | bio-routing/bio-rd | Use prefix of old route. New route could be nil. |
89,486 | 24.05.2018 11:36:30 | -7,200 | 27213986534d2c20bcdf2112dca3441ec748588c | Fix bug in path.Equal. Use Compare()==0 instead of own implementation | [
{
"change_type": "MODIFY",
"old_path": "route/path.go",
"new_path": "route/path.go",
"diff": "@@ -53,19 +53,7 @@ func (p *Path) Equal(q *Path) bool {\nif p == nil || q == nil {\nreturn false\n}\n-\n- if p.Type != q.Type {\n- return false\n- }\n-\n- switch p.Type {\n- case BGPPathType:\n- if *p.BGPPa... | Go | Apache License 2.0 | bio-routing/bio-rd | Fix bug in path.Equal. Use Compare()==0 instead of own implementation |
89,486 | 24.05.2018 11:37:00 | -7,200 | bce81f976f7733bc426bb63ddbdc65b2cb6837a6 | Implement RemoteRoute in update_sender and update_sender_add_path | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/update_sender.go",
"new_path": "protocols/bgp/server/update_sender.go",
"diff": "@@ -65,8 +65,8 @@ func (u *UpdateSender) AddPath(pfx net.Prefix, p *route.Path) error {\n// RemovePath withdraws prefix `pfx` from a peer\nfunc (u *UpdateSend... | Go | Apache License 2.0 | bio-routing/bio-rd | Implement RemoteRoute in update_sender and update_sender_add_path |
89,491 | 27.05.2018 15:31:22 | -7,200 | 4a8fd3efa90682d0d072d3fcc5c0df837552a6a8 | sending large communities | [
{
"change_type": "MODIFY",
"old_path": "main.go",
"new_path": "main.go",
"diff": "@@ -22,6 +22,10 @@ func main() {\nerr := b.Start(&config.Global{\nListen: true,\n+ LocalAddressList: []net.IP{\n+ net.IPv4(169, 254, 100, 1),\n+ net.IPv4(169, 254, 200, 0),\n+ },\n})\nif err != nil {\nlogrus.Fatalf(\"U... | Go | Apache License 2.0 | bio-routing/bio-rd | sending large communities |
89,486 | 28.05.2018 12:33:35 | -7,200 | 2b3a355b972f27eebb34c5c2e271e67f369dfd1f | Return early if route is not present. We do not need to update any clients or select new best paths | [
{
"change_type": "MODIFY",
"old_path": "routingtable/locRIB/loc_rib.go",
"new_path": "routingtable/locRIB/loc_rib.go",
"diff": "@@ -74,6 +74,8 @@ func (a *LocRIB) RemovePath(pfx net.Prefix, p *route.Path) bool {\nr := a.rt.Get(pfx)\nif r != nil {\noldRoute = r.Copy()\n+ } else {\n+ return true\n}\na... | Go | Apache License 2.0 | bio-routing/bio-rd | Return early if route is not present. We do not need to update any clients or select new best paths |
89,486 | 28.05.2018 16:59:26 | -7,200 | c76c8c867597dc5301ec2becfed05723867b8f3b | Use time.Ticker for keepalive timer | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/fsm.go",
"new_path": "protocols/bgp/server/fsm.go",
"diff": "@@ -84,7 +84,7 @@ type FSM struct {\nholdTimer *time.Timer\nkeepaliveTime time.Duration\n- keepaliveTimer *time.Timer\n+ keepaliveTimer *time.Ticker\nmsgRecvCh chan msgRecvMsg\nm... | Go | Apache License 2.0 | bio-routing/bio-rd | Use time.Ticker for keepalive timer |
89,486 | 28.05.2018 17:18:41 | -7,200 | 91c7675b9d3d422908a21e6be73e5312fc6298a8 | Init with not nil timer | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/fsm.go",
"new_path": "protocols/bgp/server/fsm.go",
"diff": "@@ -125,7 +125,7 @@ func NewFSM(peer *Peer, c config.Peer, rib *locRIB.LocRIB) *FSM {\nholdTimer: time.NewTimer(0),\nkeepaliveTime: time.Duration(c.KeepAlive),\n- keepaliveTimer:... | Go | Apache License 2.0 | bio-routing/bio-rd | Init with not nil timer |
89,486 | 29.05.2018 05:56:48 | -7,200 | c94eb13807c8444b64ab74889ff426b1cec829b8 | Changed rib to routingtable.RouteTableClient interface | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/fsm.go",
"new_path": "protocols/bgp/server/fsm.go",
"diff": "@@ -16,7 +16,6 @@ import (\n\"github.com/bio-routing/bio-rd/routingtable/adjRIBIn\"\n\"github.com/bio-routing/bio-rd/routingtable/adjRIBOut\"\n\"github.com/bio-routing/bio-rd/rou... | Go | Apache License 2.0 | bio-routing/bio-rd | Changed rib to routingtable.RouteTableClient interface |
89,486 | 29.05.2018 06:00:34 | -7,200 | 58e9c70f18b570754152515dbe6c2a6e657e08b1 | provide an constructor for TermCondition | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/term_condition.go",
"new_path": "routingtable/filter/term_condition.go",
"diff": "@@ -10,6 +10,13 @@ type TermCondition struct {\nrouteFilters []*RouteFilter\n}\n+func NewTermCondition(prefixLists []*PrefixList, routeFilters []*RouteFilter)... | Go | Apache License 2.0 | bio-routing/bio-rd | provide an constructor for TermCondition |
89,486 | 29.05.2018 06:23:13 | -7,200 | 06042b9cada9c16759c50a754d075912e957236f | Changed interface for adding new peer to server | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/server.go",
"new_path": "protocols/bgp/server/server.go",
"diff": "@@ -8,7 +8,7 @@ import (\n\"github.com/bio-routing/bio-rd/config\"\n\"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n- \"github.com/bio-routing/bio-rd/routingtable/l... | Go | Apache License 2.0 | bio-routing/bio-rd | Changed interface for adding new peer to server |
89,486 | 29.05.2018 06:58:50 | -7,200 | e2bf1edeb7d491f659492fb51bc8b88ef5743b94 | Added logging to locRib | [
{
"change_type": "MODIFY",
"old_path": "routingtable/locRIB/loc_rib.go",
"new_path": "routingtable/locRIB/loc_rib.go",
"diff": "@@ -8,6 +8,7 @@ import (\n\"github.com/bio-routing/bio-rd/net\"\n\"github.com/bio-routing/bio-rd/route\"\n\"github.com/bio-routing/bio-rd/routingtable\"\n+ \"github.com/sir... | Go | Apache License 2.0 | bio-routing/bio-rd | Added logging to locRib |
89,486 | 29.05.2018 07:45:16 | -7,200 | c8cab24e193a1eea075a728118edf521049f603d | Added basic community support | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "@@ -58,6 +58,7 @@ const (\nLocalPrefAttr = 5\nAtomicAggrAttr = 6\nAggregatorAttr = 7\n+ CommunitiesAttr = 8\n// ORIGIN values\nIGP = 0\n"
},
{
"change_type": "MODIFY",
... | Go | Apache License 2.0 | bio-routing/bio-rd | Added basic community support |
89,486 | 29.05.2018 09:42:37 | -7,200 | 1aeb1e3ec98d43be001e5f1750d94cf513d0d001 | Removed fmt.Printf | [
{
"change_type": "MODIFY",
"old_path": "main.go",
"new_path": "main.go",
"diff": "@@ -15,7 +15,7 @@ import (\n)\nfunc main() {\n- fmt.Printf(\"This is a BGP speaker\\n\")\n+ logrus.Printf(\"This is a BGP speaker\\n\")\nrib := locRIB.New()\nb := server.NewBgpServer()\n"
},
{
"change_type": "M... | Go | Apache License 2.0 | bio-routing/bio-rd | Removed fmt.Printf |
89,486 | 29.05.2018 13:46:53 | -7,200 | 052e6cd07a84fc01401e8125a128376cb22d1b0a | Added logging for failing AddPath | [
{
"change_type": "MODIFY",
"old_path": "routingtable/adjRIBIn/adj_rib_in.go",
"new_path": "routingtable/adjRIBIn/adj_rib_in.go",
"diff": "@@ -6,6 +6,7 @@ import (\n\"github.com/bio-routing/bio-rd/net\"\n\"github.com/bio-routing/bio-rd/route\"\n\"github.com/bio-routing/bio-rd/routingtable\"\n+ log \"... | Go | Apache License 2.0 | bio-routing/bio-rd | Added logging for failing AddPath |
89,486 | 29.05.2018 10:26:19 | -7,200 | ddaa1c276d7974ce76c07daa78161439c9998c7a | Added support for RFC 8203 in notification decoder | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "@@ -50,6 +50,10 @@ const (\nInvalidNetworkField = 10\nMalformedASPath = 11\n+ // Notification Msg Subcodes\n+ AdministrativeShutdown = 2\n+ AdministrativeReset = 4\n+\n// Attribu... | Go | Apache License 2.0 | bio-routing/bio-rd | Added support for RFC 8203 in notification decoder |
89,486 | 29.05.2018 12:14:19 | -7,200 | 281808b94c3498a334f895eca9584cacbe4bd025 | Release lock after updating map. UpdateNewClients may call GetOptions or Clients() and thus cause a deadlock | [
{
"change_type": "MODIFY",
"old_path": "routingtable/client_manager.go",
"new_path": "routingtable/client_manager.go",
"diff": "@@ -55,9 +55,8 @@ func (c *ClientManager) Register(client RouteTableClient) {\n// RegisterWithOptions registers a client with options for updates\nfunc (c *ClientManager) R... | Go | Apache License 2.0 | bio-routing/bio-rd | Release lock after updating map. UpdateNewClients may call GetOptions or Clients() and thus cause a deadlock |
89,486 | 29.05.2018 12:32:01 | -7,200 | 87c63a8a0273645c70e251abb1af7c2d3e9263b3 | Added missing mandatory LocalPref | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/update_sender.go",
"new_path": "protocols/bgp/server/update_sender.go",
"diff": "@@ -41,6 +41,10 @@ func (u *UpdateSender) AddPath(pfx net.Prefix, p *route.Path) error {\nNext: &packet.PathAttribute{\nTypeCode: packet.NextHopAttr,\nValue: ... | Go | Apache License 2.0 | bio-routing/bio-rd | Added missing mandatory LocalPref |
89,486 | 29.05.2018 13:08:06 | -7,200 | e12b31e4e6ebc830986af1768a8dc2a1d903c98a | Don't announce own ASN in ASPath if iBGP | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/update_sender.go",
"new_path": "protocols/bgp/server/update_sender.go",
"diff": "@@ -16,17 +16,19 @@ import (\ntype UpdateSender struct {\nroutingtable.ClientManager\nfsm *FSM\n+ iBGP bool\n}\nfunc newUpdateSender(fsm *FSM) *UpdateSender {... | Go | Apache License 2.0 | bio-routing/bio-rd | Don't announce own ASN in ASPath if iBGP |
89,486 | 29.05.2018 09:20:09 | -7,200 | 72d22f856c703e0a8daf30560d12918d0ac0bb46 | Implement support for PathAttributes 17 and 18 (RFC 6793) | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "@@ -60,6 +60,9 @@ const (\nAggregatorAttr = 7\nCommunitiesAttr = 8\n+ AS4PathAttr = 17\n+ AS4AggregatorAttr = 18\n+\n// ORIGIN values\nIGP = 0\nEGP = 1\n"
},
{
"change_ty... | Go | Apache License 2.0 | bio-routing/bio-rd | Implement support for PathAttributes 17 and 18 (RFC 6793) |
89,486 | 30.05.2018 07:28:59 | -7,200 | ba7c623ea47243728e908efb19d20179d422b578 | Only activate the fsm at configurable reconnectInterval | [
{
"change_type": "MODIFY",
"old_path": "config/peer.go",
"new_path": "config/peer.go",
"diff": "@@ -3,6 +3,8 @@ package config\nimport (\n\"net\"\n+ \"time\"\n+\n\"github.com/bio-routing/bio-rd/routingtable\"\n)\n@@ -18,4 +20,5 @@ type Peer struct {\nRouterID uint32\nAddPathSend routingtable.ClientO... | Go | Apache License 2.0 | bio-routing/bio-rd | Only activate the fsm at configurable reconnectInterval |
89,491 | 31.05.2018 20:48:32 | -7,200 | 5bf9d69aef51402dc9fe4355bf57f1220a333fe6 | community convert methods, decoding | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "@@ -11,6 +11,7 @@ const (\nMinLen = 19\nMaxLen = 4096\nNLRIMaxLen = 5\n+ CommunityLen = 4\nLargeCommunityLen = 12\nOpenMsg = 1\n"
},
{
"change_type": "ADD",
"old_path... | Go | Apache License 2.0 | bio-routing/bio-rd | community convert methods, decoding |
89,491 | 31.05.2018 20:58:21 | -7,200 | f48a4b5ae35d311f09f9301ac146853cfc49a472 | added community string | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/community.go",
"new_path": "protocols/bgp/packet/community.go",
"diff": "@@ -6,7 +6,7 @@ import (\n\"strings\"\n)\n-func CommunityString(v uint32) string {\n+func CommunityStringForUint32(v uint32) string {\ne1 := v >> 16\ne2 := v - e1<<16... | Go | Apache License 2.0 | bio-routing/bio-rd | added community string |
89,491 | 31.05.2018 21:11:10 | -7,200 | 77e53a12561bb632fbfb8eef1c9b6ee9a0a7ceee | added community serialization | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes.go",
"new_path": "protocols/bgp/packet/path_attributes.go",
"diff": "@@ -446,6 +446,8 @@ func (pa *PathAttribute) serialize(buf *bytes.Buffer) uint8 {\npathAttrLen = pa.serializeAtomicAggregate(buf)\ncase AggregatorAttr:\np... | Go | Apache License 2.0 | bio-routing/bio-rd | added community serialization |
89,491 | 31.05.2018 21:19:19 | -7,200 | 7732db025f2733978dfe81be4396a92070d6e403 | sending communities | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "@@ -67,7 +67,7 @@ const (\nCommunitiesAttr = 8\nAS4PathAttr = 17\nAS4AggregatorAttr = 18\n- LargeCommunityAttr = 32\n+ LargeCommunitiesAttr = 32\n// ORIGIN values\nIGP = 0\n"
}... | Go | Apache License 2.0 | bio-routing/bio-rd | sending communities |
89,491 | 31.05.2018 21:44:29 | -7,200 | 1b0f3df0225615c614257c6c4ac06895a05f468f | Update path_attributes.go
simplification | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes.go",
"new_path": "protocols/bgp/packet/path_attributes.go",
"diff": "@@ -261,8 +261,7 @@ func (pa *PathAttribute) decodeCommunities(buf *bytes.Buffer) error {\nreturn fmt.Errorf(\"Unable to read next hop: buf.Read read %d b... | Go | Apache License 2.0 | bio-routing/bio-rd | Update path_attributes.go
simplification |
89,491 | 31.05.2018 21:46:20 | -7,200 | efaf0b281e12ee01cb6bc465fb4dc1e754f433eb | Update path_attributes.go
unified error message | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes.go",
"new_path": "protocols/bgp/packet/path_attributes.go",
"diff": "@@ -245,7 +245,7 @@ func (pa *PathAttribute) decodeAggregator(buf *bytes.Buffer) error {\nfunc (pa *PathAttribute) decodeCommunities(buf *bytes.Buffer) er... | Go | Apache License 2.0 | bio-routing/bio-rd | Update path_attributes.go
unified error message |
89,491 | 31.05.2018 21:52:12 | -7,200 | cfaa1796d63e1b6b9986ab93949d8dfff38e5887 | fixed merge markers | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes.go",
"new_path": "protocols/bgp/packet/path_attributes.go",
"diff": "@@ -252,10 +252,10 @@ func (pa *PathAttribute) decodeCommunities(buf *bytes.Buffer) error {\ncoms := make([]uint32, count)\nfor i := uint16(0); i < count;... | Go | Apache License 2.0 | bio-routing/bio-rd | fixed merge markers |
89,491 | 01.06.2018 07:43:03 | -7,200 | d26b45733db7b374bb5915d689dc1786bc6af0ad | fixed typo, removed boilerplate code | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes.go",
"new_path": "protocols/bgp/packet/path_attributes.go",
"diff": "@@ -180,41 +180,15 @@ func (pa *PathAttribute) decodeASPath(buf *bytes.Buffer) error {\n}\nfunc (pa *PathAttribute) decodeNextHop(buf *bytes.Buffer) error... | Go | Apache License 2.0 | bio-routing/bio-rd | fixed typo, removed boilerplate code |
89,491 | 01.06.2018 07:51:54 | -7,200 | 5eae161d02c23d97d032d33be5ab66a25fd31efe | Update path_attributes_test.go
fixed test name | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/path_attributes_test.go",
"new_path": "protocols/bgp/packet/path_attributes_test.go",
"diff": "@@ -724,7 +724,7 @@ func TestSetLength(t *testing.T) {\n}\n}\n-func TestRead4BytesAsUint32(t *testing.T) {\n+func TestDecodeUint32(t *testing.T)... | Go | Apache License 2.0 | bio-routing/bio-rd | Update path_attributes_test.go
fixed test name |
89,491 | 01.06.2018 09:40:43 | -7,200 | c8db0cbf5a40d6e23229055b41f0e442f43ae8a8 | removed unneccessary cast | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/community.go",
"new_path": "protocols/bgp/packet/community.go",
"diff": "@@ -31,7 +31,7 @@ func ParseCommunityString(s string) (uint32, error) {\nif err != nil {\nreturn 0, err\n}\n- e2 := uint16(v)\n+ e2 := uint32(v)\n- return e1<<16 + ui... | Go | Apache License 2.0 | bio-routing/bio-rd | removed unneccessary cast |
89,491 | 01.06.2018 19:27:19 | -7,200 | b66762571cea1cb21de5ba7396f7e15c13a57790 | added add community action | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/actions/add_community_action.go",
"diff": "+package actions\n+\n+import (\n+ \"strings\"\n+\n+ \"github.com/bio-routing/bio-rd/net\"\n+ \"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n+ \"github.com/bio-routing/bio-rd... | Go | Apache License 2.0 | bio-routing/bio-rd | added add community action |
89,491 | 01.06.2018 20:34:10 | -7,200 | ec36861743e6788910c1bc3be0f32eb7627ec715 | added community filter | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "routingtable/filter/community_filter.go",
"diff": "+package filter\n+\n+import (\n+ \"strings\"\n+\n+ \"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n+)\n+\n+type CommunityFilter struct {\n+ community uint32\n+}\n+\n+func (f *CommunityFi... | Go | Apache License 2.0 | bio-routing/bio-rd | added community filter |
89,491 | 01.06.2018 21:02:14 | -7,200 | 44eb4d8c0f3035af3f8912c7bf5548686191fcb6 | added community filter matching, fixed term condition with more than one group of conditions | [
{
"change_type": "MODIFY",
"old_path": "routingtable/filter/term_condition.go",
"new_path": "routingtable/filter/term_condition.go",
"diff": "@@ -20,13 +20,17 @@ func NewTermCondition(prefixLists []*PrefixList, routeFilters []*RouteFilter) *T\n}\nfunc (f *TermCondition) Matches(p net.Prefix, pa *rou... | Go | Apache License 2.0 | bio-routing/bio-rd | added community filter matching, fixed term condition with more than one group of conditions |
89,491 | 02.06.2018 09:46:19 | -7,200 | b9a06317bb3c77f6b3077ea0382717ed21b38f3f | basic rfc1997 (well known communities) filter, code deduplication | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/community.go",
"new_path": "protocols/bgp/packet/community.go",
"diff": "@@ -6,6 +6,11 @@ import (\n\"strings\"\n)\n+const (\n+ WellKnownCommunityNoExport = 0xFFFFFF01\n+ WellKnownCommunityNoAdvertise = 0xFFFFFF02\n+)\n+\nfunc CommunityStr... | Go | Apache License 2.0 | bio-routing/bio-rd | basic rfc1997 (well known communities) filter, code deduplication |
89,486 | 10.06.2018 13:51:31 | -7,200 | 6e7b27cf12c6df2684a64587ede9bf63c63b78ee | Removed duplicate code and fix bug in update_sender. UpdateSenderAddPath send nonAddpath Update. UpdateSender send BGPUpdateAddpath | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/update_helper.go",
"new_path": "protocols/bgp/server/update_helper.go",
"diff": "@@ -2,10 +2,12 @@ package server\nimport (\n\"fmt\"\n+ \"io\"\n\"strings\"\n\"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n\"github.com/bio-routing/b... | Go | Apache License 2.0 | bio-routing/bio-rd | Removed duplicate code and fix bug in update_sender. UpdateSenderAddPath send nonAddpath Update. UpdateSender send BGPUpdateAddpath |
89,486 | 10.06.2018 15:44:33 | -7,200 | 1b6d5072e52bebd5f3a3b171e566e576c7c4b273 | Added tests for large community string parsing | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/large_community.go",
"new_path": "protocols/bgp/packet/large_community.go",
"diff": "@@ -2,10 +2,13 @@ package packet\nimport (\n\"fmt\"\n+ \"regexp\"\n\"strconv\"\n\"strings\"\n)\n+var largeCommunityRegEx = regexp.MustCompile(\"^\\\\(?\\\... | Go | Apache License 2.0 | bio-routing/bio-rd | Added tests for large community string parsing |
89,486 | 20.06.2018 21:42:38 | -7,200 | cfa42ff2645402e4574264e8c8bd45d4ad0b707f | revert regex implementation | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/large_community.go",
"new_path": "protocols/bgp/packet/large_community.go",
"diff": "@@ -2,13 +2,10 @@ package packet\nimport (\n\"fmt\"\n- \"regexp\"\n\"strconv\"\n\"strings\"\n)\n-var largeCommunityRegEx = regexp.MustCompile(\"^\\\\(?\\\... | Go | Apache License 2.0 | bio-routing/bio-rd | revert regex implementation |
89,486 | 20.06.2018 22:05:18 | -7,200 | b62d556e2d849dbdd08784f424ade330239338c0 | Increased corpus | [
{
"change_type": "ADD",
"old_path": "fuzzing/packet/corpus/1b0227c44ad735c7e2c9467cd3ad72ae73b41a8d",
"new_path": "fuzzing/packet/corpus/1b0227c44ad735c7e2c9467cd3ad72ae73b41a8d",
"diff": "Binary files /dev/null and b/fuzzing/packet/corpus/1b0227c44ad735c7e2c9467cd3ad72ae73b41a8d differ\n"
},
{
... | Go | Apache License 2.0 | bio-routing/bio-rd | Increased corpus |
89,491 | 22.06.2018 23:09:06 | -7,200 | 0e6b4e2e98dd9b949da289b6fed9cbbeaab4d38f | fixed default client options | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/fsm_established.go",
"new_path": "protocols/bgp/server/fsm_established.go",
"diff": "@@ -62,7 +62,9 @@ func (s *establishedState) init() {\nAddress: tnet.IPv4ToUint32(s.fsm.peer.addr),\n}\n- clientOptions := routingtable.ClientOptions{}\n+... | Go | Apache License 2.0 | bio-routing/bio-rd | fixed default client options |
89,481 | 23.06.2018 18:26:51 | -7,200 | e5e55306f550dedd092228156a51d18bb37f23d2 | Don't export routes learned via iBGP to an iBGP peer. | [
{
"change_type": "MODIFY",
"old_path": "routingtable/adjRIBOut/adj_rib_out.go",
"new_path": "routingtable/adjRIBOut/adj_rib_out.go",
"diff": "@@ -45,6 +45,11 @@ func (a *AdjRIBOut) AddPath(pfx bnet.Prefix, p *route.Path) error {\nreturn nil\n}\n+ // Don't export routes learned via iBGP to an iBGP ne... | Go | Apache License 2.0 | bio-routing/bio-rd | Don't export routes learned via iBGP to an iBGP peer.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic> |
89,491 | 23.06.2018 19:16:56 | -7,200 | 433f77dc27792acc95ecc4ad3d5726aafc1b27ae | added parsing for 4 byte ASN capability | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/bgp.go",
"new_path": "protocols/bgp/packet/bgp.go",
"diff": "@@ -92,9 +92,11 @@ const (\nUnicastSAFI = 1\nCapabilitiesParamType = 2\nAddPathCapabilityCode = 69\n+ ASN4CapabilityCode = 65\nAddPathReceive = 1\nAddPathSend = 2\nAddPathSendRec... | Go | Apache License 2.0 | bio-routing/bio-rd | added parsing for 4 byte ASN capability |
89,491 | 23.06.2018 20:38:15 | -7,200 | 1eff34e030dcd7d532e63c7eb58bc5ad8a20de34 | added asn4 cap to open message | [
{
"change_type": "RENAME",
"old_path": "protocols/bgp/server/fsm2.go",
"new_path": "protocols/bgp/server/fsm.go",
"diff": "@@ -219,13 +219,7 @@ func (fsm *FSM) resetConnectRetryCounter() {\n}\nfunc (fsm *FSM) sendOpen() error {\n- msg := packet.SerializeOpenMsg(&packet.BGPOpen{\n- Version: BGPVersio... | Go | Apache License 2.0 | bio-routing/bio-rd | added asn4 cap to open message |
89,481 | 23.06.2018 23:30:29 | -7,200 | 6d0d613ca3cbfd543092c05dd0ba6c0809a309f7 | Add tracking of contributing ASNs to a LocRIB.
The tracked contributing ASNs of a LocRIB will be used in detecting loops
within AS paths. | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/fsm.go",
"new_path": "protocols/bgp/server/fsm.go",
"diff": "@@ -8,6 +8,7 @@ import (\n\"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n\"github.com/bio-routing/bio-rd/routingtable\"\n+ \"github.com/bio-routing/bio-rd/routingtable/l... | Go | Apache License 2.0 | bio-routing/bio-rd | Add tracking of contributing ASNs to a LocRIB.
The tracked contributing ASNs of a LocRIB will be used in detecting loops
within AS paths.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic> |
89,481 | 24.06.2018 00:45:44 | -7,200 | b67c2b5ddeac01d419710373ebe59c6bddeeab79 | Fix tests for AdjRIBIn (due to contributing ASN change). | [
{
"change_type": "MODIFY",
"old_path": "routingtable/adjRIBIn/adj_rib_in_test.go",
"new_path": "routingtable/adjRIBIn/adj_rib_in_test.go",
"diff": "@@ -115,7 +115,7 @@ func TestAddPath(t *testing.T) {\n}\nfor _, test := range tests {\n- adjRIBIn := New(filter.NewAcceptAllFilter())\n+ adjRIBIn := New... | Go | Apache License 2.0 | bio-routing/bio-rd | Fix tests for AdjRIBIn (due to contributing ASN change).
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic> |
89,481 | 24.06.2018 00:56:11 | -7,200 | 19b37b04d3d35d437209b193af641b3b9e283c3c | Don't propagate path with detected AS loops to LocRIB or other clients. | [
{
"change_type": "MODIFY",
"old_path": "routingtable/adjRIBIn/adj_rib_in.go",
"new_path": "routingtable/adjRIBIn/adj_rib_in.go",
"diff": "@@ -3,6 +3,7 @@ package adjRIBIn\nimport (\n\"sync\"\n+ \"github.com/bio-routing/bio-rd/protocols/bgp/packet\"\n\"github.com/bio-routing/bio-rd/routingtable/filte... | Go | Apache License 2.0 | bio-routing/bio-rd | Don't propagate path with detected AS loops to LocRIB or other clients.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic> |
89,491 | 24.06.2018 01:47:53 | -7,200 | c5c2e39155c4fc43be8027c0dcdbb45d2ec91925 | AS_PATH parsing with 4 octet support | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/decoder.go",
"new_path": "protocols/bgp/packet/decoder.go",
"diff": "@@ -9,14 +9,18 @@ import (\n\"github.com/taktv6/tflow2/convert\"\n)\n+type DecodingOptions struct {\n+ Supports4OctetASN bool\n+}\n+\n// Decode decodes a BGP message\n-fu... | Go | Apache License 2.0 | bio-routing/bio-rd | AS_PATH parsing with 4 octet support |
89,491 | 24.06.2018 09:03:30 | -7,200 | 7fe229268fbf95d73a00cba4f6e67f370cb85d86 | removed 32bit check | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/server/server.go",
"new_path": "protocols/bgp/server/server.go",
"diff": "@@ -14,7 +14,6 @@ import (\n)\nconst (\n- uint16max = 65535\nBGPVersion = 4\n)\n@@ -114,10 +113,6 @@ func (b *bgpServer) incomingConnectionWorker() {\n}\nfunc (b *bgpServer... | Go | Apache License 2.0 | bio-routing/bio-rd | removed 32bit check |
89,491 | 24.06.2018 11:51:46 | -7,200 | 512639ddad65e788324207ab30ce955639aa5973 | 32bit asn open cap decoding | [
{
"change_type": "MODIFY",
"old_path": "main.go",
"new_path": "main.go",
"diff": "@@ -40,9 +40,9 @@ func main() {\nb.AddPeer(config.Peer{\nAdminEnabled: true,\n- LocalAS: 6695,\n+ LocalAS: 65200,\nPeerAS: 65300,\n- PeerAddress: net.IP([]byte{169, 254, 200, 1}),\n+ PeerAddress: net.IP([]byte{172, 17,... | Go | Apache License 2.0 | bio-routing/bio-rd | 32bit asn open cap decoding |
89,491 | 24.06.2018 12:59:34 | -7,200 | 9f005b373e89e84bc921a634db1628a105932af5 | 32 asn path serialization | [
{
"change_type": "MODIFY",
"old_path": "protocols/bgp/packet/encoder.go",
"new_path": "protocols/bgp/packet/encoder.go",
"diff": "@@ -7,6 +7,10 @@ import (\n\"github.com/taktv6/tflow2/convert\"\n)\n+type EncodingOptions struct {\n+ Supports4OctetASN bool\n+}\n+\nfunc SerializeKeepaliveMsg() []byte {... | Go | Apache License 2.0 | bio-routing/bio-rd | 32 asn path serialization |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.