Git Product home page Git Product logo

latte's People

Contributors

acmacm avatar anastop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

latte's Issues

Can I use it with POX controller in Mininet?

Hi,
I found Latte very promising and would like to use it my my own project. But I have now knowledge about Go. Im wondering to ask does it support Mininet & Pox controller?

Best Regards,

Just a question :-)

I think this is just the initial steps - and I never read go before, so...
In the final section:

    src := int32(tcp.SrcPort)
    dst := int32(tcp.DstPort)
    if dst == ofport {
        packets_in[src] = time.Now().UnixNano()
    }

    if src == ofport {
        latency := time.Now().UnixNano() - packets_in[dst]
        h.Add(float64(latency / 1000000.0))

you use the switch port as an index, and match the packet_in time
to the response packet and calculate latency. So, do you assume
only one packet from the switch is being served at a time?
Or, will the match find the first packet in the packet_in list?
And what if there is no response packet from the controller (lost packet_in)?

Enhance packet walking

The idea is to replace the offset arithmetic used to walk through a packet and extract specific fields, with a more structured and comprehensive approach.

That is, it would be convenient if we could convert (i.e., "deserialize", "unmarshall", "unpack", ...) a byte slice corresponding to a certain OF packet region (e.g. ofp_match) to a well defined struct. Then accessing the desired packet fields would be as simple as accessing the corresponding struct fields.

This approach can potentially enhance code simplicity and readability, but may hurt performance, especially if the inspected packets contain many variable-sized fields that need many "jump-to-offset"-"read-length"-"jump-to-offset"-... operations.

go get github.com/anastop/latte issue with this

while clone with github this type of error shows
gocode/src/github.com/google/gopacket/pcap/pcap_unix.go:486:8: error: incompatible types in assignment
p.cur = p.cur.next
gocode/src/github.com/google/gopacket/pcap/pcap_unix.go:486:8: error: incompatible types in assignment
p.cur = p.cur.next
^
gocode/src/github.com/google/gopacket/pcap/pcap_unix.go:507:33: error: incompatible type for field 1 in struct construction
return pcapAddresses{all: p.cur.addresses}
^

Compatibility with windows

Hi,

Wanted to know if this tool is compatible with windows platform. If yes could be please assist with steps for running it?

Specifically wanted to know what param should we pass to "-device" options as there is no such naming convention like 'eth0, lan0' in windows.

Any help would be appreciated.

Thanks,

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.