Coder Social home page Coder Social logo

Comments (8)

untergeek avatar untergeek commented on July 3, 2024

I think this becomes more pressing with newer versions of Lucene (and therefore Elasticsearch) supporting IPv6 as a valid mapping type.

from logstash-patterns-core.

ac000 avatar ac000 commented on July 3, 2024

But that's not a valid IPv6 address. There should not be a double ':' in there.

from logstash-patterns-core.

jordansissel avatar jordansissel commented on July 3, 2024

@ac000 agreed, that's not a valid ipv6 address. (16 octets represented, the short-hand :: is used only when fewer octets are shown, right?)

from logstash-patterns-core.

ac000 avatar ac000 commented on July 3, 2024

On Mon, 17 Oct 2016 21:18:29 -0700
Jordan Sissel [email protected] wrote:

@ac000 agreed, that's not a valid ipv6 address. (16 octets represented, the short-hand :: is used only when fewer octets are shown, right?)

Yeah, you use '::' where you have more than one block of 0's, but you
can only use it once. e.g

2001:db8::dead:beef:cafe
::1 (loopback address)
:: (unspecified address)
2001:db8:0:dead:beef:cafe:0:1 (single blocks of 0's not displayed with
'::')

2001::abcd::1 is not valid as it's ambiguous as to how many 0
blocks are in each '::'.

2001:0:0:0:abcd:0:0:1 would be written as 2001::abcd:0:0:1 ('::'
is used for the left most block of 0's)

from logstash-patterns-core.

ac000 avatar ac000 commented on July 3, 2024

Way to go GitHub! Huh! Those funny block things are 'abcd'

from logstash-patterns-core.

allyunion avatar allyunion commented on July 3, 2024

+1 as loopback is not detected properly in IPv6

from logstash-patterns-core.

allyunion avatar allyunion commented on July 3, 2024

https://gist.github.com/syzdek/6086792

from logstash-patterns-core.

allyunion avatar allyunion commented on July 3, 2024

([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])

from logstash-patterns-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.