01-06-2016
There are quite a few Python ASN.1 parsers and decoders available. Do an Internet search for "ASN.1 Python parser" or "ASN.1 Python decoder."
9 More Discussions You Might Find Interesting
1. High Performance Computing
I am looking to have a C++ and Python application developed using the processing power of at least one GPU.
We are already using Boost, so Boost.MPI comes to mind.
We already have some experience in developing C++ applications for multi-core CPUs by using threading.
However, since we have not... (3 Replies)
Discussion started by: figaro
3 Replies
2. Programming
Kindly help i need to write a code for Decode/Compile the ASN.1 which is found in javascript or C language if any got a final working Code:D (16 Replies)
Discussion started by: teefa
16 Replies
3. Debian
I do some Python programming in windows, understand how to use python in windows... However I do not know how to use python in Linux. I do know the commands n such are the same but there isn't any IDLE or anything its ran straight from the terminal by typing python but I have never used python that... (2 Replies)
Discussion started by: Cryptek
2 Replies
4. Shell Programming and Scripting
I am working on requirement on spreadsheet in python scripting.
I have a spreadsheet containing cell values and with background color.
I am able to read the value value but unable to get the background color of that particular cell.
Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies
5. Programming
Hi All,
I am fairly new to this so please forgive me, Currently I have an ASN.1 which I would like the ability to load this to my work server in order to enter a string of output decode and display the output.
There are methods online as shown on ASN.1 JavaScript decoder however I have... (3 Replies)
Discussion started by: mutley2202
3 Replies
6. Solaris
Dears,
I need help to convert the binary file into ASCII format.
Actually we have CDRs which is generated by telecom switch at this is in ASN1 format or binary format, I need to convert those binary formatted file into ASCII format using Perl, or shell scripting.
Is there any way to solve... (3 Replies)
Discussion started by: PRINCESS_RORO
3 Replies
7. Shell Programming and Scripting
Hi.
Has anyone here got an experience doing conversion from asn1 format to a readable format so that it can be processed by Oracle? I want to load the data into a table. This is a CDR file.
Attached is the pairing file. Please remove the .txt at the end.... (1 Reply)
Discussion started by: aimy
1 Replies
8. Post Here to Contact Site Administrators and Moderators
https://www.unix.com/shell-programming-and-scripting/
The current description of Shell Programming and Scripting has:
Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.
Perl, php are there. Is it possible to add PYTHON there too? (3 Replies)
Discussion started by: cola
3 Replies
9. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT CENTOS
mail::spamassassin::plugin::asn
Mail::SpamAssassin::Plugin::ASN(3) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::ASN(3)
NAME
Mail::SpamAssassin::Plugin::ASN - SpamAssassin plugin to look up the Autonomous System Number (ASN) of the connecting IP address.
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::ASN
asn_lookup asn.routeviews.org _ASN_ _ASNCIDR_
add_header all ASN _ASN_ _ASNCIDR_
DESCRIPTION
This plugin uses DNS lookups to the services of "http://www.routeviews.org/" to do the actual work. Please make sure that your use of the
plugin does not overload their infrastructure - this generally means that you should not use this plugin in a high-volume environment or
that you should use a local mirror of the zone (see "ftp://ftp.routeviews.org/dnszones/").
TEMPLATE TAGS
This plugin allows you to create template tags containing the connecting IP's AS number and route info for that AS number.
The default config will add a header that looks like this:
X-Spam-ASN: AS24940 213.239.192.0/18
where "AS24940" is the ASN and "213.239.192.0/18" is the route announced by that ASN where the connecting IP address came from. If the AS
announces multiple networks (more/less specific), they will all be added to the "_ASNCIDR_" tag, separated by spaces, eg:
X-Spam-ASN: AS1680 89.138.0.0/15 89.139.0.0/16
CONFIGURATION
The standard ruleset contains a configuration that will add a header containing ASN data to scanned messages. The bayes tokenizer will use
the added header for bayes calculations, and thus affect which BAYES_* rule will trigger for a particular message.
Note that in most cases you should not score on the ASN data directly. Bayes learning will probably trigger on the _ASNCIDR_ tag, but
probably not very well on the _ASN_ tag alone.
SEE ALSO
http://www.routeviews.org/ - all data regarding routing, ASNs etc
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4770 - SpamAssassin Issue #4770 concerning this plugin
STATUS
No in-depth analysis of the usefulness of bayes tokenization of ASN data has been performed.
ADMINISTRATOR SETTINGS
asn_lookup asn-zone.example.com [ _ASNTAG_ _ASNCIDRTAG_ ]
Use this to lookup the ASN info in the specified zone for the first external IP address and add the AS number to the first specified
tag and routing info to the second specified tag.
If no tags are specified the AS number will be added to the _ASN_ tag and the routing info will be added to the _ASNCIDR_ tag. You
must specify either none or both of the tags. Tags must start and end with an underscore.
If two or more asn_lookups use the same set of template tags, the results of their lookups will be appended to each other in the
template tag values in no particular order. Duplicate results will be omitted when combining results. In a similar fashion, you can
also use the same template tag for both the AS number tag and the routing info tag.
Examples:
asn_lookup asn.routeviews.org
asn_lookup asn.routeviews.org _ASN_ _ASNCIDR_
asn_lookup myview.example.com _MYASN_ _MYASNCIDR_
asn_lookup asn.routeviews.org _COMBINEDASN_ _COMBINEDASNCIDR_
asn_lookup myview.example.com _COMBINEDASN_ _COMBINEDASNCIDR_
asn_lookup in1tag.example.net _ASNDATA_ _ASNDATA_
perl v5.16.3 2011-06-06 Mail::SpamAssassin::Plugin::ASN(3)