Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82400

Re: Python Script to convert firewall rules

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; 'logic': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'cc:addr:python.org': 0.22; 'looks': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'equivalent': 0.26; 'header:In-Reply-To:1': 0.27; 'programming.': 0.30; 'message-id:@mail.gmail.com': 0.30; 'firewall': 0.31; 'could': 0.34; 'convert': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'list.': 0.37; 'containing': 0.69; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ednNYA6fKOT2lB+mNhdVijwXaW87rJmwGEZezNrVcSA=; b=TGokF8poe2AZV0D/dT3UQV/3JIgSvKNaAp3CZOJZdWGFZsml6MyTL/MxFvCk3RyPBZ XO0vygFVG2uyFXvBGn/NyoiEIFG1/hb5isHmpEQsw5i0Ca39OAoSOi3UaGbcD9O5rboa Z+39VzEhhxsA7DXZC2cc3v/9Wk0dBXIajP01W6Bv6bJUgpciLedFDEA5Enf+sdSY61WC lIm3rGZyY+97HTZusiJz4BGZWEYCKhlilCxN9LHDGDX96hK8piqvWOcvep+3Jda58bII 658AcWog1xOKBqtvxUShv7oaViCACN2W4bm6ZSElaXXEPqQPeNssaGwXvU7J3NYqBG8V aLng==
MIME-Version 1.0
X-Received by 10.180.103.162 with SMTP id fx2mr3067264wib.42.1418348696836; Thu, 11 Dec 2014 17:44:56 -0800 (PST)
In-Reply-To <b23872cc-7b5c-4e38-96c1-ac907b6df7f1@googlegroups.com>
References <b23872cc-7b5c-4e38-96c1-ac907b6df7f1@googlegroups.com>
Date Thu, 11 Dec 2014 18:44:56 -0700
Subject Re: Python Script to convert firewall rules
From Jason Friedman <jsf80238@gmail.com>
Cc python-list <python-list@python.org>
Content-Type multipart/alternative; boundary=f46d04428d123e210f0509fb0a5c
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16883.1418348704.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418348704 news.xs4all.nl 2869 [2001:888:2000:d::a6]:43378
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82400

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

> I am network engineer and not expert in programming. I would like to make
> one python script to convert juniper netscreen firewall configuration into
> juniper SRX firewall configuration.
>

Looks pretty tricky, do you have a specification for each format containing
all the possible keywords/values?

If you could describe the logic in English then writing the equivalent in
Python would be straightforward for many people on this list.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python Script to convert firewall rules Kashif Rana <kashifrana84@gmail.com> - 2014-12-10 10:51 -0800
  Re: Python Script to convert firewall rules Jason Friedman <jsf80238@gmail.com> - 2014-12-11 18:44 -0700
    Re: Python Script to convert firewall rules Kashif Rana <kashifrana84@gmail.com> - 2014-12-11 23:54 -0800
      Re: Python Script to convert firewall rules Jason Friedman <jsf80238@gmail.com> - 2014-12-12 19:31 -0700
        Re: Python Script to convert firewall rules Kashif Rana <kashifrana84@gmail.com> - 2014-12-13 09:41 -0800
          Re: Python Script to convert firewall rules Jason Friedman <jsf80238@gmail.com> - 2014-12-13 18:35 -0700
          Re: Python Script to convert firewall rules Kashif Rana <kashifrana84@gmail.com> - 2014-12-14 10:51 +0400
          Re: Python Script to convert firewall rules Jason Friedman <jsf80238@gmail.com> - 2014-12-14 22:07 -0700

csiph-web